From 3ef384b8606b6434903c0e6bbf6e5c33be49ac5d Mon Sep 17 00:00:00 2001 From: Radek Doulik Date: Wed, 15 Sep 2010 11:00:46 +0200 Subject: emf+-cppcanvas-offapi-renderer.diff: emf+ import - renderer iface definition --- offapi/com/sun/star/rendering/MtfRenderer.idl | 46 +++++++++++++++++++++++++++ offapi/com/sun/star/rendering/makefile.mk | 1 + 2 files changed, 47 insertions(+) create mode 100644 offapi/com/sun/star/rendering/MtfRenderer.idl (limited to 'offapi') diff --git a/offapi/com/sun/star/rendering/MtfRenderer.idl b/offapi/com/sun/star/rendering/MtfRenderer.idl new file mode 100644 index 000000000000..dbcc850c3e1c --- /dev/null +++ b/offapi/com/sun/star/rendering/MtfRenderer.idl @@ -0,0 +1,46 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2010 Novell, Inc. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + +#ifndef __com_sun_star_rendering_MtfRenderer_idl__ +#define __com_sun_star_rendering_MtfRenderer_idl__ + +#ifndef __com_sun_star_uno_XCanvas_idl__ +#include +#endif + +module com { module sun { module star { module rendering { + + interface XMtfRenderer : ::com::sun::star::uno::XInterface + { + void setMetafile( [in] sequence< byte > aMtf ); + void draw( [in] double fScaleX, [in] double fScaleY ); + }; + + service MtfRenderer : XMtfRenderer; +}; }; }; }; + +#endif diff --git a/offapi/com/sun/star/rendering/makefile.mk b/offapi/com/sun/star/rendering/makefile.mk index 6b59d156d35e..888d0b7f9c3f 100644 --- a/offapi/com/sun/star/rendering/makefile.mk +++ b/offapi/com/sun/star/rendering/makefile.mk @@ -56,6 +56,7 @@ IDLFILES=\ FontRequest.idl \ IntegerBitmapLayout.idl \ InterpolationMode.idl \ + MtfRenderer.idl \ Panose.idl \ PanoseArmStyle.idl \ PanoseContrast.idl \ -- cgit