LibreOffice Module sw (master) 1
Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
SwRedlineAcceptDlg Class Referencefinal

#include <redlndlg.hxx>

Collaboration diagram for SwRedlineAcceptDlg:
[legend]

Public Member Functions

 SwRedlineAcceptDlg (std::shared_ptr< weld::Window > xParent, weld::Builder *pBuilder, weld::Container *pContentArea, bool bAutoFormat=false)
 
 ~SwRedlineAcceptDlg ()
 
 DECL_LINK (FilterChangedHdl, SvxTPFilter *, void)
 
SvxAcceptChgCtrGetChgCtrl ()
 
bool HasRedlineAutoFormat () const
 
void Init (SwRedlineTable::size_type nStart=0)
 
void CallAcceptReject (bool bSelect, bool bAccept)
 
void Initialize (OUString &rExtraData)
 
void FillInfo (OUString &rExtraData) const
 
void Activate ()
 

Private Member Functions

 DECL_DLLPRIVATE_LINK (AcceptHdl, SvxTPView *, void)
 
 DECL_DLLPRIVATE_LINK (AcceptAllHdl, SvxTPView *, void)
 
 DECL_DLLPRIVATE_LINK (RejectHdl, SvxTPView *, void)
 
 DECL_DLLPRIVATE_LINK (RejectAllHdl, SvxTPView *, void)
 
 DECL_DLLPRIVATE_LINK (UndoHdl, SvxTPView *, void)
 
 DECL_DLLPRIVATE_LINK (SelectHdl, weld::TreeView &, void)
 
 DECL_DLLPRIVATE_LINK (GotoHdl, Timer *, void)
 
 DECL_DLLPRIVATE_LINK (CommandHdl, const CommandEvent &, bool)
 
SAL_DLLPRIVATE SwRedlineTable::size_type CalcDiff (SwRedlineTable::size_type nStart, bool bChild)
 
SAL_DLLPRIVATE void InsertChildren (SwRedlineDataParent *pParent, const SwRangeRedline &rRedln, bool bHasRedlineAutoFormat)
 
SAL_DLLPRIVATE void InsertParents (SwRedlineTable::size_type nStart, SwRedlineTable::size_type nEnd=SwRedlineTable::npos)
 
SAL_DLLPRIVATE void RemoveParents (SwRedlineTable::size_type nStart, SwRedlineTable::size_type nEnd)
 
SAL_DLLPRIVATE void InitAuthors ()
 
SAL_DLLPRIVATE OUString GetActionText (const SwRangeRedline &rRedln, sal_uInt16 nStack=0)
 
SAL_DLLPRIVATE SwRedlineTable::size_type GetRedlinePos (const weld::TreeIter &rEntry)
 
 SwRedlineAcceptDlg (SwRedlineAcceptDlg const &)=delete
 
SwRedlineAcceptDlgoperator= (SwRedlineAcceptDlg const &)=delete
 

Static Private Member Functions

static SAL_DLLPRIVATE OUString GetActionImage (const SwRangeRedline &rRedln, sal_uInt16 nStack=0, bool bTableChanges=false, bool bRowChanges=false)
 

Private Attributes

std::shared_ptr< weld::Windowm_xParentDlg
 
std::vector< std::unique_ptr< SwRedlineDataParent > > m_RedlineParents
 
std::vector< std::unique_ptr< SwRedlineDataChild > > m_RedlineChildren
 
std::vector< std::unique_ptr< RedlinData > > m_RedlinData
 
SwRedlineDataParentSortArr m_aUsedSeqNo
 
Timer m_aSelectTimer
 
OUString m_sInserted
 
OUString m_sDeleted
 
OUString m_sFormated
 
OUString m_sTableChgd
 
OUString m_sFormatCollSet
 
OUString m_sFilterAction
 
OUString m_sAutoFormat
 
bool m_bOnlyFormatedRedlines
 
bool m_bRedlnAutoFormat
 
bool m_bInhibitActivate
 
bool m_bHasTrackedColumn
 
std::unique_ptr< SvxAcceptChgCtrm_xTabPagesCTRL
 
std::unique_ptr< weld::Menum_xPopup
 
std::unique_ptr< weld::Menum_xSortMenu
 
SvxTPViewm_pTPView
 
SvxRedlinTablem_pTable
 

Detailed Description

Definition at line 56 of file redlndlg.hxx.

Constructor & Destructor Documentation

◆ SwRedlineAcceptDlg() [1/2]

SwRedlineAcceptDlg::SwRedlineAcceptDlg ( SwRedlineAcceptDlg const &  )
privatedelete

◆ SwRedlineAcceptDlg() [2/2]

SwRedlineAcceptDlg::SwRedlineAcceptDlg ( std::shared_ptr< weld::Window xParent,
weld::Builder pBuilder,
weld::Container pContentArea,
bool  bAutoFormat = false 
)

