|
LibreOffice Module oox (master) 1
|
#include <textbody.hxx>
Public Member Functions | |
| TextBody () | |
| TextBody (const TextBodyPtr &pBody) | |
| const TextParagraphVector & | getParagraphs () const |
| TextParagraph & | addParagraph () |
| const TextListStyle & | getTextListStyle () const |
| TextListStyle & | getTextListStyle () |
| const TextBodyProperties & | getTextProperties () const |
| TextBodyProperties & | getTextProperties () |
| Text3DProperties & | get3DProperties () |
| const Text3DProperties & | get3DProperties () 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 TextListStylePtr &pMasterTextListStyle) const |
| insert the text body at the text cursor More... | |
| bool | isEmpty () const |
| OUString | toString () const |
| bool | hasVisualRunProperties () const |
| Returns whether the textbody had a rPr tag in it that alters it visually. More... | |
| bool | hasParagraphProperties () const |
| Returns whether the textbody had a pPr tag in it. More... | |
| bool | hasNoninheritedBodyProperties () const |
| Returns whether the textbody had a non-empty bodyPr tag in it. More... | |
| void | setHasNoninheritedBodyProperties () |
| Flags textbody as having a non-empty bodyPr tag. More... | |
| bool | hasListStyleOnImport () const |
| Returns whether the textbody had a non-empty lstStyle tag in it. More... | |
| void | ApplyStyleEmpty (const ::oox::core::XmlFilterBase &rFilterBase, const css::uno::Reference< css::text::XText > &xText, const TextCharacterProperties &rTextStyleProperties, const TextListStylePtr &pMasterTextListStylePtr) const |
Private Attributes | |
| TextParagraphVector | maParagraphs |
| TextBodyProperties | maTextProperties |
| bool | mbHasNoninheritedBodyProperties |
| Set if bodyPr tag in this textbody is non-empty during import. More... | |
| TextListStyle | maTextListStyle |
| Text3DProperties | ma3DProperties |
Definition at line 41 of file textbody.hxx.
| oox::drawingml::TextBody::TextBody | ( | ) |
Definition at line 32 of file textbody.cxx.
| oox::drawingml::TextBody::TextBody | ( | const TextBodyPtr & | pBody | ) |
Definition at line 37 of file textbody.cxx.
References maTextListStyle, and maTextProperties.
| TextParagraph & oox::drawingml::TextBody::addParagraph | ( | ) |
Definition at line 46 of file textbody.cxx.
References maParagraphs.
Referenced by oox::drawingml::TextBodyContext::onCreateContext().
| void oox::drawingml::TextBody::ApplyStyleEmpty | ( | const ::oox::core::XmlFilterBase & | rFilterBase, |
| const css::uno::Reference< css::text::XText > & | xText, | ||
| const TextCharacterProperties & | rTextStyleProperties, | ||
| const TextListStylePtr & | pMasterTextListStylePtr | ||
| ) | const |
Definition at line 120 of file textbody.cxx.
References oox::drawingml::TextListStyle::apply(), oox::drawingml::TextParagraphProperties::apply(), oox::drawingml::TextParagraphProperties::getBulletList(), isEmpty(), maParagraphs, maTextListStyle, PROP_LeftMargin, oox::drawingml::TextCharacterProperties::pushToPropSet(), and oox::PropertyMap::setProperty().
|
inline |
Definition at line 56 of file textbody.hxx.
References ma3DProperties.
|
inline |
Definition at line 57 of file textbody.hxx.
References ma3DProperties.
|
inline |
Definition at line 47 of file textbody.hxx.
References maParagraphs.
Referenced by hasParagraphProperties(), and hasVisualRunProperties().
|
inline |
Definition at line 51 of file textbody.hxx.
References maTextListStyle.
|
inline |
Definition at line 50 of file textbody.hxx.
References maTextListStyle.
Referenced by oox::drawingml::TextBodyContext::onCreateContext().
|
inline |
Definition at line 54 of file textbody.hxx.
References maTextProperties.
|
inline |
Definition at line 53 of file textbody.hxx.
References maTextProperties.
Referenced by oox::drawingml::TextBodyContext::onCreateContext().
|
inline |
Returns whether the textbody had a non-empty lstStyle tag in it.
Definition at line 84 of file textbody.hxx.
References oox::drawingml::TextListStyle::hasListStyleOnImport(), and maTextListStyle.
|
inline |
Returns whether the textbody had a non-empty bodyPr tag in it.
Definition at line 79 of file textbody.hxx.
References mbHasNoninheritedBodyProperties.
| bool oox::drawingml::TextBody::hasParagraphProperties | ( | ) | const |
Returns whether the textbody had a pPr tag in it.
Definition at line 110 of file textbody.cxx.
References getParagraphs().
| bool oox::drawingml::TextBody::hasVisualRunProperties | ( | ) | const |
Returns whether the textbody had a rPr tag in it that alters it visually.
For instance lang doesn't have a visual effect.
Definition at line 100 of file textbody.cxx.
References getParagraphs().
| void oox::drawingml::TextBody::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 TextListStylePtr & | pMasterTextListStyle | ||
| ) | const |
insert the text body at the text cursor
Definition at line 53 of file textbody.cxx.
References maParagraphs, maTextListStyle, nIndex, and paragraph.
| bool oox::drawingml::TextBody::isEmpty | ( | ) | const |
Definition at line 73 of file textbody.cxx.
References maParagraphs.
Referenced by ApplyStyleEmpty(), and toString().
|
inline |
Flags textbody as having a non-empty bodyPr tag.
Definition at line 81 of file textbody.hxx.
References mbHasNoninheritedBodyProperties.
Referenced by oox::drawingml::TextBodyContext::onCreateContext().
| OUString oox::drawingml::TextBody::toString | ( | ) | const |
Definition at line 89 of file textbody.cxx.
References isEmpty(), and maParagraphs.
|
private |
Definition at line 97 of file textbody.hxx.
Referenced by get3DProperties().
|
private |
Definition at line 92 of file textbody.hxx.
Referenced by addParagraph(), ApplyStyleEmpty(), getParagraphs(), insertAt(), isEmpty(), and toString().
|
private |
Definition at line 96 of file textbody.hxx.
Referenced by ApplyStyleEmpty(), getTextListStyle(), hasListStyleOnImport(), insertAt(), and TextBody().
|
private |
Definition at line 93 of file textbody.hxx.
Referenced by getTextProperties(), and TextBody().
|
private |
Set if bodyPr tag in this textbody is non-empty during import.
Definition at line 95 of file textbody.hxx.
Referenced by hasNoninheritedBodyProperties(), and setHasNoninheritedBodyProperties().