LibreOffice Module sc (master) 1
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
ScTabPageSortFields Class Reference

#include <tpsort.hxx>

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

Public Member Functions

 ScTabPageSortFields (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rArgSet)
 
virtual ~ScTabPageSortFields () override
 
virtual bool FillItemSet (SfxItemSet *rArgSet) override
 
virtual void Reset (const SfxItemSet *rArgSet) override
 
- Public Member Functions inherited from SfxTabPage
void SetDialogController (SfxOkDialogController *pDialog)
 
virtual ~SfxTabPage () override
 
void set_visible (bool bVisible)
 
const SfxItemSetGetItemSet () const
 
virtual bool FillItemSet (SfxItemSet *)
 
virtual void Reset (const SfxItemSet *)
 
virtual bool DeferResetToFirstActivation ()
 
bool HasExchangeSupport () const
 
void SetExchangeSupport ()
 
virtual void ActivatePage (const SfxItemSet &)
 
virtual DeactivateRC DeactivatePage (SfxItemSet *pSet)
 
void SetUserData (const OUString &rString)
 
const OUString & GetUserData () const
 
virtual void FillUserData ()
 
virtual bool IsReadOnly () const
 
virtual void PageCreated (const SfxAllItemSet &aSet)
 
virtual void ChangesApplied ()
 
void SetFrame (const css::uno::Reference< css::frame::XFrame > &xFrame)
 
css::uno::Reference< css::frame::XFrame > GetFrame () const
 
const SfxItemSetGetDialogExampleSet () const
 
OUString GetHelpId () const
 
OUString GetConfigId () const
 
bool IsVisible () const
 
weld::WindowGetFrameWeld () const
 
std::unordered_map< OUString, css::uno::Any > & getAdditionalProperties ()
 

Static Public Member Functions

static std::unique_ptr< SfxTabPageCreate (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rArgSet)
 
- Static Public Member Functions inherited from SfxTabPage
static const SfxPoolItemGetItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true)
 
static const T * GetItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true)
 

Protected Member Functions

virtual void ActivatePage (const SfxItemSet &rSet) override
 
virtual DeactivateRC DeactivatePage (SfxItemSet *pSet) override
 
- Protected Member Functions inherited from SfxTabPage
 SfxTabPage (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OUString &rID, const SfxItemSet *rAttrSet)
 
sal_uInt16 GetWhich (sal_uInt16 nSlot, bool bDeep=true) const
 
TypedWhichId< T > GetWhich (TypedWhichId< T > nSlot, bool bDeep=true) const
 
const SfxPoolItemGetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true)
 
const T * GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true)
 
SfxOkDialogControllerGetDialogController () const
 

Private Member Functions

void AddSortKey (sal_uInt16 nItem)
 
void Init ()
 
void FillFieldLists (sal_uInt16 nStartField)
 
sal_uInt16 GetFieldSelPos (SCCOLROW nField)
 
void SetLastSortKey (sal_uInt16 nItem)
 
 DECL_LINK (SelectHdl, weld::ComboBox &, void)
 
 DECL_LINK (ScrollToEndHdl, Timer *, void)
 
 DECL_LINK (SortDirHdl, weld::Toggleable &, void)
 

Private Attributes

Idle m_aIdle
 
OUString aStrUndefined
 
OUString aStrColumn
 
OUString aStrRow
 
OUString aStrRowLabel
 
OUString aStrColLabel
 
TypedWhichId< ScSortItemnWhichSort
 
ScViewDatapViewData
 
ScSortParam aSortData
 
std::vector< SCCOLROWnFieldArr
 
sal_uInt16 nFieldCount
 
sal_uInt16 nSortKeyCount
 
std::unique_ptr< weld::Containerm_xTop
 
std::unique_ptr< weld::CheckButtonm_xBtnHeader
 
std::unique_ptr< weld::RadioButtonm_xBtnTopDown
 
std::unique_ptr< weld::RadioButtonm_xBtnLeftRight
 
std::unique_ptr< weld::ScrolledWindowm_xScrolledWindow
 
std::unique_ptr< weld::Containerm_xBox
 
ScSortKeyWindow m_aSortWin
 

Detailed Description

Definition at line 44 of file tpsort.hxx.

Constructor & Destructor Documentation

◆ ScTabPageSortFields()

ScTabPageSortFields::ScTabPageSortFields ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rArgSet 
)

◆ ~ScTabPageSortFields()

ScTabPageSortFields::~ScTabPageSortFields ( )
overridevirtual

Definition at line 109 of file tpsort.cxx.

References ScSortKeyWindow::m_aSortKeyItems, m_aSortWin, m_xBox, and m_xScrolledWindow.

Member Function Documentation

◆ ActivatePage()

void ScTabPageSortFields::ActivatePage ( const SfxItemSet rSet)
overrideprotectedvirtual

◆ AddSortKey()

void ScTabPageSortFields::AddSortKey ( sal_uInt16  nItem)
private

Definition at line 484 of file tpsort.cxx.

References ScSortKeyWindow::AddSortKey(), m_aIdle, m_aSortWin, and Idle::Start().

Referenced by Init(), Reset(), and SetLastSortKey().

◆ Create()

std::unique_ptr< SfxTabPage > ScTabPageSortFields::Create ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rArgSet 
)
static

Definition at line 158 of file tpsort.cxx.

Referenced by ScSortDlg::ScSortDlg().

◆ DeactivatePage()

