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
 
bool HasExchangeSupport () const
 
void SetExchangeSupport ()
 
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
 
OString GetHelpId () const
 
OString GetConfigId () const
 
bool IsVisible () const
 
weld::WindowGetFrameWeld () const
 

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 OString &rID, const SfxItemSet *rAttrSet)
 
sal_uInt16 GetWhich (sal_uInt16 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)
 

Private Attributes

Idle m_aIdle
 
OUString aStrUndefined
 
OUString aStrColumn
 
OUString aStrRow
 
const sal_uInt16 nWhichSort
 
ScViewDatapViewData
 
ScSortParam aSortData
 
std::vector< SCCOLROWnFieldArr
 
sal_uInt16 nFieldCount
 
sal_uInt16 nSortKeyCount
 
bool bHasHeader
 
bool bSortByRows
 
std::unique_ptr< weld::ScrolledWindowm_xScrolledWindow
 
std::unique_ptr< weld::Containerm_xBox
 
ScSortKeyWindow m_aSortWin
 

Detailed Description

Definition at line 43 of file tpsort.hxx.

Constructor & Destructor Documentation

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

Definition at line 101 of file tpsort.cxx.

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

Member Function Documentation

void ScTabPageSortFields::ActivatePage ( const SfxItemSet rSet)
overrideprotectedvirtual
void ScTabPageSortFields::AddSortKey ( sal_uInt16  nItem)
private

Definition at line 472 of file tpsort.cxx.

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

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

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

Definition at line 126 of file tpsort.cxx.

Referenced by ScSortDlg::ScSortDlg().

DeactivateRC ScTabPageSortFields::DeactivatePage ( SfxItemSet pSet)
overrideprotectedvirtual

Reimplemented from SfxTabPage.

Definition at line 298 of file tpsort.cxx.

References bHasHeader, bSortByRows, FillItemSet(), and SfxTabPage::GetDialogController().

ScTabPageSortFields::DECL_LINK ( SelectHdl  ,
weld::ComboBox ,
void   
)
private
ScTabPageSortFields::DECL_LINK ( ScrollToEndHdl  ,
Timer ,
void   
)
private
void ScTabPageSortFields::FillFieldLists ( sal_uInt16  nStartField)
private
bool ScTabPageSortFields::FillItemSet ( SfxItemSet rArgSet)
overridevirtual
sal_uInt16 ScTabPageSortFields::GetFieldSelPos ( SCCOLROW  nField)
private

Definition at line 387 of file tpsort.cxx.

References n, nFieldArr, and nFieldCount.

Referenced by Reset().

void ScTabPageSortFields::Init ( void  )
private
void ScTabPageSortFields::Reset ( const SfxItemSet rArgSet)
overridevirtual
void ScTabPageSortFields::SetLastSortKey ( sal_uInt16  nItem)
private

Member Data Documentation

ScSortParam ScTabPageSortFields::aSortData
private

Definition at line 66 of file tpsort.hxx.

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

OUString ScTabPageSortFields::aStrColumn
private

Definition at line 61 of file tpsort.hxx.

Referenced by FillFieldLists().

OUString ScTabPageSortFields::aStrRow
private

Definition at line 62 of file tpsort.hxx.

Referenced by FillFieldLists().

OUString ScTabPageSortFields::aStrUndefined
private

Definition at line 60 of file tpsort.hxx.

Referenced by FillFieldLists().

bool ScTabPageSortFields::bHasHeader
private

Definition at line 71 of file tpsort.hxx.

Referenced by ActivatePage(), DeactivatePage(), FillFieldLists(), and Reset().

bool ScTabPageSortFields::bSortByRows
private

Definition at line 72 of file tpsort.hxx.

Referenced by ActivatePage(), DeactivatePage(), FillFieldLists(), FillItemSet(), and Reset().

Idle ScTabPageSortFields::m_aIdle
private

Definition at line 58 of file tpsort.hxx.

Referenced by AddSortKey(), and ScTabPageSortFields().

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

Definition at line 75 of file tpsort.hxx.

Referenced by ~ScTabPageSortFields().

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

Definition at line 74 of file tpsort.hxx.

Referenced by ~ScTabPageSortFields().

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

Definition at line 67 of file tpsort.hxx.

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

sal_uInt16 ScTabPageSortFields::nFieldCount
private

Definition at line 68 of file tpsort.hxx.

Referenced by FillFieldLists(), and GetFieldSelPos().

sal_uInt16 ScTabPageSortFields::nSortKeyCount
private

Definition at line 69 of file tpsort.hxx.

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

const sal_uInt16 ScTabPageSortFields::nWhichSort
private

Definition at line 64 of file tpsort.hxx.

Referenced by FillItemSet(), and Init().

ScViewData* ScTabPageSortFields::pViewData
private

Definition at line 65 of file tpsort.hxx.

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


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