summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-11-09 11:16:08 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-11-09 11:16:08 +0000
commit163d73be67a4002aeef7614dcea3946a98e6c905 (patch)
tree254ff51648f711aa828b442c8e479d590ee1ce69 /xmloff
parent581729f8068996dfaec52e934e62f65d55716b1f (diff)
INTEGRATION: CWS oasisbf1 (1.38.28); FILE MERGED
2004/10/18 18:01:21 sab 1.38.28.1: #i35417#; put additional attributes into shape export
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/draw/shapeexport2.cxx17
1 files changed, 12 insertions, 5 deletions
diff --git a/xmloff/source/draw/shapeexport2.cxx b/xmloff/source/draw/shapeexport2.cxx
index 4b06fb4b5ab1..40aaeb9fec50 100644
--- a/xmloff/source/draw/shapeexport2.cxx
+++ b/xmloff/source/draw/shapeexport2.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: shapeexport2.cxx,v $
*
- * $Revision: 1.38 $
+ * $Revision: 1.39 $
*
- * last change: $Author: kz $ $Date: 2004-10-04 18:11:16 $
+ * last change: $Author: hr $ $Date: 2004-11-09 12:16:08 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1179,9 +1179,10 @@ void XMLShapeExport::ImpExportGraphicObjectShape(
void XMLShapeExport::ImpExportChartShape(
const uno::Reference< drawing::XShape >& xShape,
- XmlShapeType eShapeType, sal_Int32 nFeatures, awt::Point* pRefPoint)
+ XmlShapeType eShapeType, sal_Int32 nFeatures, awt::Point* pRefPoint,
+ SvXMLAttributeList* pAttrList )
{
- ImpExportOLE2Shape( xShape, eShapeType, nFeatures, pRefPoint );
+ ImpExportOLE2Shape( xShape, eShapeType, nFeatures, pRefPoint, pAttrList );
/*
// Transformation
ImpExportNewTrans(xPropSet, nFeatures, pRefPoint);
@@ -1471,7 +1472,8 @@ void XMLShapeExport::ImpExportMeasureShape(
void XMLShapeExport::ImpExportOLE2Shape(
const uno::Reference< drawing::XShape >& xShape,
- XmlShapeType eShapeType, sal_Int32 nFeatures /* = SEF_DEFAULT */, awt::Point* pRefPoint /* = NULL */)
+ XmlShapeType eShapeType, sal_Int32 nFeatures /* = SEF_DEFAULT */, awt::Point* pRefPoint /* = NULL */,
+ SvXMLAttributeList* pAttrList /* = NULL */ )
{
uno::Reference< beans::XPropertySet > xPropSet(xShape, uno::UNO_QUERY);
uno::Reference< container::XNamed > xNamed(xShape, uno::UNO_QUERY);
@@ -1497,6 +1499,11 @@ void XMLShapeExport::ImpExportOLE2Shape(
XML_FRAME, bCreateNewline, sal_True );
{
+ if (pAttrList)
+ {
+ rExport.AddAttributeList(pAttrList);
+ }
+
OUString sClassId;
OUString sURL;
sal_Bool bExportEmbedded(0 != (rExport.getExportFlags() & EXPORT_EMBEDDED));