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 312 of file tox.hxx.

Constructor & Destructor Documentation

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

Definition at line 422 of file tox.cxx.

References m_eType.

Member Function Documentation

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

Definition at line 525 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 524 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 683 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 428 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 347 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 943 of file tox.cxx.

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

void SwForm::SetRelTabPos ( bool  b)
inline

Definition at line 344 of file tox.hxx.

Referenced by SwTOXEntryTabPage::UpdateDescriptor().

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

Definition at line 671 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 314 of file tox.hxx.

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

OUString SwForm::m_aTemplate[AUTH_TYPE_END+1]
private

Definition at line 315 of file tox.hxx.

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

bool SwForm::m_bCommaSeparated
private

Definition at line 321 of file tox.hxx.

Referenced by operator=().

bool SwForm::m_bIsRelTabPos
private

Definition at line 320 of file tox.hxx.

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

TOXTypes SwForm::m_eType
private

Definition at line 317 of file tox.hxx.

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

sal_uInt16 SwForm::m_nFormMaxLevel
private

Definition at line 318 of file tox.hxx.

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


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