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

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

Definition at line 45 of file textrun.cxx.

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

Definition at line 50 of file textrun.cxx.

Member Function Documentation

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

Definition at line 38 of file textrun.hxx.

References msText.

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

Definition at line 41 of file textrun.hxx.

References maTextCharacterProperties.

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.

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
bool oox::drawingml::TextRun::isLineBreak ( ) const
inline

Definition at line 44 of file textrun.hxx.

References mbIsLineBreak.

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

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

Definition at line 43 of file textrun.hxx.

References mbIsLineBreak.

Member Data Documentation

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

Definition at line 61 of file textrun.hxx.

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

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

Definition at line 62 of file textrun.hxx.

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

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: