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

#include <textparagraph.hxx>

Collaboration diagram for oox::drawingml::TextParagraph:
[legend]

Public Member Functions

 TextParagraph ()
 
 ~TextParagraph ()
 
TextRunVector & getRuns ()
 
const TextRunVector & getRuns () const
 
void addRun (const TextRunPtr &pRun)
 
TextParagraphProperties & getProperties ()
 
const TextParagraphProperties & getProperties () const
 
void setHasProperties ()
 Flags the textparagraph as having a pPr tag in it. More...
 
bool hasProperties () const
 Returns whether the textparagraph had an pPr tag in it during import. More...
 
TextCharacterProperties & getEndProperties ()
 
const TextCharacterProperties & getEndProperties () const
 
TextCharacterProperties getCharacterStyle (const TextCharacterProperties &rTextStyleProperties, const TextListStyle &rMasterTextListStyle, const TextListStyle &rTextListStyle) const
 
TextParagraphProperties * getParagraphStyle (const TextListStyle &rTextListStyle) const
 
void insertAt (const ::oox::core::XmlFilterBase &rFilterBase, const css::uno::Reference< css::text::XText > &xText, const css::uno::Reference< css::text::XTextCursor > &xAt, const TextCharacterProperties &rTextStyleProperties, const TextListStyle &rMasterTextListStyle, const TextListStyle &rTextListStyle, bool bFirst, float nDefaultCharHeight) const
 
bool HasMathXml () const
 
formulaimport::XmlStreamBuilder & GetMathXml ()
 
bool hasVisualRunProperties () const
 Returns whether textparagraph had a rPr tag in it that alters it visually. More...
 

Private Attributes

TextParagraphProperties maProperties
 
bool mbHasProperties
 
TextCharacterProperties maEndProperties
 
TextRunVector maRuns
 
std::unique_ptr< formulaimport::XmlStreamBuilder > m_pMathXml
 

Detailed Description

Definition at line 44 of file textparagraph.hxx.

Constructor & Destructor Documentation

◆ TextParagraph()

oox::drawingml::TextParagraph::TextParagraph ( )

Definition at line 40 of file textparagraph.cxx.

◆ ~TextParagraph()

oox::drawingml::TextParagraph::~TextParagraph ( )

Definition at line 45 of file textparagraph.cxx.

Member Function Documentation

◆ addRun()

void oox::drawingml::TextParagraph::addRun ( const TextRunPtr &  pRun)
inline

Definition at line 52 of file textparagraph.hxx.

References maRuns.

Referenced by oox::drawingml::LayoutNode::setupShape().

◆ getCharacterStyle()

TextCharacterProperties oox::drawingml::TextParagraph::getCharacterStyle ( const TextCharacterProperties &  rTextStyleProperties,
const TextListStyle &  rMasterTextListStyle,
const TextListStyle &  rTextListStyle 
) const

◆ getEndProperties() [1/2]

TextCharacterProperties & oox::drawingml::TextParagraph::getEndProperties ( )
inline

Definition at line 61 of file textparagraph.hxx.

References maEndProperties.

◆ getEndProperties() [2/2]

const TextCharacterProperties & oox::drawingml::TextParagraph::getEndProperties ( ) const
inline

Definition at line 62 of file textparagraph.hxx.

References maEndProperties.

◆ GetMathXml()

formulaimport::XmlStreamBuilder & oox::drawingml::TextParagraph::GetMathXml ( )

Definition at line 199 of file textparagraph.cxx.

References m_pMathXml.

◆ getParagraphStyle()

TextParagraphProperties * oox::drawingml::TextParagraph::getParagraphStyle ( const TextListStyle &  rTextListStyle) const

◆ getProperties() [1/2]

TextParagraphProperties & oox::drawingml::TextParagraph::getProperties ( )
inline

◆ getProperties() [2/2]

const TextParagraphProperties & oox::drawingml::TextParagraph::getProperties ( ) const
inline

Definition at line 55 of file textparagraph.hxx.

References maProperties.

◆ getRuns() [1/2]

TextRunVector & oox::drawingml::TextParagraph::getRuns ( )
inline

◆ getRuns() [2/2]

const TextRunVector & oox::drawingml::TextParagraph::getRuns ( ) const
inline

Definition at line 51 of file textparagraph.hxx.

References maRuns.

◆ HasMathXml()

bool oox::drawingml::TextParagraph::HasMathXml ( ) const
inline

Definition at line 82 of file textparagraph.hxx.

References m_pMathXml.

◆ hasProperties()

bool oox::drawingml::TextParagraph::hasProperties ( ) const
inline

Returns whether the textparagraph had an pPr tag in it during import.

Definition at line 59 of file textparagraph.hxx.

References mbHasProperties.

◆ hasVisualRunProperties()

bool oox::drawingml::TextParagraph::hasVisualRunProperties ( ) const

Returns whether textparagraph had a rPr tag in it that alters it visually.

For instance lang doesn't have a visual effect.

Definition at line 208 of file textparagraph.cxx.

References getRuns().

◆ insertAt()

void oox::drawingml::TextParagraph::insertAt ( const ::oox::core::XmlFilterBase &  rFilterBase,
const css::uno::Reference< css::text::XText > &  xText,
const css::uno::Reference< css::text::XTextCursor > &  xAt,
const TextCharacterProperties &  rTextStyleProperties,
const TextListStyle &  rMasterTextListStyle,
const TextListStyle &  rTextListStyle,
bool  bFirst,
float  nDefaultCharHeight 
) const

◆ setHasProperties()

void oox::drawingml::TextParagraph::setHasProperties ( )
inline

Flags the textparagraph as having a pPr tag in it.

Definition at line 57 of file textparagraph.hxx.

References mbHasProperties.

Member Data Documentation

◆ m_pMathXml

std::unique_ptr<formulaimport::XmlStreamBuilder> oox::drawingml::TextParagraph::m_pMathXml
private

Definition at line 100 of file textparagraph.hxx.

Referenced by GetMathXml(), and HasMathXml().

◆ maEndProperties

TextCharacterProperties oox::drawingml::TextParagraph::maEndProperties
private

Definition at line 97 of file textparagraph.hxx.

Referenced by getEndProperties(), and insertAt().

◆ maProperties

TextParagraphProperties oox::drawingml::TextParagraph::maProperties
private

Definition at line 95 of file textparagraph.hxx.

Referenced by getCharacterStyle(), getParagraphStyle(), getProperties(), and insertAt().

◆ maRuns

TextRunVector oox::drawingml::TextParagraph::maRuns
private

Definition at line 98 of file textparagraph.hxx.

Referenced by addRun(), getRuns(), and insertAt().

◆ mbHasProperties

bool oox::drawingml::TextParagraph::mbHasProperties
private

Definition at line 96 of file textparagraph.hxx.

Referenced by hasProperties(), and setHasProperties().


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