LibreOffice
LibreOffice 6.2 SDK API Reference
Public Attributes | List of all members
FontDescriptor Struct Referencepublished

describes the characteristics of a font. More...

import"FontDescriptor.idl";

Public Attributes

string Name
 specifies the exact name of the font. More...
 
short Height
 specifies the height of the font in the measure of the destination. More...
 
short Width
 specifies the width of the font in the measure of the destination. More...
 
string StyleName
 specifies the style name of the font. More...
 
short Family
 specifies the general style of the font. More...
 
short CharSet
 specifies the character set which is supported by the font. More...
 
short Pitch
 specifies the pitch of the font. More...
 
float CharacterWidth
 specifies the character width. More...
 
float Weight
 specifies the thickness of the line. More...
 
com::sun::star::awt::FontSlant Slant
 specifies the slant of the font. More...
 
short Underline
 specifies the kind of underlining. More...
 
short Strikeout
 specifies the kind of strikeout. More...
 
float Orientation
 specifies the rotation of the font. More...
 
boolean Kerning
 For requesting, it specifies if there is a kerning table available. More...
 
boolean WordLineMode
 specifies if only words get underlined. More...
 
short Type
 specifies the technology of the font representation. More...
 

Detailed Description

describes the characteristics of a font.

For example, this can be used to select a font.

Member Data Documentation

float CharacterWidth

specifies the character width.

Depending on the specified width, a font that supports this width may be selected.

The value is expressed as a percentage.

short CharSet

specifies the character set which is supported by the font.

Use one value out of the constant group com::sun::star::awt::CharSet.

short Family

specifies the general style of the font.

Use one value out of the constant group com::sun::star::awt::FontFamily.

short Height

specifies the height of the font in the measure of the destination.

boolean Kerning

For requesting, it specifies if there is a kerning table available.

For selecting, it specifies if the kerning table is to be used.

string Name

specifies the exact name of the font.

float Orientation

specifies the rotation of the font.

The unit of measure is degrees; 0 is the baseline.

short Pitch

specifies the pitch of the font.

Use one value out of the constant group com::sun::star::awt::FontPitch.

specifies the slant of the font.

short Strikeout

specifies the kind of strikeout.

Use one value out of the constant group com::sun::star::awt::FontStrikeout.

string StyleName

specifies the style name of the font.

short Type

specifies the technology of the font representation.

One or more values out of the constant group com::sun::star::awt::FontType can be combined by an arithmetical or-operation.

short Underline

specifies the kind of underlining.

Use one value out of the constant group com::sun::star::awt::FontUnderline.

float Weight

specifies the thickness of the line.

Depending on the specified weight, a font that supports this thickness may be selected.

The value is expressed as a percentage.

short Width

specifies the width of the font in the measure of the destination.

boolean WordLineMode

specifies if only words get underlined.

TRUE means that only non-space characters get underlined, FALSE means that the spacing also gets underlined.

This property is only valid if the property com::sun::star::awt::FontDescriptor::Underline is not FontUnderline::NONE.


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