class documentation

class ODFTranslator(nodes.GenericNodeVisitor): (source)

View In Hierarchy

Undocumented

Method __init__ Undocumented
Method add​_doc​_title Undocumented
Method add​_header​_footer Undocumented
Method append​_child Undocumented
Method append​_p Undocumented
Method append​_pending​_ids Undocumented
Method astext Undocumented
Method attach​_page​_style Attach the default page style.
Method check​_file​_exists Undocumented
Method content​_astext Undocumented
Method convert​_to​_cm Convert various units to centimeters.
Method create​_custom​_headfoot Undocumented
Method default​_departure Override for generic, uniform traversals.
Method default​_visit Override for generic, uniform traversals.
Method depart​_abbreviation Undocumented
Method depart​_acronym Undocumented
Method depart​_address Undocumented
Method depart​_attribution Undocumented
Method depart​_author Undocumented
Method depart​_authors Undocumented
Method depart​_block​_quote Undocumented
Method depart​_bullet​_list Undocumented
Method depart​_caption Undocumented
Method depart​_citation Undocumented
Method depart​_citation​_reference Undocumented
Method depart​_classifier Undocumented
Method depart​_colspec Undocumented
Method depart​_comment Undocumented
Method depart​_compound Undocumented
Method depart​_contact Undocumented
Method depart​_container Undocumented
Method depart​_copyright Undocumented
Method depart​_date Undocumented
Method depart​_decoration Undocumented
Method depart​_definition Undocumented
Method depart​_definition​_list Undocumented
Method depart​_definition​_list​_item Undocumented
Method depart​_description Undocumented
Method depart​_docinfo Undocumented
Method depart​_document Undocumented
Method depart​_emphasis Undocumented
Method depart​_entry Undocumented
Method depart​_enumerated​_list Undocumented
Method depart​_field Undocumented
Method depart​_field​_body Undocumented
Method depart​_field​_list Undocumented
Method depart​_field​_name Undocumented
Method depart​_figure Undocumented
Method depart​_footer Undocumented
Method depart​_footnote Undocumented
Method depart​_footnote​_reference Undocumented
Method depart​_generated Undocumented
Method depart​_header Undocumented
Method depart​_image Undocumented
Method depart​_inline Undocumented
Method depart​_label Undocumented
Method depart​_legend Undocumented
Method depart​_line Undocumented
Method depart​_line​_block Undocumented
Method depart​_list​_item Undocumented
Method depart​_literal Undocumented
Method depart​_literal​_block Undocumented
Method depart​_math Undocumented
Method depart​_math​_block Undocumented
Method depart​_meta Undocumented
Method depart​_option Undocumented
Method depart​_option​_argument Undocumented
Method depart​_option​_group Undocumented
Method depart​_option​_list Undocumented
Method depart​_option​_list​_item Undocumented
Method depart​_option​_string Undocumented
Method depart​_organization Undocumented
Method depart​_paragraph Undocumented
Method depart​_problematic Undocumented
Method depart​_raw Undocumented
Method depart​_reference Undocumented
Method depart​_revision Undocumented
Method depart​_row Undocumented
Method depart​_rubric Undocumented
Method depart​_section Undocumented
Method depart​_sidebar Undocumented
Method depart​_status Undocumented
Method depart​_strong Undocumented
Method depart​_subscript Undocumented
Method depart​_substitution​_definition Undocumented
Method depart​_subtitle Undocumented
Method depart​_superscript Undocumented
Method depart​_system​_message Undocumented
Method depart​_table Undocumented
Method depart​_target Undocumented
Method depart​_tbody Undocumented
Method depart​_term Undocumented
Method depart_​Text Undocumented
Method depart​_tgroup Undocumented
Method depart​_thead Undocumented
Method depart​_title Undocumented
Method depart​_title​_reference Undocumented
Method depart​_topic Undocumented
Method depart​_transition Undocumented
Method depart​_version Undocumented
Method depart​_warning Undocumented
Method dispatch​_visit Override to catch basic attributes which many nodes have.
Method encode Undocumented
Method extract​_table​_styles Undocumented
Method fill​_func1 Undocumented
Method fill​_func2 Undocumented
Method fill​_line Undocumented
Method find​_first​_text​_p Search the generated doc and return the first <text:p> element.
Method find​_title​_label Undocumented
Method generate​_admonition Undocumented
Method generate​_content​_element Undocumented
Method generate​_figure Undocumented
Method generate​_image Undocumented
Method generate​_labeled​_block Undocumented
Method generate​_labeled​_line Undocumented
Method generate​_table​_of​_content​_entry​_template Undocumented
Method get​_dom​_stylesheet Undocumented
Method get​_embedded​_file​_list Undocumented
Method get​_image​_scale Undocumented
Method get​_image​_scaled​_width​_height Return the image size in centimeters adjusted by image attrs.
Method get​_image​_width​_height Undocumented
Method get​_meta​_dict Undocumented
Method get​_page​_width Return the document's page width in centimeters.
Method get​_property Undocumented
Method get​_str​_stylesheet Undocumented
Method get​_table​_style Undocumented
Method get​_title Undocumented
Method handle​_basic​_atts Undocumented
Method is​_in​_table Undocumented
Method make​_field​_element Undocumented
Method process​_footnotes Undocumented
Method retrieve​_styles Retrieve the stylesheet from either a .xml file or from a .odt (zip) file. Return the content as a string.
Method rststyle Returns the style name to use for the given style.
Method set​_current​_element Undocumented
Method set​_embedded​_file​_list Undocumented
Method set​_title Undocumented
Method set​_to​_parent Undocumented
Method setup​_page Undocumented
Method setup​_paper Undocumented
Method split​_field​_specifiers​_iter Undocumented
Method update​_toc​_add​_numbers Undocumented
Method update​_toc​_collect Undocumented
Method update​_toc​_page​_numbers Undocumented
Method visit​_abbreviation Undocumented
Method visit​_acronym Undocumented
Method visit​_address Undocumented
Method visit​_admonition Undocumented
Method visit​_attention Undocumented
Method visit​_attribution Undocumented
Method visit​_author Undocumented
Method visit​_authors Undocumented
Method visit​_block​_quote Undocumented
Method visit​_bullet​_list Undocumented
Method visit​_caption Undocumented
Method visit​_caution Undocumented
Method visit​_citation Undocumented
Method visit​_citation​_reference Undocumented
Method visit​_classifier Undocumented
Method visit​_colspec Undocumented
Method visit​_comment Undocumented
Method visit​_compound Undocumented
Method visit​_contact Undocumented
Method visit​_container Undocumented
Method visit​_copyright Undocumented
Method visit​_danger Undocumented
Method visit​_date Undocumented
Method visit​_decoration Undocumented
Method visit​_definition Undocumented
Method visit​_definition​_list Undocumented
Method visit​_definition​_list​_item Undocumented
Method visit​_description Undocumented
Method visit​_docinfo Undocumented
Method visit​_document Undocumented
Method visit​_emphasis Undocumented
Method visit​_entry Undocumented
Method visit​_enumerated​_list Undocumented
Method visit​_error Undocumented
Method visit​_field Undocumented
Method visit​_field​_body Undocumented
Method visit​_field​_list Undocumented
Method visit​_field​_name Undocumented
Method visit​_figure Undocumented
Method visit​_footer Undocumented
Method visit​_footnote Undocumented
Method visit​_footnote​_reference Undocumented
Method visit​_generated Undocumented
Method visit​_header Undocumented
Method visit​_hint Undocumented
Method visit​_image Undocumented
Method visit​_important Undocumented
Method visit​_inline Undocumented
Method visit​_label Undocumented
Method visit​_legend Undocumented
Method visit​_line Undocumented
Method visit​_line​_block Undocumented
Method visit​_list​_item Undocumented
Method visit​_literal Undocumented
Method visit​_literal​_block Undocumented
Method visit​_math Undocumented
Method visit​_math​_block Undocumented
Method visit​_meta Undocumented
Method visit​_note Undocumented
Method visit​_option Undocumented
Method visit​_option​_argument Undocumented
Method visit​_option​_group Undocumented
Method visit​_option​_list Undocumented
Method visit​_option​_list​_item Undocumented
Method visit​_option​_string Undocumented
Method visit​_organization Undocumented
Method visit​_paragraph Undocumented
Method visit​_problematic Undocumented
Method visit​_raw Undocumented
Method visit​_reference Undocumented
Method visit​_revision Undocumented
Method visit​_row Undocumented
Method visit​_rubric Undocumented
Method visit​_section Undocumented
Method visit​_sidebar Undocumented
Method visit​_status Undocumented
Method visit​_strong Undocumented
Method visit​_subscript Undocumented
Method visit​_substitution​_definition Undocumented
Method visit​_subtitle Undocumented
Method visit​_superscript Undocumented
Method visit​_system​_message Undocumented
Method visit​_table Undocumented
Method visit​_target Undocumented
Method visit​_tbody Undocumented
Method visit​_term Undocumented
Method visit_​Text Undocumented
Method visit​_tgroup Undocumented
Method visit​_thead Undocumented
Method visit​_tip Undocumented
Method visit​_title Undocumented
Method visit​_title​_reference Undocumented
Method visit​_topic Undocumented
Method visit​_transition Undocumented
Method visit​_version Undocumented
Method visit​_warning Undocumented
Class Variable code​_field Undocumented
Class Variable code​_none Undocumented
Class Variable code​_text Undocumented
Class Variable field​_pat Undocumented
Class Variable footnote​_chars Undocumented
Class Variable used​_styles Undocumented
Instance Variable automatic​_styles Undocumented
Instance Variable blockstyle Undocumented
Instance Variable body​_text​_element Undocumented
Instance Variable bumped​_list​_level​_stack Undocumented
Instance Variable citation​_id Undocumented
Instance Variable column​_count Undocumented
Instance Variable content​_tree Undocumented
Instance Variable current​_element Undocumented
Instance Variable current​_table​_style Undocumented
Instance Variable def​_list​_level Undocumented
Instance Variable dom​_stylesheet Undocumented
Instance Variable dom​_stylesheetcontent Undocumented
Instance Variable embedded​_file​_list Undocumented
Instance Variable field​_element Undocumented
Instance Variable field​_name Undocumented
Instance Variable footer​_content Undocumented
Instance Variable footnote​_chars​_idx Undocumented
Instance Variable footnote​_level Undocumented
Instance Variable footnote​_list Undocumented
Instance Variable footnote​_ref​_dict Undocumented
Instance Variable format​_map Undocumented
Instance Variable found​_doc​_title Undocumented
Instance Variable header​_content Undocumented
Instance Variable image​_count Undocumented
Instance Variable image​_dict Undocumented
Instance Variable image​_style​_count Undocumented
Instance Variable in​_citation Undocumented
Instance Variable in​_footer Undocumented
Instance Variable in​_header Undocumented
Instance Variable in​_paragraph Undocumented
Instance Variable in​_table​_of​_contents Undocumented
Instance Variable in​_thead Undocumented
Instance Variable inline​_style​_count​_stack Undocumented
Instance Variable language Undocumented
Instance Variable language​_code Undocumented
Instance Variable line​_block​_level Undocumented
Instance Variable line​_indent​_level Undocumented
Instance Variable list​_level Undocumented
Instance Variable list​_style​_stack Undocumented
Instance Variable meta​_dict Undocumented
Instance Variable optiontablestyles​_generated Undocumented
Instance Variable paragraph​_style​_stack Undocumented
Instance Variable pending​_ids Undocumented
Instance Variable save​_current​_element Undocumented
Instance Variable save​_footnote​_current Undocumented
Instance Variable section​_count Undocumented
Instance Variable section​_level Undocumented
Instance Variable settings Undocumented
Instance Variable str​_stylesheet Undocumented
Instance Variable str​_stylesheetcontent Undocumented
Instance Variable style​_index Undocumented
Instance Variable syntaxhighlight​_lexer Undocumented
Instance Variable syntaxhighlighting Undocumented
Instance Variable table​_count Undocumented
Instance Variable table​_of​_content​_index​_body Undocumented
Instance Variable table​_styles Undocumented
Instance Variable table​_width Undocumented
Instance Variable title Undocumented
Instance Variable trace​_level Undocumented
Method _add​_syntax​_highlighting Undocumented
Method _calculate​_code​_block​_padding Undocumented

