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

#include <textparagraphproperties.hxx>

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

Public Member Functions

 TextParagraphProperties ()
 
void setLevel (sal_Int16 nLevel)
 
sal_Int16 getLevel () const
 
PropertyMapgetTextParagraphPropertyMap ()
 
BulletListgetBulletList ()
 
TextCharacterPropertiesgetTextCharacterProperties ()
 
const TextCharacterPropertiesgetTextCharacterProperties () const
 
TextSpacinggetParaTopMargin ()
 
TextSpacinggetParaBottomMargin ()
 
std::optional< sal_Int32 > & getParaLeftMargin ()
 
std::optional< sal_Int32 > & getFirstLineIndentation ()
 
std::optional< css::style::ParagraphAdjust > & getParaAdjust ()
 
void setParaAdjust (css::style::ParagraphAdjust nParaAdjust)
 
TextSpacinggetLineSpacing ()
 
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, sal_Int32 nAutofitFontScale=100000, 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
 
sal_Int16 mnLevel
 
TextSpacing maLineSpacing
 

Detailed Description

Definition at line 75 of file textparagraphproperties.hxx.

Constructor & Destructor Documentation

◆ TextParagraphProperties()

oox::drawingml::TextParagraphProperties::TextParagraphProperties ( )

Definition at line 380 of file textparagraphproperties.cxx.

References mnLevel.

Member Function Documentation

◆ apply()

void oox::drawingml::TextParagraphProperties::apply ( const TextParagraphProperties rSourceProps)

◆ dump()

void oox::drawingml::TextParagraphProperties::dump ( ) const

◆ getBulletList()

BulletList & oox::drawingml::TextParagraphProperties::getBulletList ( )
inline

◆ getCharHeightPoints()

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 523 of file textparagraphproperties.cxx.

References oox::drawingml::TextCharacterProperties::getCharHeightPoints(), and maTextCharacterProperties.

Referenced by oox::drawingml::TextParagraph::insertAt(), and pushToPropSet().

◆ getFirstLineIndentation()

std::optional< sal_Int32 > & oox::drawingml::TextParagraphProperties::getFirstLineIndentation ( )
inline

◆ getLevel()

sal_Int16 oox::drawingml::TextParagraphProperties::getLevel ( ) const
inline

◆ getLineSpacing()

TextSpacing & oox::drawingml::TextParagraphProperties::getLineSpacing ( )
inline

◆ getParaAdjust()

std::optional< css::style::ParagraphAdjust > & oox::drawingml::TextParagraphProperties::getParaAdjust ( )
inline

◆ getParaBottomMargin()

TextSpacing & oox::drawingml::TextParagraphProperties::getParaBottomMargin ( )
inline

◆ getParaLeftMargin()

std::optional< sal_Int32 > & oox::drawingml::TextParagraphProperties::getParaLeftMargin ( )
inline

◆ getParaTopMargin()

TextSpacing & oox::drawingml::TextParagraphProperties::getParaTopMargin ( )
inline

◆ getTextCharacterProperties() [1/2]

TextCharacterProperties & oox::drawingml::TextParagraphProperties::getTextCharacterProperties ( )
inline

◆ getTextCharacterProperties() [2/2]

const TextCharacterProperties & oox::drawingml::TextParagraphProperties::getTextCharacterProperties ( ) const
inline

Definition at line 86 of file textparagraphproperties.hxx.

References maTextCharacterProperties.

◆ getTextParagraphPropertyMap()

PropertyMap & oox::drawingml::TextParagraphProperties::getTextParagraphPropertyMap ( )
inline

◆ pushToPropSet()

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,
sal_Int32  nAutofitFontScale = 100000,
bool  bPushDefaultValues = false 
) const

◆ setLevel()

void oox::drawingml::TextParagraphProperties::setLevel ( sal_Int16  nLevel)
inline

◆ setLineSpacing()

void oox::drawingml::TextParagraphProperties::setLineSpacing ( const TextSpacing rLineSpacing)
inline

Definition at line 97 of file textparagraphproperties.hxx.

References maLineSpacing.

◆ setParaAdjust()

void oox::drawingml::TextParagraphProperties::setParaAdjust ( css::style::ParagraphAdjust  nParaAdjust)
inline

Member Data Documentation

◆ maBulletList

BulletList oox::drawingml::TextParagraphProperties::maBulletList
private

Definition at line 122 of file textparagraphproperties.hxx.

Referenced by apply(), getBulletList(), and pushToPropSet().

◆ maLineSpacing

TextSpacing oox::drawingml::TextParagraphProperties::maLineSpacing
private

Definition at line 129 of file textparagraphproperties.hxx.

Referenced by apply(), getLineSpacing(), pushToPropSet(), and setLineSpacing().

◆ maParaBottomMargin

TextSpacing oox::drawingml::TextParagraphProperties::maParaBottomMargin
private

Definition at line 124 of file textparagraphproperties.hxx.

Referenced by apply(), getParaBottomMargin(), and pushToPropSet().

◆ maParaTopMargin

TextSpacing oox::drawingml::TextParagraphProperties::maParaTopMargin
private

Definition at line 123 of file textparagraphproperties.hxx.

Referenced by apply(), getParaTopMargin(), and pushToPropSet().

◆ maTextCharacterProperties

TextCharacterProperties oox::drawingml::TextParagraphProperties::maTextCharacterProperties
private

◆ maTextParagraphPropertyMap

PropertyMap oox::drawingml::TextParagraphProperties::maTextParagraphPropertyMap
private

Definition at line 121 of file textparagraphproperties.hxx.

Referenced by apply(), getTextParagraphPropertyMap(), and pushToPropSet().

◆ mnLevel

sal_Int16 oox::drawingml::TextParagraphProperties::mnLevel
private

Definition at line 128 of file textparagraphproperties.hxx.

Referenced by apply(), getLevel(), and setLevel().

◆ moFirstLineIndentation

std::optional< sal_Int32 > oox::drawingml::TextParagraphProperties::moFirstLineIndentation
private

Definition at line 126 of file textparagraphproperties.hxx.

Referenced by apply(), getFirstLineIndentation(), and pushToPropSet().

◆ moParaAdjust

std::optional< css::style::ParagraphAdjust > oox::drawingml::TextParagraphProperties::moParaAdjust
private

Definition at line 127 of file textparagraphproperties.hxx.

Referenced by apply(), getParaAdjust(), pushToPropSet(), and setParaAdjust().

◆ moParaLeftMargin

std::optional< sal_Int32 > oox::drawingml::TextParagraphProperties::moParaLeftMargin
private

Definition at line 125 of file textparagraphproperties.hxx.

Referenced by apply(), getParaLeftMargin(), and pushToPropSet().


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