◆ ~SwRedlineAcceptDlg()

SwRedlineAcceptDlg::~SwRedlineAcceptDlg ( )

Definition at line 208 of file redlndlg.cxx.

Member Function Documentation

◆ Activate()

void SwRedlineAcceptDlg::Activate ( )

◆ CalcDiff()

SwRedlineTable::size_type SwRedlineAcceptDlg::CalcDiff ( SwRedlineTable::size_type  nStart,
bool  bChild 
)
private

◆ CallAcceptReject()

void SwRedlineAcceptDlg::CallAcceptReject ( bool  bSelect,
bool  bAccept 
)

◆ DECL_DLLPRIVATE_LINK() [1/8]

SwRedlineAcceptDlg::DECL_DLLPRIVATE_LINK ( AcceptAllHdl  ,
SvxTPView ,
void   
)
private

◆ DECL_DLLPRIVATE_LINK() [2/8]

SwRedlineAcceptDlg::DECL_DLLPRIVATE_LINK ( AcceptHdl  ,
SvxTPView ,
void   
)
private

◆ DECL_DLLPRIVATE_LINK() [3/8]

SwRedlineAcceptDlg::DECL_DLLPRIVATE_LINK ( CommandHdl  ,
const CommandEvent ,
bool   
)
private

◆ DECL_DLLPRIVATE_LINK() [4/8]

SwRedlineAcceptDlg::DECL_DLLPRIVATE_LINK ( GotoHdl  ,
Timer ,
void   
)
private

◆ DECL_DLLPRIVATE_LINK() [5/8]

SwRedlineAcceptDlg::DECL_DLLPRIVATE_LINK ( RejectAllHdl  ,
SvxTPView ,
void   
)
private

◆ DECL_DLLPRIVATE_LINK() [6/8]

SwRedlineAcceptDlg::DECL_DLLPRIVATE_LINK ( RejectHdl  ,
SvxTPView ,
void   
)
private

◆ DECL_DLLPRIVATE_LINK() [7/8]

SwRedlineAcceptDlg::DECL_DLLPRIVATE_LINK ( SelectHdl  ,
weld::TreeView ,
void   
)
private

◆ DECL_DLLPRIVATE_LINK() [8/8]

SwRedlineAcceptDlg::DECL_DLLPRIVATE_LINK ( UndoHdl  ,
SvxTPView ,
void   
)
private

◆ DECL_LINK()

SwRedlineAcceptDlg::DECL_LINK ( FilterChangedHdl  ,
SvxTPFilter ,
void   
)

◆ FillInfo()

void SwRedlineAcceptDlg::FillInfo ( OUString &  rExtraData) const

◆ GetActionImage()

OUString SwRedlineAcceptDlg::GetActionImage ( const SwRangeRedline rRedln,
sal_uInt16  nStack = 0,
bool  bTableChanges = false,
bool  bRowChanges = false 
)
staticprivate

◆ GetActionText()

OUString SwRedlineAcceptDlg::GetActionText ( const SwRangeRedline rRedln,
sal_uInt16  nStack = 0 
)
private

◆ GetChgCtrl()

SvxAcceptChgCtr & SwRedlineAcceptDlg::GetChgCtrl ( )
inline

Definition at line 117 of file redlndlg.hxx.

◆ GetRedlinePos()

SwRedlineTable::size_type SwRedlineAcceptDlg::GetRedlinePos ( const weld::TreeIter rEntry)
private

◆ HasRedlineAutoFormat()

bool SwRedlineAcceptDlg::HasRedlineAutoFormat ( ) const
inline

Definition at line 118 of file redlndlg.hxx.

Referenced by CalcDiff(), InsertParents(), and SwRedlineAcceptDlg().

◆ Init()

void SwRedlineAcceptDlg::Init ( SwRedlineTable::size_type  nStart = 0)

◆ InitAuthors()

void SwRedlineAcceptDlg::InitAuthors ( )
private

◆ Initialize()

void SwRedlineAcceptDlg::Initialize ( OUString &  rExtraData)

◆ InsertChildren()

void SwRedlineAcceptDlg::InsertChildren ( SwRedlineDataParent pParent,
const SwRangeRedline rRedln,
bool  bHasRedlineAutoFormat 
)
private

◆ InsertParents()

void SwRedlineAcceptDlg::InsertParents ( SwRedlineTable::size_type  nStart,
SwRedlineTable::size_type  nEnd = SwRedlineTable::npos 
)
private

◆ operator=()

SwRedlineAcceptDlg & SwRedlineAcceptDlg::operator= ( SwRedlineAcceptDlg const &  )
privatedelete

◆ RemoveParents()

void SwRedlineAcceptDlg::RemoveParents ( SwRedlineTable::size_type  nStart,
SwRedlineTable::size_type  nEnd 
)
private

