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

#include <toxmgr.hxx>

Collaboration diagram for SwTOXMgr:
[legend]

Public Member Functions

 SwTOXMgr (SwWrtShell *pShell)
 
void InsertTOXMark (const SwTOXMarkDescription &rDesc)
 
void UpdateTOXMark (const SwTOXMarkDescription &rDesc)
 
void DeleteTOXMark ()
 
void NextTOXMark (bool bSame=false)
 
void PrevTOXMark (bool bSame=false)
 
sal_uInt16 GetTOXMarkCount () const
 
SwTOXMarkGetTOXMark (sal_uInt16 nId)
 
SwTOXMarkGetCurTOXMark ()
 
void SetCurTOXMark (sal_uInt16 nId)
 
bool UpdateOrInsertTOX (const SwTOXDescription &rDesc, SwTOXBase **ppBase, const SfxItemSet *pSet)
 
const SwTOXTypeGetTOXType (TOXTypes eTyp) const
 
SwWrtShellGetShell ()
 

Private Member Functions

SAL_DLLPRIVATE sal_uInt16 GetUserTypeID (const OUString &rStr)
 

Private Attributes

SwWrtShellpSh
 
SwTOXMarkpCurTOXMark
 
SwTOXMarks aCurMarks
 

Detailed Description

Definition at line 226 of file toxmgr.hxx.

Constructor & Destructor Documentation

SwTOXMgr::SwTOXMgr ( SwWrtShell pShell)
explicit

Definition at line 31 of file toxmgr.cxx.

References aCurMarks, SwEditShell::GetCurTOXMarks(), pSh, and SetCurTOXMark().

Member Function Documentation

void SwTOXMgr::DeleteTOXMark ( )
SwTOXMark * SwTOXMgr::GetCurTOXMark ( )
inline

Definition at line 266 of file toxmgr.hxx.

References pCurTOXMark.

Referenced by SwTextShell::ExecIdx().

SwWrtShell* SwTOXMgr::GetShell ( )
inline

Definition at line 259 of file toxmgr.hxx.

Referenced by SwMultiTOXMarkDlg::SwMultiTOXMarkDlg().

SwTOXMark * SwTOXMgr::GetTOXMark ( sal_uInt16  nId)

Definition at line 38 of file toxmgr.cxx.

References aCurMarks.

Referenced by SwMultiTOXMarkDlg::SwMultiTOXMarkDlg().

sal_uInt16 SwTOXMgr::GetTOXMarkCount ( ) const
inline

Definition at line 263 of file toxmgr.hxx.

References aCurMarks.

Referenced by SwTextShell::ExecIdx(), and SwMultiTOXMarkDlg::SwMultiTOXMarkDlg().

const SwTOXType * SwTOXMgr::GetTOXType ( TOXTypes  eTyp) const

Definition at line 258 of file toxmgr.cxx.

References SwEditShell::GetTOXType(), and pSh.

sal_uInt16 SwTOXMgr::GetUserTypeID ( const OUString &  rStr)
private
void SwTOXMgr::InsertTOXMark ( const SwTOXMarkDescription rDesc)
void SwTOXMgr::NextTOXMark ( bool  bSame = false)

Definition at line 238 of file toxmgr.cxx.

References SwCursorShell::GotoTOXMark(), pCurTOXMark, pSh, TOX_NXT, and TOX_SAME_NXT.

void SwTOXMgr::PrevTOXMark ( bool  bSame = false)

Definition at line 248 of file toxmgr.cxx.

References SwCursorShell::GotoTOXMark(), pCurTOXMark, pSh, TOX_PRV, and TOX_SAME_PRV.

void SwTOXMgr::SetCurTOXMark ( sal_uInt16  nId)

Definition at line 263 of file toxmgr.cxx.

References aCurMarks, and pCurTOXMark.

Referenced by SwMultiTOXMarkDlg::Apply(), SwTOXMgr(), and UpdateTOXMark().

bool SwTOXMgr::UpdateOrInsertTOX ( const SwTOXDescription rDesc,
SwTOXBase **  ppBase,
const SfxItemSet pSet 
)

TODO

Definition at line 268 of file toxmgr.cxx.