Inherited from NodeVisitor (via GenericNodeVisitor):

Method dispatch​_departure Call self."depart_ + node class name" with node as parameter. If the depart_... method does not exist, call self.unknown_departure.
Method unknown​_departure Called before exiting unknown Node types.
Method unknown​_visit Called when entering unknown Node types.
Class Variable optional Tuple containing node class names (as strings).
Instance Variable document Undocumented
def __init__(self, document): (source)

Undocumented

def add_doc_title(self): (source)

Undocumented

def add_header_footer(self, root_el): (source)

Undocumented

def append_child(self, tag, attrib=None, parent=None): (source)

Undocumented

def append_p(self, style, text=None): (source)

Undocumented

def append_pending_ids(self, el): (source)

Undocumented

def astext(self): (source)

Undocumented

def attach_page_style(self, el): (source)

Attach the default page style.

Create an automatic-style that refers to the current style of this element and that refers to the default page style.

def check_file_exists(self, path): (source)

Undocumented

def content_astext(self): (source)

Undocumented

def convert_to_cm(self, size): (source)

Convert various units to centimeters.

Note that a call to this method should be wrapped in:
try: except ValueError:
def create_custom_headfoot(self, parent, text, style_name, automatic_styles): (source)

Undocumented

def default_departure(self, node): (source)
Override for generic, uniform traversals.
def default_visit(self, node): (source)
Override for generic, uniform traversals.
def depart_abbreviation(self, node): (source)

