diff options
author | Oliver Bolte <obo@openoffice.org> | 2008-07-22 11:35:38 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2008-07-22 11:35:38 +0000 |
commit | 9c7f6d07aff3094c389491aa8c4c8d4fa9d2ea73 (patch) | |
tree | 95283e902b82e0f50e07abf53afd1e17eb45bea0 /writerfilter/inc | |
parent | 21a8d67c3fab0a4500199ce4b49386b948c71627 (diff) |
INTEGRATION: CWS xmlfilter06 (1.6.6); FILE MERGED
2008/05/30 12:09:40 hbrinkm 1.6.6.2: Moved some classes/functions to util.hxx
2008/05/27 11:36:05 dr 1.6.6.1: joined changes from CWS xmlfilter05
Diffstat (limited to 'writerfilter/inc')
-rw-r--r-- | writerfilter/inc/resourcemodel/QNameToString.hxx | 39 |
1 files changed, 1 insertions, 38 deletions
diff --git a/writerfilter/inc/resourcemodel/QNameToString.hxx b/writerfilter/inc/resourcemodel/QNameToString.hxx index 88baa05e3301..3724c8cfd3fc 100644 --- a/writerfilter/inc/resourcemodel/QNameToString.hxx +++ b/writerfilter/inc/resourcemodel/QNameToString.hxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: QNameToString.hxx,v $ - * $Revision: 1.6 $ + * $Revision: 1.7 $ * * This file is part of OpenOffice.org. * @@ -84,44 +84,7 @@ public: string operator()(sal_uInt32 nId); }; -string WRITERFILTER_DLLPUBLIC xmlify(const string & str); -string WRITERFILTER_DLLPUBLIC propertysetToString -(uno::Reference<beans::XPropertySet> const & rProps); - -struct XMLAttribute -{ - string mName; - string mValue; -public: - XMLAttribute(string sName, string sValue) - : mName(sName), mValue(sValue) - { - } - -}; - -class WRITERFILTER_DLLPUBLIC XMLTag -{ -public: - enum eMode { START, END, COMPLETE }; - typedef boost::shared_ptr<XMLTag> Pointer_t; - -private: - string mTag; - string mChars; - vector<XMLAttribute> mAttrs; - vector<XMLTag::Pointer_t> mTags; - eMode mMode; - -public: - XMLTag(string sTag, eMode mode = COMPLETE) : mTag(sTag), mMode(mode) {} - - void addAttr(string name, string value); - void addTag(Pointer_t pTag); - void chars(const string & rChars); - string toString() const; -}; } |