diff options
author | Rüdiger Timm <rt@openoffice.org> | 2008-09-04 09:09:01 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2008-09-04 09:09:01 +0000 |
commit | ebc1c6cd7e421e7bee2c3221c14b8e82adbf275a (patch) | |
tree | 33b93220f6df437d62de5c3128dfae8595724a31 /xmloff/source/text/XMLTextMarkImportContext.hxx | |
parent | 92e67171958212440bf30d7f5f60fad65619a25e (diff) |
INTEGRATION: CWS swenhancedfields2 (1.5.140); FILE MERGED
2008/08/05 15:25:25 b_michaelsen 1.5.140.3: post resync merge fixes
2008/08/04 12:37:52 b_michaelsen 1.5.140.2: RESYNC: (1.5-1.7); FILE MERGED
2008/04/23 09:01:55 ama 1.5.140.1: #i33737#: Enhanced fields
Diffstat (limited to 'xmloff/source/text/XMLTextMarkImportContext.hxx')
-rw-r--r-- | xmloff/source/text/XMLTextMarkImportContext.hxx | 31 |
1 files changed, 28 insertions, 3 deletions
diff --git a/xmloff/source/text/XMLTextMarkImportContext.hxx b/xmloff/source/text/XMLTextMarkImportContext.hxx index 23e05ac3a20a..4491524e9ec2 100644 --- a/xmloff/source/text/XMLTextMarkImportContext.hxx +++ b/xmloff/source/text/XMLTextMarkImportContext.hxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: XMLTextMarkImportContext.hxx,v $ - * $Revision: 1.7 $ + * $Revision: 1.8 $ * * This file is part of OpenOffice.org. * @@ -49,6 +49,21 @@ namespace rtl { } class XMLTextImportHelper; +class XMLFieldParamImportContext : public SvXMLImportContext +{ + XMLTextImportHelper& rHelper; +public: + XMLFieldParamImportContext( + SvXMLImport& rImport, + XMLTextImportHelper& rHlp, + sal_uInt16 nPrfx, + const ::rtl::OUString& rLocalName ); + + virtual void StartElement( + const ::com::sun::star::uno::Reference< + ::com::sun::star::xml::sax::XAttributeList> & xAttrList); +}; + /** * import bookmarks and reference marks @@ -61,6 +76,9 @@ class XMLTextMarkImportContext : public SvXMLImportContext { XMLTextImportHelper& rHelper; + ::rtl::OUString m_XmlId; + ::rtl::OUString sBookmarkName; + ::rtl::OUString sFieldName; public: @@ -72,14 +90,20 @@ public: sal_uInt16 nPrfx, const ::rtl::OUString& rLocalName ); + protected: virtual void StartElement( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList> & xAttrList); + virtual void EndElement(); + + virtual SvXMLImportContext *CreateChildContext( USHORT nPrefix, + const ::rtl::OUString& rLocalName, + const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList >& xAttrList ); public: - static void CreateAndInsertMark( + static ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > CreateAndInsertMark( SvXMLImport& rImport, const ::rtl::OUString& sServiceName, const ::rtl::OUString& sMarkName, @@ -92,7 +116,8 @@ public: const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList> & xAttrList, ::rtl::OUString& sName, - ::rtl::OUString& o_rXmlId); + ::rtl::OUString& o_rXmlId, + ::rtl::OUString *pFieldName=NULL); }; #endif |