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

#include <outliner.hxx>

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

Public Member Functions

 ~Paragraph ()
 
void dumpAsXml (xmlTextWriterPtr pWriter) const
 

Private Member Functions

Paragraphoperator= (const Paragraph &rPara)=delete
 
bool IsVisible () const
 
void SetText (const OUString &rText)
 
void Invalidate ()
 
void SetDepth (sal_Int16 nNewDepth)
 
const OUString & GetText () const
 
 Paragraph (sal_Int16 nDepth)
 
 Paragraph (const Paragraph &)=delete
 
 Paragraph (const ParagraphData &)
 
sal_Int16 GetDepth () const
 
sal_Int16 GetNumberingStartValue () const
 
void SetNumberingStartValue (sal_Int16 nNumberingStartValue)
 
bool IsParaIsNumberingRestart () const
 
void SetParaIsNumberingRestart (bool bParaIsNumberingRestart)
 
void SetFlag (ParaFlag nFlag)
 
void RemoveFlag (ParaFlag nFlag)
 
bool HasFlag (ParaFlag nFlag) const
 

Private Attributes

OUString aBulText
 
Size aBulSize
 
ParaFlag nFlags
 
bool bVisible
 

Friends

class Outliner
 
class ParagraphList
 
class OutlinerView
 
class OutlinerParaObject
 
class OutlinerEditEng
 
class OutlinerUndoCheckPara
 
class OutlinerUndoChangeParaFlags
 

Additional Inherited Members

- Protected Member Functions inherited from ParagraphData
 ParagraphData ()
 
bool operator== (const ParagraphData &rCandidate) const
 
sal_Int16 getDepth () const
 
- Protected Attributes inherited from ParagraphData
sal_Int16 nDepth
 
sal_Int16 mnNumberingStartValue
 
bool mbParaIsNumberingRestart
 

Detailed Description

Definition at line 117 of file outliner.hxx.

Constructor & Destructor Documentation

◆ Paragraph() [1/3]

Paragraph::Paragraph ( sal_Int16  nDepth)
private

Definition at line 45 of file paralist.cxx.

References bVisible, DBG_ASSERT, ParagraphData::nDepth, nFlags, NONE, and SVX_MAX_NUM.

◆ Paragraph() [2/3]

Paragraph::Paragraph ( const Paragraph )
privatedelete

◆ Paragraph() [3/3]

Paragraph::Paragraph ( const ParagraphData rData)
private

◆ ~Paragraph()

Paragraph::~Paragraph ( )

Definition at line 66 of file paralist.cxx.

Member Function Documentation

◆ dumpAsXml()

void Paragraph::dumpAsXml ( xmlTextWriterPtr  pWriter) const

◆ GetDepth()

sal_Int16 Paragraph::GetDepth ( ) const
inlineprivate

◆ GetNumberingStartValue()

sal_Int16 Paragraph::GetNumberingStartValue ( ) const
inlineprivate

◆ GetText()

const OUString & Paragraph::GetText ( ) const
inlineprivate

◆ HasFlag()

bool Paragraph::HasFlag ( ParaFlag  nFlag) const
inlineprivate

◆ Invalidate()

void Paragraph::Invalidate ( )
inlineprivate

◆ IsParaIsNumberingRestart()

bool Paragraph::IsParaIsNumberingRestart ( ) const
inlineprivate

◆ IsVisible()

bool Paragraph::IsVisible ( ) const
inlineprivate

◆ operator=()

Paragraph & Paragraph::operator= ( const Paragraph rPara)
privatedelete

◆ RemoveFlag()

void Paragraph::RemoveFlag ( ParaFlag  nFlag)
inlineprivate

Definition at line 154 of file outliner.hxx.

References nFlags.

Referenced by OutlinerView::Indent().

◆ SetDepth()

void Paragraph::SetDepth ( sal_Int16  nNewDepth)
inlineprivate

◆ SetFlag()

void Paragraph::SetFlag ( ParaFlag  nFlag)
inlineprivate

Definition at line 153 of file outliner.hxx.

References nFlags.

Referenced by OutlinerView::Indent(), and Outliner::SetParaFlag().

◆ SetNumberingStartValue()

void Paragraph::SetNumberingStartValue ( sal_Int16  nNumberingStartValue)
private

◆ SetParaIsNumberingRestart()

void Paragraph::SetParaIsNumberingRestart ( bool  bParaIsNumberingRestart)
private

◆ SetText()

void Paragraph::SetText ( const OUString &  rText)
inlineprivate

Definition at line 136 of file outliner.hxx.

References aBulSize, aBulText, and Size::setWidth().

Referenced by Outliner::ImplCalcBulletText().

Friends And Related Function Documentation

◆ Outliner

friend class Outliner
friend

Definition at line 120 of file outliner.hxx.

◆ OutlinerEditEng

friend class OutlinerEditEng
friend

Definition at line 124 of file outliner.hxx.

◆ OutlinerParaObject

friend class OutlinerParaObject
friend

Definition at line 123 of file outliner.hxx.

◆ OutlinerUndoChangeParaFlags

friend class OutlinerUndoChangeParaFlags
friend

Definition at line 126 of file outliner.hxx.

◆ OutlinerUndoCheckPara

friend class OutlinerUndoCheckPara
friend

Definition at line 125 of file outliner.hxx.

◆ OutlinerView

friend class OutlinerView
friend

Definition at line 122 of file outliner.hxx.

◆ ParagraphList

friend class ParagraphList
friend

Definition at line 121 of file outliner.hxx.

Member Data Documentation

◆ aBulSize

Size Paragraph::aBulSize
private

◆ aBulText

OUString Paragraph::aBulText
private

Definition at line 130 of file outliner.hxx.

Referenced by GetText(), and SetText().

◆ bVisible

bool Paragraph::bVisible
private

◆ nFlags

ParaFlag Paragraph::nFlags
private

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