LibreOffice Module oox (master) 1
|
#include <textparagraphproperties.hxx>
Public Member Functions | |
TextParagraphProperties () | |
void | setLevel (sal_Int16 nLevel) |
sal_Int16 | getLevel () const |
PropertyMap & | getTextParagraphPropertyMap () |
BulletList & | getBulletList () |
TextCharacterProperties & | getTextCharacterProperties () |
const TextCharacterProperties & | getTextCharacterProperties () const |
TextSpacing & | getParaTopMargin () |
TextSpacing & | getParaBottomMargin () |
std::optional< sal_Int32 > & | getParaLeftMargin () |
std::optional< sal_Int32 > & | getFirstLineIndentation () |
std::optional< sal_Int32 > & | getDefaultTabSize () |
std::optional< css::style::ParagraphAdjust > & | getParaAdjust () |
void | setParaAdjust (css::style::ParagraphAdjust nParaAdjust) |
TextSpacing & | getLineSpacing () |
void | setLineSpacing (const TextSpacing &rLineSpacing) |
void | apply (const TextParagraphProperties &rSourceProps) |
void | pushToPropSet (const ::oox::core::XmlFilterBase *pFilterBase, const css::uno::Reference< css::beans::XPropertySet > &xPropSet, PropertyMap &rioBulletList, const BulletList *pMasterBuList, bool bApplyBulletList, float fFontSize, bool bPushDefaultValues=false) const |
float | getCharHeightPoints (float fDefault) const |
Returns the largest character size of this paragraph. More... | |
void | dump () const |
Private Attributes | |
TextCharacterProperties | maTextCharacterProperties |
PropertyMap | maTextParagraphPropertyMap |
BulletList | maBulletList |
TextSpacing | maParaTopMargin |
TextSpacing | maParaBottomMargin |
std::optional< sal_Int32 > | moParaLeftMargin |
std::optional< sal_Int32 > | moFirstLineIndentation |
std::optional< css::style::ParagraphAdjust > | moParaAdjust |
std::optional< sal_Int32 > | moDefaultTabSize |
sal_Int16 | mnLevel |
TextSpacing | maLineSpacing |
Definition at line 75 of file textparagraphproperties.hxx.
oox::drawingml::TextParagraphProperties::TextParagraphProperties | ( | ) |
Definition at line 380 of file textparagraphproperties.cxx.
References mnLevel.
void oox::drawingml::TextParagraphProperties::apply | ( | const TextParagraphProperties & | rSourceProps | ) |
Definition at line 385 of file textparagraphproperties.cxx.
References oox::drawingml::BulletList::apply(), oox::PropertyMap::assignAll(), oox::drawingml::TextCharacterProperties::assignUsed(), oox::drawingml::TextSpacing::bHasValue, maBulletList, maLineSpacing, maParaBottomMargin, maParaTopMargin, maTextCharacterProperties, maTextParagraphPropertyMap, mnLevel, moDefaultTabSize, moFirstLineIndentation, moParaAdjust, and moParaLeftMargin.
Referenced by oox::drawingml::TextBody::ApplyStyleEmpty(), oox::drawingml::TextParagraph::insertAt(), and oox::drawingml::LayoutNode::setupShape().
void oox::drawingml::TextParagraphProperties::dump | ( | ) | const |
Definition at line 530 of file textparagraphproperties.cxx.
References createInstance(), oox::PropertySet::dump(), get(), oox::ppt::PowerPointImport::mpDebugFilterBase, oox::ppt::SlidePersist::mxDebugPage, and pushToPropSet().
|
inline |
Definition at line 84 of file textparagraphproperties.hxx.
References maBulletList.
Referenced by oox::drawingml::TextBody::ApplyStyleEmpty(), and oox::drawingml::TextParagraph::insertAt().
float oox::drawingml::TextParagraphProperties::getCharHeightPoints | ( | float | fDefault | ) | const |
Returns the largest character size of this paragraph.
If possible the masterstyle should have been applied before, otherwise the character size can be zero and the default value is returned.
Definition at line 522 of file textparagraphproperties.cxx.
References oox::drawingml::TextCharacterProperties::getCharHeightPoints(), and maTextCharacterProperties.
Referenced by oox::drawingml::TextParagraph::insertAt(), and pushToPropSet().
|
inline |
Definition at line 92 of file textparagraphproperties.hxx.
References moDefaultTabSize.
Referenced by oox::drawingml::TextParagraphPropertiesContext::TextParagraphPropertiesContext().
|
inline |
Definition at line 91 of file textparagraphproperties.hxx.
References moFirstLineIndentation.
Referenced by oox::drawingml::TextParagraphPropertiesContext::TextParagraphPropertiesContext().
|
inline |
Definition at line 82 of file textparagraphproperties.hxx.
References mnLevel.
Referenced by oox::drawingml::TextParagraph::getParagraphStyle(), pushToPropSet(), and oox::drawingml::TextParagraphPropertiesContext::~TextParagraphPropertiesContext().
|
inline |
Definition at line 97 of file textparagraphproperties.hxx.
References maLineSpacing.
Referenced by oox::drawingml::TextParagraphPropertiesContext::onCreateContext(), and oox::drawingml::TextParagraphPropertiesContext::~TextParagraphPropertiesContext().
|
inline |
Definition at line 94 of file textparagraphproperties.hxx.
References moParaAdjust.
Referenced by oox::drawingml::TextParagraphPropertiesContext::TextParagraphPropertiesContext(), and oox::drawingml::TextParagraphPropertiesContext::~TextParagraphPropertiesContext().
|
inline |
Definition at line 89 of file textparagraphproperties.hxx.
References maParaBottomMargin.
Referenced by oox::drawingml::TextParagraphPropertiesContext::onCreateContext().
|
inline |
Definition at line 90 of file textparagraphproperties.hxx.
References moParaLeftMargin.
Referenced by oox::drawingml::TextParagraphPropertiesContext::TextParagraphPropertiesContext().
|
inline |
Definition at line 88 of file textparagraphproperties.hxx.
References maParaTopMargin.
Referenced by oox::drawingml::TextParagraphPropertiesContext::onCreateContext().
|
inline |
Definition at line 85 of file textparagraphproperties.hxx.
References maTextCharacterProperties.
Referenced by oox::drawingml::chart::TextConverter::createStringSequence(), oox::drawingml::TextParagraph::getCharacterStyle(), oox::drawingml::TextField::insertAt(), oox::drawingml::TextParagraphPropertiesContext::onCreateContext(), and oox::ppt::setTextStyle().
|
inline |
Definition at line 86 of file textparagraphproperties.hxx.
References maTextCharacterProperties.
|
inline |
Definition at line 83 of file textparagraphproperties.hxx.
References maTextParagraphPropertyMap.
Referenced by oox::ppt::setTextStyle(), oox::drawingml::TextParagraphPropertiesContext::TextParagraphPropertiesContext(), and oox::drawingml::TextParagraphPropertiesContext::~TextParagraphPropertiesContext().
void oox::drawingml::TextParagraphProperties::pushToPropSet | ( | const ::oox::core::XmlFilterBase * | pFilterBase, |
const css::uno::Reference< css::beans::XPropertySet > & | xPropSet, | ||
PropertyMap & | rioBulletList, | ||
const BulletList * | pMasterBuList, | ||
bool | bApplyBulletList, | ||
float | fFontSize, | ||
bool | bPushDefaultValues = false |
||
) | const |
Definition at line 408 of file textparagraphproperties.cxx.
References Any, aSeq, oox::drawingml::TextSpacing::bHasValue, oox::PropertyMap::empty(), Exception, oox::drawingml::FillProperties::getBestSolidColor(), getCharHeightPoints(), oox::drawingml::Color::getColor(), getLevel(), oox::PropertySet::getProperty(), oox::PropertyMap::hasProperty(), if(), maBulletList, oox::drawingml::TextCharacterProperties::maFillProperties, oox::PropertyMap::makePropertyValueSequence(), maLineSpacing, maParaBottomMargin, maParaTopMargin, maTextCharacterProperties, maTextParagraphPropertyMap, oox::drawingml::BulletList::mnNumberingType, moDefaultTabSize, moFirstLineIndentation, moParaAdjust, moParaLeftMargin, PROP_LeftMargin, PROP_NumberingRules, PROP_ParaAdjust, PROP_ParaBottomMargin, PROP_ParaFirstLineIndent, PROP_ParaLeftMargin, PROP_ParaLineSpacing, PROP_ParaTabStopDefaultDistance, PROP_ParaTabStops, PROP_ParaTopMargin, oox::drawingml::BulletList::pushToPropMap(), oox::PropertySet::setProperties(), oox::PropertySet::setProperty(), oox::PropertyMap::setProperty(), TabStop, oox::drawingml::TextSpacing::toLineSpacing(), and oox::drawingml::TextSpacing::toMargin().
Referenced by dump(), oox::drawingml::TextField::insertAt(), and oox::drawingml::TextParagraph::insertAt().
|
inline |
Definition at line 81 of file textparagraphproperties.hxx.
References mnLevel.
Referenced by oox::drawingml::LayoutNode::setupShape(), and oox::drawingml::TextParagraphPropertiesContext::TextParagraphPropertiesContext().
|
inline |
Definition at line 98 of file textparagraphproperties.hxx.
References maLineSpacing.
|
inline |
Definition at line 95 of file textparagraphproperties.hxx.
References moParaAdjust.
Referenced by oox::drawingml::TextParagraphPropertiesContext::onCreateContext().
|
private |
Definition at line 122 of file textparagraphproperties.hxx.
Referenced by apply(), getBulletList(), and pushToPropSet().
|
private |
Definition at line 130 of file textparagraphproperties.hxx.
Referenced by apply(), getLineSpacing(), pushToPropSet(), and setLineSpacing().
|
private |
Definition at line 124 of file textparagraphproperties.hxx.
Referenced by apply(), getParaBottomMargin(), and pushToPropSet().
|
private |
Definition at line 123 of file textparagraphproperties.hxx.
Referenced by apply(), getParaTopMargin(), and pushToPropSet().
|
private |
Definition at line 120 of file textparagraphproperties.hxx.
Referenced by apply(), getCharHeightPoints(), getTextCharacterProperties(), and pushToPropSet().
|
private |
Definition at line 121 of file textparagraphproperties.hxx.
Referenced by apply(), getTextParagraphPropertyMap(), and pushToPropSet().
|
private |
Definition at line 129 of file textparagraphproperties.hxx.
Referenced by apply(), getLevel(), and setLevel().
|
private |
Definition at line 128 of file textparagraphproperties.hxx.
Referenced by apply(), getDefaultTabSize(), and pushToPropSet().
|
private |
Definition at line 126 of file textparagraphproperties.hxx.
Referenced by apply(), getFirstLineIndentation(), and pushToPropSet().
|
private |
Definition at line 127 of file textparagraphproperties.hxx.
Referenced by apply(), getParaAdjust(), pushToPropSet(), and setParaAdjust().
|
private |
Definition at line 125 of file textparagraphproperties.hxx.
Referenced by apply(), getParaLeftMargin(), and pushToPropSet().