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 ()
 
TextRunVectorgetRuns ()
 
const TextRunVectorgetRuns () const
 
void addRun (const TextRunPtr &pRun)
 
TextParagraphPropertiesgetProperties ()
 
const TextParagraphPropertiesgetProperties () 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...
 
TextCharacterPropertiesgetEndProperties ()
 
const TextCharacterPropertiesgetEndProperties () const
 
TextCharacterProperties getCharacterStyle (const TextCharacterProperties &rTextStyleProperties, const TextListStyle &rTextListStyle) const
 
TextParagraphPropertiesgetParagraphStyle (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 &rTextListStyle, bool bFirst, float nDefaultCharHeight) const
 
bool HasMathXml () const
 
formulaimport::XmlStreamBuilderGetMathXml ()
 
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::XmlStreamBuilderm_pMathXml
 

Detailed Description

Definition at line 44 of file textparagraph.hxx.

Constructor & Destructor Documentation

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

Definition at line 40 of file textparagraph.cxx.

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

Definition at line 45 of file textparagraph.cxx.

Member Function Documentation

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().

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

Definition at line 61 of file textparagraph.hxx.

References maEndProperties.

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

Definition at line 62 of file textparagraph.hxx.

References maEndProperties.

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

Definition at line 189 of file textparagraph.cxx.

References m_pMathXml.

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

Definition at line 55 of file textparagraph.hxx.

References maProperties.

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

Definition at line 51 of file textparagraph.hxx.

References maRuns.

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

Definition at line 80 of file textparagraph.hxx.

References m_pMathXml.

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.

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 198 of file textparagraph.cxx.

References getRuns().

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 rTextListStyle,
bool  bFirst,
float  nDefaultCharHeight 
) const
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

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

Definition at line 98 of file textparagraph.hxx.

Referenced by GetMathXml(), and HasMathXml().

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

Definition at line 95 of file textparagraph.hxx.

Referenced by getEndProperties(), and insertAt().

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

Definition at line 93 of file textparagraph.hxx.

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

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

Definition at line 96 of file textparagraph.hxx.

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

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

Definition at line 94 of file textparagraph.hxx.

Referenced by hasProperties(), and setHasProperties().


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