LibreOffice Module sd (master) 1
|
#include <text.hxx>
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 PortionObj & | front () 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 |
ParagraphObj & | operator= (const ParagraphObj &rParagraphObj) |
![]() | |
PropStateValue () | |
![]() | |
PropValue () | |
![]() | |
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 |
![]() | |
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) |
![]() | |
bool | ImplGetPropertyValue (const OUString &rString, bool bGetPropertyState) |
![]() | |
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 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) |
![]() | |
css::beans::PropertyState | ePropState |
css::uno::Reference< css::beans::XPropertyState > | mXPropState |
![]() | |
css::uno::Any | mAny |
css::uno::Reference< css::beans::XPropertySet > | mXPropSet |
ParagraphObj::ParagraphObj | ( | css::uno::Reference< css::text::XTextContent > const & | rXTextContentRef, |
ParaFlags | aParaFlags, | ||
FontCollection & | rFontCollection, | ||
PPTExBulletProvider & | rBuProv | ||
) |
Definition at line 676 of file pptx-text.cxx.
References SOParagraph::bExtendedParameters, ImplGetParagraphValues(), mvPortions, PropValue::mXPropSet, PropStateValue::mXPropState, SOParagraph::nBulletFlags, SOParagraph::nDepth, and SOParagraph::nParaFlags.
|
delete |
ParagraphObj::ParagraphObj | ( | const css::uno::Reference< css::beans::XPropertySet > & | rXPropSetRef, |
PPTExBulletProvider * | pBuProv | ||
) |
Definition at line 650 of file pptx-text.cxx.
References SOParagraph::bExtendedParameters, ImplGetParagraphValues(), PropValue::mXPropSet, SOParagraph::nBulletFlags, SOParagraph::nDepth, and SOParagraph::nParaFlags.
ParagraphObj::~ParagraphObj | ( | ) |
Definition at line 734 of file pptx-text.cxx.
References ImplClear().
|
inline |
Definition at line 224 of file text.hxx.
References mvPortions.
Referenced by ImplConstruct(), PPTWriter::ImplWritePortions(), PPTWriter::ImplWriteTextStyleAtom(), and TextObjBinary::WriteTextSpecInfo().
void ParagraphObj::CalculateGraphicBulletSize | ( | sal_uInt16 | nFontHeight | ) |
Definition at line 750 of file pptx-text.cxx.
References SOParagraph::aBuGraSize, Size::Height(), SOParagraph::nBulletId, SOParagraph::nBulletRealSize, SOParagraph::nNumberingType, SVX_NUM_BITMAP, and Size::Width().
Referenced by ImplGetNumberingLevel(), and PPTExParaSheet::SetStyleSheet().
|
inline |
Definition at line 231 of file text.hxx.
References mnTextSize.
Referenced by PPTWriter::ImplWritePage(), and PPTWriter::ImplWriteParagraphs().
|
inline |
Definition at line 220 of file text.hxx.
References mvPortions.
Referenced by PPTWriter::ImplAdjustFirstLineLineSpacing().
|
inline |
Definition at line 225 of file text.hxx.
References mvPortions.
Referenced by ImplConstruct(), PPTWriter::ImplWritePortions(), PPTWriter::ImplWriteTextStyleAtom(), and TextObjBinary::WriteTextSpecInfo().
|
inline |
Definition at line 222 of file text.hxx.
References mvPortions.
Referenced by PPTWriter::ImplAdjustFirstLineLineSpacing(), and PPTWriter::ImplWriteParagraphs().
|
protected |
Definition at line 1228 of file pptx-text.cxx.
References mnTextSize, and mvPortions.
Referenced by TextObj::ImplCalculateTextPositions().
|
protected |
Definition at line 745 of file pptx-text.cxx.
References mvPortions.
Referenced by operator=(), and ~ParagraphObj().
|
protected |
Definition at line 1179 of file pptx-text.cxx.
References SOParagraph::aBuGraSize, SOParagraph::aFontDesc, begin(), SOParagraph::bExtendedBulletsUsed, SOParagraph::bExtendedParameters, SOParagraph::cBulletId, end(), maTabStop, mbFirstParagraph, mbFixedLineSpacing, mbForbiddenRules, mbIsBullet, mbLastParagraph, mbParagraphPunctation, meBiDi, meBullet, meForbiddenRules, meLineSpacing, meLineSpacingBottom, meLineSpacingTop, meParagraphPunctation, meTextAdjust, mnBiDi, mnLineSpacing, mnLineSpacingBottom, mnLineSpacingTop, mnTextAdjust, mnTextSize, mvPortions, SOParagraph::nBulletColor, SOParagraph::nBulletFlags, SOParagraph::nBulletId, SOParagraph::nBulletOfs, SOParagraph::nBulletRealSize, SOParagraph::nDepth, SOParagraph::nHorzAdjust, SOParagraph::nNumberingType, SOParagraph::nParaFlags, SOParagraph::nStartWith, SOParagraph::nTextOfs, SOParagraph::sGraphicUrl, SOParagraph::sPrefix, and SOParagraph::sSuffix.
Referenced by operator=().
|
protected |
Definition at line 768 of file pptx-text.cxx.
References SOParagraph::aBuGraSize, SOParagraph::aFontDesc, aPropName, msfilter::util::bestFitOpenSymbolToMSFont(), SOParagraph::bExtendedBulletsUsed, SOParagraph::bExtendedParameters, SOParagraph::bNumberingIsNumber, CalculateGraphicBulletSize(), SOParagraph::cBulletId, convertMm100ToMasterUnit(), PropValue::GetPropertyValue(), Size::Height(), PropStateValue::ImplGetPropertyValue(), IsOpenSymbol(), PropValue::mAny, mbIsBullet, mvPortions, PropValue::mXPropSet, SOParagraph::nBulletColor, SOParagraph::nBulletFlags, SOParagraph::nBulletId, SOParagraph::nBulletOfs, SOParagraph::nBulletRealSize, SOParagraph::nHorzAdjust, SOParagraph::nMappedNumType, SOParagraph::nNumberingType, SOParagraph::nParaFlags, SOParagraph::nStartWith, SOParagraph::nTextOfs, Size::setHeight(), Size::setWidth(), SOParagraph::sPrefix, SOParagraph::sSuffix, SVX_NUM_ARABIC, SVX_NUM_BITMAP, SVX_NUM_CHAR_SPECIAL, SVX_NUM_CHARS_LOWER_LETTER, SVX_NUM_CHARS_LOWER_LETTER_N, SVX_NUM_CHARS_UPPER_LETTER, SVX_NUM_CHARS_UPPER_LETTER_N, SVX_NUM_CIRCLE_NUMBER, SVX_NUM_FULL_WIDTH_ARABIC, SVX_NUM_NUMBER_LOWER_ZH, SVX_NUM_NUMBER_NONE, SVX_NUM_NUMBER_UPPER_ZH, SVX_NUM_NUMBER_UPPER_ZH_TW, SVX_NUM_PAGEDESC, SVX_NUM_ROMAN_LOWER, SVX_NUM_ROMAN_UPPER, u, and Size::Width().
Referenced by ImplGetParagraphValues(), and PPTExParaSheet::SetStyleSheet().
|
protected |
Definition at line 1066 of file pptx-text.cxx.
References convertMasterUnitToMm100(), convertMm100ToMasterUnit(), PropStateValue::ePropState, PropValue::GetPropertyState(), PropValue::GetPropertyValue(), ImplGetNumberingLevel(), PropStateValue::ImplGetPropertyValue(), PropValue::mAny, maTabStop, mbFixedLineSpacing, mbForbiddenRules, mbIsBullet, mbParagraphPunctation, meBiDi, meBullet, meForbiddenRules, meLineSpacing, meLineSpacingBottom, meLineSpacingTop, meParagraphPunctation, meTextAdjust, mnBiDi, mnLineSpacing, mnLineSpacingBottom, mnLineSpacingTop, mnTextAdjust, PropValue::mXPropSet, and SOParagraph::nDepth.
Referenced by ParagraphObj().
ParagraphObj & ParagraphObj::operator= | ( | const ParagraphObj & | rParagraphObj | ) |
Definition at line 1236 of file pptx-text.cxx.
References ImplClear(), and ImplConstruct().
void ParagraphObj::Write | ( | SvStream * | pStrm | ) |
Definition at line 739 of file pptx-text.cxx.
References mbLastParagraph, and mvPortions.
Referenced by TextObjBinary::Write().
|
friend |
css::uno::Sequence< css::style::TabStop > ParagraphObj::maTabStop |
Definition at line 187 of file text.hxx.
Referenced by ImplConstruct(), ImplGetParagraphValues(), and PPTWriter::ImplWriteTextStyleAtom().
bool ParagraphObj::mbFirstParagraph |
Definition at line 192 of file text.hxx.
Referenced by ImplConstruct().
bool ParagraphObj::mbFixedLineSpacing |
Definition at line 206 of file text.hxx.
Referenced by ImplConstruct(), ImplGetParagraphValues(), and PPTWriter::ImplWriteParagraphs().
bool ParagraphObj::mbForbiddenRules |
Definition at line 209 of file text.hxx.
Referenced by ImplConstruct(), ImplGetParagraphValues(), PPTWriter::ImplWriteParagraphs(), and PPTExParaSheet::SetStyleSheet().
bool ParagraphObj::mbIsBullet |
Definition at line 191 of file text.hxx.
Referenced by ImplConstruct(), ImplGetNumberingLevel(), ImplGetParagraphValues(), and PPTExParaSheet::SetStyleSheet().
bool ParagraphObj::mbLastParagraph |
Definition at line 193 of file text.hxx.
Referenced by ImplConstruct(), and Write().
bool ParagraphObj::mbParagraphPunctation |
Definition at line 210 of file text.hxx.
Referenced by ImplConstruct(), ImplGetParagraphValues(), PPTWriter::ImplWriteParagraphs(), and PPTExParaSheet::SetStyleSheet().
css::beans::PropertyState ParagraphObj::meBiDi |
Definition at line 202 of file text.hxx.
Referenced by ImplConstruct(), ImplGetParagraphValues(), PPTWriter::ImplWriteParagraphs(), and PPTExParaSheet::SetStyleSheet().
css::beans::PropertyState ParagraphObj::meBullet |
Definition at line 195 of file text.hxx.
Referenced by ImplConstruct(), ImplGetParagraphValues(), and PPTExParaSheet::SetStyleSheet().
css::beans::PropertyState ParagraphObj::meForbiddenRules |
Definition at line 200 of file text.hxx.
Referenced by ImplConstruct(), ImplGetParagraphValues(), PPTWriter::ImplWriteParagraphs(), and PPTExParaSheet::SetStyleSheet().
css::beans::PropertyState ParagraphObj::meLineSpacing |
Definition at line 197 of file text.hxx.
Referenced by ImplConstruct(), ImplGetParagraphValues(), PPTWriter::ImplWriteParagraphs(), and PPTExParaSheet::SetStyleSheet().
css::beans::PropertyState ParagraphObj::meLineSpacingBottom |
Definition at line 199 of file text.hxx.
Referenced by ImplConstruct(), ImplGetParagraphValues(), PPTWriter::ImplWriteParagraphs(), and PPTExParaSheet::SetStyleSheet().
css::beans::PropertyState ParagraphObj::meLineSpacingTop |
Definition at line 198 of file text.hxx.
Referenced by ImplConstruct(), ImplGetParagraphValues(), PPTWriter::ImplWriteParagraphs(), and PPTExParaSheet::SetStyleSheet().
css::beans::PropertyState ParagraphObj::meParagraphPunctation |
Definition at line 201 of file text.hxx.
Referenced by ImplConstruct(), ImplGetParagraphValues(), PPTWriter::ImplWriteParagraphs(), and PPTExParaSheet::SetStyleSheet().
css::beans::PropertyState ParagraphObj::meTextAdjust |
Definition at line 196 of file text.hxx.
Referenced by ImplConstruct(), ImplGetParagraphValues(), PPTWriter::ImplWriteParagraphs(), and PPTExParaSheet::SetStyleSheet().
sal_uInt16 ParagraphObj::mnBiDi |
Definition at line 211 of file text.hxx.
Referenced by ImplConstruct(), ImplGetParagraphValues(), PPTWriter::ImplWriteParagraphs(), and PPTExParaSheet::SetStyleSheet().
sal_Int16 ParagraphObj::mnLineSpacing |
Definition at line 205 of file text.hxx.
Referenced by PPTWriter::ImplAdjustFirstLineLineSpacing(), ImplConstruct(), ImplGetParagraphValues(), PPTWriter::ImplWriteParagraphs(), and PPTExParaSheet::SetStyleSheet().
sal_Int16 ParagraphObj::mnLineSpacingBottom |
Definition at line 208 of file text.hxx.
Referenced by ImplConstruct(), ImplGetParagraphValues(), PPTWriter::ImplWriteParagraphs(), and PPTExParaSheet::SetStyleSheet().
sal_Int16 ParagraphObj::mnLineSpacingTop |
Definition at line 207 of file text.hxx.
Referenced by ImplConstruct(), ImplGetParagraphValues(), PPTWriter::ImplWriteParagraphs(), and PPTExParaSheet::SetStyleSheet().
sal_uInt16 ParagraphObj::mnTextAdjust |
Definition at line 204 of file text.hxx.
Referenced by ImplConstruct(), ImplGetParagraphValues(), PPTWriter::ImplWriteParagraphs(), and PPTExParaSheet::SetStyleSheet().
sal_uInt32 ParagraphObj::mnTextSize |
Definition at line 189 of file text.hxx.
Referenced by CharacterCount(), ImplCalculateTextPositions(), and ImplConstruct().
|
private |
Definition at line 175 of file text.hxx.
Referenced by begin(), empty(), end(), front(), ImplCalculateTextPositions(), ImplClear(), ImplConstruct(), ImplGetNumberingLevel(), ParagraphObj(), and Write().