LibreOffice Module sc (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ScAcceptChgDlg Class Referencefinal

#include <acredlin.hxx>

Inheritance diagram for ScAcceptChgDlg:
[legend]
Collaboration diagram for ScAcceptChgDlg:
[legend]

Public Member Functions

 ScAcceptChgDlg (SfxBindings *pB, SfxChildWindow *pCW, weld::Window *pParent, ScViewData *ptrViewData)
 
virtual ~ScAcceptChgDlg () override
 
void ReInit (ScViewData *ptrViewData)
 
void Initialize (SfxChildWinInfo *pInfo)
 
virtual void FillInfo (SfxChildWinInfo &) const override
 
- Public Member Functions inherited from SfxModelessDialogController
virtual ~SfxModelessDialogController () override
 
void Initialize (SfxChildWinInfo const *pInfo)
 
bool IsClosing () const
 
virtual void Close () override
 
virtual void EndDialog () override
 
virtual void Activate () override
 
virtual void Deactivate () override
 
virtual void ChildWinDispose () override
 
SfxBindingsGetBindings () const
 
- Public Member Functions inherited from SfxDialogController
 SfxDialogController (weld::Widget *pParent, const OUString &rUIFile, const OString &rDialogId)
 

Private Member Functions

void Init ()
 
 DECL_LINK (FilterHandle, SvxTPFilter *, void)
 
 DECL_LINK (RefHandle, SvxTPFilter *, void)
 
 DECL_LINK (RejectHandle, SvxTPView *, void)
 
 DECL_LINK (AcceptHandle, SvxTPView *, void)
 
 DECL_LINK (RejectAllHandle, SvxTPView *, void)
 
 DECL_LINK (AcceptAllHandle, SvxTPView *, void)
 
 DECL_LINK (ExpandingHandle, const weld::TreeIter &, bool)
 
 DECL_LINK (SelectHandle, weld::TreeView &, void)
 
 DECL_LINK (RefInfoHandle, const OUString *, void)
 
 DECL_LINK (UpdateSelectionHdl, Timer *, void)
 
 DECL_LINK (ChgTrackModHdl, ScChangeTrack &, void)
 
 DECL_LINK (CommandHdl, const CommandEvent &, bool)
 
 DECL_LINK (ReOpenTimerHdl, Timer *, void)
 
int ColCompareHdl (const weld::TreeIter &rLeft, const weld::TreeIter &rRight) const
 
void RejectFiltered ()
 
void AcceptFiltered ()
 
bool IsValidAction (const ScChangeAction *pScChangeAction)
 
OUString * MakeTypeString (ScChangeActionType eType)
 
std::unique_ptr< weld::TreeIterAppendChangeAction (const ScChangeAction *pScChangeAction, bool bCreateOnDemand, const weld::TreeIter *pParent=nullptr, bool bDelMaster=false, bool bDisabled=false)
 
std::unique_ptr< weld::TreeIterAppendFilteredAction (const ScChangeAction *pScChangeAction, ScChangeActionState eState, bool bCreateOnDemand, const weld::TreeIter *pParent=nullptr, bool bDelMaster=false, bool bDisabled=false)
 
std::unique_ptr< weld::TreeIterInsertChangeActionContent (const ScChangeActionContent *pScChangeAction, const weld::TreeIter &rParent, sal_uLong nSpecial)
 
void GetDependents (const ScChangeAction *pScChangeAction, ScChangeActionMap &aActionMap, const weld::TreeIter &rEntry)
 
bool InsertContentChildren (ScChangeActionMap *pActionMap, const weld::TreeIter &rParent)
 
bool InsertAcceptedORejected (const weld::TreeIter &rParent)
 
bool InsertDeletedChildren (const ScChangeAction *pChangeAction, ScChangeActionMap *pActionMap, const weld::TreeIter &rParent)
 
bool InsertChildren (ScChangeActionMap *pActionMap, const weld::TreeIter &rParent)
 
void AppendChanges (const ScChangeTrack *pChanges, sal_uLong nStartAction, sal_uLong nEndAction)
 
void RemoveEntries (sal_uLong nStartAction, sal_uLong nEndAction)
 
void UpdateEntries (const ScChangeTrack *pChgTrack, sal_uLong nStartAction, sal_uLong nEndAction)
 
void UpdateView ()
 
void ClearView ()
 
bool Expand (const ScChangeTrack *pChanges, const ScChangeAction *pScChangeAction, const weld::TreeIter &rEntry, bool bFilter=false)
 

Private Attributes

Idle aSelectionIdle
 
Idle aReOpenIdle
 
ScViewDatapViewData
 
ScDocumentpDoc
 
ScRangeList aRangeList
 
ScChangeViewSettings aChangeViewSet
 
OUString aStrInsertCols
 
OUString aStrInsertRows
 
OUString aStrInsertTabs
 
OUString aStrDeleteCols
 
OUString aStrDeleteRows
 
OUString aStrDeleteTabs
 
OUString aStrMove
 
OUString aStrContent
 
OUString aStrReject
 
OUString aStrAllAccepted
 
OUString aStrAllRejected
 
OUString aStrNoEntry
 
OUString aStrContentWithChild
 
OUString aStrChildContent
 
OUString aStrChildOrgContent
 
OUString aStrEmpty
 
OUString aUnknown
 
sal_uLong nAcceptCount
 
sal_uLong nRejectCount
 
bool bIgnoreMsg:1
 
bool bNoSelection:1
 
bool bHasFilterEntry:1
 
bool bUseColor:1
 
SvxTPFilterpTPFilter
 
SvxTPViewpTPView
 
SvxRedlinTablepTheView
 
std::unique_ptr< weld::Containerm_xContentArea
 
std::unique_ptr< weld::Menum_xPopup
 
std::unique_ptr< weld::Menum_xSortMenu
 
std::unique_ptr< SvxAcceptChgCtrm_xAcceptChgCtr
 

Additional Inherited Members

- Protected Member Functions inherited from SfxModelessDialogController
 SfxModelessDialogController (SfxBindings *, SfxChildWindow *pChildWin, weld::Window *pParent, const OUString &rUIXMLDescription, const OString &rID)
 

Detailed Description

Definition at line 47 of file acredlin.hxx.

Constructor & Destructor Documentation

ScAcceptChgDlg::ScAcceptChgDlg ( SfxBindings pB,
SfxChildWindow pCW,
weld::Window pParent,
ScViewData ptrViewData 
)
ScAcceptChgDlg::~ScAcceptChgDlg ( )
overridevirtual

Member Function Documentation

void ScAcceptChgDlg::AcceptFiltered ( )
private
std::unique_ptr< weld::TreeIter > ScAcceptChgDlg::AppendChangeAction ( const ScChangeAction pScChangeAction,
bool  bCreateOnDemand,
const weld::TreeIter pParent = nullptr,
bool  bDelMaster = false,
bool  bDisabled = false 
)
private
void ScAcceptChgDlg::AppendChanges ( const ScChangeTrack pChanges,
sal_uLong  nStartAction,
sal_uLong  nEndAction 
)
private
std::unique_ptr< weld::TreeIter > ScAcceptChgDlg::AppendFilteredAction ( const ScChangeAction pScChangeAction,
ScChangeActionState  eState,
bool  bCreateOnDemand,
const weld::TreeIter pParent = nullptr,
bool  bDelMaster = false,
bool  bDisabled = false 
)
private
void ScAcceptChgDlg::ClearView ( )
private
int ScAcceptChgDlg::ColCompareHdl ( const weld::TreeIter rLeft,
const weld::TreeIter rRight 
) const
private
ScAcceptChgDlg::DECL_LINK ( FilterHandle  ,
SvxTPFilter ,
void   
)
private
ScAcceptChgDlg::DECL_LINK ( RefHandle  ,
SvxTPFilter ,
void   
)
private
ScAcceptChgDlg::DECL_LINK ( RejectHandle  ,
SvxTPView ,
void   
)
private
ScAcceptChgDlg::DECL_LINK ( AcceptHandle  ,
SvxTPView ,
void   
)
private
ScAcceptChgDlg::DECL_LINK ( RejectAllHandle  ,
SvxTPView ,
void   
)
private
ScAcceptChgDlg::DECL_LINK ( AcceptAllHandle  ,
SvxTPView ,
void   
)
private
ScAcceptChgDlg::DECL_LINK ( ExpandingHandle  ,
const weld::TreeIter ,
bool   
)
private
ScAcceptChgDlg::DECL_LINK ( SelectHandle  ,
weld::TreeView ,
void   
)
private
ScAcceptChgDlg::DECL_LINK ( RefInfoHandle  ,
const OUString *  ,
void   
)
private
ScAcceptChgDlg::DECL_LINK ( UpdateSelectionHdl  ,
Timer ,
void   
)
private
ScAcceptChgDlg::DECL_LINK ( ChgTrackModHdl  ,
ScChangeTrack ,
void   
)
private
ScAcceptChgDlg::DECL_LINK ( CommandHdl  ,
const CommandEvent ,
bool   
)
private
ScAcceptChgDlg::DECL_LINK ( ReOpenTimerHdl  ,
Timer ,
void   
)
private
bool ScAcceptChgDlg::Expand ( const ScChangeTrack pChanges,
const ScChangeAction pScChangeAction,
const weld::TreeIter rEntry,
bool  bFilter = false 
)
private
void ScAcceptChgDlg::FillInfo ( SfxChildWinInfo rInfo) const
overridevirtual
void ScAcceptChgDlg::GetDependents ( const ScChangeAction pScChangeAction,
ScChangeActionMap aActionMap,
const weld::TreeIter rEntry 
)
private
void ScAcceptChgDlg::Init ( void  )
private

Definition at line 184 of file acredlin.cxx.

References aChangeViewSet, ScChangeViewSettings::AdjustDateMode(), aRangeList, SvxTPFilter::CheckAuthor(), SvxTPFilter::CheckComment(), SvxTPFilter::CheckDate(), SvxTPFilter::CheckRange(), SvxTPFilter::ClearAuthors(), DateTime::EMPTY, ScRangeList::empty(), ScRange::Format(), ScRangeList::front(), ScDocument::GetChangeTrack(), ScDocument::GetChangeViewSettings(), SvxTPFilter::GetComment(), SvxTPFilter::GetDateMode(), SvxTPFilter::GetFirstDate(), SvxTPFilter::GetFirstTime(), SvxTPFilter::GetLastDate(), SvxTPFilter::GetLastTime(), SvxTPFilter::GetSelectedAuthor(), ScChangeViewSettings::GetTheAuthorToShow(), ScChangeViewSettings::GetTheComment(), ScChangeViewSettings::GetTheDateMode(), ScChangeViewSettings::GetTheFirstDateTime(), ScChangeViewSettings::GetTheLastDateTime(), ScChangeViewSettings::GetTheRangeList(), ScChangeTrack::GetUser(), ScChangeTrack::GetUserCollection(), ScChangeViewSettings::HasAuthor(), ScChangeViewSettings::HasComment(), ScChangeViewSettings::HasDate(), ScChangeViewSettings::HasRange(), SvxTPFilter::InsertAuthor(), SvxTPFilter::IsAuthor(), SvxTPFilter::IsComment(), SvxTPFilter::IsDate(), SvxTPFilter::IsRange(), LINK, pDoc, pTheView, pTPFilter, pViewData, RANGE_ABS_3D, utl::SearchParam::Regexp, SvxTPFilter::SelectAuthor(), SvxTPFilter::SelectedAuthorPos(), SvxRedlinTable::SetAuthor(), SvxTPFilter::SetComment(), SvxRedlinTable::SetCommentParams(), SvxTPFilter::SetDateMode(), SvxRedlinTable::SetDateTimeMode(), SvxRedlinTable::SetFilterAuthor(), SvxRedlinTable::SetFilterComment(), SvxRedlinTable::SetFilterDate(), SvxRedlinTable::SetFirstDate(), SvxTPFilter::SetFirstDate(), SvxRedlinTable::SetFirstTime(), SvxTPFilter::SetFirstTime(), SvxTPFilter::SetLastDate(), SvxRedlinTable::SetLastDate(), SvxRedlinTable::SetLastTime(), SvxTPFilter::SetLastTime(), ScChangeTrack::SetModifiedLink(), SvxTPFilter::SetRange(), ScChangeViewSettings::SetTheAuthorToShow(), and SvxRedlinTable::UpdateFilterTest().

Referenced by ScAcceptChgDlg().

void ScAcceptChgDlg::Initialize ( SfxChildWinInfo pInfo)
bool ScAcceptChgDlg::InsertAcceptedORejected ( const weld::TreeIter rParent)
private
std::unique_ptr< weld::TreeIter > ScAcceptChgDlg::InsertChangeActionContent ( const ScChangeActionContent pScChangeAction,
const weld::TreeIter rParent,
sal_uLong  nSpecial 
)
private
bool ScAcceptChgDlg::InsertChildren ( ScChangeActionMap pActionMap,
const weld::TreeIter rParent 
)
private
bool ScAcceptChgDlg::InsertContentChildren ( ScChangeActionMap pActionMap,
const weld::TreeIter rParent 
)
private
bool ScAcceptChgDlg::InsertDeletedChildren ( const ScChangeAction pChangeAction,
ScChangeActionMap pActionMap,
const weld::TreeIter rParent 
)
private
bool ScAcceptChgDlg::IsValidAction ( const ScChangeAction pScChangeAction)
private
OUString * ScAcceptChgDlg::MakeTypeString ( ScChangeActionType  eType)
private
void ScAcceptChgDlg::ReInit ( ScViewData ptrViewData)
void ScAcceptChgDlg::RejectFiltered ( )
private
void ScAcceptChgDlg::RemoveEntries ( sal_uLong  nStartAction,
sal_uLong  nEndAction 
)
private
void ScAcceptChgDlg::UpdateEntries ( const ScChangeTrack pChgTrack,
sal_uLong  nStartAction,
sal_uLong  nEndAction 
)
private
void ScAcceptChgDlg::UpdateView ( )
private

Member Data Documentation

ScChangeViewSettings ScAcceptChgDlg::aChangeViewSet
private

Definition at line 54 of file acredlin.hxx.

Referenced by Init().

ScRangeList ScAcceptChgDlg::aRangeList
private
Idle ScAcceptChgDlg::aReOpenIdle
private

Definition at line 50 of file acredlin.hxx.

Referenced by ScAcceptChgDlg().

Idle ScAcceptChgDlg::aSelectionIdle
private

Definition at line 49 of file acredlin.hxx.

Referenced by ScAcceptChgDlg().

OUString ScAcceptChgDlg::aStrAllAccepted
private

Definition at line 64 of file acredlin.hxx.

Referenced by InsertAcceptedORejected(), and UpdateView().

OUString ScAcceptChgDlg::aStrAllRejected
private

Definition at line 65 of file acredlin.hxx.

Referenced by InsertAcceptedORejected(), and UpdateView().

OUString ScAcceptChgDlg::aStrChildContent
private

Definition at line 68 of file acredlin.hxx.

Referenced by InsertChangeActionContent().

OUString ScAcceptChgDlg::aStrChildOrgContent
private

Definition at line 69 of file acredlin.hxx.

Referenced by InsertChangeActionContent().

OUString ScAcceptChgDlg::aStrContent
private

Definition at line 62 of file acredlin.hxx.

Referenced by MakeTypeString().

OUString ScAcceptChgDlg::aStrContentWithChild
private

Definition at line 67 of file acredlin.hxx.

Referenced by AppendChangeAction(), and AppendFilteredAction().

OUString ScAcceptChgDlg::aStrDeleteCols
private

Definition at line 58 of file acredlin.hxx.

Referenced by MakeTypeString().

OUString ScAcceptChgDlg::aStrDeleteRows
private

Definition at line 59 of file acredlin.hxx.

Referenced by MakeTypeString().

OUString ScAcceptChgDlg::aStrDeleteTabs
private

Definition at line 60 of file acredlin.hxx.

Referenced by MakeTypeString().

OUString ScAcceptChgDlg::aStrEmpty
private

Definition at line 70 of file acredlin.hxx.

Referenced by InsertChangeActionContent().

OUString ScAcceptChgDlg::aStrInsertCols
private

Definition at line 55 of file acredlin.hxx.

Referenced by MakeTypeString().

OUString ScAcceptChgDlg::aStrInsertRows
private

Definition at line 56 of file acredlin.hxx.

Referenced by MakeTypeString().

OUString ScAcceptChgDlg::aStrInsertTabs
private

Definition at line 57 of file acredlin.hxx.

Referenced by MakeTypeString().

OUString ScAcceptChgDlg::aStrMove
private

Definition at line 61 of file acredlin.hxx.

Referenced by MakeTypeString().

OUString ScAcceptChgDlg::aStrNoEntry
private

Definition at line 66 of file acredlin.hxx.

OUString ScAcceptChgDlg::aStrReject
private

Definition at line 63 of file acredlin.hxx.

Referenced by MakeTypeString().

OUString ScAcceptChgDlg::aUnknown
private

Definition at line 71 of file acredlin.hxx.

Referenced by MakeTypeString().

bool ScAcceptChgDlg::bHasFilterEntry
private
bool ScAcceptChgDlg::bIgnoreMsg
private

Definition at line 74 of file acredlin.hxx.

Referenced by ReInit().

bool ScAcceptChgDlg::bNoSelection
private

Definition at line 75 of file acredlin.hxx.

Referenced by ReInit().

bool ScAcceptChgDlg::bUseColor
private

Definition at line 77 of file acredlin.hxx.

Referenced by AppendChangeAction(), AppendChanges(), and UpdateView().

std::unique_ptr<SvxAcceptChgCtr> ScAcceptChgDlg::m_xAcceptChgCtr
private

Definition at line 85 of file acredlin.hxx.

Referenced by ScAcceptChgDlg().

std::unique_ptr<weld::Container> ScAcceptChgDlg::m_xContentArea
private

Definition at line 83 of file acredlin.hxx.

Referenced by ScAcceptChgDlg().

std::unique_ptr<weld::Menu> ScAcceptChgDlg::m_xPopup
private

Definition at line 84 of file acredlin.hxx.

std::unique_ptr<weld::Menu> ScAcceptChgDlg::m_xSortMenu
private

Definition at line 84 of file acredlin.hxx.

sal_uLong ScAcceptChgDlg::nAcceptCount
private

Definition at line 72 of file acredlin.hxx.

Referenced by AppendChanges(), ClearView(), ReInit(), ScAcceptChgDlg(), and UpdateView().

sal_uLong ScAcceptChgDlg::nRejectCount
private

Definition at line 73 of file acredlin.hxx.

Referenced by AppendChanges(), ClearView(), ReInit(), ScAcceptChgDlg(), and UpdateView().

ScDocument* ScAcceptChgDlg::pDoc
private
SvxRedlinTable* ScAcceptChgDlg::pTheView
private
SvxTPFilter* ScAcceptChgDlg::pTPFilter
private
SvxTPView* ScAcceptChgDlg::pTPView
private

Definition at line 80 of file acredlin.hxx.

Referenced by AppendChanges(), ScAcceptChgDlg(), and UpdateView().

ScViewData* ScAcceptChgDlg::pViewData
private

Definition at line 51 of file acredlin.hxx.

Referenced by Init(), and ReInit().


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