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>
59 bool m_bFromObjectNames : 1;
60 bool m_bFromChapter : 1;
62 bool m_bLevelFromChapter : 1;
63 bool m_bIsAuthSequence :1;
64 bool m_bSortByDocument :1;
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; }
100 void SetTitle(
const OUString& rSet) { m_aTitle = rSet; }
101 std::optional<OUString>
const &
GetTitle()
const {
return m_aTitle; }
104 std::optional<OUString>
const &
GetTOUName()
const {
return m_aTOUName; }
207 void SetSecKey(
const OUString& rSet) { maSecKey = rSet; }
210 void SetAltStr(
const OUString& rSet) { maAltStr = rSet; }
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 SetTOUName(const OUString &rSet)
std::unique_ptr< SwForm > m_pForm
SwTOXElement GetContentOptions() const
void SetPrimKey(const OUString &rSet)
std::optional< OUString > const & GetTOUName() const
void SetMainEntryCharStyle(const OUString &rSet)
std::optional< OUString > const & GetPhoneticReadingOfSecKey() const
const SwTOXSortKey & GetSortKey2() const
SwTOOElements m_nOLEOptions
void SetSequenceName(const OUString &rSet)
const OUString & GetSequenceName() const
std::optional< OUString > maPhoneticReadingOfPrimKey
std::vector< SwTOXMark * > SwTOXMarks
TOXTypes GetTOXType() const
void SetAuthSequence(bool bSet)
void SetReadonly(bool bSet)
SwCaptionDisplay m_eCaptionDisplay
constexpr sal_uInt8 MAXLEVEL
void SetStyleNames(const OUString &rSet, sal_uInt16 nLvl)
std::optional< OUString > const & GetSecKey() const
SwTOXMarkDescription(TOXTypes eType)
void SetLevel(sal_uInt8 nSet)
void SetIndexOptions(SwTOIOptions nSet)
SwTOXMarkDescription & operator=(SwTOXMarkDescription const &)=delete
std::optional< OUString > maPhoneticReadingOfSecKey
SwTOIOptions m_nIndexOptions
static LanguageType nLang
Used by the UI to modify the document model.
std::optional< OUString > maAltStr
SwCaptionDisplay GetCaptionDisplay() const
std::optional< OUString > maTOUName
std::optional< OUString > const & GetPhoneticReadingOfPrimKey() const
void SetPhoneticReadingOfSecKey(const OUString &rSet)
void SetSortByDocument(bool bSet)
SwTOIOptions GetIndexOptions() const
TOXTypes GetTOXType() const
bool IsCreateFromObjectNames() const
bool IsLevelFromChapter() const
void SetAuthBrackets(const OUString &rSet)
std::optional< OUString > maPhoneticReadingOfAltStr
void SetTitle(const OUString &rSet)
std::optional< OUString > maSecKey
std::optional< OUString > maPrimKey
void SetPhoneticReadingOfPrimKey(const OUString &rSet)
bool IsAuthSequence() const
bool IsFromChapter() const
const SwTOXSortKey & GetSortKey3() const
void SetFromChapter(bool bSet)
sal_uInt8 GetLevel() const
const OUString & GetSortAlgorithm() const
void SetAltStr(const OUString &rSet)
SwTOOElements GetOLEOptions() const
const OUString & GetAutoMarkURL() const
sal_uInt16 GetTOXMarkCount() const
std::optional< OUString > const & GetPhoneticReadingOfAltStr() const
void SetSortAlgorithm(const OUString &rSet)
void SetCreateFromObjectNames(bool bSet)
std::optional< OUString > m_aTOUName
SwTOXDescription(TOXTypes eType)
OUString m_sMainEntryCharStyle
void SetLanguage(LanguageType nLang)
void SetLevelFromChapter(bool bSet)
void SetAutoMarkURL(const OUString &rSet)
const OUString & GetMainEntryCharStyle() const
SwTOXMark * GetCurTOXMark()
void SetPhoneticReadingOfAltStr(const OUString &rSet)
const SwForm * GetForm() const
std::optional< OUString > const & GetTitle() const
SwTOXMark * m_pCurTOXMark
LanguageType GetLanguage() const
const SwTOXSortKey & GetSortKey1() const
void SetForm(const SwForm &rSet)
void SetCaptionDisplay(SwCaptionDisplay eSet)
void SetOLEOptions(SwTOOElements nOpt)
void SetTOUName(const OUString &rSet)
LanguageType GetAppLanguage()
std::optional< OUString > const & GetAltStr() const
void SetSecKey(const OUString &rSet)
std::optional< OUString > m_aTitle
std::optional< OUString > const & GetTOUName() const
void SetMainEntry(bool bSet)
OUString m_sSortAlgorithm
void SetContentOptions(SwTOXElement nSet)
const OUString & GetStyleNames(sal_uInt16 nLvl) const
Built on top of SwWrtShell, provides functionality to insert, update or perform other actions on vari...
bool IsSortByDocument() const
std::optional< OUString > const & GetPrimKey() const
SwTOXMarkDescription(SwTOXMarkDescription const &)=delete
bool m_bDetectedRangeSegmentation false
const OUString & GetAuthBrackets() const