LibreOffice Module oox (master) 1
|
#include <textparagraph.hxx>
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 |
Definition at line 44 of file textparagraph.hxx.
oox::drawingml::TextParagraph::TextParagraph | ( | ) |
Definition at line 40 of file textparagraph.cxx.
oox::drawingml::TextParagraph::~TextParagraph | ( | ) |
Definition at line 45 of file textparagraph.cxx.
|
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 & | rMasterTextListStyle, | ||
const TextListStyle & | rTextListStyle | ||
) | const |
Definition at line 49 of file textparagraph.cxx.
References oox::drawingml::TextCharacterProperties::assignUsed(), getParagraphStyle(), oox::drawingml::TextParagraphProperties::getTextCharacterProperties(), and maProperties.
Referenced by insertAt().
|
inline |
Definition at line 61 of file textparagraph.hxx.
References maEndProperties.
|
inline |
Definition at line 62 of file textparagraph.hxx.
References maEndProperties.
formulaimport::XmlStreamBuilder & oox::drawingml::TextParagraph::GetMathXml | ( | ) |
Definition at line 199 of file textparagraph.cxx.
References m_pMathXml.
TextParagraphProperties * oox::drawingml::TextParagraph::getParagraphStyle | ( | const TextListStyle & | rTextListStyle | ) | const |
Definition at line 67 of file textparagraph.cxx.
References oox::drawingml::TextParagraphProperties::getLevel(), oox::drawingml::TextListStyle::getListStyle(), maProperties, and SAL_INFO.
Referenced by getCharacterStyle(), and insertAt().
|
inline |
Definition at line 54 of file textparagraph.hxx.
References maProperties.
Referenced by oox::drawingml::chart::TextConverter::createStringSequence(), and oox::drawingml::LayoutNode::setupShape().
|
inline |
Definition at line 55 of file textparagraph.hxx.
References maProperties.
|
inline |
Definition at line 50 of file textparagraph.hxx.
References maRuns.
Referenced by oox::drawingml::chart::TextConverter::createStringSequence(), and hasVisualRunProperties().
|
inline |
Definition at line 51 of file textparagraph.hxx.
References maRuns.
|
inline |
Definition at line 82 of file textparagraph.hxx.
References m_pMathXml.
|
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 208 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 & | rMasterTextListStyle, | ||
const TextListStyle & | rTextListStyle, | ||
bool | bFirst, | ||
float | nDefaultCharHeight | ||
) | const |
Definition at line 84 of file textparagraph.cxx.
References Any, oox::drawingml::TextListStyle::apply(), oox::drawingml::TextParagraphProperties::apply(), oox::drawingml::TextCharacterProperties::assignUsed(), Exception, oox::drawingml::FillProperties::getBestSolidColor(), oox::drawingml::TextParagraphProperties::getBulletList(), getCharacterStyle(), oox::drawingml::TextParagraphProperties::getCharHeightPoints(), oox::drawingml::Color::getColor(), oox::drawingml::GetFontHeight(), getParagraphStyle(), oox::PropertyMap::hasProperty(), maEndProperties, oox::drawingml::TextCharacterProperties::maFillProperties, oox::drawingml::BulletList::maGraphic, maProperties, maRuns, oox::drawingml::BulletList::mnAspectRatio, oox::drawingml::BulletList::mnSize, oox::drawingml::FillProperties::moFillType, oox::drawingml::TextCharacterProperties::moHeight, OOX_BULLET_LIST_SCALE_FACTOR, oox::drawingml::TextParagraphProperties::pushToPropSet(), oox::drawingml::TextCharacterProperties::pushToPropSet(), SAL_INFO, oox::PropertyMap::setProperty(), and TransformMetric().
|
inline |
Flags the textparagraph as having a pPr tag in it.
Definition at line 57 of file textparagraph.hxx.
References mbHasProperties.
|
private |
Definition at line 100 of file textparagraph.hxx.
Referenced by GetMathXml(), and HasMathXml().
|
private |
Definition at line 97 of file textparagraph.hxx.
Referenced by getEndProperties(), and insertAt().
|
private |
Definition at line 95 of file textparagraph.hxx.
Referenced by getCharacterStyle(), getParagraphStyle(), getProperties(), and insertAt().
|
private |
Definition at line 98 of file textparagraph.hxx.
Referenced by addRun(), getRuns(), and insertAt().
|
private |
Definition at line 96 of file textparagraph.hxx.
Referenced by hasProperties(), and setHasProperties().