diff options
Diffstat (limited to 'src/xmlfixups.h')
-rw-r--r-- | src/xmlfixups.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/xmlfixups.h b/src/xmlfixups.h index f51d4a8..85d7c7e 100644 --- a/src/xmlfixups.h +++ b/src/xmlfixups.h @@ -133,7 +133,14 @@ public: // Replace blocks with 'fix' elements like paragraphs void fixBlock(const DOM::Document& doc, DOM::Element& block); + // Make XML ready for pretty printing + void prettyXml(DOM::Document& doc); +// Internal Helpers +protected: + void internalPrettyXml(const DOM::Document& doc, DOM::Element& el, int level); + +// Data protected: enum @@ -145,6 +152,7 @@ protected: // Our tables cached for efficiency StringSet m_duplicates; + StringSet m_nopretty; StringSet m_removes; StringSet m_removeEmpty; StringSet m_consolidateStart; |