summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMichael Brauer <mib@openoffice.org>2001-03-05 10:59:21 +0000
committerMichael Brauer <mib@openoffice.org>2001-03-05 10:59:21 +0000
commitd7483bc03747dd42746b0c7aa6089a9f925528a2 (patch)
treebb9f0e7d7b22ba60cc493680df4624026c270719 /sw
parent46f3a91352f11c15228a5da1bfe9bb23baa9d380 (diff)
Export draw styles using shape export
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/xml/xmlfmte.cxx5
-rw-r--r--sw/source/filter/xml/xmltexte.cxx13
-rw-r--r--sw/source/filter/xml/xmltexte.hxx5
3 files changed, 7 insertions, 16 deletions
diff --git a/sw/source/filter/xml/xmlfmte.cxx b/sw/source/filter/xml/xmlfmte.cxx
index a2a484193c5b..d95a3ab4eb0d 100644
--- a/sw/source/filter/xml/xmlfmte.cxx
+++ b/sw/source/filter/xml/xmlfmte.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: xmlfmte.cxx,v $
*
- * $Revision: 1.16 $
+ * $Revision: 1.17 $
*
- * last change: $Author: mib $ $Date: 2001-03-02 16:49:56 $
+ * last change: $Author: mib $ $Date: 2001-03-05 11:59:21 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -273,6 +273,7 @@ void SwXMLExport::_ExportAutoStyles()
}
GetTextParagraphExport()->exportTextAutoStyles();
+ GetShapeExport()->exportAutoStyles();
if( (getExportFlags() & EXPORT_MASTERSTYLES) != 0 )
GetPageExport()->exportAutoStyles();
diff --git a/sw/source/filter/xml/xmltexte.cxx b/sw/source/filter/xml/xmltexte.cxx
index 6749d7524a7c..34025cd85091 100644
--- a/sw/source/filter/xml/xmltexte.cxx
+++ b/sw/source/filter/xml/xmltexte.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: xmltexte.cxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: mib $ $Date: 2001-03-02 14:03:38 $
+ * last change: $Author: mib $ $Date: 2001-03-05 11:59:21 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -245,15 +245,6 @@ void SwXMLTextParagraphExport::exportStyleContent(
}
}
-void SwXMLTextParagraphExport::exportTextAutoStyles()
-{
- XMLTextParagraphExport::exportTextAutoStyles();
- GetAutoStylePool().exportXML( XML_STYLE_FAMILY_SD_GRAPHICS_ID,
- GetExport().GetDocHandler(),
- GetExport().GetMM100UnitConverter(),
- GetExport().GetNamespaceMap() );
-}
-
SwXMLTextParagraphExport::SwXMLTextParagraphExport(
SwXMLExport& rExp,
SvXMLAutoStylePoolP& rAutoStylePool ) :
diff --git a/sw/source/filter/xml/xmltexte.hxx b/sw/source/filter/xml/xmltexte.hxx
index 53d390374d88..f1692a43d615 100644
--- a/sw/source/filter/xml/xmltexte.hxx
+++ b/sw/source/filter/xml/xmltexte.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: xmltexte.hxx,v $
*
- * $Revision: 1.10 $
+ * $Revision: 1.11 $
*
- * last change: $Author: mib $ $Date: 2001-03-02 14:03:38 $
+ * last change: $Author: mib $ $Date: 2001-03-05 11:59:21 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -87,7 +87,6 @@ protected:
const ::com::sun::star::uno::Reference<
::com::sun::star::style::XStyle > & rStyle );
- virtual void exportTextAutoStyles();
virtual void _exportTextEmbedded(
const ::com::sun::star::uno::Reference <
::com::sun::star::beans::XPropertySet > & rPropSet,