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

#include <tox.hxx>

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, SwFormTokens &&rName)
 
void SetPattern (sal_uInt16 nLevel, std::u16string_view aStr)
 
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 313 of file tox.hxx.

Constructor & Destructor Documentation

◆ SwForm() [1/2]

SwForm::SwForm ( TOXTypes  eTOXType = TOX_CONTENT)

◆ SwForm() [2/2]

SwForm::SwForm ( const SwForm rForm)

Definition at line 432 of file tox.cxx.

References m_eType.

Member Function Documentation

◆ AdjustTabStops()

void SwForm::AdjustTabStops ( SwDoc const &  rDoc)

◆ GetFormAuth()

OUString SwForm::GetFormAuth ( )
static

Definition at line 535 of file tox.cxx.

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

◆ GetFormChapterMark()

OUString SwForm::GetFormChapterMark ( )
static

Definition at line 533 of file tox.cxx.

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

◆ GetFormEntry()

OUString SwForm::GetFormEntry ( )
static

Definition at line 526 of file tox.cxx.

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

◆ GetFormEntryNum()

OUString SwForm::GetFormEntryNum ( )
static

Definition at line 531 of file tox.cxx.

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

◆ GetFormEntryText()

OUString SwForm::GetFormEntryText ( )
static

Definition at line 532 of file tox.cxx.

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

◆ GetFormLinkEnd()

OUString SwForm::GetFormLinkEnd ( )
static

◆ GetFormLinkStt()

OUString SwForm::GetFormLinkStt ( )
static

◆ GetFormMax()

sal_uInt16 SwForm::GetFormMax ( ) const
inline

◆ GetFormMaxLevel()

sal_uInt16 SwForm::GetFormMaxLevel ( TOXTypes  eType)
static

◆ GetFormPageNums()

OUString SwForm::GetFormPageNums ( )
static

Definition at line 528 of file tox.cxx.

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

◆ GetFormTab()

OUString SwForm::GetFormTab ( )
static

Definition at line 527 of file tox.cxx.

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

◆ GetFormText()

OUString SwForm::GetFormText ( )
static

Definition at line 534 of file tox.cxx.

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

◆ GetPattern()

const SwFormTokens & SwForm::GetPattern ( sal_uInt16  nLevel) const

◆ GetTemplate()

OUString const & SwForm::GetTemplate ( sal_uInt16  nLevel) const
inline

◆ GetTOXType()

TOXTypes SwForm::GetTOXType ( ) const
inline

Definition at line 678 of file tox.hxx.

References m_eType.

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

◆ IsCommaSeparated()

bool SwForm::IsCommaSeparated ( ) const
inline

◆ IsRelTabPos()

bool SwForm::IsRelTabPos ( ) const
inline

Definition at line 344 of file tox.hxx.

Referenced by SwXDocumentIndex::getPropertyValue(), and SwTOXEntryTabPage::Reset().

◆ operator=()

SwForm & SwForm::operator= ( const SwForm rForm)

Definition at line 438 of file tox.cxx.

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

◆ SetCommaSeparated()

void SwForm::SetCommaSeparated ( bool  b)
inline

◆ SetPattern() [1/2]

void SwForm::SetPattern ( sal_uInt16  nLevel,
std::u16string_view  aStr 
)

Definition at line 946 of file tox.cxx.

References aHelper, aStr, GetFormMax(), and m_aPattern.

◆ SetPattern() [2/2]

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

◆ SetRelTabPos()

void SwForm::SetRelTabPos ( bool  b)
inline

◆ SetTemplate()

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

Member Data Documentation

◆ m_aPattern

SwFormTokens SwForm::m_aPattern[AUTH_TYPE_END+1]
private

Definition at line 315 of file tox.hxx.

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

◆ m_aTemplate

OUString SwForm::m_aTemplate[AUTH_TYPE_END+1]
private

Definition at line 316 of file tox.hxx.

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

◆ m_bCommaSeparated

bool SwForm::m_bCommaSeparated
private

Definition at line 322 of file tox.hxx.

Referenced by operator=().

◆ m_bIsRelTabPos

bool SwForm::m_bIsRelTabPos
private

Definition at line 321 of file tox.hxx.

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

◆ m_eType

TOXTypes SwForm::m_eType
private

Definition at line 318 of file tox.hxx.

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

◆ m_nFormMaxLevel

sal_uInt16 SwForm::m_nFormMaxLevel
private

Definition at line 319 of file tox.hxx.

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


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