|
LibreOffice Module lotuswordpro (master) 1
|
line number options More...
#include <lwplnopts.hxx>
Public Types | |
| enum | { NUMBER_NONE , NUMBER_LINES , NUMBER_TEXTLINESONLY } |
| enum | { LN_RESETEACHPAGE = 0x01 , LN_COUNTBLANKLINES = 0x02 } |
Public Member Functions | |
| LwpLineNumberOptions (LwpObjectStream *pStrm) | |
| void | Read (LwpObjectStream *pStrm) |
| @descr Read LwpLineNumberOptions from object stream More... | |
| void | RegisterStyle () |
| @descr set XFLineNumberConfig More... | |
Private Attributes | |
| sal_uInt16 | m_nType |
| sal_uInt16 | m_nFlags |
| sal_uInt16 | m_nSeparator |
| sal_uInt32 | m_nSpacing |
| sal_uInt32 | m_nDistance |
line number options
Definition at line 69 of file lwplnopts.hxx.
| anonymous enum |
| Enumerator | |
|---|---|
| NUMBER_NONE | |
| NUMBER_LINES | |
| NUMBER_TEXTLINESONLY | |
Definition at line 82 of file lwplnopts.hxx.
| anonymous enum |
| Enumerator | |
|---|---|
| LN_RESETEACHPAGE | |
| LN_COUNTBLANKLINES | |
Definition at line 88 of file lwplnopts.hxx.
|
explicit |
Definition at line 59 of file lwplnopts.cxx.
References Read().
| void LwpLineNumberOptions::Read | ( | LwpObjectStream * | pStrm | ) |
@descr Read LwpLineNumberOptions from object stream
Definition at line 63 of file lwplnopts.cxx.
References m_nDistance, m_nFlags, m_nSeparator, m_nSpacing, m_nType, LwpObjectStream::QuickReaduInt16(), LwpObjectStream::QuickReaduInt32(), and LwpObjectStream::SkipExtra().
Referenced by LwpLineNumberOptions().
| void LwpLineNumberOptions::RegisterStyle | ( | ) |
@descr set XFLineNumberConfig
Definition at line 75 of file lwplnopts.cxx.
References LwpTools::ConvertFromUnitsToMetric(), enumXFLineNumberLeft, LwpGlobalMgr::GetInstance(), LwpGlobalMgr::GetXFStyleManager(), LN_COUNTBLANKLINES, LN_RESETEACHPAGE, m_nDistance, m_nFlags, m_nSeparator, m_nType, NUMBER_NONE, XFLineNumberConfig::SetCountEmptyLines(), XFStyleManager::SetLineNumberConfig(), XFLineNumberConfig::SetNumberIncrement(), XFLineNumberConfig::SetNumberOffset(), XFLineNumberConfig::SetNumberPosition(), and XFLineNumberConfig::SetRestartOnPage().
|
private |
Definition at line 79 of file lwplnopts.hxx.
Referenced by Read(), and RegisterStyle().
|
private |
Definition at line 76 of file lwplnopts.hxx.
Referenced by Read(), and RegisterStyle().
|
private |
Definition at line 77 of file lwplnopts.hxx.
Referenced by Read(), and RegisterStyle().
|
private |
Definition at line 78 of file lwplnopts.hxx.
Referenced by Read().
|
private |
Definition at line 75 of file lwplnopts.hxx.
Referenced by Read(), and RegisterStyle().