summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2008-06-24 10:38:45 +0000
committerKurt Zenker <kz@openoffice.org>2008-06-24 10:38:45 +0000
commit77ec38481e5b2a08c6c1cbf89c9c6c2f4ab928ed (patch)
tree454d283423651a8bd3b28ca683b95be5f0e7e57b /vcl
parent6aaf82868c92d907883458dc0f4354099b2711c6 (diff)
INTEGRATION: CWS canvas05 (1.3.140); FILE MERGED
2008/04/21 07:46:48 thb 1.3.140.3: RESYNC: (1.5-1.6); FILE MERGED 2008/04/07 14:37:51 thb 1.3.140.2: RESYNC: (1.3-1.5); FILE MERGED 2008/01/24 16:50:08 thb 1.3.140.1: #i85559# Added OutputDevice::GetCanvas method (and necessary ground work)
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/vcl/outdev.hxx16
1 files changed, 15 insertions, 1 deletions
diff --git a/vcl/inc/vcl/outdev.hxx b/vcl/inc/vcl/outdev.hxx
index ee906b3452b8..aa25afec89ea 100644
--- a/vcl/inc/vcl/outdev.hxx
+++ b/vcl/inc/vcl/outdev.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: outdev.hxx,v $
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
* This file is part of OpenOffice.org.
*
@@ -50,6 +50,7 @@ struct ImplOutDevData;
class ImplFontEntry;
struct ImplObjStack;
struct ImplKernPairData;
+struct SystemGraphicsData;
class ImplFontCache;
class ImplDevFontList;
class ImplGetDevFontList;
@@ -78,6 +79,12 @@ class SalLayout;
class ImplLayoutArgs;
class VirtualDevice;
+namespace com {
+namespace sun {
+namespace star {
+namespace rendering {
+ class XCanvas;
+}}}}
namespace basegfx {
class B2DHomMatrix;
class B2DPolygon;
@@ -884,6 +891,9 @@ public:
virtual void SetSettings( const AllSettings& rSettings );
const AllSettings& GetSettings() const { return maSettings; }
+ SystemGraphicsData GetSystemGfxData() const;
+ ::com::sun::star::uno::Any GetSystemGfxDataAny() const;
+
virtual void SetMapMode();
virtual void SetMapMode( const MapMode& rNewMapMode );
virtual void SetRelativeMapMode( const MapMode& rNewMapMode );
@@ -1046,6 +1056,10 @@ public:
void DrawEPS( const Point& rPt, const Size& rSz,
const GfxLink& rGfxLink, GDIMetaFile* pSubst = NULL );
+ /// request XCanvas render interface for this OutputDevice
+ ::com::sun::star::uno::Reference<
+ ::com::sun::star::rendering::XCanvas > GetCanvas() const;
+
::com::sun::star::uno::Reference< ::com::sun::star::awt::XGraphics > CreateUnoGraphics();
List* GetUnoGraphicsList() const { return mpUnoGraphicsList; }
List* CreateUnoGraphicsList() { mpUnoGraphicsList = new List; return mpUnoGraphicsList; }