25#include <com/sun/star/lang/XServiceInfo.hpp>
26#include <com/sun/star/rendering/XCanvas.hpp>
27#include <com/sun/star/rendering/XCanvasFont.hpp>
44 typedef ::cppu::WeakComponentImplHelper< css::rendering::XCanvasFont,
56 CanvasFont(
const css::rendering::FontRequest& fontRequest,
57 const css::uno::Sequence< css::beans::PropertyValue >& extraFontProperties,
58 const css::geometry::Matrix2D& fontMatrix );
61 virtual void SAL_CALL
disposing()
override;
64 virtual css::uno::Reference< css::rendering::XTextLayout > SAL_CALL
createTextLayout(
const css::rendering::StringContext& aText,
sal_Int8 nDirection, sal_Int64 nRandomSeed )
override;
65 virtual css::rendering::FontRequest SAL_CALL
getFontRequest( )
override;
66 virtual css::rendering::FontMetrics SAL_CALL
getFontMetrics( )
override;
css::rendering::FontRequest maFontRequest
const css::geometry::Matrix2D & getFontMatrix() const
GDIPlusUserSharedPtr mpGdiPlusUser
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
double getEmHeight() const
rtl::Reference< CanvasFont > ImplRef
FontFamilySharedPtr mpFontFamily
sal_uInt32 mnEmphasisMark
virtual css::rendering::FontRequest SAL_CALL getFontRequest() override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
sal_uInt32 getEmphasisMark() const
const CanvasFont & operator=(const CanvasFont &)=delete
css::geometry::Matrix2D maFontMatrix
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getExtraFontProperties() override
CanvasFont(const CanvasFont &)=delete
make noncopyable
virtual css::uno::Sequence< double > SAL_CALL getAvailableSizes() override
virtual css::uno::Reference< css::rendering::XTextLayout > SAL_CALL createTextLayout(const css::rendering::StringContext &aText, sal_Int8 nDirection, sal_Int64 nRandomSeed) override
double getCellAscent() const
virtual css::rendering::FontMetrics SAL_CALL getFontMetrics() override
virtual void SAL_CALL disposing() override
Dispose all internal references.
CanvasFont(const css::rendering::FontRequest &fontRequest, const css::uno::Sequence< css::beans::PropertyValue > &extraFontProperties, const css::geometry::Matrix2D &fontMatrix)
FontSharedPtr getFont() const
virtual OUString SAL_CALL getImplementationName() override
::cppu::WeakComponentImplHelper< css::rendering::XCanvasFont, css::lang::XServiceInfo > CanvasFont_Base
std::shared_ptr< Gdiplus::FontFamily > FontFamilySharedPtr
GDIPlusUser::GDIPlusUserSharedPtr GDIPlusUserSharedPtr
std::shared_ptr< Gdiplus::Font > FontSharedPtr