diff options
author | Radek Doulik <rodo@novell.com> | 2010-09-15 11:00:46 +0200 |
---|---|---|
committer | Radek Doulik <rodo@novell.com> | 2010-09-15 17:54:39 +0200 |
commit | a8d4cd070f7a8193109ecad723c04c449b05409b (patch) | |
tree | c2424356ec87d5fd205ca99e6f162b80d7b54f45 /offapi | |
parent | 22adf3b752d7b40940ce9d80be97c4413b5e4dd6 (diff) |
emf+-cppcanvas-offapi-renderer.diff: emf+ import - renderer iface definition
Diffstat (limited to 'offapi')
-rw-r--r-- | offapi/com/sun/star/rendering/MtfRenderer.idl | 46 | ||||
-rw-r--r-- | offapi/com/sun/star/rendering/makefile.mk | 1 |
2 files changed, 47 insertions, 0 deletions
diff --git a/offapi/com/sun/star/rendering/MtfRenderer.idl b/offapi/com/sun/star/rendering/MtfRenderer.idl new file mode 100644 index 000000000..dbcc850c3 --- /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 + * <http://www.openoffice.org/license.html> + * 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 <com/sun/star/rendering/XCanvas.idl> +#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 6b59d156d..888d0b7f9 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 \ |