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 (const std::shared_ptr< weld::Window > &rParent, 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)
 

Private Attributes

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

Detailed Description

Definition at line 57 of file redlndlg.hxx.

Constructor & Destructor Documentation

SwRedlineAcceptDlg::SwRedlineAcceptDlg ( SwRedlineAcceptDlg const &  )
privatedelete
SwRedlineAcceptDlg::SwRedlineAcceptDlg ( const std::shared_ptr< weld::Window > &  rParent,
weld::Builder pBuilder,
weld::Container pContentArea,
bool  bAutoFormat = false 
)
SwRedlineAcceptDlg::~SwRedlineAcceptDlg ( )

Definition at line 203 of file redlndlg.cxx.

Member Function Documentation

void SwRedlineAcceptDlg::Activate ( )
SwRedlineTable::size_type SwRedlineAcceptDlg::CalcDiff ( SwRedlineTable::size_type  nStart,
bool  bChild 
)
private
void SwRedlineAcceptDlg::CallAcceptReject ( bool  bSelect,
bool  bAccept 
)
SwRedlineAcceptDlg::DECL_DLLPRIVATE_LINK ( AcceptHdl  ,
SvxTPView ,
void   
)
private
SwRedlineAcceptDlg::DECL_DLLPRIVATE_LINK ( AcceptAllHdl  ,
SvxTPView ,
void   
)
private
SwRedlineAcceptDlg::DECL_DLLPRIVATE_LINK ( RejectHdl  ,
SvxTPView ,
void   
)
private
SwRedlineAcceptDlg::DECL_DLLPRIVATE_LINK ( RejectAllHdl  ,
SvxTPView ,
void   
)
private
SwRedlineAcceptDlg::DECL_DLLPRIVATE_LINK ( UndoHdl  ,
SvxTPView ,
void   
)
private
SwRedlineAcceptDlg::DECL_DLLPRIVATE_LINK ( SelectHdl  ,
weld::TreeView ,
void   
)
private
SwRedlineAcceptDlg::DECL_DLLPRIVATE_LINK ( GotoHdl  ,
Timer ,
void   
)
private
SwRedlineAcceptDlg::DECL_DLLPRIVATE_LINK ( CommandHdl  ,
const CommandEvent ,
bool   
)
private
SwRedlineAcceptDlg::DECL_LINK ( FilterChangedHdl  ,
SvxTPFilter ,
void   
)
void SwRedlineAcceptDlg::FillInfo ( OUString &  rExtraData) const
OUString SwRedlineAcceptDlg::GetActionImage ( const SwRangeRedline rRedln,
sal_uInt16  nStack = 0 
)
staticprivate

Definition at line 303 of file redlndlg.cxx.

References Delete, FmtColl, Format, SwRangeRedline::GetType(), Insert, ParagraphFormat, and Table.

Referenced by InsertChildren(), and InsertParents().

OUString SwRedlineAcceptDlg::GetActionText ( const SwRangeRedline rRedln,
sal_uInt16  nStack = 0 
)
private
SvxAcceptChgCtr& SwRedlineAcceptDlg::GetChgCtrl ( )
inline

Definition at line 110 of file redlndlg.hxx.

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

Definition at line 111 of file redlndlg.hxx.

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

void SwRedlineAcceptDlg::Init ( SwRedlineTable::size_type  nStart = 0)
void SwRedlineAcceptDlg::InitAuthors ( )
private
void SwRedlineAcceptDlg::Initialize ( OUString &  rExtraData)
void SwRedlineAcceptDlg::InsertChildren ( SwRedlineDataParent pParent,
const SwRangeRedline rRedln,
bool  bHasRedlineAutoFormat 
)
private
void SwRedlineAcceptDlg::InsertParents ( SwRedlineTable::size_type  nStart,
SwRedlineTable::size_type  nEnd = SwRedlineTable::npos 
)
private
SwRedlineAcceptDlg& SwRedlineAcceptDlg::operator= ( SwRedlineAcceptDlg const &  )
privatedelete
void SwRedlineAcceptDlg::RemoveParents ( SwRedlineTable::size_type  nStart,
SwRedlineTable::size_type  nEnd 
)
private

Member Data Documentation

Timer SwRedlineAcceptDlg::m_aSelectTimer
private

Definition at line 63 of file redlndlg.hxx.

Referenced by SwRedlineAcceptDlg().

SwRedlineDataParentSortArr SwRedlineAcceptDlg::m_aUsedSeqNo
private

Definition at line 62 of file redlndlg.hxx.

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

bool SwRedlineAcceptDlg::m_bInhibitActivate
private

Definition at line 75 of file redlndlg.hxx.

Referenced by Activate(), and CallAcceptReject().

bool SwRedlineAcceptDlg::m_bOnlyFormatedRedlines
private

Definition at line 71 of file redlndlg.hxx.

Referenced by CallAcceptReject(), and InitAuthors().

bool const SwRedlineAcceptDlg::m_bRedlnAutoFormat
private

Definition at line 72 of file redlndlg.hxx.

SvxRedlinTable* SwRedlineAcceptDlg::m_pTable
private
SvxTPView* SwRedlineAcceptDlg::m_pTPView
private

Definition at line 79 of file redlndlg.hxx.

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

SwRedlineDataChildArr SwRedlineAcceptDlg::m_RedlineChildren
private

Definition at line 61 of file redlndlg.hxx.

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

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

Definition at line 60 of file redlndlg.hxx.

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

OUString const SwRedlineAcceptDlg::m_sAutoFormat
private

Definition at line 70 of file redlndlg.hxx.

Referenced by InsertChildren(), and SwRedlineAcceptDlg().

OUString const SwRedlineAcceptDlg::m_sDeleted
private

Definition at line 65 of file redlndlg.hxx.

Referenced by GetActionText(), and SwRedlineAcceptDlg().

OUString SwRedlineAcceptDlg::m_sFilterAction
private

Definition at line 69 of file redlndlg.hxx.

Referenced by InsertChildren().

OUString const SwRedlineAcceptDlg::m_sFormatCollSet
private

Definition at line 68 of file redlndlg.hxx.

Referenced by GetActionText(), and SwRedlineAcceptDlg().

OUString const SwRedlineAcceptDlg::m_sFormated
private

Definition at line 66 of file redlndlg.hxx.

Referenced by GetActionText(), and SwRedlineAcceptDlg().

OUString const SwRedlineAcceptDlg::m_sInserted
private

Definition at line 64 of file redlndlg.hxx.

Referenced by GetActionText(), and SwRedlineAcceptDlg().

OUString const SwRedlineAcceptDlg::m_sTableChgd
private

Definition at line 67 of file redlndlg.hxx.

Referenced by GetActionText(), and SwRedlineAcceptDlg().

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

Definition at line 59 of file redlndlg.hxx.

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

Definition at line 78 of file redlndlg.hxx.

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

Definition at line 77 of file redlndlg.hxx.

Referenced by InitAuthors(), and SwRedlineAcceptDlg().


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