diff options
author | Eike Rathke <erack@redhat.com> | 2013-12-17 21:16:04 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-12-20 03:26:56 +0100 |
commit | 9dd7ee88bd9835ae2bae36093100fcd651fd3aeb (patch) | |
tree | d219bac57ef502dd1ae1eb6f03c6584e2cfcc058 /include | |
parent | 44b4973fbd0f190906f36321b31215d80b363d52 (diff) |
prepared XMLPropertyMapEntry with mbImportOnly flag
Change-Id: Id5a54a591a42c836884af1fd09dc055f2fce6db5
Diffstat (limited to 'include')
-rw-r--r-- | include/xmloff/maptype.hxx | 8 | ||||
-rw-r--r-- | include/xmloff/xmlprmap.hxx | 1 |
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( |