LibreOffice Module sw (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SwLineNumberInfo Class Referencefinal

< purpose of derivation from SwClient: character style for displaying the numbers. More...

#include <lineinfo.hxx>

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

Public Member Functions

 SwLineNumberInfo ()
 
 SwLineNumberInfo (const SwLineNumberInfo &)
 
SwLineNumberInfooperator= (const SwLineNumberInfo &)
 
SwCharFormatGetCharFormat (IDocumentStylePoolAccess &rIDSPA) const
 
void SetCharFormat (SwCharFormat *)
 
const SvxNumberTypeGetNumType () const
 
void SetNumType (SvxNumberType aNew)
 
const OUString & GetDivider () const
 
void SetDivider (const OUString &r)
 
sal_uInt16 GetDividerCountBy () const
 
void SetDividerCountBy (sal_uInt16 n)
 
sal_uInt16 GetPosFromLeft () const
 
void SetPosFromLeft (sal_uInt16 n)
 
sal_uInt16 GetCountBy () const
 
void SetCountBy (sal_uInt16 n)
 
LineNumberPosition GetPos () const
 
void SetPos (LineNumberPosition eP)
 
bool IsPaintLineNumbers () const
 
void SetPaintLineNumbers (bool b)
 
bool IsCountBlankLines () const
 
void SetCountBlankLines (bool b)
 
bool IsCountInFlys () const
 
void SetCountInFlys (bool b)
 
bool IsRestartEachPage () const
 
void SetRestartEachPage (bool b)
 
bool HasCharFormat () const
 
- Public Member Functions inherited from SwClient
 SwClient ()
 
 SwClient (SwClient &&) noexcept
 
virtual ~SwClient () override
 
virtual void SwClientNotify (const SwModify &, const SfxHint &rHint) override
 
std::unique_ptr< sw::ModifyChangedHintCheckRegistration (const SfxPoolItem *pOldValue)
 
virtual void ModifyNotification (const SfxPoolItem *pOldValue, const SfxPoolItem *pNewValue)
 
void SwClientNotifyCall (const SwModify &rModify, const SfxHint &rHint)
 
const SwModifyGetRegisteredIn () const
 
SwModifyGetRegisteredIn ()
 
void EndListeningAll ()
 
void StartListeningToSameModifyAs (const SwClient &)
 
virtual bool GetInfo (SfxPoolItem &) const
 
- Public Member Functions inherited from sw::WriterListener
bool IsLast () const
 

Private Member Functions

virtual void Modify (const SfxPoolItem *, const SfxPoolItem *) override
 

Private Attributes

SvxNumberType aType
 e.g. roman linenumbers More...
 
OUString aDivider
 String for additional interval (vert. lines user defined) More...
 
sal_uInt16 nPosFromLeft
 Position for paint. More...
 
sal_uInt16 nCountBy
 Paint only for every n line. More...
 
sal_uInt16 nDividerCountBy
 Interval for display of an user defined string every n lines. More...
 
LineNumberPosition ePos
 Where should the display occur (number and divider) More...
 
bool bPaintLineNumbers
 Should anything be displayed? More...
 
bool bCountBlankLines
 Count empty lines? More...
 
bool bCountInFlys
 Count also within FlyFrames? More...
 
bool bRestartEachPage
 Restart counting at the first paragraph of each page (even on follows when paragraphs are split) More...
 

Additional Inherited Members

- Protected Member Functions inherited from SwClient
 SwClient (SwModify *pToRegisterIn)
 
SwModifyGetRegisteredInNonConst () const
 
- Protected Member Functions inherited from sw::WriterListener
 WriterListener ()
 
virtual ~WriterListener () COVERITY_NOEXCEPT_FALSE
 

Detailed Description

< purpose of derivation from SwClient: character style for displaying the numbers.

Definition at line 37 of file lineinfo.hxx.

Constructor & Destructor Documentation

SwLineNumberInfo::SwLineNumberInfo ( )

Definition at line 54 of file lineinfo.cxx.

References ePos.

SwLineNumberInfo::SwLineNumberInfo ( const SwLineNumberInfo rCpy)

Definition at line 66 of file lineinfo.cxx.

References ePos, and SwClient::StartListeningToSameModifyAs().

Member Function Documentation

SwCharFormat * SwLineNumberInfo::GetCharFormat ( IDocumentStylePoolAccess rIDSPA) const
sal_uInt16 SwLineNumberInfo::GetCountBy ( ) const
inline
const OUString& SwLineNumberInfo::GetDivider ( ) const
inline

Definition at line 66 of file lineinfo.hxx.

Referenced by SwXLineNumberingProperties::getPropertyValue(), and operator=().

sal_uInt16 SwLineNumberInfo::GetDividerCountBy ( ) const
inline

Definition at line 68 of file lineinfo.hxx.

Referenced by SwXLineNumberingProperties::getPropertyValue(), and operator=().

const SvxNumberType& SwLineNumberInfo::GetNumType ( ) const
inline

Definition at line 63 of file lineinfo.hxx.

Referenced by SwXLineNumberingProperties::getPropertyValue(), and operator=().

LineNumberPosition SwLineNumberInfo::GetPos ( ) const
inline

Definition at line 77 of file lineinfo.hxx.

Referenced by SwXLineNumberingProperties::getPropertyValue(), and operator=().

sal_uInt16 SwLineNumberInfo::GetPosFromLeft ( ) const
inline
bool SwLineNumberInfo::HasCharFormat ( ) const
inline

Definition at line 92 of file lineinfo.hxx.

References SwClient::GetRegisteredIn().

Referenced by SwXLineNumberingProperties::getPropertyValue().

bool SwLineNumberInfo::IsCountBlankLines ( ) const
inline
bool SwLineNumberInfo::IsCountInFlys ( ) const
inline
bool SwLineNumberInfo::IsPaintLineNumbers ( ) const
inline
bool SwLineNumberInfo::IsRestartEachPage ( ) const
inline
void SwLineNumberInfo::Modify ( const SfxPoolItem pOld,
const SfxPoolItem  
)
overrideprivatevirtual
SwLineNumberInfo & SwLineNumberInfo::operator= ( const SwLineNumberInfo rCpy)
void SwLineNumberInfo::SetCharFormat ( SwCharFormat pChFormat)

Definition at line 109 of file lineinfo.cxx.

References SwModify::Add().

void SwLineNumberInfo::SetCountBlankLines ( bool  b)
inline

Definition at line 84 of file lineinfo.hxx.

void SwLineNumberInfo::SetCountBy ( sal_uInt16  n)
inline

Definition at line 75 of file lineinfo.hxx.

void SwLineNumberInfo::SetCountInFlys ( bool  b)
inline

Definition at line 87 of file lineinfo.hxx.

void SwLineNumberInfo::SetDivider ( const OUString &  r)
inline

Definition at line 67 of file lineinfo.hxx.

void SwLineNumberInfo::SetDividerCountBy ( sal_uInt16  n)
inline

Definition at line 69 of file lineinfo.hxx.

void SwLineNumberInfo::SetNumType ( SvxNumberType  aNew)
inline

Definition at line 64 of file lineinfo.hxx.

void SwLineNumberInfo::SetPaintLineNumbers ( bool  b)
inline

Definition at line 81 of file lineinfo.hxx.

Referenced by SwWW8ImplReader::HandleLineNumbering().

void SwLineNumberInfo::SetPos ( LineNumberPosition  eP)
inline

Definition at line 78 of file lineinfo.hxx.

void SwLineNumberInfo::SetPosFromLeft ( sal_uInt16  n)
inline

Definition at line 72 of file lineinfo.hxx.

void SwLineNumberInfo::SetRestartEachPage ( bool  b)
inline

Definition at line 90 of file lineinfo.hxx.

Member Data Documentation

OUString SwLineNumberInfo::aDivider
private

String for additional interval (vert. lines user defined)

Definition at line 41 of file lineinfo.hxx.

Referenced by operator=().

SvxNumberType SwLineNumberInfo::aType
private

e.g. roman linenumbers

Definition at line 40 of file lineinfo.hxx.

Referenced by operator=().

bool SwLineNumberInfo::bCountBlankLines
private

Count empty lines?

Definition at line 48 of file lineinfo.hxx.

Referenced by operator=().

bool SwLineNumberInfo::bCountInFlys
private

Count also within FlyFrames?

Definition at line 49 of file lineinfo.hxx.

Referenced by operator=().

bool SwLineNumberInfo::bPaintLineNumbers
private

Should anything be displayed?

Definition at line 47 of file lineinfo.hxx.

Referenced by operator=().

bool SwLineNumberInfo::bRestartEachPage
private

Restart counting at the first paragraph of each page (even on follows when paragraphs are split)

Definition at line 50 of file lineinfo.hxx.

Referenced by operator=().

LineNumberPosition SwLineNumberInfo::ePos
private

Where should the display occur (number and divider)

Definition at line 46 of file lineinfo.hxx.

Referenced by operator=().

sal_uInt16 SwLineNumberInfo::nCountBy
private

Paint only for every n line.

Definition at line 43 of file lineinfo.hxx.

Referenced by operator=().

sal_uInt16 SwLineNumberInfo::nDividerCountBy
private

Interval for display of an user defined string every n lines.

Definition at line 44 of file lineinfo.hxx.

Referenced by operator=().

sal_uInt16 SwLineNumberInfo::nPosFromLeft
private

Position for paint.

Definition at line 42 of file lineinfo.hxx.

Referenced by operator=().


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