LibreOffice Module sd (master) 1
Public Member Functions | Public Attributes | Protected Member Functions | Private Attributes | Friends | List of all members
ParagraphObj Class Reference

#include <text.hxx>

Inheritance diagram for ParagraphObj:
[legend]
Collaboration diagram for ParagraphObj:
[legend]

Public Member Functions

 ParagraphObj (css::uno::Reference< css::text::XTextContent > const &rXTextContentRef, ParaFlags, FontCollection &rFontCollection, PPTExBulletProvider &rBuProv)
 
 ParagraphObj (const ParagraphObj &rParargraphObj)=delete
 
 ParagraphObj (const css::uno::Reference< css::beans::XPropertySet > &rXPropSetRef, PPTExBulletProvider *pBuProv)
 
bool empty () const
 
const PortionObjfront () const
 
std::vector< std::unique_ptr< PortionObj > >::const_iterator begin () const
 
std::vector< std::unique_ptr< PortionObj > >::const_iterator end () const
 
void CalculateGraphicBulletSize (sal_uInt16 nFontHeight)
 
 ~ParagraphObj ()
 
void Write (SvStream *pStrm)
 
sal_uInt32 CharacterCount () const
 
ParagraphObjoperator= (const ParagraphObj &rParagraphObj)
 
- Public Member Functions inherited from PropStateValue
 PropStateValue ()
 
- Public Member Functions inherited from PropValue
 PropValue ()
 
- Public Member Functions inherited from SOParagraph
 SOParagraph ()
 

Public Attributes

css::uno::Sequence< css::style::TabStop > maTabStop
 
sal_uInt32 mnTextSize
 
bool mbIsBullet
 
bool mbFirstParagraph
 
bool mbLastParagraph
 
css::beans::PropertyState meBullet
 
css::beans::PropertyState meTextAdjust
 
css::beans::PropertyState meLineSpacing
 
css::beans::PropertyState meLineSpacingTop
 
css::beans::PropertyState meLineSpacingBottom
 
css::beans::PropertyState meForbiddenRules
 
css::beans::PropertyState meParagraphPunctation
 
css::beans::PropertyState meBiDi
 
sal_uInt16 mnTextAdjust
 
sal_Int16 mnLineSpacing
 
bool mbFixedLineSpacing
 
sal_Int16 mnLineSpacingTop
 
sal_Int16 mnLineSpacingBottom
 
bool mbForbiddenRules
 
bool mbParagraphPunctation
 
sal_uInt16 mnBiDi
 
- Public Attributes inherited from SOParagraph
bool bExtendedParameters
 
sal_uInt32 nParaFlags
 
sal_Int16 nBulletFlags
 
OUString sPrefix
 
OUString sSuffix
 
OUString sGraphicUrl
 
Size aBuGraSize
 
SvxNumType nNumberingType
 
sal_uInt32 nHorzAdjust
 
sal_uInt32 nBulletColor
 
sal_Int32 nBulletOfs
 
sal_Int16 nStartWith
 
sal_Int16 nTextOfs
 
sal_Int16 nBulletRealSize
 
sal_Int16 nDepth
 
sal_Unicode cBulletId
 
css::awt::FontDescriptor aFontDesc
 
bool bExtendedBulletsUsed
 
sal_uInt16 nBulletId
 
sal_uInt32 nMappedNumType
 
bool bNumberingIsNumber
 

Protected Member Functions

void ImplConstruct (const ParagraphObj &rParagraphObj)
 
void ImplClear ()
 
sal_uInt32 ImplCalculateTextPositions (sal_uInt32 nCurrentTextPosition)
 
void ImplGetParagraphValues (PPTExBulletProvider *pBuProv, bool bGetPropStateValue)
 
void ImplGetNumberingLevel (PPTExBulletProvider *pBuProv, sal_Int16 nDepth, bool bIsBullet, bool bGetPropStateValue)
 
