20#ifndef INCLUDED_SW_SOURCE_UIBASE_INC_TOXMGR_HXX
21#define INCLUDED_SW_SOURCE_UIBASE_INC_TOXMGR_HXX
41 std::optional<OUString>
43 std::optional<OUString>
45 std::unique_ptr<SwForm>
82 m_bFromObjectNames(false),
83 m_bFromChapter(false),
85 m_bLevelFromChapter(false),
86 m_bIsAuthSequence(false),
87 m_bSortByDocument(true)
93 {
return m_aStyleNames[nLvl];}
95 {m_aStyleNames[nLvl] =
rSet; }
101 std::optional<OUString>
const &
GetTitle()
const {
return m_aTitle; }
104 std::optional<OUString>
const &
GetTOUName()
const {
return m_aTOUName; }
236 SAL_DLLPRIVATE sal_uInt16 GetUserTypeID(
const OUString& rStr);
248 void DeleteTOXMark();
249 void NextTOXMark(
bool bSame=
false);
250 void PrevTOXMark(
bool bSame=
false);
253 sal_uInt16 GetTOXMarkCount()
const;
256 void SetCurTOXMark(sal_uInt16 nId);
void SetCaptionDisplay(SwCaptionDisplay eSet)
void SetTitle(const OUString &rSet)
const OUString & GetSortAlgorithm() const
const SwForm * GetForm() const
void SetContentOptions(SwTOXElement nSet)
void SetTOUName(const OUString &rSet)
void SetStyleNames(const OUString &rSet, sal_uInt16 nLvl)
LanguageType GetLanguage() const
void SetLanguage(LanguageType nLang)
OUString m_sSortAlgorithm
std::optional< OUString > m_aTOUName
void SetLevelFromChapter(bool bSet)
SwTOXElement GetContentOptions() const
std::unique_ptr< SwForm > m_pForm
SwTOXDescription(SwTOXDescription const &)=delete
void SetForm(const SwForm &rSet)
bool IsFromChapter() const
SwCaptionDisplay m_eCaptionDisplay
sal_uInt8 GetLevel() const
bool IsCreateFromObjectNames() const
void SetSequenceName(const OUString &rSet)
void SetAuthBrackets(const OUString &rSet)
SwTOIOptions GetIndexOptions() const
void SetFromChapter(bool bSet)
void SetAutoMarkURL(const OUString &rSet)
SwCaptionDisplay GetCaptionDisplay() const
OUString m_sMainEntryCharStyle
std::optional< OUString > const & GetTOUName() const
const OUString & GetSequenceName() const
SwTOOElements m_nOLEOptions
const SwTOXSortKey & GetSortKey3() const
std::optional< OUString > m_aTitle
SwTOIOptions m_nIndexOptions
SwTOXDescription(TOXTypes eType)
const OUString & GetStyleNames(sal_uInt16 nLvl) const
const OUString & GetAutoMarkURL() const
void SetSortAlgorithm(const OUString &rSet)
const SwTOXSortKey & GetSortKey1() const
std::optional< OUString > const & GetTitle() const
void SetCreateFromObjectNames(bool bSet)
void SetIndexOptions(SwTOIOptions nSet)
const SwTOXSortKey & GetSortKey2() const
const OUString & GetAuthBrackets() const
void SetSortByDocument(bool bSet)
TOXTypes GetTOXType() const
void SetAuthSequence(bool bSet)
bool IsSortByDocument() const
bool IsLevelFromChapter() const
void SetReadonly(bool bSet)
void SetLevel(sal_uInt8 nSet)
const OUString & GetMainEntryCharStyle() const
bool IsAuthSequence() const
void SetMainEntryCharStyle(const OUString &rSet)
void SetOLEOptions(SwTOOElements nOpt)
SwTOOElements GetOLEOptions() const
void SetPhoneticReadingOfAltStr(const OUString &rSet)
std::optional< OUString > maTOUName
SwTOXMarkDescription(SwTOXMarkDescription const &)=delete
std::optional< OUString > const & GetPhoneticReadingOfAltStr() const
std::optional< OUString > maPhoneticReadingOfSecKey
SwTOXMarkDescription & operator=(SwTOXMarkDescription const &)=delete
void SetPrimKey(const OUString &rSet)
std::optional< OUString > maPrimKey
std::optional< OUString > maPhoneticReadingOfPrimKey
void SetSecKey(const OUString &rSet)
SwTOXMarkDescription(TOXTypes eType)
TOXTypes GetTOXType() const
void SetTOUName(const OUString &rSet)
void SetPhoneticReadingOfPrimKey(const OUString &rSet)
std::optional< OUString > maSecKey
void SetMainEntry(bool bSet)
std::optional< OUString > const & GetAltStr() const
std::optional< OUString > const & GetPhoneticReadingOfPrimKey() const
std::optional< OUString > const & GetTOUName() const
std::optional< OUString > maAltStr
void SetAltStr(const OUString &rSet)
std::optional< OUString > maPhoneticReadingOfAltStr
void SetPhoneticReadingOfSecKey(const OUString &rSet)
std::optional< OUString > const & GetPhoneticReadingOfSecKey() const
std::optional< OUString > const & GetPrimKey() const
std::optional< OUString > const & GetSecKey() const
Built on top of SwWrtShell, provides functionality to insert, update or perform other actions on vari...
SwTOXMark * m_pCurTOXMark
SwTOXMark * GetCurTOXMark()
sal_uInt16 GetTOXMarkCount() const
Used by the UI to modify the document model.
LanguageType GetAppLanguage()
static LanguageType nLang
constexpr sal_uInt8 MAXLEVEL
std::vector< SwTOXMark * > SwTOXMarks