LibreOffice Module drawinglayer (master) 1
Public Types | Public Member Functions | Private Attributes | List of all members
drawinglayer::attribute::FontAttribute Class Reference

FontAttribute class. More...

#include <fontattribute.hxx>

Collaboration diagram for drawinglayer::attribute::FontAttribute:
[legend]

Public Types

typedef o3tl::cow_wrapper< ImpFontAttributeImplType
 

Public Member Functions

 FontAttribute (const OUString &rFamilyName, const OUString &rStyleName, sal_uInt16 nWeight, bool bSymbol=false, bool bVertical=false, bool bItalic=false, bool bMonospaced=false, bool bOutline=false, bool bRTL=false, bool bBiDiStrong=false)
 TODO: pair kerning and CJK kerning. More...
 
 FontAttribute ()
 
 FontAttribute (const FontAttribute &)
 
 FontAttribute (FontAttribute &&)
 
FontAttributeoperator= (const FontAttribute &)
 
FontAttributeoperator= (FontAttribute &&)
 
 ~FontAttribute ()
 
bool operator== (const FontAttribute &rCandidate) const
 
const OUString & getFamilyName () const
 data read access More...
 
const OUString & getStyleName () const
 
sal_uInt16 getWeight () const
 
bool getSymbol () const
 
bool getVertical () const
 
bool getItalic () const
 
bool getOutline () const
 
bool getRTL () const
 
bool getBiDiStrong () const
 
bool getMonospaced () const
 

Private Attributes

ImplType mpFontAttribute
 

Detailed Description

FontAttribute class.

This attribute class is able to hold all parameters needed/used to completely define the parametrisation of a text portion.

Definition at line 38 of file fontattribute.hxx.

Member Typedef Documentation

◆ ImplType

Definition at line 41 of file fontattribute.hxx.

Constructor & Destructor Documentation

◆ FontAttribute() [1/4]

drawinglayer::attribute::FontAttribute::FontAttribute ( const OUString &  rFamilyName,
const OUString &  rStyleName,
sal_uInt16  nWeight,
bool  bSymbol = false,
bool  bVertical = false,
bool  bItalic = false,
bool  bMonospaced = false,
bool  bOutline = false,
bool  bRTL = false,
bool  bBiDiStrong = false 
)

TODO: pair kerning and CJK kerning.

◆ FontAttribute() [2/4]

drawinglayer::attribute::FontAttribute::FontAttribute ( )

◆ FontAttribute() [3/4]

drawinglayer::attribute::FontAttribute::FontAttribute ( const FontAttribute )

◆ FontAttribute() [4/4]

drawinglayer::attribute::FontAttribute::FontAttribute ( FontAttribute &&  )

◆ ~FontAttribute()

drawinglayer::attribute::FontAttribute::~FontAttribute ( )

Member Function Documentation

◆ getBiDiStrong()

bool drawinglayer::attribute::FontAttribute::getBiDiStrong ( ) const

◆ getFamilyName()

const OUString & drawinglayer::attribute::FontAttribute::getFamilyName ( ) const

◆ getItalic()

bool drawinglayer::attribute::FontAttribute::getItalic ( ) const

◆ getMonospaced()

bool drawinglayer::attribute::FontAttribute::getMonospaced ( ) const

◆ getOutline()

bool drawinglayer::attribute::FontAttribute::getOutline ( ) const

◆ getRTL()

bool drawinglayer::attribute::FontAttribute::getRTL ( ) const

◆ getStyleName()

const OUString & drawinglayer::attribute::FontAttribute::getStyleName ( ) const

◆ getSymbol()

bool drawinglayer::attribute::FontAttribute::getSymbol ( ) const

◆ getVertical()

bool drawinglayer::attribute::FontAttribute::getVertical ( ) const

◆ getWeight()

sal_uInt16 drawinglayer::attribute::FontAttribute::getWeight ( ) const

◆ operator=() [1/2]

FontAttribute & drawinglayer::attribute::FontAttribute::operator= ( const FontAttribute )

◆ operator=() [2/2]

FontAttribute & drawinglayer::attribute::FontAttribute::operator= ( FontAttribute &&  )

◆ operator==()

bool drawinglayer::attribute::FontAttribute::operator== ( const FontAttribute rCandidate) const

Member Data Documentation

◆ mpFontAttribute

ImplType drawinglayer::attribute::FontAttribute::mpFontAttribute
private

Definition at line 44 of file fontattribute.hxx.


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