'Requires:
\'file\' --file to parse
\'char_data\' --file containing character maps
\'dtd\' --path to dtd
Possible parameters, but not necessary:
\'output\' --a file to output the parsed file. (Default is standard
output.)
\'temp_dir\' --directory for temporary output (If not provided, the
script tries to output to directory where is script is exectued.)
\'deb_dir\' --debug directory. If a debug_dir is provided, the script
will copy each run through as a file to examine in the debug_dir
\'check_brackets\' -- make sure the brackets match up after each run
through a file. Only for debugging.
Returns: Nothing'

def __init__(self, in_file, out_file='', out_dir=None, dtd='', deb_dir=None, convert_symbol=None, convert_wingdings=None, convert_zapf=None, convert_caps=None, run_level=1, indent=None, replace_illegals=1, form_lists=1, headings_to_sections=1, group_styles=1, group_borders=1, empty_paragraphs=1, no_dtd=0, char_data='', default_encoding='cp1252'):

    self.__file = in_file
    self.__out_file = out_file
    self.__out_dir = out_dir
    self.__temp_dir = out_dir
    self.__dtd_path = dtd
    self.__check_file(in_file, 'file_to_parse')
    self.__char_data = char_data
    self.__debug_dir = deb_dir
    self.__check_dir(self.__temp_dir)
    self.__copy = self.__check_dir(self.__debug_dir)
    self.__convert_caps = convert_caps
    self.__convert_symbol = convert_symbol
    self.__convert_wingdings = convert_wingdings
    self.__convert_zapf = convert_zapf
    self.__run_level = run_level
    self.__exit_level = 0
    self.__indent = indent
    self.__replace_illegals = replace_illegals
    self.__form_lists = form_lists
    self.__headings_to_sections = headings_to_sections
    self.__group_styles = group_styles
    self.__group_borders = group_borders
    self.__empty_paragraphs = empty_paragraphs
    self.__no_dtd = no_dtd
    self.__default_encoding = default_encoding
