LibreOffice Module oox (master)  1
Public Member Functions | Public Attributes | List of all members
oox::ole::AxFontData Struct Reference

All entries of a font property. More...

#include <axfontdata.hxx>

Public Member Functions

 AxFontData ()
 
sal_Int16 getHeightPoints () const
 Converts the internal representation of the font height to points. More...
 
void setHeightPoints (sal_Int16 nPoints)
 Converts the passed font height from points to the internal representation. More...
 
bool importBinaryModel (BinaryInputStream &rInStrm)
 Reads the font data settings from the passed input stream. More...
 
void exportBinaryModel (BinaryOutputStream &rOutStrm)
 
bool importStdFont (BinaryInputStream &rInStrm)
 Reads the font data settings from the passed input stream that contains an OLE StdFont structure. More...
 
bool importGuidAndFont (BinaryInputStream &rInStrm)
 Reads the font data settings from the passed input stream depending on the GUID preceding the actual font data. More...
 

Public Attributes

OUString maFontName
 Name of the used font. More...
 
AxFontFlags mnFontEffects
 Font effect flags. More...
 
sal_Int32 mnFontHeight
 Height of the font (not really twips, see code). More...
 
sal_Int32 mnFontCharSet
 Windows character set of the font. More...
 
AxHorizontalAlign mnHorAlign
 Horizontal text alignment. More...
 
bool mbDblUnderline
 True = double underline style (legacy VML drawing controls only). More...
 

Detailed Description

All entries of a font property.

Definition at line 53 of file axfontdata.hxx.

Constructor & Destructor Documentation

oox::ole::AxFontData::AxFontData ( )
explicit

Definition at line 27 of file axfontdata.cxx.

References Left, and NONE.

Member Function Documentation

void oox::ole::AxFontData::exportBinaryModel ( BinaryOutputStream rOutStrm)
sal_Int16 oox::ole::AxFontData::getHeightPoints ( ) const

Converts the internal representation of the font height to points.

Definition at line 36 of file axfontdata.cxx.

References mnFontHeight, and SAL_MAX_INT16.

Referenced by oox::ole::AxFontDataModel::convertProperties().

bool oox::ole::AxFontData::importBinaryModel ( BinaryInputStream rInStrm)
bool oox::ole::AxFontData::importGuidAndFont ( BinaryInputStream rInStrm)

Reads the font data settings from the passed input stream depending on the GUID preceding the actual font data.

Definition at line 105 of file axfontdata.cxx.

References importBinaryModel(), oox::ole::OleHelper::importGuid(), importStdFont(), and OLE_GUID_STDFONT.

bool oox::ole::AxFontData::importStdFont ( BinaryInputStream rInStrm)
void oox::ole::AxFontData::setHeightPoints ( sal_Int16  nPoints)

Converts the passed font height from points to the internal representation.

Definition at line 44 of file axfontdata.cxx.

References mnFontHeight.

Referenced by oox::ole::AxFontDataModel::convertFromProperties(), and importStdFont().

Member Data Documentation

OUString oox::ole::AxFontData::maFontName
bool oox::ole::AxFontData::mbDblUnderline

True = double underline style (legacy VML drawing controls only).

Definition at line 60 of file axfontdata.hxx.

Referenced by oox::ole::AxFontDataModel::convertProperties(), importBinaryModel(), and importStdFont().

sal_Int32 oox::ole::AxFontData::mnFontCharSet
AxFontFlags oox::ole::AxFontData::mnFontEffects
sal_Int32 oox::ole::AxFontData::mnFontHeight

Height of the font (not really twips, see code).

Definition at line 57 of file axfontdata.hxx.

Referenced by exportBinaryModel(), getHeightPoints(), importBinaryModel(), oox::ole::AxFontDataModel::importProperty(), and setHeightPoints().

AxHorizontalAlign oox::ole::AxFontData::mnHorAlign

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