LibreOffice Module lotuswordpro (master) 1
Public Member Functions | Private Attributes | Static Private Attributes | List of all members
XFLineNumberConfig Class Reference

#include <xflinenumberconfig.hxx>

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

Public Member Functions

 XFLineNumberConfig ()
 
void SetNumberOffset (double offset)
 
void SetNumberPosition (enumXFLineNumberPos pos)
 
void SetNumberIncrement (sal_Int32 increment)
 
void SetRestartOnPage (bool restart=true)
 
void SetCountEmptyLines (bool empty=true)
 
virtual void ToXml (IXFStream *pStrm) override
 
- Public Member Functions inherited from XFStyle
 XFStyle ()
 
virtual ~XFStyle () override
 
 XFStyle (XFStyle const &)=default
 
 XFStyle (XFStyle &&)=default
 
XFStyleoperator= (XFStyle const &)=default
 
XFStyleoperator= (XFStyle &&)=default
 
virtual OUString GetStyleName () override
 @descr get style name. More...
 
virtual void SetStyleName (const OUString &styleName) override
 @descr set style name. More...
 
virtual OUString GetParentStyleName () override
 @descr set parent style name. More...
 
virtual void SetParentStyleName (const OUString &styleName) override
 @descr return parent style name. More...
 
virtual enumXFStyle GetStyleFamily () override
 @descr get style family. More...
 
virtual bool Equal (IXFStyle *pStyle) override
 @descr decide whether two style are equal. More...
 
- Public Member Functions inherited from IXFStyle
 IXFStyle ()=default
 
 IXFStyle (IXFStyle const &)=default
 
 IXFStyle (IXFStyle &&)=default
 
IXFStyleoperator= (IXFStyle const &)=default
 
IXFStyleoperator= (IXFStyle &&)=default
 
virtual ~IXFStyle ()
 
virtual OUString GetStyleName ()=0
 @descr: return the style name. More...
 
virtual void SetStyleName (const OUString &styleName)=0
 @descr: set the name of the style. More...
 
virtual OUString GetParentStyleName ()=0
 @descr return the parent style name. More...
 
virtual void SetParentStyleName (const OUString &parent)=0
 @descr: Parent paragraph style. More...
 
virtual enumXFStyle GetStyleFamily ()=0
 @descr: return the style family. More...
 
virtual bool Equal (IXFStyle *pStyle)=0
 @descr: Compare whatever two style object are the same. More...
 
virtual void ToXml (IXFStream *stream)=0
 

Private Attributes

enumXFLineNumberPos m_ePosition
 
double m_fOffset
 
sal_Int32 m_nIncrement
 
OUString m_strSeparator
 
OUString m_strNumFmt
 
OUString m_strTextStyle
 
bool m_bRestartOnPage
 
bool m_bCountEmptyLines
 

Static Private Attributes

static const sal_Int32 m_nSepIncrement = 3
 

Additional Inherited Members

- Protected Attributes inherited from XFStyle
OUString m_strStyleName
 
OUString m_strParentStyleName
 

Detailed Description

Definition at line 66 of file xflinenumberconfig.hxx.

Constructor & Destructor Documentation

◆ XFLineNumberConfig()

XFLineNumberConfig::XFLineNumberConfig ( )
inline

Definition at line 96 of file xflinenumberconfig.hxx.

References m_ePosition.

Member Function Documentation

◆ SetCountEmptyLines()

void XFLineNumberConfig::SetCountEmptyLines ( bool  empty = true)
inline

Definition at line 124 of file xflinenumberconfig.hxx.

References m_bCountEmptyLines.

Referenced by LwpLineNumberOptions::RegisterStyle().

◆ SetNumberIncrement()

void XFLineNumberConfig::SetNumberIncrement ( sal_Int32  increment)
inline

Definition at line 114 of file xflinenumberconfig.hxx.

References m_nIncrement.

Referenced by LwpLineNumberOptions::RegisterStyle().

◆ SetNumberOffset()

void XFLineNumberConfig::SetNumberOffset ( double  offset)
inline

Definition at line 104 of file xflinenumberconfig.hxx.

References m_fOffset.

Referenced by LwpLineNumberOptions::RegisterStyle().

◆ SetNumberPosition()

void XFLineNumberConfig::SetNumberPosition ( enumXFLineNumberPos  pos)
inline

Definition at line 109 of file xflinenumberconfig.hxx.

References m_ePosition, and position().

Referenced by LwpLineNumberOptions::RegisterStyle().

◆ SetRestartOnPage()

void XFLineNumberConfig::SetRestartOnPage ( bool  restart = true)
inline

Definition at line 119 of file xflinenumberconfig.hxx.

References m_bRestartOnPage.

Referenced by LwpLineNumberOptions::RegisterStyle().

◆ ToXml()

void XFLineNumberConfig::ToXml ( IXFStream pStrm)
inlineoverridevirtual

Member Data Documentation

◆ m_bCountEmptyLines

bool XFLineNumberConfig::m_bCountEmptyLines
private

Definition at line 93 of file xflinenumberconfig.hxx.

Referenced by SetCountEmptyLines(), and ToXml().

◆ m_bRestartOnPage

bool XFLineNumberConfig::m_bRestartOnPage
private

Definition at line 92 of file xflinenumberconfig.hxx.

Referenced by SetRestartOnPage(), and ToXml().

◆ m_ePosition

enumXFLineNumberPos XFLineNumberConfig::m_ePosition
private

Definition at line 85 of file xflinenumberconfig.hxx.

Referenced by SetNumberPosition(), and ToXml().

◆ m_fOffset

double XFLineNumberConfig::m_fOffset
private

Definition at line 86 of file xflinenumberconfig.hxx.

Referenced by SetNumberOffset(), and ToXml().

◆ m_nIncrement

sal_Int32 XFLineNumberConfig::m_nIncrement
private

Definition at line 87 of file xflinenumberconfig.hxx.

Referenced by SetNumberIncrement(), and ToXml().

◆ m_nSepIncrement

const sal_Int32 XFLineNumberConfig::m_nSepIncrement = 3
staticprivate

Definition at line 88 of file xflinenumberconfig.hxx.

Referenced by ToXml().

◆ m_strNumFmt

OUString XFLineNumberConfig::m_strNumFmt
private

Definition at line 90 of file xflinenumberconfig.hxx.

Referenced by ToXml().

◆ m_strSeparator

OUString XFLineNumberConfig::m_strSeparator
private

Definition at line 89 of file xflinenumberconfig.hxx.

Referenced by ToXml().

◆ m_strTextStyle

OUString XFLineNumberConfig::m_strTextStyle
private

Definition at line 91 of file xflinenumberconfig.hxx.

Referenced by ToXml().


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