DeactivateRC ScTabPageSortFields::DeactivatePage ( SfxItemSet pSet)
overrideprotectedvirtual

Reimplemented from SfxTabPage.

Definition at line 298 of file tpsort.cxx.

References FillItemSet().

◆ DECL_LINK() [1/3]

ScTabPageSortFields::DECL_LINK ( ScrollToEndHdl  ,
Timer ,
void   
)
private

◆ DECL_LINK() [2/3]

ScTabPageSortFields::DECL_LINK ( SelectHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [3/3]

ScTabPageSortFields::DECL_LINK ( SortDirHdl  ,
weld::Toggleable ,
void   
)
private

◆ FillFieldLists()

void ScTabPageSortFields::FillFieldLists ( sal_uInt16  nStartField)
private

◆ FillItemSet()

bool ScTabPageSortFields::FillItemSet ( SfxItemSet rArgSet)
overridevirtual

◆ GetFieldSelPos()

sal_uInt16 ScTabPageSortFields::GetFieldSelPos ( SCCOLROW  nField)
private

Definition at line 375 of file tpsort.cxx.

References n, nFieldArr, and nFieldCount.

Referenced by Reset().

◆ Init()

void ScTabPageSortFields::Init ( void  )
private

◆ Reset()

void ScTabPageSortFields::Reset ( const SfxItemSet rArgSet)
overridevirtual

◆ SetLastSortKey()

void ScTabPageSortFields::SetLastSortKey ( sal_uInt16  nItem)
private

Member Data Documentation

◆ aSortData

ScSortParam ScTabPageSortFields::aSortData
private

Definition at line 69 of file tpsort.hxx.

Referenced by ActivatePage(), FillFieldLists(), FillItemSet(), Init(), Reset(), and SetLastSortKey().

◆ aStrColLabel

OUString ScTabPageSortFields::aStrColLabel
private

Definition at line 65 of file tpsort.hxx.

Referenced by Init().

◆ aStrColumn

OUString ScTabPageSortFields::aStrColumn
private

Definition at line 62 of file tpsort.hxx.

Referenced by FillFieldLists().

◆ aStrRow

OUString ScTabPageSortFields::aStrRow
private

Definition at line 63 of file tpsort.hxx.

Referenced by FillFieldLists().

◆ aStrRowLabel

OUString ScTabPageSortFields::aStrRowLabel
private

Definition at line 64 of file tpsort.hxx.

◆ aStrUndefined

OUString ScTabPageSortFields::aStrUndefined
private

Definition at line 61 of file tpsort.hxx.

Referenced by FillFieldLists().

◆ m_aIdle

Idle ScTabPageSortFields::m_aIdle
private

Definition at line 59 of file tpsort.hxx.

Referenced by AddSortKey(), and ScTabPageSortFields().

◆ m_aSortWin

ScSortKeyWindow ScTabPageSortFields::m_aSortWin
private

◆ m_xBox

std::unique_ptr<weld::Container> ScTabPageSortFields::m_xBox
private

Definition at line 79 of file tpsort.hxx.

Referenced by ~ScTabPageSortFields().

◆ m_xBtnHeader

std::unique_ptr<weld::CheckButton> ScTabPageSortFields::m_xBtnHeader
private

Definition at line 75 of file tpsort.hxx.

Referenced by ActivatePage(), FillItemSet(), Init(), and Reset().

◆ m_xBtnLeftRight

std::unique_ptr<weld::RadioButton> ScTabPageSortFields::m_xBtnLeftRight
private

Definition at line 77 of file tpsort.hxx.

Referenced by ActivatePage(), Init(), and Reset().

◆ m_xBtnTopDown

std::unique_ptr<weld::RadioButton> ScTabPageSortFields::m_xBtnTopDown
private

Definition at line 76 of file tpsort.hxx.

Referenced by ActivatePage(), FillItemSet(), Init(), and Reset().

◆ m_xScrolledWindow

std::unique_ptr<weld::ScrolledWindow> ScTabPageSortFields::m_xScrolledWindow
private

Definition at line 78 of file tpsort.hxx.

Referenced by ScTabPageSortFields(), and ~ScTabPageSortFields().

◆ m_xTop

std::unique_ptr<weld::Container> ScTabPageSortFields::m_xTop
private

Definition at line 74 of file tpsort.hxx.

◆ nFieldArr

std::vector<SCCOLROW> ScTabPageSortFields::nFieldArr
private

Definition at line 70 of file tpsort.hxx.

Referenced by FillFieldLists(), FillItemSet(), GetFieldSelPos(), and Init().

◆ nFieldCount

sal_uInt16 ScTabPageSortFields::nFieldCount
private

Definition at line 71 of file tpsort.hxx.

Referenced by FillFieldLists(), and GetFieldSelPos().

◆ nSortKeyCount

sal_uInt16 ScTabPageSortFields::nSortKeyCount
private

Definition at line 72 of file tpsort.hxx.

Referenced by FillFieldLists(), FillItemSet(), Init(), Reset(), and SetLastSortKey().

◆ nWhichSort

TypedWhichId<ScSortItem> ScTabPageSortFields::nWhichSort
private

Definition at line 67 of file tpsort.hxx.

Referenced by FillItemSet(), and Init().

◆ pViewData

ScViewData* ScTabPageSortFields::pViewData
private

Definition at line 68 of file tpsort.hxx.

Referenced by FillFieldLists(), Init(), and Reset().


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