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

#include <tox.hxx>

Collaboration diagram for SwForm:
[legend]

Public Member Functions

 SwForm (TOXTypes eTOXType=TOX_CONTENT)
 
 SwForm (const SwForm &rForm)
 
SwFormoperator= (const SwForm &rForm)
 
void SetTemplate (sal_uInt16 nLevel, const OUString &rName)
 
OUString const & GetTemplate (sal_uInt16 nLevel) const
 
void SetPattern (sal_uInt16 nLevel, const SwFormTokens &rName)
 
void SetPattern (sal_uInt16 nLevel, const OUString &rStr)
 
const SwFormTokensGetPattern (sal_uInt16 nLevel) const
 
void AdjustTabStops (SwDoc const &rDoc)
 
TOXTypes GetTOXType () const
 
sal_uInt16 GetFormMax () const
 
bool IsRelTabPos () const
 
void SetRelTabPos (bool b)
 
bool IsCommaSeparated () const
 
void SetCommaSeparated (bool b)
 

Static Public Member Functions

static sal_uInt16 GetFormMaxLevel (TOXTypes eType)
 
static OUString GetFormEntry ()
 
static OUString GetFormTab ()
 
static OUString GetFormPageNums ()
 
static OUString GetFormLinkStt ()
 
static OUString GetFormLinkEnd ()
 
static OUString GetFormEntryNum ()
 
static OUString GetFormEntryText ()
 
static OUString GetFormChapterMark ()
 
static OUString GetFormText ()
 
static OUString GetFormAuth ()
 

Private Attributes

SwFormTokens m_aPattern [AUTH_TYPE_END+1]
 
OUString m_aTemplate [AUTH_TYPE_END+1]
 
TOXTypes m_eType
 
sal_uInt16 m_nFormMaxLevel
 
bool m_bIsRelTabPos: 1
 
bool m_bCommaSeparated: 1
 

Detailed Description

Definition at line 276 of file tox.hxx.

Constructor & Destructor Documentation

SwForm::SwForm ( TOXTypes  eTOXType = TOX_CONTENT)
SwForm::SwForm ( const SwForm rForm)

Definition at line 408 of file tox.cxx.

Member Function Documentation

void SwForm::AdjustTabStops ( SwDoc const &  rDoc)
OUString SwForm::GetFormAuth ( )
static

Definition at line 511 of file tox.cxx.

Referenced by SwFormToken::GetString(), lcl_GetTokenType(), and SwTokenWindow::SetForm().

OUString SwForm::GetFormChapterMark ( )
static
OUString SwForm::GetFormEntry ( )
static
OUString SwForm::GetFormEntryNum ( )
static
OUString SwForm::GetFormEntryText ( )
static
OUString SwForm::GetFormLinkEnd ( )
static
OUString SwForm::GetFormLinkStt ( )
static
sal_uInt16 SwForm::GetFormMax ( ) const
inline
sal_uInt16 SwForm::GetFormMaxLevel ( TOXTypes  eType)
static
OUString SwForm::GetFormPageNums ( )
static
OUString SwForm::GetFormTab ( )
static
OUString SwForm::GetFormText ( )
static

Definition at line 510 of file tox.cxx.

Referenced by SwFormToken::GetString(), and lcl_GetTokenType().

const SwFormTokens & SwForm::GetPattern ( sal_uInt16  nLevel) const
OUString const & SwForm::GetTemplate ( sal_uInt16  nLevel) const
inline
TOXTypes SwForm::GetTOXType ( ) const
inline

Definition at line 648 of file tox.hxx.

References m_eType.

Referenced by SwTokenWindow::RemoveControl(), and SwTokenWindow::SetForm().

bool SwForm::IsCommaSeparated ( ) const
inline
bool SwForm::IsRelTabPos ( ) const
inline
SwForm & SwForm::operator= ( const SwForm rForm)

Definition at line 414 of file tox.cxx.

References i, m_aPattern, m_aTemplate, m_bCommaSeparated, m_bIsRelTabPos, m_eType, and m_nFormMaxLevel.

void SwForm::SetCommaSeparated ( bool  b)
inline

Definition at line 311 of file tox.hxx.

Referenced by SwTOXEntryTabPage::UpdateDescriptor().

void SwForm::SetPattern ( sal_uInt16  nLevel,
const SwFormTokens rName 
)
void SwForm::SetPattern ( sal_uInt16  nLevel,
const OUString &  rStr 
)

Definition at line 929 of file tox.cxx.

References GetFormMax(), SwFormTokensHelper::GetTokens(), and m_aPattern.

void SwForm::SetRelTabPos ( bool  b)
inline

Definition at line 308 of file tox.hxx.

Referenced by SwTOXEntryTabPage::UpdateDescriptor().

void SwForm::SetTemplate ( sal_uInt16  nLevel,
const OUString &  rName 
)
inline

Definition at line 636 of file tox.hxx.

References GetFormMax(), m_aTemplate, and SAL_WARN_IF.

Referenced by SwForm().

Member Data Documentation

SwFormTokens SwForm::m_aPattern[AUTH_TYPE_END+1]
private

Definition at line 278 of file tox.hxx.

Referenced by GetPattern(), operator=(), and SetPattern().

OUString SwForm::m_aTemplate[AUTH_TYPE_END+1]
private

Definition at line 279 of file tox.hxx.

Referenced by GetTemplate(), operator=(), and SetTemplate().

bool SwForm::m_bCommaSeparated
private

Definition at line 285 of file tox.hxx.

Referenced by operator=().

bool SwForm::m_bIsRelTabPos
private

Definition at line 284 of file tox.hxx.

Referenced by operator=(), and SwForm().

TOXTypes SwForm::m_eType
private

Definition at line 281 of file tox.hxx.

Referenced by GetTOXType(), operator=(), and SwForm().

sal_uInt16 SwForm::m_nFormMaxLevel
private

Definition at line 282 of file tox.hxx.

Referenced by GetFormMax(), and operator=().


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