Undocumented

def depart_acronym(self, node): (source)

Undocumented

def depart_address(self, node): (source)

Undocumented

def depart_attribution(self, node): (source)

Undocumented

def depart_author(self, node): (source)

Undocumented

def depart_authors(self, node): (source)

Undocumented

def depart_block_quote(self, node): (source)

Undocumented

def depart_bullet_list(self, node): (source)

Undocumented

def depart_caption(self, node): (source)

Undocumented

def depart_citation(self, node): (source)

Undocumented

def depart_citation_reference(self, node): (source)

Undocumented

def depart_classifier(self, node): (source)

Undocumented

def depart_colspec(self, node): (source)

Undocumented

def depart_comment(self, node): (source)

Undocumented

def depart_compound(self, node): (source)

Undocumented

def depart_contact(self, node): (source)

Undocumented

def depart_container(self, node): (source)

Undocumented

def depart_copyright(self, node): (source)

Undocumented

def depart_date(self, node): (source)

Undocumented

def depart_decoration(self, node): (source)

Undocumented

def depart_definition(self, node): (source)

Undocumented

def depart_definition_list(self, node): (source)

Undocumented

def depart_definition_list_item(self, node): (source)

Undocumented

def depart_description(self, node): (source)

Undocumented

def depart_docinfo(self, node): (source)

