LibreOffice Module drawinglayer (master) 1
|
FontAttribute class. More...
#include <fontattribute.hxx>
Public Types | |
typedef o3tl::cow_wrapper< ImpFontAttribute > | ImplType |
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 &&) | |
FontAttribute & | operator= (const FontAttribute &) |
FontAttribute & | operator= (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 |
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.
Definition at line 41 of file fontattribute.hxx.
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.
drawinglayer::attribute::FontAttribute::FontAttribute | ( | ) |
drawinglayer::attribute::FontAttribute::FontAttribute | ( | const FontAttribute & | ) |
drawinglayer::attribute::FontAttribute::FontAttribute | ( | FontAttribute && | ) |
drawinglayer::attribute::FontAttribute::~FontAttribute | ( | ) |
bool drawinglayer::attribute::FontAttribute::getBiDiStrong | ( | ) | const |
const OUString & drawinglayer::attribute::FontAttribute::getFamilyName | ( | ) | const |
data read access
Referenced by drawinglayer::Primitive2dXmlDump::decomposeAndWrite(), and drawinglayer::primitive2d::getVclFontFromFontAttribute().
bool drawinglayer::attribute::FontAttribute::getItalic | ( | ) | const |
Referenced by drawinglayer::primitive2d::getVclFontFromFontAttribute().
bool drawinglayer::attribute::FontAttribute::getMonospaced | ( | ) | const |
Referenced by drawinglayer::primitive2d::getVclFontFromFontAttribute().
bool drawinglayer::attribute::FontAttribute::getOutline | ( | ) | const |
Referenced by drawinglayer::primitive2d::getVclFontFromFontAttribute().
bool drawinglayer::attribute::FontAttribute::getRTL | ( | ) | const |
const OUString & drawinglayer::attribute::FontAttribute::getStyleName | ( | ) | const |
Referenced by drawinglayer::primitive2d::getVclFontFromFontAttribute().
bool drawinglayer::attribute::FontAttribute::getSymbol | ( | ) | const |
Referenced by drawinglayer::primitive2d::getVclFontFromFontAttribute().
bool drawinglayer::attribute::FontAttribute::getVertical | ( | ) | const |
Referenced by drawinglayer::primitive2d::getVclFontFromFontAttribute().
sal_uInt16 drawinglayer::attribute::FontAttribute::getWeight | ( | ) | const |
Referenced by drawinglayer::primitive2d::getVclFontFromFontAttribute().
FontAttribute & drawinglayer::attribute::FontAttribute::operator= | ( | const FontAttribute & | ) |
FontAttribute & drawinglayer::attribute::FontAttribute::operator= | ( | FontAttribute && | ) |
bool drawinglayer::attribute::FontAttribute::operator== | ( | const FontAttribute & | rCandidate | ) | const |
|
private |
Definition at line 44 of file fontattribute.hxx.