- Protected Member Functions inherited from PropStateValue
bool ImplGetPropertyValue (const OUString &rString, bool bGetPropertyState)
 
- Protected Member Functions inherited from PropValue
bool ImplGetPropertyValue (const OUString &rString)
 
bool ImplGetPropertyValue (const css::uno::Reference< css::beans::XPropertySet > &, const OUString &)
 

Private Attributes

std::vector< std::unique_ptr< PortionObj > > mvPortions
 

Friends

class TextObj
 
struct PPTExParaSheet
 

Additional Inherited Members

- Static Public Member Functions inherited from PropValue
static bool GetPropertyValue (css::uno::Any &rAny, const css::uno::Reference< css::beans::XPropertySet > &, const OUString &rPropertyName, bool bTestPropertyAvailability=false)
 
static css::beans::PropertyState GetPropertyState (const css::uno::Reference< css::beans::XPropertySet > &, const OUString &rPropertyName)
 
- Protected Attributes inherited from PropStateValue
css::beans::PropertyState ePropState
 
css::uno::Reference< css::beans::XPropertyState > mXPropState
 
- Protected Attributes inherited from PropValue
css::uno::Any mAny
 
css::uno::Reference< css::beans::XPropertySetmXPropSet
 

Detailed Description

Definition at line 170 of file text.hxx.

Constructor & Destructor Documentation

◆ ParagraphObj() [1/3]

ParagraphObj::ParagraphObj ( css::uno::Reference< css::text::XTextContent > const &  rXTextContentRef,
ParaFlags  aParaFlags,
FontCollection rFontCollection,
PPTExBulletProvider &  rBuProv 
)

◆ ParagraphObj() [2/3]

ParagraphObj::ParagraphObj ( const ParagraphObj rParargraphObj)
delete

◆ ParagraphObj() [3/3]

ParagraphObj::ParagraphObj ( const css::uno::Reference< css::beans::XPropertySet > &  rXPropSetRef,
PPTExBulletProvider *  pBuProv 
)

◆ ~ParagraphObj()

ParagraphObj::~ParagraphObj ( )

Definition at line 734 of file pptx-text.cxx.

References ImplClear().

Member Function Documentation

◆ begin()

std::vector< std::unique_ptr< PortionObj > >::const_iterator ParagraphObj::begin ( ) const
inline

◆ CalculateGraphicBulletSize()

void ParagraphObj::CalculateGraphicBulletSize ( sal_uInt16  nFontHeight)

◆ CharacterCount()

sal_uInt32 ParagraphObj::CharacterCount ( ) const
inline

Definition at line 231 of file text.hxx.

References mnTextSize.

Referenced by PPTWriter::ImplWritePage(), and PPTWriter::ImplWriteParagraphs().

◆ empty()

bool ParagraphObj::empty ( ) const
inline

Definition at line 220 of file text.hxx.

References mvPortions.

Referenced by PPTWriter::ImplAdjustFirstLineLineSpacing().

◆ end()

std::vector< std::unique_ptr< PortionObj > >::const_iterator ParagraphObj::end ( ) const
inline

◆ front()

const PortionObj & ParagraphObj::front ( ) const
inline

Definition at line 222 of file text.hxx.

References mvPortions.

Referenced by PPTWriter::ImplAdjustFirstLineLineSpacing(), and PPTWriter::ImplWriteParagraphs().

◆ ImplCalculateTextPositions()

sal_uInt32 ParagraphObj::ImplCalculateTextPositions ( sal_uInt32  nCurrentTextPosition)
protected

Definition at line 1228 of file pptx-text.cxx.

References mnTextSize, and mvPortions.

Referenced by TextObj::ImplCalculateTextPositions().

◆ ImplClear()

void ParagraphObj::ImplClear ( )
protected

Definition at line 745 of file pptx-text.cxx.

References mvPortions.

Referenced by operator=(), and ~ParagraphObj().

◆ ImplConstruct()

