LibreOffice Module sw (master)  1
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
wwFontHelper Class Reference

#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...
 

Detailed Description

Definition at line 322 of file wrtww8.hxx.

Constructor & Destructor Documentation

wwFontHelper::wwFontHelper ( )
inline

Definition at line 332 of file wrtww8.hxx.

Member Function Documentation

std::vector< const wwFont * > wwFontHelper::AsVector ( ) const
private

Convert from fast insertion map to linear vector in the order that we want to write.

Definition at line 886 of file wrtw8sty.cxx.

References maFonts.

Referenced by WriteFontTable().

sal_uInt16 wwFontHelper::GetId ( const SvxFontItem rFont)
sal_uInt16 wwFontHelper::GetId ( const wwFont rFont)

Definition at line 827 of file wrtw8sty.cxx.

References maFonts.

void wwFontHelper::InitFontTable ( const SwDoc rDoc)
void wwFontHelper::WriteFontTable ( SvStream pTableStream,
WW8Fib pFib 
)
void wwFontHelper::WriteFontTable ( DocxAttributeOutput rAttrOutput)

Definition at line 923 of file wrtw8sty.cxx.

References AsVector().

void wwFontHelper::WriteFontTable ( const RtfAttributeOutput rAttrOutput)

Definition at line 931 of file wrtw8sty.cxx.

References AsVector().

Member Data Documentation

bool wwFontHelper::bLoadAllFonts

If true, all fonts are loaded before processing the document.

Definition at line 342 of file wrtww8.hxx.

Referenced by InitFontTable(), and RtfExport::RtfExport().

std::map<wwFont, sal_uInt16> wwFontHelper::maFonts
private

Keep track of fonts that need to be exported.

Definition at line 326 of file wrtww8.hxx.

Referenced by AsVector(), GetId(), and WriteFontTable().


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