LibreOffice Module editeng (master) 1
|
#include <outlobj.hxx>
Public Member Functions | |
OutlinerParaObject (std::unique_ptr< EditTextObject >, ParagraphDataVector &&, bool bIsEditDoc) | |
OutlinerParaObject (std::unique_ptr< EditTextObject >) | |
OutlinerParaObject (const OutlinerParaObject &) | |
OutlinerParaObject (OutlinerParaObject &&) noexcept | |
~OutlinerParaObject () | |
OutlinerParaObject & | operator= (const OutlinerParaObject &rCandidate) |
OutlinerParaObject & | operator= (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 EditTextObject & | GetTextObject () const |
const ParagraphData & | GetParagraphData (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< OutlinerParaObjData > | mpImpl |
Friends | |
class | std::optional< OutlinerParaObject > |
Definition at line 65 of file outlobj.hxx.
|
inlineprivatenoexcept |
Definition at line 70 of file outlobj.hxx.
|
inlineprivatenoexcept |
Definition at line 72 of file outlobj.hxx.
OutlinerParaObject::OutlinerParaObject | ( | std::unique_ptr< EditTextObject > | xTextObj, |
ParagraphDataVector && | rParagraphDataVector, | ||
bool | bIsEditDoc | ||
) |
Definition at line 64 of file outlobj.cxx.
OutlinerParaObject::OutlinerParaObject | ( | std::unique_ptr< EditTextObject > | pTextObj | ) |
Definition at line 70 of file outlobj.cxx.
OutlinerParaObject::OutlinerParaObject | ( | const OutlinerParaObject & | r | ) |
Definition at line 75 of file outlobj.cxx.
|
noexcept |
Definition at line 80 of file outlobj.cxx.
OutlinerParaObject::~OutlinerParaObject | ( | ) |
Definition at line 85 of file outlobj.cxx.
void OutlinerParaObject::ChangeStyleSheetName | ( | SfxStyleFamily | eFamily, |
std::u16string_view | rOldName, | ||
const OUString & | rNewName | ||
) |
Definition at line 219 of file outlobj.cxx.
References mpImpl.
bool OutlinerParaObject::ChangeStyleSheets | ( | std::u16string_view | rOldName, |
SfxStyleFamily | eOldFamily, | ||
const OUString & | rNewName, | ||
SfxStyleFamily | eNewFamily | ||
) |
Definition at line 213 of file outlobj.cxx.
References mpImpl.
void OutlinerParaObject::ClearPortionInfo | ( | ) |
Definition at line 208 of file outlobj.cxx.
References mpImpl.
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().
void OutlinerParaObject::dumpAsXml | ( | xmlTextWriterPtr | pWriter | ) | const |
Definition at line 244 of file outlobj.cxx.
References Paragraph::dumpAsXml(), mpImpl, and p.
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().
OutlinerMode OutlinerParaObject::GetOutlinerMode | ( | ) | const |
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().
TextRotation OutlinerParaObject::GetRotation | ( | ) | const |
Definition at line 161 of file outlobj.cxx.
References mpImpl.
const EditTextObject & OutlinerParaObject::GetTextObject | ( | ) | const |
Definition at line 189 of file outlobj.cxx.
References mpImpl.
Referenced by Outliner::AddText(), OutlinerView::InsertText(), TextChainingUtils::JuxtaposeParaObject(), and Outliner::SetText().
bool OutlinerParaObject::GetVertical | ( | ) | const |
Definition at line 138 of file outlobj.cxx.
References mpImpl.
bool OutlinerParaObject::IsEffectivelyVertical | ( | ) | const |
Definition at line 133 of file outlobj.cxx.
References mpImpl.
bool OutlinerParaObject::IsTopToBottom | ( | ) | const |
Definition at line 143 of file outlobj.cxx.
References mpImpl.
bool OutlinerParaObject::isWrongListEqual | ( | const OutlinerParaObject & | rCompare | ) | const |
Definition at line 107 of file outlobj.cxx.
References mpImpl, and o3tl::cow_wrapper< typename T, class MTPolicy >::same_object().
|
inline |
Definition at line 89 of file outlobj.hxx.
References operator==().
OutlinerParaObject & OutlinerParaObject::operator= | ( | const OutlinerParaObject & | rCandidate | ) |
Definition at line 89 of file outlobj.cxx.
References mpImpl.
|
noexcept |
Definition at line 95 of file outlobj.cxx.
bool OutlinerParaObject::operator== | ( | const OutlinerParaObject & | rCandidate | ) | const |
Definition at line 101 of file outlobj.cxx.
References mpImpl.
void OutlinerParaObject::SetOutlinerMode | ( | OutlinerMode | nNew | ) |
Definition at line 122 of file outlobj.cxx.
References mpImpl.
Referenced by Outliner::CreateParaObject(), and Outliner::GetEmptyParaObject().
void OutlinerParaObject::SetRotation | ( | TextRotation | nRotation | ) |
Definition at line 156 of file outlobj.cxx.
References mpImpl.
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.
void OutlinerParaObject::SetVertical | ( | bool | bNew | ) |
Definition at line 148 of file outlobj.cxx.
References mpImpl.
|
friend |
Definition at line 62 of file outlobj.hxx.
|
private |
Definition at line 68 of file outlobj.hxx.
Referenced by ChangeStyleSheetName(), ChangeStyleSheets(), ClearPortionInfo(), Count(), dumpAsXml(), GetDepth(), GetOutlinerMode(), GetParagraphData(), GetRotation(), GetTextObject(), GetVertical(), IsEffectivelyVertical(), IsTopToBottom(), isWrongListEqual(), operator=(), operator==(), SetOutlinerMode(), SetRotation(), SetStyleSheets(), and SetVertical().