summaryrefslogtreecommitdiff
path: root/include/filter
diff options
context:
space:
mode:
authorNikhil Walvekar <nikhil.walvekar@synerzip.com>2013-11-29 14:03:46 +0530
committerMiklos Vajna <vmiklos@collabora.co.uk>2013-12-13 11:49:35 +0000
commit8fe352be80ff69552f622f3c7a6a6f269912ab71 (patch)
treed3fd939ca45176ba60782726f9a5caef5a30abac /include/filter
parent5ee74052edd7e83318a51ee0297607773b451a98 (diff)
fdo#65836 Do not compress WMF / EMF file incase of OOXML export
Change-Id: Ic498e5703ab48719f998be6da3f245843cc0979d Reviewed-on: https://gerrit.libreoffice.org/6849 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'include/filter')
-rw-r--r--include/filter/msfilter/escherex.hxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/filter/msfilter/escherex.hxx b/include/filter/msfilter/escherex.hxx
index 5cc33c6111d7..e24996cd9521 100644
--- a/include/filter/msfilter/escherex.hxx
+++ b/include/filter/msfilter/escherex.hxx
@@ -1095,7 +1095,8 @@ public:
const OString& rGraphicId,
const Rectangle& rBoundRect,
const com::sun::star::awt::Rectangle* pVisArea = NULL,
- const GraphicAttr* pGrafikAttr = NULL
+ const GraphicAttr* pGrafikAttr = NULL,
+ const sal_Bool ooxmlExport = false
);
sal_Bool HasGraphics() const { return mnBlibEntrys != 0; };
@@ -1259,7 +1260,8 @@ public:
const OUString& rSource,
const sal_Bool bCreateFillBitmap,
const sal_Bool bCreateCroppingAttributes = sal_False,
- const sal_Bool bFillBitmapModeAllowed = sal_True
+ const sal_Bool bFillBitmapModeAllowed = sal_True,
+ const sal_Bool bOOxmlExport = false
);
sal_Bool CreateBlipPropertiesforOLEControl( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > & rXPropSet, const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > & rXShape);
@@ -1682,7 +1684,7 @@ public:
void AddUnoShapes( const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShapes >& rxShapes );
/// returns the ShapeID
- sal_uInt32 AddSdrObject( const SdrObject& rObj );
+ sal_uInt32 AddSdrObject( const SdrObject& rObj, bool ooxmlExport = false );
/// If objects are written through AddSdrObject the
/// SolverContainer has to be written, and maybe some