LibreOffice Module sd (master) 1
Public Member Functions | Public Attributes | Private Member Functions | Static Private Member Functions | Friends | List of all members
PortionObj Class Referencefinal

#include <text.hxx>

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

Public Member Functions

 PortionObj (css::uno::Reference< css::text::XTextRange > &rXTextRangeRef, bool bLast, FontCollection &rFontCollection)
 
 PortionObj (const css::uno::Reference< css::beans::XPropertySet > &rXPropSetRef, FontCollection &rFontCollection)
 
 PortionObj (const PortionObj &rPortionObj)
 
 ~PortionObj ()
 
void Write (SvStream *pStrm, bool bLast)
 
sal_uInt32 Count () const
 
PortionObjoperator= (const PortionObj &rPortionObj)
 
- Public Member Functions inherited from PropStateValue
 PropStateValue ()
 
- Public Member Functions inherited from PropValue
 PropValue ()
 

Public Attributes

css::beans::PropertyState meCharColor
 
css::beans::PropertyState meCharHeight
 
css::beans::PropertyState meFontName
 
css::beans::PropertyState meAsianOrComplexFont
 
css::beans::PropertyState meCharEscapement
 
css::lang::Locale meCharLocale
 
sal_uInt16 mnCharAttrHard
 
sal_uInt32 mnCharColor
 
sal_uInt16 mnCharAttr
 
sal_uInt16 mnCharHeight
 
sal_uInt16 mnFont
 
sal_uInt16 mnAsianOrComplexFont
 
sal_Int16 mnCharEscapement
 
sal_uInt32 mnTextSize
 
bool mbLastPortion
 
std::unique_ptr< sal_uInt16[]> mpText
 
std::unique_ptr< FieldEntrympFieldEntry
 

Private Member Functions

void ImplClear ()
 
void ImplConstruct (const PortionObj &rPortionObj)
 
sal_uInt32 ImplCalculateTextPositions (sal_uInt32 nCurrentTextPosition)
 
void ImplGetPortionValues (FontCollection &rFontCollection, bool bGetPropStateValue)
 

Static Private Member Functions

static sal_uInt32 ImplGetTextField (css::uno::Reference< css::text::XTextRange > &rXTextRangeRef, const css::uno::Reference< css::beans::XPropertySet > &rXPropSetRef, OUString &rURL)
 

Friends

class ParagraphObj
 

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 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 &)
 
- 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 114 of file text.hxx.

Constructor & Destructor Documentation

◆ PortionObj() [1/3]

PortionObj::PortionObj ( css::uno::Reference< css::text::XTextRange > &  rXTextRangeRef,
bool  bLast,
FontCollection rFontCollection 
)

◆ PortionObj() [2/3]

PortionObj::PortionObj ( const css::uno::Reference< css::beans::XPropertySet > &  rXPropSetRef,
FontCollection rFontCollection 
)

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

References ImplGetPortionValues(), and PropValue::mXPropSet.

◆ PortionObj() [3/3]

PortionObj::PortionObj ( const PortionObj rPortionObj)

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

References ImplConstruct().

◆ ~PortionObj()

PortionObj::~PortionObj ( )

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

References ImplClear().

Member Function Documentation

◆ Count()

sal_uInt32 PortionObj::Count ( ) const
inline

Definition at line 157 of file text.hxx.

References mnTextSize.

Referenced by PPTWriter::ImplWritePortions().

◆ ImplCalculateTextPositions()

sal_uInt32 PortionObj::ImplCalculateTextPositions ( sal_uInt32  nCurrentTextPosition)
private

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

References mnTextSize, and mpFieldEntry.

◆ ImplClear()

void PortionObj::ImplClear ( )
private

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

References mpFieldEntry, and mpText.

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

◆ ImplConstruct()

void PortionObj::ImplConstruct ( const PortionObj rPortionObj)
private

◆ ImplGetPortionValues()

void PortionObj::ImplGetPortionValues ( FontCollection rFontCollection,
bool  bGetPropStateValue 
)
private

◆ ImplGetTextField()

sal_uInt32 PortionObj::ImplGetTextField ( css::uno::Reference< css::text::XTextRange > &  rXTextRangeRef,
const css::uno::Reference< css::beans::XPropertySet > &  rXPropSetRef,
OUString &  rURL 
)
staticprivate

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

References PropValue::GetPropertyValue().

Referenced by PortionObj().

◆ operator=()

PortionObj & PortionObj::operator= ( const PortionObj rPortionObj)

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

References ImplClear(), and ImplConstruct().

◆ Write()

void PortionObj::Write ( SvStream pStrm,
bool  bLast 
)

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

References i, mbLastPortion, mnTextSize, mpText, nCount, and SvStream::WriteUInt16().

Friends And Related Function Documentation

◆ ParagraphObj

friend class ParagraphObj
friend

Definition at line 117 of file text.hxx.

Member Data Documentation

◆ mbLastPortion

bool PortionObj::mbLastPortion

Definition at line 144 of file text.hxx.

Referenced by ImplConstruct(), and Write().

◆ meAsianOrComplexFont

css::beans::PropertyState PortionObj::meAsianOrComplexFont

◆ meCharColor

css::beans::PropertyState PortionObj::meCharColor

◆ meCharEscapement

css::beans::PropertyState PortionObj::meCharEscapement

◆ meCharHeight

css::beans::PropertyState PortionObj::meCharHeight

◆ meCharLocale

css::lang::Locale PortionObj::meCharLocale

Definition at line 133 of file text.hxx.

Referenced by ImplConstruct(), ImplGetPortionValues(), and TextObjBinary::WriteTextSpecInfo().

◆ meFontName

css::beans::PropertyState PortionObj::meFontName

◆ mnAsianOrComplexFont

sal_uInt16 PortionObj::mnAsianOrComplexFont

◆ mnCharAttr

sal_uInt16 PortionObj::mnCharAttr

◆ mnCharAttrHard

sal_uInt16 PortionObj::mnCharAttrHard

Definition at line 134 of file text.hxx.

Referenced by ImplConstruct(), and ImplGetPortionValues().

◆ mnCharColor

sal_uInt32 PortionObj::mnCharColor

◆ mnCharEscapement

sal_Int16 PortionObj::mnCharEscapement

◆ mnCharHeight

sal_uInt16 PortionObj::mnCharHeight

◆ mnFont

sal_uInt16 PortionObj::mnFont

◆ mnTextSize

sal_uInt32 PortionObj::mnTextSize

◆ mpFieldEntry

std::unique_ptr<FieldEntry> PortionObj::mpFieldEntry

◆ mpText

std::unique_ptr<sal_uInt16[]> PortionObj::mpText

Definition at line 146 of file text.hxx.

Referenced by ImplClear(), ImplConstruct(), ImplGetPortionValues(), PortionObj(), and Write().


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