LibreOffice Module sc (master) 1
Public Member Functions | Public Attributes | List of all members
oox::xls::FontPortionModel Struct Reference

Represents a position in a rich-string containing current font identifier. More...

#include <richstring.hxx>

Public Member Functions

 FontPortionModel ()
 Font identifier for the next characters. More...
 
 FontPortionModel (sal_Int32 nPos)
 
void read (SequenceInputStream &rStrm)
 

Public Attributes

sal_Int32 mnPos
 
sal_Int32 mnFontId
 First character in the string. More...
 

Detailed Description

Represents a position in a rich-string containing current font identifier.

This object stores the position of a formatted character in a rich-string and the identifier of a font from the global font list used to format this and the following characters. Used in binary filters only.

Definition at line 80 of file richstring.hxx.

Constructor & Destructor Documentation

◆ FontPortionModel() [1/2]

oox::xls::FontPortionModel::FontPortionModel ( )
inlineexplicit

Font identifier for the next characters.

Definition at line 85 of file richstring.hxx.

◆ FontPortionModel() [2/2]

oox::xls::FontPortionModel::FontPortionModel ( sal_Int32  nPos)
inlineexplicit

Definition at line 86 of file richstring.hxx.

References nPos.

Member Function Documentation

◆ read()

void oox::xls::FontPortionModel::read ( SequenceInputStream rStrm)

Definition at line 152 of file richstring.cxx.

References mnFontId, mnPos, and rStrm.

Referenced by oox::xls::FontPortionModelList::importPortions().

Member Data Documentation

◆ mnFontId

sal_Int32 oox::xls::FontPortionModel::mnFontId

First character in the string.

Definition at line 83 of file richstring.hxx.

Referenced by oox::xls::FontPortionModelList::appendPortion(), and read().

◆ mnPos

sal_Int32 oox::xls::FontPortionModel::mnPos

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