25#include <com/sun/star/lang/XServiceInfo.hpp>
26#include <com/sun/star/geometry/Matrix2D.hpp>
27#include <com/sun/star/rendering/FontRequest.hpp>
28#include <com/sun/star/rendering/XCanvasFont.hpp>
29#include <com/sun/star/rendering/XGraphicDevice.hpp>
31#include <vcl/font.hxx>
42 typedef ::cppu::WeakComponentImplHelper< css::rendering::XCanvasFont,
55 CanvasFont(
const css::rendering::FontRequest& fontRequest,
56 const css::uno::Sequence< css::beans::PropertyValue >& extraFontProperties,
57 const css::geometry::Matrix2D& rFontMatrix,
58 css::rendering::XGraphicDevice& rDevice,
62 virtual void SAL_CALL
disposing()
override;
65 virtual css::uno::Reference< css::rendering::XTextLayout > SAL_CALL
createTextLayout(
const css::rendering::StringContext& aText,
sal_Int8 nDirection, sal_Int64 nRandomSeed )
override;
66 virtual css::rendering::FontRequest SAL_CALL
getFontRequest( )
override;
67 virtual css::rendering::FontMetrics SAL_CALL
getFontMetrics( )
override;
83 css::uno::Reference< css::rendering::XGraphicDevice>
mpRefDevice;
css::uno::Reference< css::rendering::XGraphicDevice > mpRefDevice
vcl::Font const & getVCLFont() const
virtual css::rendering::FontMetrics SAL_CALL getFontMetrics() override
virtual css::uno::Reference< css::rendering::XTextLayout > SAL_CALL createTextLayout(const css::rendering::StringContext &aText, sal_Int8 nDirection, sal_Int64 nRandomSeed) override
OutDevProviderSharedPtr mpOutDevProvider
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
CanvasFont(const CanvasFont &)=delete
make noncopyable
const CanvasFont & operator=(const CanvasFont &)=delete
CanvasFont(const css::rendering::FontRequest &fontRequest, const css::uno::Sequence< css::beans::PropertyValue > &extraFontProperties, const css::geometry::Matrix2D &rFontMatrix, css::rendering::XGraphicDevice &rDevice, const OutDevProviderSharedPtr &rOutDevProvider)
virtual void SAL_CALL disposing() override
Dispose all internal references.
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
css::geometry::Matrix2D maFontMatrix
const css::geometry::Matrix2D & getFontMatrix() const
virtual OUString SAL_CALL getImplementationName() override
rtl::Reference< CanvasFont > Reference
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getExtraFontProperties() override
::canvas::vcltools::VCLObject< vcl::Font > maFont
virtual css::uno::Sequence< double > SAL_CALL getAvailableSizes() override
css::rendering::FontRequest maFontRequest
virtual css::rendering::FontRequest SAL_CALL getFontRequest() override
std::shared_ptr< OutDevProvider > OutDevProviderSharedPtr
::cppu::WeakComponentImplHelper< css::rendering::XCanvasFont, css::lang::XServiceInfo > CanvasFont_Base