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

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

Required:
    line -- line to parse
Returns:
    nothing
Logic:
    This function handles all the lines before the start of the body.
    Once the body starts, the state is switched to 'not_paragraph'

Definition at line 105 of file paragraphs.py.

00105                                       :
        """
        Required:
            line -- line to parse
        Returns:
            nothing
        Logic:
            This function handles all the lines before the start of the body.
            Once the body starts, the state is switched to 'not_paragraph'
        """
        if self.__token_info == 'mi<mk<body-open_':
            self.__state = 'not_paragraph'
        self.__write_obj.write(line)
    def __not_paragraph_func(self, line):


Generated by  Doxygen 1.6.0   Back to index