summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2007-04-16 12:32:48 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2007-04-16 12:32:48 +0000
commit2398854c0e62c6a582d726330caebfe85f152774 (patch)
tree70d719c3b9a2de689edee866e165584d998570f8 /xmloff
parent5f9073f257be6803756f6202f1d1af04c0f76f35 (diff)
INTEGRATION: CWS oasisrng02_SRC680 (1.46.68); FILE MERGED
2007/04/03 07:58:50 bm 1.46.68.1: #i75528#, #i75529# do note export the properties stock-with-volume and lines-used in ODF format
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/chart/PropertyMaps.cxx14
1 files changed, 12 insertions, 2 deletions
diff --git a/xmloff/source/chart/PropertyMaps.cxx b/xmloff/source/chart/PropertyMaps.cxx
index f94d40083cde..4103af3c9b0f 100644
--- a/xmloff/source/chart/PropertyMaps.cxx
+++ b/xmloff/source/chart/PropertyMaps.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: PropertyMaps.cxx,v $
*
- * $Revision: 1.46 $
+ * $Revision: 1.47 $
*
- * last change: $Author: vg $ $Date: 2006-11-21 17:32:09 $
+ * last change: $Author: ihi $ $Date: 2007-04-16 13:32:48 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -271,6 +271,16 @@ void XMLChartExportPropertyMapper::ContextFilter(
property->mnIndex = -1;
break;
+ case XML_SCH_CONTEXT_STOCK_WITH_VOLUME:
+ case XML_SCH_CONTEXT_LINES_USED:
+ // note this avoids export of the properties in OASIS format,
+ // but also for the OOo XML Flat format (used by binfilter),
+ // because there, the transformation to OOo is done after the
+ // complete export of the chart in OASIS format.
+ if( mrExport.getExportFlags() & EXPORT_OASIS )
+ property->mnIndex = -1;
+ break;
+
case XML_SCH_CONTEXT_SPECIAL_STEP_HELP:
{
// do auto-check directly