32 mbDblUnderline( false )
46 mnFontHeight = getLimitedValue< sal_Int32, sal_Int32 >( ((nPoints * 4 + 1) / 3) * 15, 30, 4294967 );
53 sal_uInt32 nTmp32 = 0;
108 if( aGuid ==
"{AFC20920-DA4E-11CE-B943-00AA006887B4}" )
Interface for binary output stream classes.
Import helper to read simple and complex ActiveX form control properties from a binary input stream.
void readIntProperty(DataType &ornValue)
Reads the next integer property value from the stream, if the respective flag in the property mask is...
bool finalizeImport()
Final processing, reads contents of all complex properties.
void skipIntProperty()
Skips the next integer property value in the stream, if the respective flag in the property mask is s...
void readStringProperty(OUString &orValue)
Reads the next string property from the stream, if the respective flag in the property mask is set.
Export helper to write simple and complex ActiveX form control properties to a binary input stream.
void finalizeExport()
Final processing, write contents of all complex properties, writes record size.
void writeIntProperty(DataType ornValue)
Write an integer property value to the stream, the respective flag in the property mask is set.
void skipProperty()
Skips the next property clears the respective flag in the property mask.
void writeStringProperty(OUString &orValue)
Write a string property to the stream, the respective flag in the property mask is set.
OOX_DLLPUBLIC OUString importGuid(BinaryInputStream &rInStrm)
Imports a GUID from the passed binary stream and returns its string representation (in uppercase char...
OOX_DLLPUBLIC bool importStdFont(StdFontInfo &orFontInfo, BinaryInputStream &rInStrm, bool bWithGuid)
Imports an OLE StdFont font structure from the current position of the passed binary stream.
const sal_uInt16 OLE_STDFONT_BOLD
const sal_uInt8 OLE_STDFONT_ITALIC
const sal_uInt8 OLE_STDFONT_UNDERLINE
const sal_uInt8 OLE_STDFONT_STRIKE
void setFlag(Type &ornBitField, Type nMask, bool bSet=true)
Sets or clears (according to bSet) all set bits of nMask in ornBitField.
const sal_uInt8 WINDOWS_CHARSET_DEFAULT
bool getFlag(Type nBitField, Type nMask)
Returns true, if at least one of the bits set in nMask is set in nBitField.
AxFontFlags mnFontEffects
Font effect flags.
bool importBinaryModel(BinaryInputStream &rInStrm)
Reads the font data settings from the passed input stream.
bool mbDblUnderline
True = double underline style (legacy VML drawing controls only).
sal_Int32 mnFontCharSet
Windows character set of the font.
sal_Int16 getHeightPoints() const
Converts the internal representation of the font height to points.
bool importGuidAndFont(BinaryInputStream &rInStrm)
Reads the font data settings from the passed input stream depending on the GUID preceding the actual ...
sal_Int32 mnFontHeight
Height of the font (not really twips, see code).
bool importStdFont(BinaryInputStream &rInStrm)
Reads the font data settings from the passed input stream that contains an OLE StdFont structure.
void exportBinaryModel(BinaryOutputStream &rOutStrm)
AxHorizontalAlign mnHorAlign
Horizontal text alignment.
OUString maFontName
Name of the used font.
void setHeightPoints(sal_Int16 nPoints)
Converts the passed font height from points to the internal representation.
Stores data about a StdFont font structure.
sal_uInt8 mnFlags
Font flags.
sal_uInt32 mnHeight
Font height (1/10,000 points).
sal_uInt16 mnCharSet
Font charset.
sal_uInt16 mnWeight
Font weight (normal/bold).
OUString maName
Font name.