LibreOffice Module sd (master) 1
|
#include <epptbase.hxx>
Public Member Functions | |
FontCollection () | |
~FontCollection () | |
sal_uInt32 | GetId (FontCollectionEntry &rFontDescriptor) |
sal_uInt32 | GetCount () const |
const FontCollectionEntry * | GetById (sal_uInt32 nId) |
FontCollectionEntry & | GetLast () |
Static Public Member Functions | |
static short | GetScriptDirection (std::u16string_view rText) |
Private Attributes | |
VclPtr< VirtualDevice > | pVDev |
std::vector< FontCollectionEntry > | maFonts |
Definition at line 177 of file epptbase.hxx.
FontCollection::FontCollection | ( | ) |
Definition at line 1345 of file pptx-text.cxx.
References xPPTBreakIter.
FontCollection::~FontCollection | ( | ) |
Definition at line 1339 of file pptx-text.cxx.
References VclPtr< class reference_type >::disposeAndClear(), pVDev, and xPPTBreakIter.
const FontCollectionEntry * FontCollection::GetById | ( | sal_uInt32 | nId | ) |
Definition at line 1395 of file pptx-text.cxx.
Referenced by GetId(), PPTWriter::ImplAdjustFirstLineLineSpacing(), PPTWriter::ImplCloseDocument(), PPTWriter::ImplWriteParagraphs(), and PPTExParaSheet::SetStyleSheet().
|
inline |
Definition at line 189 of file epptbase.hxx.
References maFonts.
Referenced by PPTWriter::ImplCloseDocument(), and PortionObj::ImplGetPortionValues().
sal_uInt32 FontCollection::GetId | ( | FontCollectionEntry & | rFontDescriptor | ) |
Definition at line 1357 of file pptx-text.cxx.
References FontCollectionEntry::CharSet, VclPtr< class reference_type >::Create(), FontMetric::GetAscent(), GetById(), FontMetric::GetDescent(), i, maFonts, FontCollectionEntry::Name, FontCollectionEntry::Original, pVDev, FontCollectionEntry::Scaling, vcl::Font::SetCharSet(), vcl::Font::SetFamilyName(), and vcl::Font::SetFontHeight().
Referenced by PPTWriterBase::exportPPT(), PortionObj::ImplGetPortionValues(), PPTWriter::ImplWriteParagraphs(), and PPTExParaSheet::SetStyleSheet().
|
inline |
Definition at line 193 of file epptbase.hxx.
References maFonts.
Referenced by PortionObj::ImplGetPortionValues().
|
static |
Definition at line 1351 of file pptx-text.cxx.
References ScriptTypeDetector::getScriptDirection().
Referenced by PortionObj::PortionObj().
|
private |
Definition at line 198 of file epptbase.hxx.
Referenced by GetById(), GetCount(), GetId(), and GetLast().
|
private |
Definition at line 197 of file epptbase.hxx.
Referenced by GetId(), and ~FontCollection().