Undocumented

def depart_document(self, node): (source)

Undocumented

def depart_emphasis(self, node): (source)

Undocumented

def depart_entry(self, node): (source)

Undocumented

def depart_enumerated_list(self, node): (source)

Undocumented

def depart_field(self, node): (source)

Undocumented

def depart_field_body(self, node): (source)

Undocumented

def depart_field_list(self, node): (source)

Undocumented

def depart_field_name(self, node): (source)

Undocumented

def depart_figure(self, node): (source)

Undocumented

def depart_footer(self, node): (source)

Undocumented

def depart_footnote(self, node): (source)

Undocumented

def depart_footnote_reference(self, node): (source)

Undocumented

def depart_generated(self, node): (source)

Undocumented

def depart_header(self, node): (source)

Undocumented

def depart_image(self, node): (source)

Undocumented

def depart_inline(self, node): (source)

Undocumented

def depart_label(self, node): (source)

Undocumented

def depart_legend(self, node): (source)

Undocumented

def depart_line(self, node): (source)

Undocumented

def depart_line_block(self, node): (source)

Undocumented

def depart_list_item(self, node): (source)

Undocumented

def depart_literal(self, node): (source)

Undocumented

def depart_literal_block(self, node): (source)

Undocumented

def depart_math(self, node): (source)

Undocumented

def depart_math_block(self, node): (source)

Undocumented

def depart_meta(self, node): (source)

Undocumented

def depart_option(self, node): (source)

Undocumented

def depart_option_argument(self, node): (source)

Undocumented

def depart_option_group(self, node): (source)

Undocumented

def depart_option_list(self, node): (source)

Undocumented

def depart_option_list_item(self, node): (source)

Undocumented

def depart_option_string(self, node): (source)

