Logo Search packages:      
Sourcecode: calibre version File versions  Download package

def calibre::ebooks::rtf2xml::paragraphs::Paragraphs::__close_para_func (   self,
  line 
) [private]

Requires:
    line --line to parse
Returns:
    nothing
Logic:
    This function writes the end tags for a paragraph and
    changes the state to not_paragraph.

Definition at line 194 of file paragraphs.py.

00194                                      :
        """
        Requires:
            line --line to parse
        Returns:
            nothing
        Logic:
            This function writes the end tags for a paragraph and
            changes the state to not_paragraph.
        """
        self.__write_obj.write(self.__end2_marker) # marker for later parser
        self.__write_obj.write(
        'mi<tg<close_____<para\n'
        )
        self.__write_obj.write(self.__end_marker) # marker for later parser
        self.__write_obj.write(line)
        self.__state = 'not_paragraph'
    def __bogus_para__def_func(self, line):


Generated by  Doxygen 1.6.0   Back to index