summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-07-01 15:01:52 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-07-01 15:01:52 +0000
commit3c43fc94321709314611139518bd990fe5e7d365 (patch)
treed4d058228a51728a3252868d666b9953e2c5cc49
parent9d0651aafb1f56912e74caaed8cb961a3177fe7e (diff)
INTEGRATION: CWS odfmetadata (1.10.46); FILE MERGED
2008/06/19 17:02:38 mst 1.10.46.1: #i90620#: interface change: xmloff - xmloff/inc/xmlnmspe.hxx: + add namespace RDFA - xmloff/source/core/nmspmap.cxx: + SvXMLNamespaceMap::GetQNameByKey(): handle the built-in XML namespace - xmloff/inc/xmloff/xmltoken.hxx, xmloff/source/core/xmltoken.cxx: + new namespaces: XML_N_XML, XML_N_RDFA + new token: XML_META_FIELD - xmloff/inc/xmloff/xmlimp.hxx, xmloff/source/core/xmlimp.cxx,: + new methods GetStreamPath(), SetXmlId() + SvXMLImport::_InitCtor(): add implicit namespace declaration for built-in "xml" prefix - xmloff/inc/xmloff/xmlexp.hxx, xmloff/source/core/xmlexp.cxx: + new methods GetStreamPath(), AddAttributeXmlId() + SvXMLExport::_InitCtor(): add namespace declaration for RDFA - xmloff/inc/xmloff/txtimp.hxx, xmloff/source/text/txtimp.cxx: + XMLTextPElemTokens: add tokens: XML_TOK_TEXT_META, XML_TOK_TEXT_META_FIELD + XMLTextPAttrTokens: add token XML_TOK_TEXT_P_XMLID + XMLTextListBlockAttrTokens: add token XML_TOK_TEXT_LIST_BLOCK_XMLID + InsertBookmarkStartRange(): add parameter XmlId + FindAndRemoveBookmarkStartRange(): add parameter XmlId
-rw-r--r--xmloff/inc/xmloff/xmlimp.hxx12
1 files changed, 10 insertions, 2 deletions
diff --git a/xmloff/inc/xmloff/xmlimp.hxx b/xmloff/inc/xmloff/xmlimp.hxx
index 11e4f18b293e..ca0bb2256bb7 100644
--- a/xmloff/inc/xmloff/xmlimp.hxx
+++ b/xmloff/inc/xmloff/xmlimp.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: xmlimp.hxx,v $
- * $Revision: 1.11 $
+ * $Revision: 1.12 $
*
* This file is part of OpenOffice.org.
*
@@ -415,6 +415,14 @@ public:
String GetBaseURL() const;
String GetDocumentBase() const;
+ /// relative path of stream in package, e.g. "someobject/content.xml"
+ ::rtl::OUString GetStreamPath() const;
+
+ /// set the XmlId attribute of given UNO object (for RDF metadata)
+ void SetXmlId(::com::sun::star::uno::Reference<
+ ::com::sun::star::uno::XInterface> const & i_xIfc,
+ ::rtl::OUString const & i_rXmlId);
+
// #i31958# XForms helper method
// (to be implemented by applications suporting XForms)
virtual void initXForms();
@@ -431,7 +439,7 @@ public:
static const sal_uInt16 OOo_2x = 20;
static const sal_uInt16 OOo_Current = 30;
- /** this checks the build it and returns
+ /** this checks the build ID and returns
* OOo_1x for files created with OpenOffice.org 1.x or StarOffice 7 (this also includes binary import over binfilter)
* OOo_2x for files created with OpenOffice.org 2.x or StarOffice 8