References SwEditShell::ApplyAutoMark(), SwDoc::ChangeTOX(), SwWrtShell::DelRight(), SwTOXBase::DisableKeepExpression(), IDocumentUndoRedo::DoesUndo(), SwTOXBase::EnableKeepExpression(), IDocumentUndoRedo::EndUndo(), SwWrtShell::EnterStdMode(), SwTOXDescription::GetAuthBrackets(), SwTOXDescription::GetAutoMarkURL(), SwTOXDescription::GetCaptionDisplay(), SwTOXDescription::GetContentOptions(), SwEditShell::GetCurTOX(), SwViewShell::GetDoc(), SwView::GetDocShell(), SwEditShell::GetFieldType(), SwTOXDescription::GetForm(), SwDoc::GetIDocumentUndoRedo(), SwTOXDescription::GetIndexOptions(), SwTOXDescription::GetLanguage(), SwTOXDescription::GetLevel(), SwTOXDescription::GetMainEntryCharStyle(), SwTOXDescription::GetOLEOptions(), SwTOXDescription::GetSequenceName(), SwTOXDescription::GetSortAlgorithm(), SwTOXDescription::GetSortKey1(), SwTOXDescription::GetSortKey2(), SwTOXDescription::GetSortKey3(), SwTOXDescription::GetStyleNames(), SwTOXDescription::GetTitle(), SwTOXDescription::GetTOUName(), SwTOXDescription::GetTOXType(), SwEditShell::GetTOXType(), SwEditShell::GetTOXTypeCount(), SwTOXType::GetTypeName(), SwWrtShell::GetView(), SwWrtShell::HasSelection(), i, SwEditShell::InsertFieldType(), SwWrtShell::InsertTableOf(), SwTOXDescription::IsAuthSequence(), SwTOXDescription::IsCreateFromObjectNames(), SwTOXDescription::IsFromChapter(), SwTOXDescription::IsLevelFromChapter(), SwTOXDescription::IsReadonly(), SwTOXDescription::IsSortByDocument(), Mark, MAXLEVEL, NONE, nPos, pSh, SwTOXBase::SetCaptionDisplay(), SwTOXBase::SetCreate(), SwTOXBase::SetFromChapter(), SwTOXBase::SetFromObjectNames(), SwAuthorityFieldType::SetLanguage(), SwTOXBase::SetLanguage(), SwTOXBase::SetLevel(), SwTOXBase::SetLevelFromChapter(), SwTOXBase::SetMainEntryCharStyle(), SwTOXBase::SetOLEOptions(), SwTOXBase::SetOptions(), SwAuthorityFieldType::SetPreSuffix(), SwTOXBase::SetProtected(), SwAuthorityFieldType::SetSequence(), SwTOXBase::SetSequenceName(), SwAuthorityFieldType::SetSortAlgorithm(), SwTOXBase::SetSortAlgorithm(), SwAuthorityFieldType::SetSortByDocument(), SwAuthorityFieldType::SetSortKeys(), SwTOXBase::SetStyleNames(), SwTOXBase::SetTitle(), SwEditShell::SetTOIAutoMarkURL(), SwTOXBase::SetTOXForm(), IDocumentUndoRedo::StartUndo(), TableOfAuthorities, TOX_AUTHORITIES, TOX_BIBLIOGRAPHY, TOX_CITATION, TOX_CONTENT, TOX_ILLUSTRATIONS, TOX_INDEX, TOX_OBJECTS, TOX_TABLES, TOX_USER, TOXCHANGE, SwFieldType::UpdateFields(), and SwWrtShell::UpdateTableOf().

Referenced by SwGlobalTree::ExecuteContextMenuAction().

void SwTOXMgr::UpdateTOXMark ( const SwTOXMarkDescription rDesc)

Member Data Documentation

SwTOXMarks SwTOXMgr::aCurMarks
private

Definition at line 230 of file toxmgr.hxx.

Referenced by GetTOXMark(), GetTOXMarkCount(), SetCurTOXMark(), SwTOXMgr(), and UpdateTOXMark().

SwTOXMark* SwTOXMgr::pCurTOXMark
private
SwWrtShell* SwTOXMgr::pSh
private

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