void ParagraphObj::ImplConstruct ( const ParagraphObj rParagraphObj)
protected

◆ ImplGetNumberingLevel()

void ParagraphObj::ImplGetNumberingLevel ( PPTExBulletProvider *  pBuProv,
sal_Int16  nDepth,
bool  bIsBullet,
bool  bGetPropStateValue 
)
protected

◆ ImplGetParagraphValues()

void ParagraphObj::ImplGetParagraphValues ( PPTExBulletProvider *  pBuProv,
bool  bGetPropStateValue 
)
protected

◆ operator=()

ParagraphObj & ParagraphObj::operator= ( const ParagraphObj rParagraphObj)

Definition at line 1236 of file pptx-text.cxx.

References ImplClear(), and ImplConstruct().

◆ Write()

void ParagraphObj::Write ( SvStream pStrm)

Definition at line 739 of file pptx-text.cxx.

References mbLastParagraph, and mvPortions.

Referenced by TextObjBinary::Write().

Friends And Related Function Documentation

◆ PPTExParaSheet

friend struct PPTExParaSheet
friend

Definition at line 173 of file text.hxx.

◆ TextObj

friend class TextObj
friend

Definition at line 172 of file text.hxx.

Member Data Documentation

◆ maTabStop

css::uno::Sequence< css::style::TabStop > ParagraphObj::maTabStop

◆ mbFirstParagraph

bool ParagraphObj::mbFirstParagraph

Definition at line 192 of file text.hxx.

Referenced by ImplConstruct().

◆ mbFixedLineSpacing

bool ParagraphObj::mbFixedLineSpacing

Definition at line 206 of file text.hxx.

Referenced by ImplConstruct(), ImplGetParagraphValues(), and PPTWriter::ImplWriteParagraphs().

◆ mbForbiddenRules

bool ParagraphObj::mbForbiddenRules

◆ mbIsBullet

bool ParagraphObj::mbIsBullet

◆ mbLastParagraph

bool ParagraphObj::mbLastParagraph

Definition at line 193 of file text.hxx.

Referenced by ImplConstruct(), and Write().

◆ mbParagraphPunctation

bool ParagraphObj::mbParagraphPunctation

◆ meBiDi

css::beans::PropertyState ParagraphObj::meBiDi

◆ meBullet

css::beans::PropertyState ParagraphObj::meBullet

Definition at line 195 of file text.hxx.

Referenced by ImplConstruct(), ImplGetParagraphValues(), and PPTExParaSheet::SetStyleSheet().

◆ meForbiddenRules

css::beans::PropertyState ParagraphObj::meForbiddenRules

◆ meLineSpacing

css::beans::PropertyState ParagraphObj::meLineSpacing

◆ meLineSpacingBottom

css::beans::PropertyState ParagraphObj::meLineSpacingBottom

◆ meLineSpacingTop

css::beans::PropertyState ParagraphObj::meLineSpacingTop

◆ meParagraphPunctation

css::beans::PropertyState ParagraphObj::meParagraphPunctation

◆ meTextAdjust

css::beans::PropertyState ParagraphObj::meTextAdjust

◆ mnBiDi

sal_uInt16 ParagraphObj::mnBiDi

◆ mnLineSpacing

sal_Int16 ParagraphObj::mnLineSpacing

◆ mnLineSpacingBottom

sal_Int16 ParagraphObj::mnLineSpacingBottom

◆ mnLineSpacingTop

sal_Int16 ParagraphObj::mnLineSpacingTop

◆ mnTextAdjust

sal_uInt16 ParagraphObj::mnTextAdjust

◆ mnTextSize

sal_uInt32 ParagraphObj::mnTextSize

Definition at line 189 of file text.hxx.

Referenced by CharacterCount(), ImplCalculateTextPositions(), and ImplConstruct().

◆ mvPortions

std::vector<std::unique_ptr<PortionObj> > ParagraphObj::mvPortions
private

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