Member Data Documentation

◆ m_aSelectTimer

Timer SwRedlineAcceptDlg::m_aSelectTimer
private

Definition at line 66 of file redlndlg.hxx.

Referenced by SwRedlineAcceptDlg().

◆ m_aUsedSeqNo

SwRedlineDataParentSortArr SwRedlineAcceptDlg::m_aUsedSeqNo
private

Definition at line 65 of file redlndlg.hxx.

Referenced by Activate(), Init(), and InsertChildren().

◆ m_bHasTrackedColumn

bool SwRedlineAcceptDlg::m_bHasTrackedColumn
private

Definition at line 81 of file redlndlg.hxx.

Referenced by CalcDiff(), and InsertParents().

◆ m_bInhibitActivate

bool SwRedlineAcceptDlg::m_bInhibitActivate
private

Definition at line 78 of file redlndlg.hxx.

Referenced by Activate(), and CallAcceptReject().

◆ m_bOnlyFormatedRedlines

bool SwRedlineAcceptDlg::m_bOnlyFormatedRedlines
private

Definition at line 74 of file redlndlg.hxx.

Referenced by CallAcceptReject(), and InitAuthors().

◆ m_bRedlnAutoFormat

bool SwRedlineAcceptDlg::m_bRedlnAutoFormat
private

Definition at line 75 of file redlndlg.hxx.

◆ m_pTable

SvxRedlinTable* SwRedlineAcceptDlg::m_pTable
private

◆ m_pTPView

SvxTPView* SwRedlineAcceptDlg::m_pTPView
private

Definition at line 85 of file redlndlg.hxx.

Referenced by Activate(), CallAcceptReject(), InitAuthors(), and SwRedlineAcceptDlg().

◆ m_RedlinData

std::vector<std::unique_ptr<RedlinData> > SwRedlineAcceptDlg::m_RedlinData
private

Definition at line 64 of file redlndlg.hxx.

Referenced by Init(), InsertChildren(), and InsertParents().

◆ m_RedlineChildren

std::vector<std::unique_ptr<SwRedlineDataChild> > SwRedlineAcceptDlg::m_RedlineChildren
private

Definition at line 61 of file redlndlg.hxx.

Referenced by CalcDiff(), Init(), InsertChildren(), and RemoveParents().

◆ m_RedlineParents

std::vector<std::unique_ptr<SwRedlineDataParent> > SwRedlineAcceptDlg::m_RedlineParents
private

Definition at line 59 of file redlndlg.hxx.

Referenced by Activate(), CalcDiff(), Init(), InsertParents(), and RemoveParents().

◆ m_sAutoFormat

OUString SwRedlineAcceptDlg::m_sAutoFormat
private

Definition at line 73 of file redlndlg.hxx.

Referenced by InsertChildren(), and SwRedlineAcceptDlg().

◆ m_sDeleted

OUString SwRedlineAcceptDlg::m_sDeleted
private

Definition at line 68 of file redlndlg.hxx.

Referenced by GetActionText(), and SwRedlineAcceptDlg().

◆ m_sFilterAction

OUString SwRedlineAcceptDlg::m_sFilterAction
private

Definition at line 72 of file redlndlg.hxx.

Referenced by InsertChildren().

◆ m_sFormatCollSet

OUString SwRedlineAcceptDlg::m_sFormatCollSet
private

Definition at line 71 of file redlndlg.hxx.

Referenced by GetActionText(), and SwRedlineAcceptDlg().

◆ m_sFormated

OUString SwRedlineAcceptDlg::m_sFormated
private

Definition at line 69 of file redlndlg.hxx.

Referenced by GetActionText(), and SwRedlineAcceptDlg().

◆ m_sInserted

OUString SwRedlineAcceptDlg::m_sInserted
private

Definition at line 67 of file redlndlg.hxx.

Referenced by GetActionText(), and SwRedlineAcceptDlg().

◆ m_sTableChgd

OUString SwRedlineAcceptDlg::m_sTableChgd
private

Definition at line 70 of file redlndlg.hxx.

Referenced by GetActionText(), and SwRedlineAcceptDlg().

◆ m_xParentDlg

std::shared_ptr<weld::Window> SwRedlineAcceptDlg::m_xParentDlg
private

Definition at line 58 of file redlndlg.hxx.

◆ m_xPopup

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

Definition at line 84 of file redlndlg.hxx.

◆ m_xSortMenu

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

Definition at line 84 of file redlndlg.hxx.

◆ m_xTabPagesCTRL

std::unique_ptr<SvxAcceptChgCtr> SwRedlineAcceptDlg::m_xTabPagesCTRL
private

Definition at line 83 of file redlndlg.hxx.

Referenced by InitAuthors(), and SwRedlineAcceptDlg().


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