20#ifndef INCLUDED_TOOLKIT_AWT_VCLXDEVICE_HXX
21#define INCLUDED_TOOLKIT_AWT_VCLXDEVICE_HXX
24#include <com/sun/star/awt/XDevice.hpp>
30#include <com/sun/star/awt/XUnitConversion.hpp>
34 public cppu::WeakImplHelper<
36 css::awt::XUnitConversion>
52 css::uno::Reference< css::awt::XGraphics > SAL_CALL
createGraphics( )
override;
53 css::uno::Reference< css::awt::XDevice > SAL_CALL
createDevice( sal_Int32 nWidth, sal_Int32 nHeight )
override;
54 css::awt::DeviceInfo SAL_CALL
getInfo()
override;
55 css::uno::Sequence< css::awt::FontDescriptor > SAL_CALL
getFontDescriptors( )
override;
56 css::uno::Reference< css::awt::XFont > SAL_CALL
getFont(
const css::awt::FontDescriptor& aDescriptor )
override;
57 css::uno::Reference< css::awt::XBitmap > SAL_CALL
createBitmap( sal_Int32 nX, sal_Int32 nY, sal_Int32 nWidth, sal_Int32 nHeight )
override;
58 css::uno::Reference< css::awt::XDisplayBitmap > SAL_CALL
createDisplayBitmap(
const css::uno::Reference< css::awt::XBitmap >&
Bitmap )
override;
61 css::awt::Point SAL_CALL
convertPointToLogic(
const css::awt::Point& aPoint, ::sal_Int16 TargetUnit )
override;
62 css::awt::Point SAL_CALL
convertPointToPixel(
const css::awt::Point& aPoint, ::sal_Int16 SourceUnit )
override;
63 css::awt::Size SAL_CALL
convertSizeToLogic(
const css::awt::Size& aSize, ::sal_Int16 TargetUnit )
override;
64 css::awt::Size SAL_CALL
convertSizeToPixel(
const css::awt::Size& aSize, ::sal_Int16 SourceUnit )
override;
A UNO wrapper for the VCL OutputDevice.
css::uno::Reference< css::awt::XGraphics > SAL_CALL createGraphics() override
css::uno::Reference< css::awt::XFont > SAL_CALL getFont(const css::awt::FontDescriptor &aDescriptor) override
css::awt::Point SAL_CALL convertPointToLogic(const css::awt::Point &aPoint, ::sal_Int16 TargetUnit) override
VclPtr< OutputDevice > mpOutputDevice
css::awt::Size SAL_CALL convertSizeToLogic(const css::awt::Size &aSize, ::sal_Int16 TargetUnit) override
virtual ~VCLXDevice() override
css::uno::Reference< css::awt::XDevice > SAL_CALL createDevice(sal_Int32 nWidth, sal_Int32 nHeight) override
css::awt::Point SAL_CALL convertPointToPixel(const css::awt::Point &aPoint, ::sal_Int16 SourceUnit) override
css::uno::Reference< css::awt::XDisplayBitmap > SAL_CALL createDisplayBitmap(const css::uno::Reference< css::awt::XBitmap > &Bitmap) override
css::awt::DeviceInfo SAL_CALL getInfo() override
css::awt::Size SAL_CALL convertSizeToPixel(const css::awt::Size &aSize, ::sal_Int16 SourceUnit) override
css::uno::Reference< css::awt::XBitmap > SAL_CALL createBitmap(sal_Int32 nX, sal_Int32 nY, sal_Int32 nWidth, sal_Int32 nHeight) override
void SetOutputDevice(const VclPtr< OutputDevice > &pOutDev)
const VclPtr< OutputDevice > & GetOutputDevice() const
css::uno::Sequence< css::awt::FontDescriptor > SAL_CALL getFontDescriptors() override
virtual ~VCLXVirtualDevice() override
void SetVirtualDevice(VirtualDevice *pVDev)
#define TOOLKIT_DLLPUBLIC