summaryrefslogtreecommitdiff
path: root/src/xmlcomposer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmlcomposer.h')
-rw-r--r--src/xmlcomposer.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/xmlcomposer.h b/src/xmlcomposer.h
index 83ea4cd..41aad0e 100644
--- a/src/xmlcomposer.h
+++ b/src/xmlcomposer.h
@@ -117,6 +117,8 @@ public:
int getAutoCount(int type);
void incrementAutoCount(int type);
+ // Add a document option to the option block
+ void addDocumentOption(DOM::Element& option);
// Get the current formatting options
RtfFormatting& getTextFormatting();
@@ -139,7 +141,7 @@ protected:
DOM::Document m_document; // The current document
XmlComposerOptions m_options; // Configurable options for parsing
int m_autocount[AUTOCOUNT_MAX]; // Auto counters for the document
-
+ DOM::Element m_docOptions; // For storing document options
// Sub classes
protected:
@@ -250,6 +252,7 @@ protected:
ANALYSER(FontTable)
INITIALIZE
GROUPSTART
+ DONE
END_ANALYSER
// Handle a Font in the Table