Undocumented

def depart_organization(self, node): (source)

Undocumented

def depart_paragraph(self, node): (source)

Undocumented

def depart_problematic(self, node): (source)

Undocumented

def depart_raw(self, node): (source)

Undocumented

def depart_reference(self, node): (source)

Undocumented

def depart_revision(self, node): (source)

Undocumented

def depart_row(self, node): (source)

Undocumented

def depart_rubric(self, node): (source)

Undocumented

def depart_section(self, node): (source)

Undocumented

def depart_sidebar(self, node): (source)

Undocumented

def depart_status(self, node): (source)

Undocumented

def depart_strong(self, node): (source)

Undocumented

def depart_subscript(self, node): (source)

Undocumented

def depart_substitution_definition(self, node): (source)

Undocumented

def depart_subtitle(self, node): (source)

Undocumented

def depart_superscript(self, node): (source)

Undocumented

def depart_system_message(self, node): (source)

Undocumented

def depart_table(self, node): (source)

Undocumented

def depart_target(self, node): (source)

Undocumented

def depart_tbody(self, node): (source)

Undocumented

def depart_term(self, node): (source)

Undocumented

def depart_Text(self, node): (source)

Undocumented

def depart_tgroup(self, node): (source)

Undocumented

def depart_thead(self, node): (source)

Undocumented

def depart_title(self, node): (source)

Undocumented

def depart_title_reference(self, node): (source)

Undocumented

def depart_topic(self, node): (source)

Undocumented

def depart_transition(self, node): (source)

Undocumented

def depart_version(self, node): (source)

Undocumented

def depart_warning(self, node): (source)

Undocumented

def dispatch_visit(self, node): (source)
Override to catch basic attributes which many nodes have.
def encode(self, text): (source)

Undocumented

def extract_table_styles(self, styles_str): (source)

Undocumented

def fill_func1(self, matchobj): (source)

Undocumented

def fill_func2(self, matchobj): (source)

Undocumented

def fill_line(self, line): (source)

Undocumented

def find_first_text_p(self, el): (source)
Search the generated doc and return the first <text:p> element.
def find_title_label(self, node, class_type, label_key): (source)

Undocumented

def generate_admonition(self, node, label, title=None): (source)

Undocumented

def generate_content_element(self, root): (source)

Undocumented

def generate_figure(self, node, source, destination, current_element): (source)

Undocumented

def generate_image(self, node, source, destination, current_element, frame_attrs=None): (source)

Undocumented

def generate_labeled_block(self, node, label): (source)

Undocumented

def generate_labeled_line(self, node, label): (source)

Undocumented

def generate_table_of_content_entry_template(self, el1): (source)

Undocumented

def get_dom_stylesheet(self): (source)

Undocumented

def get_embedded_file_list(self): (source)

Undocumented

def get_image_scale(self, node): (source)

Undocumented

def get_image_scaled_width_height(self, node, source): (source)
Return the image size in centimeters adjusted by image attrs.
def get_image_width_height(self, node, attr): (source)

Undocumented

def get_meta_dict(self): (source)

Undocumented

def get_page_width(self): (source)
Return the document's page width in centimeters.
def get_property(self, stylenode): (source)

Undocumented

def get_str_stylesheet(self): (source)

Undocumented

def get_table_style(self, node): (source)

Undocumented

def get_title(self): (source)

Undocumented

def handle_basic_atts(self, node): (source)

Undocumented

def is_in_table(self, node): (source)

Undocumented

def make_field_element(self, parent, text, style_name, automatic_styles): (source)

Undocumented

def process_footnotes(self): (source)

Undocumented

def retrieve_styles(self, extension): (source)
Retrieve the stylesheet from either a .xml file or from a .odt (zip) file. Return the content as a string.
def rststyle(self, name, parameters=()): (source)

Returns the style name to use for the given style.

If parameters is given name must contain a matching number of % and is used as a format expression with parameters as the value.

def set_current_element(self, el): (source)

Undocumented

def set_embedded_file_list(self, embedded_file_list): (source)

Undocumented

def set_title(self, title): (source)

Undocumented

def set_to_parent(self): (source)

Undocumented

def setup_page(self): (source)

Undocumented

def setup_paper(self, root_el): (source)

Undocumented

def split_field_specifiers_iter(self, text): (source)

