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

#include <textrun.hxx>

Inheritance diagram for oox::drawingml::TextRun:
[legend]
Collaboration diagram for oox::drawingml::TextRun:
[legend]

Public Member Functions

 TextRun ()
 
virtual ~TextRun ()
 
OUString & getText ()
 
const OUString & getText () const
 
TextCharacterPropertiesgetTextCharacterProperties ()
 
const TextCharacterPropertiesgetTextCharacterProperties () const
 
void setLineBreak ()
 
bool isLineBreak () const
 
bool hasVisualRunProperties () const
 Returns whether the textrun had properties that alter it visually in its rPr tag. More...
 
virtual sal_Int32 insertAt (const ::oox::core::XmlFilterBase &rFilterBase, const css::uno::Reference< css::text::XText > &xText, const css::uno::Reference< css::text::XTextCursor > &xAt, const TextCharacterProperties &rTextCharacterStyle, float nDefaultCharHeight) const
 

Private Attributes

OUString msText
 
TextCharacterProperties maTextCharacterProperties
 
bool mbIsLineBreak
 

Detailed Description

Definition at line 31 of file textrun.hxx.

Constructor & Destructor Documentation

◆ TextRun()

oox::drawingml::TextRun::TextRun ( )

Definition at line 45 of file textrun.cxx.

◆ ~TextRun()

oox::drawingml::TextRun::~TextRun ( )
virtual

Definition at line 50 of file textrun.cxx.

Member Function Documentation

◆ getText() [1/2]

OUString & oox::drawingml::TextRun::getText ( )
inline

◆ getText() [2/2]

const OUString & oox::drawingml::TextRun::getText ( ) const
inline

Definition at line 38 of file textrun.hxx.

References msText.

◆ getTextCharacterProperties() [1/2]

TextCharacterProperties & oox::drawingml::TextRun::getTextCharacterProperties ( )
inline

◆ getTextCharacterProperties() [2/2]

const TextCharacterProperties & oox::drawingml::TextRun::getTextCharacterProperties ( ) const
inline

Definition at line 41 of file textrun.hxx.

References maTextCharacterProperties.

◆ hasVisualRunProperties()

bool oox::drawingml::TextRun::hasVisualRunProperties ( ) const
inline

Returns whether the textrun had properties that alter it visually in its rPr tag.

For instance lang doesn't have a visual effect.

Definition at line 50 of file textrun.hxx.

References maTextCharacterProperties, and oox::drawingml::TextCharacterProperties::mbHasVisualRunProperties.

◆ insertAt()

sal_Int32 oox::drawingml::TextRun::insertAt ( const ::oox::core::XmlFilterBase rFilterBase,
const css::uno::Reference< css::text::XText > &  xText,
const css::uno::Reference< css::text::XTextCursor > &  xAt,
const TextCharacterProperties rTextCharacterStyle,
float  nDefaultCharHeight 
) const
virtual

◆ isLineBreak()

bool oox::drawingml::TextRun::isLineBreak ( ) const
inline

Definition at line 44 of file textrun.hxx.

References mbIsLineBreak.

Referenced by oox::drawingml::chart::TextConverter::createStringSequence().

◆ setLineBreak()

void oox::drawingml::TextRun::setLineBreak ( )
inline

Definition at line 43 of file textrun.hxx.

References mbIsLineBreak.

Member Data Documentation

◆ maTextCharacterProperties

TextCharacterProperties oox::drawingml::TextRun::maTextCharacterProperties
private

Definition at line 61 of file textrun.hxx.

Referenced by getTextCharacterProperties(), hasVisualRunProperties(), and insertAt().

◆ mbIsLineBreak

bool oox::drawingml::TextRun::mbIsLineBreak
private

Definition at line 62 of file textrun.hxx.

Referenced by insertAt(), isLineBreak(), and setLineBreak().

◆ msText

OUString oox::drawingml::TextRun::msText
private

Definition at line 60 of file textrun.hxx.

Referenced by getText().


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