LibreOffice Module sd (master) 1
|
#include <text.hxx>
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 |
PortionObj & | operator= (const PortionObj &rPortionObj) |
![]() | |
PropStateValue () | |
![]() | |
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< FieldEntry > | mpFieldEntry |
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 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) |
![]() | |
bool | ImplGetPropertyValue (const OUString &rString, bool bGetPropertyState) |
![]() | |
bool | ImplGetPropertyValue (const OUString &rString) |
bool | ImplGetPropertyValue (const css::uno::Reference< css::beans::XPropertySet > &, const OUString &) |
![]() | |
css::beans::PropertyState | ePropState |
css::uno::Reference< css::beans::XPropertyState > | mXPropState |
![]() | |
css::uno::Any | mAny |
css::uno::Reference< css::beans::XPropertySet > | mXPropSet |
PortionObj::PortionObj | ( | css::uno::Reference< css::text::XTextRange > & | rXTextRangeRef, |
bool | bLast, | ||
FontCollection & | rFontCollection | ||
) |
Definition at line 83 of file pptx-text.cxx.
References aURL, FontCollection::GetScriptDirection(), i, ImplGetPortionValues(), PropStateValue::ImplGetPropertyValue(), ImplGetTextField(), PropValue::mAny, mnTextSize, mpFieldEntry, mpText, PropValue::mXPropSet, and PropStateValue::mXPropState.
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::PortionObj | ( | const PortionObj & | rPortionObj | ) |
Definition at line 216 of file pptx-text.cxx.
References ImplConstruct().
PortionObj::~PortionObj | ( | ) |
Definition at line 222 of file pptx-text.cxx.
References ImplClear().
|
inline |
Definition at line 157 of file text.hxx.
References mnTextSize.
Referenced by PPTWriter::ImplWritePortions().
|
private |
Definition at line 473 of file pptx-text.cxx.
References mnTextSize, and mpFieldEntry.
|
private |
Definition at line 438 of file pptx-text.cxx.
References mpFieldEntry, and mpText.
Referenced by operator=(), and ~PortionObj().
|
private |
Definition at line 444 of file pptx-text.cxx.
References mbLastPortion, meAsianOrComplexFont, meCharColor, meCharEscapement, meCharHeight, meCharLocale, meFontName, mnAsianOrComplexFont, mnCharAttr, mnCharAttrHard, mnCharColor, mnCharEscapement, mnCharHeight, mnFont, mnTextSize, mpFieldEntry, and mpText.
Referenced by operator=(), and PortionObj().
|
private |
Definition at line 236 of file pptx-text.cxx.
References FontCollectionEntry::CharSet, PropStateValue::ePropState, FontCollectionEntry::Family, SvtLanguageOptions::FromSvtScriptTypeToI18N(), FontCollection::GetCount(), FontCollection::GetId(), FontCollection::GetLast(), PropValue::GetPropertyState(), PropValue::GetPropertyValue(), SvtLanguageOptions::GetScriptTypeOfLanguage(), Application::GetSettings(), if(), PropStateValue::ImplGetPropertyValue(), PropValue::mAny, meAsianOrComplexFont, meCharColor, meCharEscapement, meCharHeight, meCharLocale, meFontName, mnAsianOrComplexFont, mnCharAttr, mnCharAttrHard, mnCharColor, mnCharEscapement, mnCharHeight, mnFont, mnTextSize, mpText, PropValue::mXPropSet, nCount, FontCollectionEntry::Pitch, and xPPTBreakIter.
Referenced by PortionObj().
|
staticprivate |
Definition at line 495 of file pptx-text.cxx.
References PropValue::GetPropertyValue().
Referenced by PortionObj().
PortionObj & PortionObj::operator= | ( | const PortionObj & | rPortionObj | ) |
Definition at line 640 of file pptx-text.cxx.
References ImplClear(), and ImplConstruct().
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().
|
friend |
bool PortionObj::mbLastPortion |
Definition at line 144 of file text.hxx.
Referenced by ImplConstruct(), and Write().
css::beans::PropertyState PortionObj::meAsianOrComplexFont |
Definition at line 131 of file text.hxx.
Referenced by ImplConstruct(), ImplGetPortionValues(), PPTWriter::ImplWritePortions(), and PPTExCharSheet::SetStyleSheet().
css::beans::PropertyState PortionObj::meCharColor |
Definition at line 128 of file text.hxx.
Referenced by ImplConstruct(), ImplGetPortionValues(), PPTWriter::ImplWritePortions(), and PPTExCharSheet::SetStyleSheet().
css::beans::PropertyState PortionObj::meCharEscapement |
Definition at line 132 of file text.hxx.
Referenced by ImplConstruct(), ImplGetPortionValues(), PPTWriter::ImplWritePortions(), and PPTExCharSheet::SetStyleSheet().
css::beans::PropertyState PortionObj::meCharHeight |
Definition at line 129 of file text.hxx.
Referenced by ImplConstruct(), ImplGetPortionValues(), PPTWriter::ImplWritePortions(), and PPTExCharSheet::SetStyleSheet().
css::lang::Locale PortionObj::meCharLocale |
Definition at line 133 of file text.hxx.
Referenced by ImplConstruct(), ImplGetPortionValues(), and TextObjBinary::WriteTextSpecInfo().
css::beans::PropertyState PortionObj::meFontName |
Definition at line 130 of file text.hxx.
Referenced by ImplConstruct(), ImplGetPortionValues(), PPTWriter::ImplWritePortions(), and PPTExCharSheet::SetStyleSheet().
sal_uInt16 PortionObj::mnAsianOrComplexFont |
Definition at line 140 of file text.hxx.
Referenced by ImplConstruct(), ImplGetPortionValues(), PPTWriter::ImplWritePortions(), and PPTExCharSheet::SetStyleSheet().
sal_uInt16 PortionObj::mnCharAttr |
Definition at line 137 of file text.hxx.
Referenced by ImplConstruct(), ImplGetPortionValues(), PPTWriter::ImplWritePortions(), and PPTExCharSheet::SetStyleSheet().
sal_uInt16 PortionObj::mnCharAttrHard |
Definition at line 134 of file text.hxx.
Referenced by ImplConstruct(), and ImplGetPortionValues().
sal_uInt32 PortionObj::mnCharColor |
Definition at line 136 of file text.hxx.
Referenced by ImplConstruct(), ImplGetPortionValues(), PPTWriter::ImplWritePortions(), and PPTExCharSheet::SetStyleSheet().
sal_Int16 PortionObj::mnCharEscapement |
Definition at line 141 of file text.hxx.
Referenced by ImplConstruct(), ImplGetPortionValues(), PPTWriter::ImplWritePortions(), and PPTExCharSheet::SetStyleSheet().
sal_uInt16 PortionObj::mnCharHeight |
Definition at line 138 of file text.hxx.
Referenced by PPTWriter::ImplAdjustFirstLineLineSpacing(), ImplConstruct(), ImplGetPortionValues(), PPTWriter::ImplWriteParagraphs(), PPTWriter::ImplWritePortions(), and PPTExCharSheet::SetStyleSheet().
sal_uInt16 PortionObj::mnFont |
Definition at line 139 of file text.hxx.
Referenced by PPTWriter::ImplAdjustFirstLineLineSpacing(), ImplConstruct(), ImplGetPortionValues(), PPTWriter::ImplWriteParagraphs(), PPTWriter::ImplWritePortions(), and PPTExCharSheet::SetStyleSheet().
sal_uInt32 PortionObj::mnTextSize |
Definition at line 143 of file text.hxx.
Referenced by Count(), ImplCalculateTextPositions(), ImplConstruct(), ImplGetPortionValues(), PortionObj(), Write(), and TextObjBinary::WriteTextSpecInfo().
std::unique_ptr<FieldEntry> PortionObj::mpFieldEntry |
Definition at line 147 of file text.hxx.
Referenced by ImplCalculateTextPositions(), ImplClear(), ImplConstruct(), PPTWriter::ImplWriteTextStyleAtom(), and PortionObj().
std::unique_ptr<sal_uInt16[]> PortionObj::mpText |
Definition at line 146 of file text.hxx.
Referenced by ImplClear(), ImplConstruct(), ImplGetPortionValues(), PortionObj(), and Write().