Undocumented

def update_toc_add_numbers(self, collection): (source)

Undocumented

def update_toc_collect(self, el, level, collection): (source)

Undocumented

def update_toc_page_numbers(self, el): (source)

Undocumented

def visit_abbreviation(self, node): (source)

Undocumented

def visit_acronym(self, node): (source)

Undocumented

def visit_address(self, node): (source)

Undocumented

def visit_admonition(self, node): (source)

Undocumented

def visit_attention(self, node): (source)

Undocumented

def visit_attribution(self, node): (source)

Undocumented

def visit_author(self, node): (source)

Undocumented

def visit_authors(self, node): (source)

Undocumented

def visit_block_quote(self, node): (source)

Undocumented

def visit_bullet_list(self, node): (source)

Undocumented

def visit_caption(self, node): (source)

Undocumented

def visit_caution(self, node): (source)

Undocumented

def visit_citation(self, node): (source)

Undocumented

def visit_citation_reference(self, node): (source)

Undocumented

def visit_classifier(self, node): (source)

Undocumented

def visit_colspec(self, node): (source)

Undocumented

def visit_comment(self, node): (source)

Undocumented

def visit_compound(self, node): (source)

Undocumented

def visit_contact(self, node): (source)

Undocumented

def visit_container(self, node): (source)

Undocumented

def visit_copyright(self, node): (source)

Undocumented

def visit_danger(self, node): (source)

Undocumented

def visit_date(self, node): (source)

Undocumented

def visit_decoration(self, node): (source)

Undocumented

def visit_definition(self, node): (source)

Undocumented

def visit_definition_list(self, node): (source)

Undocumented

def visit_definition_list_item(self, node): (source)

Undocumented

def visit_description(self, node): (source)

Undocumented

def visit_docinfo(self, node): (source)

Undocumented

def visit_document(self, node): (source)

Undocumented

def visit_emphasis(self, node): (source)

Undocumented

def visit_entry(self, node): (source)

Undocumented

def visit_enumerated_list(self, node): (source)

Undocumented

def visit_error(self, node): (source)

Undocumented

def visit_field(self, node): (source)

Undocumented

def visit_field_body(self, node): (source)

Undocumented

def visit_field_list(self, node): (source)

Undocumented

def visit_field_name(self, node): (source)

Undocumented

def visit_figure(self, node): (source)

Undocumented

def visit_footer(self, node): (source)

Undocumented

def visit_footnote(self, node): (source)

Undocumented

def visit_footnote_reference(self, node): (source)

Undocumented

def visit_generated(self, node): (source)

Undocumented

def visit_header(self, node): (source)

Undocumented

def visit_hint(self, node): (source)

Undocumented

def visit_image(self, node): (source)

Undocumented

def visit_important(self, node): (source)

Undocumented

def visit_inline(self, node): (source)

Undocumented

def visit_label(self, node): (source)

Undocumented

def visit_legend(self, node): (source)

Undocumented

def visit_line(self, node): (source)

Undocumented

def visit_line_block(self, node): (source)

Undocumented

def visit_list_item(self, node): (source)

Undocumented

def visit_literal(self, node): (source)

Undocumented

def visit_literal_block(self, node): (source)

Undocumented

def visit_math(self, node): (source)

Undocumented

def visit_math_block(self, node): (source)

Undocumented

def visit_meta(self, node): (source)

Undocumented

def visit_note(self, node): (source)

Undocumented

def visit_option(self, node): (source)

Undocumented

def visit_option_argument(self, node): (source)

Undocumented

def visit_option_group(self, node): (source)

Undocumented

def visit_option_list(self, node): (source)

Undocumented

def visit_option_list_item(self, node): (source)

Undocumented

def visit_option_string(self, node): (source)

Undocumented

def visit_organization(self, node): (source)

Undocumented

def visit_paragraph(self, node): (source)

Undocumented

def visit_problematic(self, node): (source)

Undocumented

def visit_raw(self, node): (source)

Undocumented

def visit_reference(self, node): (source)

Undocumented

def visit_revision(self, node): (source)

Undocumented

def visit_row(self, node): (source)

Undocumented

def visit_rubric(self, node): (source)

Undocumented

def visit_section(self, node, move_ids=1): (source)

Undocumented

