summaryrefslogtreecommitdiff
path: root/sw/source/filter/xml/xmlexp.cxx
diff options
context:
space:
mode:
authorMichael Brauer <mib@openoffice.org>2000-12-02 09:57:15 +0000
committerMichael Brauer <mib@openoffice.org>2000-12-02 09:57:15 +0000
commit89bbf41f22528a65b315c6e0e0d1ecfb0d6fe5ae (patch)
treef3f5c6c5f0c63695043f45db9c751507a2531f58 /sw/source/filter/xml/xmlexp.cxx
parente6fe15be1d26c68a87107ff95c88db5e511deb02 (diff)
#80795#: use packages
Diffstat (limited to 'sw/source/filter/xml/xmlexp.cxx')
-rw-r--r--sw/source/filter/xml/xmlexp.cxx15
1 files changed, 10 insertions, 5 deletions
diff --git a/sw/source/filter/xml/xmlexp.cxx b/sw/source/filter/xml/xmlexp.cxx
index 120330b48bb0..8258ea237761 100644
--- a/sw/source/filter/xml/xmlexp.cxx
+++ b/sw/source/filter/xml/xmlexp.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: xmlexp.cxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: mib $ $Date: 2000-11-27 13:44:40 $
+ * last change: $Author: mib $ $Date: 2000-12-02 10:57:15 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -137,6 +137,7 @@ using namespace ::com::sun::star::frame;
using namespace ::com::sun::star::text;
using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::lang;
+using namespace ::com::sun::star::container;
#ifdef XML_CORE_API
void SwXMLExport::SetCurPaM( SwPaM& rPaM, sal_Bool bWhole, sal_Bool bTabOnly )
@@ -178,9 +179,10 @@ void SwXMLExport::SetCurPaM( SwPaM& rPaM, sal_Bool bWhole, sal_Bool bTabOnly )
SwXMLExport::SwXMLExport( const Reference< XModel >& rModel, SwPaM& rPaM,
const OUString& rFileName,
const Reference< xml::sax::XDocumentHandler > & rHandler,
+ const Reference< XIndexContainer > & rEmbeddedGrfObjs,
sal_Bool bExpWholeDoc, sal_Bool bExpFirstTableOnly,
- sal_Bool bShowProg ) :
- SvXMLExport( rFileName, rHandler, rModel,
+ sal_Bool bShowProg, SvStorage *pPkg ) :
+ SvXMLExport( rFileName, rHandler, rModel, rEmbeddedGrfObjs,
SW_MOD()->GetMetric( rPaM.GetDoc()->IsHTMLMode() ) ),
pDoc( rPaM.GetDoc() ),
#ifdef XML_CORE_API
@@ -194,7 +196,8 @@ SwXMLExport::SwXMLExport( const Reference< XModel >& rModel, SwPaM& rPaM,
bExportFirstTableOnly( bExpFirstTableOnly ),
bShowProgress( bShowProg ),
sNumberFormat(RTL_CONSTASCII_USTRINGPARAM("NumberFormat")),
- sCell(RTL_CONSTASCII_USTRINGPARAM("Cell"))
+ sCell(RTL_CONSTASCII_USTRINGPARAM("Cell")),
+ xPackage( pPkg )
{
const SfxPoolItem* pItem;
const SfxItemPool& rPool = pDoc->GetAttrPool();
@@ -406,6 +409,7 @@ const SwNoTxtNode *SwXMLTextParagraphExport::GetNoTxtNode(
return pNdIdx->GetNodes()[pNdIdx->GetIndex() + 1]->GetNoTxtNode();
}
+#if 0
OUString SwXMLTextParagraphExport::exportTextEmbeddedGraphic(
const Reference < XPropertySet >& rPropSet )
{
@@ -427,6 +431,7 @@ OUString SwXMLTextParagraphExport::exportTextEmbeddedGraphic(
}
return aName;
}
+#endif
OUString SwXMLTextParagraphExport::exportTextEmbeddedObject(
const Reference < XPropertySet >& rPropSet )