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, 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 74 of file textparagraphproperties.hxx.

Constructor & Destructor Documentation

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

Definition at line 368 of file textparagraphproperties.cxx.

References mnLevel.

Member Function Documentation

void oox::drawingml::TextParagraphProperties::apply ( const TextParagraphProperties rSourceProps)
void oox::drawingml::TextParagraphProperties::dump ( ) const
BulletList& oox::drawingml::TextParagraphProperties::getBulletList ( )
inline
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 503 of file textparagraphproperties.cxx.

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

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

std::optional< sal_Int32 >& oox::drawingml::TextParagraphProperties::getFirstLineIndentation ( )
inline
sal_Int16 oox::drawingml::TextParagraphProperties::getLevel ( ) const
inline
TextSpacing& oox::drawingml::TextParagraphProperties::getLineSpacing ( )
inline
std::optional< css::style::ParagraphAdjust >& oox::drawingml::TextParagraphProperties::getParaAdjust ( )
inline
TextSpacing& oox::drawingml::TextParagraphProperties::getParaBottomMargin ( )
inline
std::optional< sal_Int32 >& oox::drawingml::TextParagraphProperties::getParaLeftMargin ( )
inline
TextSpacing& oox::drawingml::TextParagraphProperties::getParaTopMargin ( )
inline
TextCharacterProperties& oox::drawingml::TextParagraphProperties::getTextCharacterProperties ( )
inline
const TextCharacterProperties& oox::drawingml::TextParagraphProperties::getTextCharacterProperties ( ) const
inline

Definition at line 85 of file textparagraphproperties.hxx.

References maTextCharacterProperties.

PropertyMap& oox::drawingml::TextParagraphProperties::getTextParagraphPropertyMap ( )
inline
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
void oox::drawingml::TextParagraphProperties::setLevel ( sal_Int16  nLevel)
inline
void oox::drawingml::TextParagraphProperties::setLineSpacing ( const TextSpacing rLineSpacing)
inline

Definition at line 96 of file textparagraphproperties.hxx.

References maLineSpacing.

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

Member Data Documentation

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

Definition at line 120 of file textparagraphproperties.hxx.

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

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

Definition at line 127 of file textparagraphproperties.hxx.

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

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

Definition at line 122 of file textparagraphproperties.hxx.

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

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

Definition at line 121 of file textparagraphproperties.hxx.

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

TextCharacterProperties oox::drawingml::TextParagraphProperties::maTextCharacterProperties
private
PropertyMap oox::drawingml::TextParagraphProperties::maTextParagraphPropertyMap
private

Definition at line 119 of file textparagraphproperties.hxx.

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

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

Definition at line 126 of file textparagraphproperties.hxx.

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

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

Definition at line 124 of file textparagraphproperties.hxx.

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

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

Definition at line 125 of file textparagraphproperties.hxx.

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

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

Definition at line 123 of file textparagraphproperties.hxx.

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


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