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 | 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 316 of file wrtww8.hxx.
|
inline |
Definition at line 326 of file wrtww8.hxx.
|
private |
Convert from fast insertion map to linear vector in the order that we want to write.
Definition at line 906 of file wrtw8sty.cxx.
References maFonts.
Referenced by WriteFontTable().
sal_uInt16 wwFontHelper::GetId | ( | const SvxFontItem & | rFont | ) |
Definition at line 899 of file wrtw8sty.cxx.
References SvxFontItem::GetCharSet(), SvxFontItem::GetFamily(), SvxFontItem::GetFamilyName(), and SvxFontItem::GetPitch().
Referenced by RtfExport::ExportDocument_Impl(), RtfAttributeOutput::FontFamilyType(), MSWordExportBase::GetId(), and InitFontTable().
sal_uInt16 wwFontHelper::GetId | ( | const wwFont & | rFont | ) |
Definition at line 846 of file wrtw8sty.cxx.
References maFonts.
rDoc used only to get the initial standard font(s) in use.
Definition at line 860 of file wrtw8sty.cxx.
References aTypes, bLoadAllFonts, FAMILY_ROMAN, FAMILY_SWISS, SwDoc::GetAttrPool(), SvxFontItem::GetCharSet(), GetDfltAttr(), SvxFontItem::GetFamily(), SvxFontItem::GetFamilyName(), GetId(), SfxItemPool::GetItemSurrogates(), SvxFontItem::GetPitch(), SfxItemPool::GetPoolDefaultItem(), PITCH_VARIABLE, RES_CHRATR_CJK_FONT(), RES_CHRATR_CTL_FONT(), and RES_CHRATR_FONT().
Referenced by MSWordExportBase::ExportDocument().
Definition at line 916 of file wrtw8sty.cxx.
References AsVector(), WW8Fib::m_fcSttbfffn, WW8Fib::m_lcbSttbfffn, maFonts, SvStream::Tell(), and SwWW8Writer::WriteLong().
Referenced by WW8Export::WriteFkpPlcUsw(), and RtfExport::WriteFonts().
void wwFontHelper::WriteFontTable | ( | DocxAttributeOutput & | rAttrOutput | ) |
Definition at line 943 of file wrtw8sty.cxx.
References AsVector().
void wwFontHelper::WriteFontTable | ( | const RtfAttributeOutput & | rAttrOutput | ) |
Definition at line 951 of file wrtw8sty.cxx.
References AsVector().
bool wwFontHelper::bLoadAllFonts |
If true, all fonts are loaded before processing the document.
Definition at line 336 of file wrtww8.hxx.
Referenced by InitFontTable(), and RtfExport::RtfExport().
Keep track of fonts that need to be exported.
Definition at line 320 of file wrtww8.hxx.
Referenced by AsVector(), GetId(), and WriteFontTable().