LibreOffice Module canvas (master)  1
Public Types | Public Member Functions | Private Attributes | List of all members
vclcanvas::CanvasFont Class Reference

#include <canvasfont.hxx>

Inheritance diagram for vclcanvas::CanvasFont:
[legend]
Collaboration diagram for vclcanvas::CanvasFont:
[legend]

Public Types

typedef rtl::Reference< CanvasFontReference
 

Public Member Functions

 CanvasFont (const CanvasFont &)=delete
 make noncopyable More...
 
const CanvasFontoperator= (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. More...
 
virtual css::uno::Reference< css::rendering::XTextLayout > SAL_CALL createTextLayout (const css::rendering::StringContext &aText, sal_Int8 nDirection, sal_Int64 nRandomSeed) override
 
virtual css::rendering::FontRequest SAL_CALL getFontRequest () override
 
virtual css::rendering::FontMetrics SAL_CALL getFontMetrics () override
 
virtual css::uno::Sequence< double > SAL_CALL getAvailableSizes () override
 
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getExtraFontProperties () override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
vcl::Font const & getVCLFont () const
 

Private Attributes

::canvas::vcltools::VCLObject< vcl::FontmaFont
 
css::rendering::FontRequest maFontRequest
 
css::uno::Reference< css::rendering::XGraphicDevice > mpRefDevice
 
OutDevProviderSharedPtr mpOutDevProvider
 

Additional Inherited Members

- Protected Attributes inherited from cppu::BaseMutex
mutable::osl::Mutex m_aMutex
 

Detailed Description

Definition at line 47 of file canvasfont.hxx.

Member Typedef Documentation

Definition at line 51 of file canvasfont.hxx.

Constructor & Destructor Documentation

vclcanvas::CanvasFont::CanvasFont ( const CanvasFont )
delete

make noncopyable

vclcanvas::CanvasFont::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 
)

Member Function Documentation

virtual css::uno::Reference< css::rendering::XTextLayout > SAL_CALL vclcanvas::CanvasFont::createTextLayout ( const css::rendering::StringContext &  aText,
sal_Int8  nDirection,
sal_Int64  nRandomSeed 
)
overridevirtual
void SAL_CALL vclcanvas::CanvasFont::disposing ( )
overridevirtual

Dispose all internal references.

Definition at line 94 of file canvasfont.cxx.

uno::Sequence< double > SAL_CALL vclcanvas::CanvasFont::getAvailableSizes ( )
overridevirtual

Definition at line 142 of file canvasfont.cxx.

uno::Sequence< beans::PropertyValue > SAL_CALL vclcanvas::CanvasFont::getExtraFontProperties ( )
overridevirtual

Definition at line 148 of file canvasfont.cxx.

rendering::FontMetrics SAL_CALL vclcanvas::CanvasFont::getFontMetrics ( )
overridevirtual

Definition at line 123 of file canvasfont.cxx.

rendering::FontRequest SAL_CALL vclcanvas::CanvasFont::getFontRequest ( )
overridevirtual

Definition at line 116 of file canvasfont.cxx.

OUString SAL_CALL vclcanvas::CanvasFont::getImplementationName ( )
overridevirtual

Definition at line 154 of file canvasfont.cxx.

uno::Sequence< OUString > SAL_CALL vclcanvas::CanvasFont::getSupportedServiceNames ( )
overridevirtual

Definition at line 164 of file canvasfont.cxx.

vcl::Font const & vclcanvas::CanvasFont::getVCLFont ( ) const

Definition at line 169 of file canvasfont.cxx.

Referenced by vclcanvas::CanvasHelper::setupTextOutput().

const CanvasFont& vclcanvas::CanvasFont::operator= ( const CanvasFont )
delete
sal_Bool SAL_CALL vclcanvas::CanvasFont::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 159 of file canvasfont.cxx.

References cppu::supportsService().

Member Data Documentation

::canvas::vcltools::VCLObject<vcl::Font> vclcanvas::CanvasFont::maFont
private

Definition at line 81 of file canvasfont.hxx.

css::rendering::FontRequest vclcanvas::CanvasFont::maFontRequest
private

Definition at line 82 of file canvasfont.hxx.

OutDevProviderSharedPtr vclcanvas::CanvasFont::mpOutDevProvider
private

Definition at line 84 of file canvasfont.hxx.

css::uno::Reference< css::rendering::XGraphicDevice> vclcanvas::CanvasFont::mpRefDevice
private

Definition at line 83 of file canvasfont.hxx.


The documentation for this class was generated from the following files: