summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/xmloff/maptype.hxx8
-rw-r--r--include/xmloff/xmlprmap.hxx1
2 files changed, 9 insertions, 0 deletions
diff --git a/include/xmloff/maptype.hxx b/include/xmloff/maptype.hxx
index 36482e2b0d32..97e62d4b3803 100644
--- a/include/xmloff/maptype.hxx
+++ b/include/xmloff/maptype.hxx
@@ -43,6 +43,14 @@ struct XMLPropertyMapEntry
to im/export the porperty */
sal_Int16 mnContextId; /// User defined id for context filtering
SvtSaveOptions::ODFDefaultVersion mnEarliestODFVersionForExport;// no export when the used ODF version is lower than this
+
+ /** Flag to specify whether entry is only used during import.
+
+ Allows to handle more than one Namespace/XML-Name to Property-Name
+ mapping, i.e. for extensions. If several entries for the same
+ Property-Name exist, all except one must have this flag set.
+ */
+ bool mbImportOnly;
};
///////////////////////////////////////////////////////////////////////////
diff --git a/include/xmloff/xmlprmap.hxx b/include/xmloff/xmlprmap.hxx
index e0448a8d6f5e..37f56330c617 100644
--- a/include/xmloff/xmlprmap.hxx
+++ b/include/xmloff/xmlprmap.hxx
@@ -59,6 +59,7 @@ struct XMLPropertySetMapperEntry_Impl
sal_uInt16 nXMLNameSpace;
sal_Int16 nContextId;
SvtSaveOptions::ODFDefaultVersion nEarliestODFVersionForExport;
+ bool bImportOnly;
const XMLPropertyHandler *pHdl;
XMLPropertySetMapperEntry_Impl(