LibreOffice Module sw (master) 1
|
#include <tox.hxx>
Public Member Functions | |
SwForm (TOXTypes eTOXType=TOX_CONTENT) | |
SwForm (const SwForm &rForm) | |
SwForm & | operator= (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 SwFormTokens & | GetPattern (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 |
SwForm::SwForm | ( | TOXTypes | eTOXType = TOX_CONTENT | ) |
Definition at line 323 of file tox.cxx.
References SwFormToken::cTabFillChar, SwFormToken::eTabAlign, GetFormMax(), i, m_bIsRelTabPos, m_eType, m_eType, SwFormToken::nTabStopPosition, SwFormToken::sCharStyleName, SetPattern(), SetTemplate(), STR_POOLCOLL_TOX_ARY, STR_POOLCOLL_TOX_AUTHORITIES_ARY, STR_POOLCOLL_TOX_CITATION_ARY, STR_POOLCOLL_TOX_CNTNT_ARY, STR_POOLCOLL_TOX_CNTNT_EXTRA_ARY, STR_POOLCOLL_TOX_ILLUS_ARY, STR_POOLCOLL_TOX_OBJECT_ARY, STR_POOLCOLL_TOX_TABLES_ARY, STR_POOLCOLL_TOX_USER_ARY, STR_POOLCOLL_TOX_USER_EXTRA_ARY, SwResId(), TOKEN_ENTRY, TOKEN_ENTRY_NO, TOKEN_ENTRY_TEXT, TOKEN_LINK_END, TOKEN_LINK_START, TOKEN_PAGE_NUMS, TOKEN_TAB_STOP, TOX_AUTHORITIES, TOX_CITATION, TOX_CONTENT, TOX_ILLUSTRATIONS, TOX_INDEX, TOX_OBJECTS, TOX_TABLES, and TOX_USER.
void SwForm::AdjustTabStops | ( | SwDoc const & | rDoc | ) |
Definition at line 475 of file tox.cxx.
References SvxTabStopItem::Count(), SwDoc::FindTextFormatCollByName(), SvxTabStop::GetAdjustment(), SvxTabStop::GetFill(), GetFormMax(), GetPattern(), SvxTabStop::GetTabPos(), SwFormat::GetTabStops(), GetTemplate(), SetPattern(), and TOKEN_TAB_STOP.
Referenced by SwTOXBase::AdjustTabStops().
|
static |
Definition at line 535 of file tox.cxx.
Referenced by SwFormToken::GetString(), lcl_GetTokenType(), and SwTokenWindow::SetForm().
|
static |
Definition at line 533 of file tox.cxx.
Referenced by SwFormToken::GetString(), lcl_GetTokenType(), and SwTokenWindow::SetForm().
|
static |
Definition at line 526 of file tox.cxx.
Referenced by SwFormToken::GetString(), lcl_GetTokenType(), and SwTokenWindow::SetForm().
|
static |
Definition at line 531 of file tox.cxx.
Referenced by SwFormToken::GetString(), lcl_GetTokenType(), and SwTokenWindow::SetForm().
|
static |
Definition at line 532 of file tox.cxx.
Referenced by SwFormToken::GetString(), lcl_GetTokenType(), and SwTokenWindow::SetForm().
|
static |
Definition at line 530 of file tox.cxx.
Referenced by SwFormToken::GetString(), lcl_GetTokenType(), SwTokenWindow::SetForm(), and SwTOXButton::SetLinkEnd().
|
static |
Definition at line 529 of file tox.cxx.
Referenced by SwFormToken::GetString(), lcl_GetTokenType(), SwTokenWindow::SetForm(), and SwTOXButton::SetLinkStart().
|
inline |
Definition at line 683 of file tox.hxx.
References m_nFormMaxLevel.
Referenced by SwTOXEntryTabPage::ActivatePage(), AdjustTabStops(), SwMultiTOXTabDialog::CreateOrUpdateExample(), sw::ToxTextGenerator::GenerateText(), SwXDocumentIndex::TokenAccess_Impl::getByIndex(), SwXDocumentIndex::Impl::GetFormMax(), GetPattern(), GetTemplate(), lcl_GetMaxValidWordTOCLevel(), SwWW8ImplReader::Read_F_Tox(), SwXDocumentIndex::TokenAccess_Impl::replaceByIndex(), SetPattern(), SetTemplate(), and SwForm().
|
static |
Definition at line 454 of file tox.cxx.
References AUTH_TYPE_END, MAXLEVEL, TOX_AUTHORITIES, TOX_BIBLIOGRAPHY, TOX_CITATION, TOX_CONTENT, TOX_ILLUSTRATIONS, TOX_INDEX, TOX_OBJECTS, TOX_TABLES, and TOX_USER.
Referenced by SwXDocumentIndex::Impl::GetFormMax().
|
static |
Definition at line 528 of file tox.cxx.
Referenced by SwFormToken::GetString(), lcl_GetTokenType(), and SwTokenWindow::SetForm().
|
static |
Definition at line 527 of file tox.cxx.
Referenced by SwFormToken::GetString(), lcl_GetTokenType(), and SwTokenWindow::SetForm().
|
static |
Definition at line 534 of file tox.cxx.
Referenced by SwFormToken::GetString(), and lcl_GetTokenType().
const SwFormTokens & SwForm::GetPattern | ( | sal_uInt16 | nLevel | ) | const |
Definition at line 954 of file tox.cxx.
References GetFormMax(), and m_aPattern.
Referenced by AdjustTabStops(), SwMultiTOXTabDialog::CreateOrUpdateExample(), sw::ToxTextGenerator::GenerateText(), SwAuthorityField::GetAuthority(), lcl_CheckForm(), lcl_IsHyperlinked(), SwWW8ImplReader::Read_F_Tox(), and SwTokenWindow::SetForm().
|
inline |
Definition at line 672 of file tox.hxx.
References GetFormMax(), m_aTemplate, and SAL_WARN_IF.
Referenced by AdjustTabStops(), SwMultiTOXTabDialog::CreateOrUpdateExample(), SwXDocumentIndex::getPropertyValue(), SwTOXBaseSection::GetTextFormatColl(), and SwWW8ImplReader::Read_F_Tox().
|
inline |
Definition at line 678 of file tox.hxx.
References m_eType.
Referenced by SwTokenWindow::RemoveControl(), and SwTokenWindow::SetForm().
|
inline |
Definition at line 347 of file tox.hxx.
Referenced by SwMultiTOXTabDialog::CreateOrUpdateExample(), SwXDocumentIndex::getPropertyValue(), and SwTOXEntryTabPage::Reset().
|
inline |
Definition at line 344 of file tox.hxx.
Referenced by SwXDocumentIndex::getPropertyValue(), and SwTOXEntryTabPage::Reset().
Definition at line 438 of file tox.cxx.
References i, m_aPattern, m_aTemplate, m_bCommaSeparated, m_bIsRelTabPos, m_eType, and m_nFormMaxLevel.
|
inline |
Definition at line 348 of file tox.hxx.
Referenced by SwXDocumentIndex::setPropertyValue(), and SwTOXEntryTabPage::UpdateDescriptor().
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.
void SwForm::SetPattern | ( | sal_uInt16 | nLevel, |
SwFormTokens && | rName | ||
) |
Definition at line 940 of file tox.cxx.
References GetFormMax(), and m_aPattern.
Referenced by AdjustTabStops(), SwWW8ImplReader::Read_F_Tox(), SwXDocumentIndex::TokenAccess_Impl::replaceByIndex(), SwForm(), and SwTOXEntryTabPage::WriteBackLevel().
|
inline |
Definition at line 345 of file tox.hxx.
Referenced by SwXDocumentIndex::setPropertyValue(), and SwTOXEntryTabPage::UpdateDescriptor().
|
inline |
Definition at line 666 of file tox.hxx.
References GetFormMax(), m_aTemplate, and SAL_WARN_IF.
Referenced by SwWW8ImplReader::Read_F_Tox(), SwXDocumentIndex::setPropertyValue(), and SwForm().
|
private |
Definition at line 315 of file tox.hxx.
Referenced by GetPattern(), operator=(), and SetPattern().
|
private |
Definition at line 316 of file tox.hxx.
Referenced by GetTemplate(), operator=(), and SetTemplate().
|
private |
Definition at line 322 of file tox.hxx.
Referenced by operator=().
|
private |
Definition at line 321 of file tox.hxx.
Referenced by operator=(), and SwForm().
|
private |
Definition at line 318 of file tox.hxx.
Referenced by GetTOXType(), operator=(), and SwForm().
|
private |
Definition at line 319 of file tox.hxx.
Referenced by GetFormMax(), and operator=().