summaryrefslogtreecommitdiffstats
path: root/include/xmloff/xmlexppr.hxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-08-27 15:14:20 +0200
committerMichael Stahl <mstahl@redhat.com>2015-08-27 15:50:45 +0200
commitb1922eecb55b233de3e6abaaa644fe9f313cf0f1 (patch)
tree1b2b3e6275946723a26b6ce16f1a5343ea0dd8ad /include/xmloff/xmlexppr.hxx
parentcrashtesting: tiff loop detection too slow (diff)
downloadcore-b1922eecb55b233de3e6abaaa644fe9f313cf0f1.tar.gz
core-b1922eecb55b233de3e6abaaa644fe9f313cf0f1.zip
xmloff: ODF export: actually ODF 1.2 does not allow graphic-properties
... in a style with family "paragraph", as detected by a --with-export-validation build due to the unit test added yesterday. So use the loext namespace for the style:graphic-properties element, and also omit it entirely (and rely on the style:paragraph-properties attributes fo:background-*) if the ODF version is set to 1.2 or 1.1. Also adapt a previous check that was missing the "drawing-page" style family, where the style:graphic-properties is allowed (commit 9746dc9ad62e7f3a39961733f2ac204e90289034) (regression from 7d9bb549d498d6beed2c4050c402d09643febdfa) Change-Id: Iedd66483f63020328bd61e1c1e19c62787b8ff6b
Diffstat (limited to 'include/xmloff/xmlexppr.hxx')
-rw-r--r--include/xmloff/xmlexppr.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/xmloff/xmlexppr.hxx b/include/xmloff/xmlexppr.hxx
index 9a67145d01fb..91d323cbe605 100644
--- a/include/xmloff/xmlexppr.hxx
+++ b/include/xmloff/xmlexppr.hxx
@@ -133,7 +133,8 @@ public:
void exportXML(
SvXMLExport& rExport,
const ::std::vector< XMLPropertyState >& rProperties,
- SvXmlExportFlags nFlags = SvXmlExportFlags::NONE ) const;
+ SvXmlExportFlags nFlags = SvXmlExportFlags::NONE,
+ bool bUseExtensionNamespaceForGraphicProperties = false ) const;
/** like above but only properties whose property map index is within the
* specified range are exported