diff options
Diffstat (limited to 'src/xmlcomposer.h')
-rw-r--r-- | src/xmlcomposer.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/xmlcomposer.h b/src/xmlcomposer.h index a4e0fae..5403240 100644 --- a/src/xmlcomposer.h +++ b/src/xmlcomposer.h @@ -82,38 +82,10 @@ public: DOM::Document getDocument() { return m_document; } - static bool isElement(const DOM::Node& node, const string& name); - static bool isEqualElement(const DOM::Element& el1, const DOM::Element& el2); - static void copyAttributes(const DOM::Element& src, DOM::Element& dest, const char** hideList); - static void insertAfter(DOM::Node& parent, const DOM::Node& node, const DOM::Node& ref); - static DOM::Element getContainingElement(const DOM::Node& node, const string& name); - static DOM::Element getPriorElement(const DOM::Node& node, const string& name); - - static wstring formatInt(int num); - const RtfParserOptions& getOptions() { return m_options; } protected: - // Cleanup Functions - void fixBlocks(DOM::Document doc); - void fixLists(const DOM::Document doc); - void fixStyles(const DOM::Document doc); - bool breakElement(const DOM::Element& el, const string& contain); - - void breakBreak(DOM::Document& doc, const string& contain, - const string& tag); - void breakLists(DOM::Document& document); - void breakTables(DOM::Document& document); - void breakTags(DOM::Document& doc, const string& parentName, - const string& tagName); - void breakBlocks(DOM::Document& document); - void wrapTags(DOM::Document& document, const string& tagName, - const string& wrapName); - - void removeTags(const DOM::Document& doc); - void removeDuplicates(const DOM::Document& doc); - virtual void clear(); |