LibreOffice Module editeng (master) 1
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
OutlinerParaObject Class Reference

#include <outlobj.hxx>

Collaboration diagram for OutlinerParaObject:
[legend]

Public Member Functions

 OutlinerParaObject (std::unique_ptr< EditTextObject >, ParagraphDataVector &&, bool bIsEditDoc)
 
 OutlinerParaObject (std::unique_ptr< EditTextObject >)
 
 OutlinerParaObject (const OutlinerParaObject &)
 
 OutlinerParaObject (OutlinerParaObject &&) noexcept
 
 ~OutlinerParaObject ()
 
OutlinerParaObjectoperator= (const OutlinerParaObject &rCandidate)
 
OutlinerParaObjectoperator= (OutlinerParaObject &&) noexcept
 
bool operator== (const OutlinerParaObject &rCandidate) const
 
bool operator!= (const OutlinerParaObject &rCandidate) const
 
bool isWrongListEqual (const OutlinerParaObject &rCompare) const
 
OutlinerMode GetOutlinerMode () const
 
void SetOutlinerMode (OutlinerMode nNew)
 
bool IsEffectivelyVertical () const
 
bool GetVertical () const
 
bool IsTopToBottom () const
 
void SetVertical (bool bNew)
 
void SetRotation (TextRotation nRotation)
 
TextRotation GetRotation () const
 
sal_Int32 Count () const
 
sal_Int16 GetDepth (sal_Int32 nPara) const
 
const EditTextObjectGetTextObject () const
 
const ParagraphDataGetParagraphData (sal_Int32 nIndex) const
 
void ClearPortionInfo ()
 
bool ChangeStyleSheets (std::u16string_view rOldName, SfxStyleFamily eOldFamily, const OUString &rNewName, SfxStyleFamily eNewFamily)
 
void ChangeStyleSheetName (SfxStyleFamily eFamily, std::u16string_view rOldName, const OUString &rNewName)
 
void SetStyleSheets (sal_uInt16 nLevel, const OUString &rNewName, const SfxStyleFamily &rNewFamily)
 
void dumpAsXml (xmlTextWriterPtr pWriter) const
 

Private Member Functions

 OutlinerParaObject (std::nullopt_t) noexcept
 
 OutlinerParaObject (const OutlinerParaObject &other, std::nullopt_t) noexcept
 

Private Attributes

::o3tl::cow_wrapper< OutlinerParaObjDatampImpl
 

Friends

class std::optional< OutlinerParaObject >
 

Detailed Description

Definition at line 65 of file outlobj.hxx.

Constructor & Destructor Documentation

◆ OutlinerParaObject() [1/6]

OutlinerParaObject::OutlinerParaObject ( std::nullopt_t  )
inlineprivatenoexcept

Definition at line 70 of file outlobj.hxx.

◆ OutlinerParaObject() [2/6]

OutlinerParaObject::OutlinerParaObject ( const OutlinerParaObject other,
std::nullopt_t   
)
inlineprivatenoexcept

Definition at line 72 of file outlobj.hxx.

◆ OutlinerParaObject() [3/6]

OutlinerParaObject::OutlinerParaObject ( std::unique_ptr< EditTextObject xTextObj,
ParagraphDataVector &&  rParagraphDataVector,
bool  bIsEditDoc 
)

Definition at line 64 of file outlobj.cxx.

◆ OutlinerParaObject() [4/6]

OutlinerParaObject::OutlinerParaObject ( std::unique_ptr< EditTextObject pTextObj)

Definition at line 70 of file outlobj.cxx.

◆ OutlinerParaObject() [5/6]

OutlinerParaObject::OutlinerParaObject ( const OutlinerParaObject r)

Definition at line 75 of file outlobj.cxx.

◆ OutlinerParaObject() [6/6]

OutlinerParaObject::OutlinerParaObject ( OutlinerParaObject &&  r)
noexcept

Definition at line 80 of file outlobj.cxx.

◆ ~OutlinerParaObject()

OutlinerParaObject::~OutlinerParaObject ( )

Definition at line 85 of file outlobj.cxx.

Member Function Documentation

◆ ChangeStyleSheetName()

void OutlinerParaObject::ChangeStyleSheetName ( SfxStyleFamily  eFamily,
std::u16string_view  rOldName,
const OUString &  rNewName 
)

Definition at line 219 of file outlobj.cxx.

References mpImpl.

◆ ChangeStyleSheets()

bool OutlinerParaObject::ChangeStyleSheets ( std::u16string_view  rOldName,
SfxStyleFamily  eOldFamily,
const OUString &  rNewName,
SfxStyleFamily  eNewFamily 
)

