summaryrefslogtreecommitdiff
path: root/offapi
diff options
context:
space:
mode:
authorRadek Doulik <rodo@novell.com>2010-09-15 11:00:46 +0200
committerRadek Doulik <rodo@novell.com>2010-09-15 17:54:39 +0200
commit3ef384b8606b6434903c0e6bbf6e5c33be49ac5d (patch)
treeeadc512202c235ba51848a661d6739d0a9420b97 /offapi
parent051069550353d01c88adaa3c94d9395c5e7520ac (diff)
emf+-cppcanvas-offapi-renderer.diff: emf+ import - renderer iface definition
Diffstat (limited to 'offapi')
-rw-r--r--offapi/com/sun/star/rendering/MtfRenderer.idl46
-rw-r--r--offapi/com/sun/star/rendering/makefile.mk1
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 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
+ * <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 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 \