def visit_sidebar(self, node): (source)

Undocumented

def visit_status(self, node): (source)

Undocumented

def visit_strong(self, node): (source)

Undocumented

def visit_subscript(self, node): (source)

Undocumented

def visit_substitution_definition(self, node): (source)

Undocumented

def visit_subtitle(self, node, move_ids=1): (source)

Undocumented

def visit_superscript(self, node): (source)

Undocumented

def visit_system_message(self, node): (source)

Undocumented

def visit_table(self, node): (source)

Undocumented

def visit_target(self, node): (source)

Undocumented

def visit_tbody(self, node): (source)

Undocumented

def visit_term(self, node): (source)

Undocumented

def visit_Text(self, node): (source)

Undocumented

def visit_tgroup(self, node): (source)

Undocumented

def visit_thead(self, node): (source)

Undocumented

def visit_tip(self, node): (source)

Undocumented

def visit_title(self, node, move_ids=1, title_type='title'): (source)

Undocumented

def visit_title_reference(self, node): (source)

Undocumented

def visit_topic(self, node): (source)

Undocumented

def visit_transition(self, node): (source)

Undocumented

def visit_version(self, node): (source)

Undocumented

def visit_warning(self, node): (source)

Undocumented

code_field = (source)

Undocumented

code_none = (source)

Undocumented

code_text = (source)

Undocumented

field_pat = (source)

Undocumented

footnote_chars: list[str] = (source)

Undocumented

used_styles: tuple[str, ...] = (source)

Undocumented

automatic_styles = (source)

Undocumented

blockstyle: str = (source)

Undocumented

body_text_element = (source)

Undocumented

bumped_list_level_stack: list = (source)

Undocumented

citation_id = (source)

Undocumented

column_count = (source)

Undocumented

content_tree = (source)

Undocumented

current_element = (source)

Undocumented

current_table_style = (source)

Undocumented

def_list_level: int = (source)

Undocumented

dom_stylesheet = (source)

Undocumented

dom_stylesheetcontent = (source)

Undocumented

embedded_file_list = (source)

Undocumented

field_element = (source)

Undocumented

field_name = (source)

Undocumented

footer_content: list = (source)

Undocumented

footnote_chars_idx: int = (source)

Undocumented

footnote_level: int = (source)

Undocumented

footnote_list: list = (source)

Undocumented

footnote_ref_dict: dict = (source)

Undocumented

format_map: dict = (source)

Undocumented

found_doc_title: bool = (source)

Undocumented

header_content: list = (source)

Undocumented

image_count: int = (source)

Undocumented

image_dict: dict = (source)

Undocumented

image_style_count: int = (source)

Undocumented

in_citation: bool = (source)

Undocumented

in_footer: bool = (source)

Undocumented

in_header: bool = (source)

Undocumented

in_paragraph: bool = (source)

Undocumented

in_table_of_contents: bool = (source)

Undocumented

in_thead: bool = (source)

Undocumented

inline_style_count_stack: list = (source)

Undocumented

language = (source)

Undocumented

language_code = (source)

Undocumented

line_block_level: int = (source)

Undocumented

line_indent_level: int = (source)

Undocumented

list_level: int = (source)

Undocumented

list_style_stack: list = (source)

Undocumented

meta_dict: dict = (source)

Undocumented

optiontablestyles_generated: bool = (source)

Undocumented

paragraph_style_stack = (source)

Undocumented

pending_ids: list = (source)

Undocumented

save_current_element = (source)

Undocumented

save_footnote_current = (source)

Undocumented

section_count: int = (source)

Undocumented

section_level: int = (source)

Undocumented

settings = (source)

Undocumented

str_stylesheet = (source)

Undocumented

str_stylesheetcontent = (source)

Undocumented

style_index: int = (source)

Undocumented

syntaxhighlight_lexer: str = (source)

Undocumented

syntaxhighlighting: int = (source)

Undocumented

table_count: int = (source)

Undocumented

table_of_content_index_body = (source)

Undocumented

table_styles = (source)

Undocumented

table_width: float = (source)

Undocumented

title = (source)

Undocumented

trace_level: int = (source)

Undocumented

def _add_syntax_highlighting(self, insource, language): (source)

Undocumented

def _calculate_code_block_padding(self, line): (source)

Undocumented