Definition at line 213 of file outlobj.cxx.

References mpImpl.

◆ ClearPortionInfo()

void OutlinerParaObject::ClearPortionInfo ( )

Definition at line 208 of file outlobj.cxx.

References mpImpl.

◆ Count()

sal_Int32 OutlinerParaObject::Count ( ) const

Definition at line 166 of file outlobj.cxx.

References EE_PARA_MAX_COUNT, mpImpl, and SAL_WARN.

Referenced by Outliner::AddText(), SetStyleSheets(), and Outliner::SetText().

◆ dumpAsXml()

void OutlinerParaObject::dumpAsXml ( xmlTextWriterPtr  pWriter) const

Definition at line 244 of file outlobj.cxx.

References Paragraph::dumpAsXml(), mpImpl, and p.

◆ GetDepth()

sal_Int16 OutlinerParaObject::GetDepth ( sal_Int32  nPara) const

Definition at line 177 of file outlobj.cxx.

References o3tl::make_unsigned(), and mpImpl.

Referenced by SetStyleSheets().

◆ GetOutlinerMode()

OutlinerMode OutlinerParaObject::GetOutlinerMode ( ) const

Definition at line 117 of file outlobj.cxx.

References mpImpl.

Referenced by Outliner::SetText().

◆ GetParagraphData()

const ParagraphData & OutlinerParaObject::GetParagraphData ( sal_Int32  nIndex) const

Definition at line 194 of file outlobj.cxx.

References o3tl::make_unsigned(), mpImpl, and nIndex.

Referenced by Outliner::AddText(), and Outliner::SetText().

◆ GetRotation()

TextRotation OutlinerParaObject::GetRotation ( ) const

Definition at line 161 of file outlobj.cxx.

References mpImpl.

◆ GetTextObject()

const EditTextObject & OutlinerParaObject::GetTextObject ( ) const

◆ GetVertical()

bool OutlinerParaObject::GetVertical ( ) const

Definition at line 138 of file outlobj.cxx.

References mpImpl.

◆ IsEffectivelyVertical()

bool OutlinerParaObject::IsEffectivelyVertical ( ) const

Definition at line 133 of file outlobj.cxx.

References mpImpl.

◆ IsTopToBottom()

bool OutlinerParaObject::IsTopToBottom ( ) const

Definition at line 143 of file outlobj.cxx.

References mpImpl.

◆ isWrongListEqual()

bool OutlinerParaObject::isWrongListEqual ( const OutlinerParaObject rCompare) const

◆ operator!=()

bool OutlinerParaObject::operator!= ( const OutlinerParaObject rCandidate) const
inline

Definition at line 89 of file outlobj.hxx.

References operator==().

◆ operator=() [1/2]

OutlinerParaObject & OutlinerParaObject::operator= ( const OutlinerParaObject rCandidate)

Definition at line 89 of file outlobj.cxx.

References mpImpl.

◆ operator=() [2/2]

OutlinerParaObject & OutlinerParaObject::operator= ( OutlinerParaObject &&  r)
noexcept

Definition at line 95 of file outlobj.cxx.

◆ operator==()

bool OutlinerParaObject::operator== ( const OutlinerParaObject rCandidate) const

Definition at line 101 of file outlobj.cxx.

References mpImpl.

◆ SetOutlinerMode()

void OutlinerParaObject::SetOutlinerMode ( OutlinerMode  nNew)

Definition at line 122 of file outlobj.cxx.

References mpImpl.

Referenced by Outliner::CreateParaObject(), and Outliner::GetEmptyParaObject().

◆ SetRotation()

void OutlinerParaObject::SetRotation ( TextRotation  nRotation)

Definition at line 156 of file outlobj.cxx.

References mpImpl.

◆ SetStyleSheets()

void OutlinerParaObject::SetStyleSheets ( sal_uInt16  nLevel,
const OUString &  rNewName,
const SfxStyleFamily rNewFamily 
)

Definition at line 225 of file outlobj.cxx.

References Count(), GetDepth(), mpImpl, and nCount.

◆ SetVertical()

void OutlinerParaObject::SetVertical ( bool  bNew)

Definition at line 148 of file outlobj.cxx.

References mpImpl.

Friends And Related Function Documentation

◆ std::optional< OutlinerParaObject >

friend class std::optional< OutlinerParaObject >
friend

Definition at line 62 of file outlobj.hxx.

Member Data Documentation

◆ mpImpl

::o3tl::cow_wrapper< OutlinerParaObjData > OutlinerParaObject::mpImpl
private

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