Synopsis: replacePatternTags( self, pattern, context=None )
This method returns a string where all the pattern tags in string pattern are replaced by the available information. This information is partially derived from the entry in m_openDocuments concerning context , a FormattingContext . If context is None , only the tags available to the title page will be replaced. Prerequisite: m_openDocuments has been filled.
This method is used in close( ) (with context argument) and in __init__( ) (without context argument).