From 783269e91e2166357a9fb095e64a1d48e6f0601a Mon Sep 17 00:00:00 2001 From: Armin Le Grand Date: Fri, 16 Jun 2017 17:16:22 +0200 Subject: emfplus: completed isolation/migration of Emf/Wmf Decided to keep the migrated/isolated Emf/Wmf reader which are now hidden behind a Uno Api. Had to re-implement WMF_EXTERNALHEADER (now WmfExternal, own file/header) to not break anything. It *seems* to just scale something and could be done after import, but I could not be sure. Also needed a callback hook to allow getting the Metafile out of a MetafilePrimitive in a lower module (vcl relative to drawinglayer) which is needed as long as primitives are not completely on Uno Api. Deleted all Emf/Wmf reader stuff from vcl. Change-Id: Ic5540defa8ec770728280df4df3f12e1f48cfc3a --- offapi/com/sun/star/graphic/XEmfParser.idl | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'offapi/com') diff --git a/offapi/com/sun/star/graphic/XEmfParser.idl b/offapi/com/sun/star/graphic/XEmfParser.idl index 6c55a8a0b963..42cb2cbe6459 100644 --- a/offapi/com/sun/star/graphic/XEmfParser.idl +++ b/offapi/com/sun/star/graphic/XEmfParser.idl @@ -41,10 +41,14 @@ interface XEmfParser : ::com::sun::star::uno::XInterface @param aAbsolutePath The path containing the WMF/EMF/EMF+ data - */ + + @param Properties + Optional values to override MapMode and size +*/ sequence< XPrimitive2D > getDecomposition( [in] io::XInputStream xEmfStream, - [in] string aAbsolutePath); + [in] string aAbsolutePath, + [in] ::com::sun::star::beans::PropertyValues Properties); }; }; }; }; }; -- cgit v1.2.3