20#undef SC_DLLIMPLEMENTATION
27#include <svx/svxids.hrc>
32 :
SfxTabPage(pPage, pController,
"modules/scalc/ui/optchangespage.ui",
"OptChangesPage", &
rSet)
33 , m_xContentColorLB(new
ColorListBox(m_xBuilder->weld_menu_button(
"changes"),
35 , m_xRemoveColorLB(
new ColorListBox(m_xBuilder->weld_menu_button(
"deletions"),
36 [
this]{ return GetDialogController()->getDialog(); }))
37 , m_xInsertColorLB(
new ColorListBox(m_xBuilder->weld_menu_button(
"entries"),
38 [
this]{ return GetDialogController()->getDialog(); }))
39 , m_xMoveColorLB(
new ColorListBox(m_xBuilder->weld_menu_button(
"insertions"),
40 [
this]{ return GetDialogController()->getDialog(); }))
42 m_xContentColorLB->SetSlotId(SID_AUTHOR_COLOR);
43 m_xRemoveColorLB->SetSlotId(SID_AUTHOR_COLOR);
44 m_xInsertColorLB->SetSlotId(SID_AUTHOR_COLOR);
45 m_xMoveColorLB->SetSlotId(SID_AUTHOR_COLOR);
58 return std::make_unique<ScRedlineOptionsTabPage>( pPage, pController, *
rSet );
77 SC_MOD()->SetAppOptions(aAppOptions);
Color GetTrackMoveColor() const
Color GetTrackInsertColor() const
void SetTrackInsertColor(Color nNew)
void SetTrackMoveColor(Color nNew)
Color GetTrackContentColor() const
void SetTrackDeleteColor(Color nNew)
void SetTrackContentColor(Color nNew)
Color GetTrackDeleteColor() const
virtual ~ScRedlineOptionsTabPage() override
std::unique_ptr< ColorListBox > m_xContentColorLB
std::unique_ptr< ColorListBox > m_xMoveColorLB
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
virtual bool FillItemSet(SfxItemSet *rSet) override
virtual void Reset(const SfxItemSet *rSet) override
ScRedlineOptionsTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
std::unique_ptr< ColorListBox > m_xInsertColorLB
std::unique_ptr< ColorListBox > m_xRemoveColorLB
static SAL_WARN_UNUSED_RESULT SfxObjectShell * Current()
SfxOkDialogController * GetDialogController() const