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 | 6eb3fa13c997fb07d9ccd69d998d75e1e88c0e76 (patch) | |
tree | b9151b365328d479e1e43ee16d4ae77300b10242 /xmloff | |
parent | 4087b88dcc2d021912f08820341cad862588e10f (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')
-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 2a13378e9e..d0c12a9639 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 |