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

Contains text data and positioning information for a phonetic text portion. More...

#include <richstring.hxx>

Public Member Functions

 RichStringPhonetic ()
 
void setText (const OUString &rText)
 Sets text data for this phonetic portion. More...
 
void importPhoneticRun (const AttributeList &rAttribs)
 Imports attributes of a phonetic run (rPh element). More...
 
void setBaseRange (sal_Int32 nBasePos, sal_Int32 nBaseEnd)
 Sets the associated range in base text for this phonetic portion. More...
 

Private Attributes

OUString maText
 
sal_Int32 mnBasePos
 Portion text. More...
 
sal_Int32 mnBaseEnd
 Start position in base text. More...
 

Detailed Description

Contains text data and positioning information for a phonetic text portion.

Definition at line 147 of file richstring.hxx.

Constructor & Destructor Documentation

◆ RichStringPhonetic()

oox::xls::RichStringPhonetic::RichStringPhonetic ( )

Definition at line 234 of file richstring.cxx.

Member Function Documentation

◆ importPhoneticRun()

void oox::xls::RichStringPhonetic::importPhoneticRun ( const AttributeList rAttribs)

Imports attributes of a phonetic run (rPh element).

Definition at line 245 of file richstring.cxx.

References oox::AttributeList::getInteger(), mnBaseEnd, and mnBasePos.

◆ setBaseRange()

void oox::xls::RichStringPhonetic::setBaseRange ( sal_Int32  nBasePos,
sal_Int32  nBaseEnd 
)

Sets the associated range in base text for this phonetic portion.

Definition at line 251 of file richstring.cxx.

References mnBaseEnd, and mnBasePos.

◆ setText()

void oox::xls::RichStringPhonetic::setText ( const OUString &  rText)

Sets text data for this phonetic portion.

Definition at line 240 of file richstring.cxx.

References maText.

Member Data Documentation

◆ maText

OUString oox::xls::RichStringPhonetic::maText
private

Definition at line 160 of file richstring.hxx.

Referenced by setText().

◆ mnBaseEnd

sal_Int32 oox::xls::RichStringPhonetic::mnBaseEnd
private

Start position in base text.

Definition at line 162 of file richstring.hxx.

Referenced by importPhoneticRun(), and setBaseRange().

◆ mnBasePos

sal_Int32 oox::xls::RichStringPhonetic::mnBasePos
private

Portion text.

Definition at line 161 of file richstring.hxx.

Referenced by importPhoneticRun(), and setBaseRange().


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