LibreOffice Module sw (master) 1
|
#include <wrtww8.hxx>
Public Member Functions | |
wwFontHelper () | |
void | InitFontTable (const SwDoc &rDoc) |
rDoc used only to get the initial standard font(s) in use. More... | |
sal_uInt16 | GetId (const SvxFontItem &rFont) |
sal_uInt16 | GetId (const wwFont &rFont) |
void | WriteFontTable (SvStream *pTableStream, WW8Fib &pFib) |
void | WriteFontTable (DocxAttributeOutput &rAttrOutput) |
void | WriteFontTable (const RtfAttributeOutput &rAttrOutput) |
Public Attributes | |
bool | m_bLoadAllFonts: 1 |
If true, all fonts are loaded before processing the document. More... | |
Private Member Functions | |
std::vector< const wwFont * > | AsVector () const |
Convert from fast insertion map to linear vector in the order that we want to write. More... | |
Private Attributes | |
std::map< wwFont, sal_uInt16 > | maFonts |
Keep track of fonts that need to be exported. More... | |
Definition at line 318 of file wrtww8.hxx.
|
inline |
Definition at line 328 of file wrtww8.hxx.
|
private |
Convert from fast insertion map to linear vector in the order that we want to write.
Definition at line 957 of file wrtw8sty.cxx.
References maFonts.
Referenced by WriteFontTable().
sal_uInt16 wwFontHelper::GetId | ( | const SvxFontItem & | rFont | ) |
Definition at line 950 of file wrtw8sty.cxx.
References SvxFontItem::GetCharSet(), SvxFontItem::GetFamily(), SvxFontItem::GetFamilyName(), GetId(), and SvxFontItem::GetPitch().
Referenced by RtfAttributeOutput::CharFont(), RtfAttributeOutput::CharFontCJK(), RtfAttributeOutput::CharFontCTL(), RtfExport::ExportDocument_Impl(), RtfAttributeOutput::FontFamilyType(), GetId(), MSWordExportBase::GetId(), InitFontTable(), RtfAttributeOutput::NumberingLevel(), and WW8AttributeOutput::NumberingLevel().
sal_uInt16 wwFontHelper::GetId | ( | const wwFont & | rFont | ) |
Definition at line 897 of file wrtw8sty.cxx.
References maFonts.
void wwFontHelper::InitFontTable | ( | const SwDoc & | rDoc | ) |
rDoc used only to get the initial standard font(s) in use.
Definition at line 911 of file wrtw8sty.cxx.
References aTypes, FAMILY_ROMAN, FAMILY_SWISS, SwDoc::GetAttrPool(), SvxFontItem::GetCharSet(), GetDfltAttr(), SvxFontItem::GetFamily(), SvxFontItem::GetFamilyName(), GetId(), SfxItemPool::GetItemSurrogates(), SvxFontItem::GetPitch(), SfxItemPool::GetPoolDefaultItem(), m_bLoadAllFonts, PITCH_VARIABLE, RES_CHRATR_CJK_FONT(), RES_CHRATR_CTL_FONT(), RES_CHRATR_FONT(), and u.
Referenced by MSWordExportBase::ExportDocument().
void wwFontHelper::WriteFontTable | ( | const RtfAttributeOutput & | rAttrOutput | ) |
Definition at line 1002 of file wrtw8sty.cxx.
References AsVector().
void wwFontHelper::WriteFontTable | ( | DocxAttributeOutput & | rAttrOutput | ) |
Definition at line 994 of file wrtw8sty.cxx.
References AsVector().
Definition at line 967 of file wrtw8sty.cxx.
References AsVector(), WW8Fib::m_fcSttbfffn, WW8Fib::m_lcbSttbfffn, maFonts, SvStream::Tell(), and SwWW8Writer::WriteLong().
Referenced by WW8Export::WriteFkpPlcUsw(), DocxExport::WriteFonts(), and RtfExport::WriteFonts().
bool wwFontHelper::m_bLoadAllFonts |
If true, all fonts are loaded before processing the document.
Definition at line 338 of file wrtww8.hxx.
Referenced by InitFontTable(), and RtfExport::RtfExport().
Keep track of fonts that need to be exported.
Definition at line 322 of file wrtww8.hxx.
Referenced by AsVector(), GetId(), and WriteFontTable().