LibreOffice Module sc (master) 1
|
#include <tpsort.hxx>
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 SfxItemSet & | GetItemSet () 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 SfxItemSet * | GetDialogExampleSet () const |
OUString | GetHelpId () const |
OUString | GetConfigId () const |
bool | IsVisible () const |
weld::Window * | GetFrameWeld () const |
std::unordered_map< OUString, css::uno::Any > & | getAdditionalProperties () |
Static Public Member Functions | |
static std::unique_ptr< SfxTabPage > | Create (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rArgSet) |
Static Public Member Functions inherited from SfxTabPage | |
static const SfxPoolItem * | GetItem (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 SfxPoolItem * | GetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true) |
const T * | GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true) |
SfxOkDialogController * | GetDialogController () 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< ScSortItem > | nWhichSort |
ScViewData * | pViewData |
ScSortParam | aSortData |
std::vector< SCCOLROW > | nFieldArr |
sal_uInt16 | nFieldCount |
sal_uInt16 | nSortKeyCount |
std::unique_ptr< weld::Container > | m_xTop |
std::unique_ptr< weld::CheckButton > | m_xBtnHeader |
std::unique_ptr< weld::RadioButton > | m_xBtnTopDown |
std::unique_ptr< weld::RadioButton > | m_xBtnLeftRight |
std::unique_ptr< weld::ScrolledWindow > | m_xScrolledWindow |
std::unique_ptr< weld::Container > | m_xBox |
ScSortKeyWindow | m_aSortWin |
Definition at line 44 of file tpsort.hxx.
ScTabPageSortFields::ScTabPageSortFields | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rArgSet | ||
) |
Definition at line 71 of file tpsort.cxx.
References Get(), get(), GetWhich, Init(), LINK, m_aIdle, m_xScrolledWindow, max, SfxTabPage::SetExchangeSupport(), and Timer::SetInvokeHandler().
|
overridevirtual |
Definition at line 109 of file tpsort.cxx.
References ScSortKeyWindow::m_aSortKeyItems, m_aSortWin, m_xBox, and m_xScrolledWindow.
|
overrideprotectedvirtual |
Reimplemented from SfxTabPage.
Definition at line 288 of file tpsort.cxx.
References aSortData, ScSortParam::bByRow, ScSortParam::bHasHeader, SfxItemSet::Get(), m_xBtnHeader, m_xBtnLeftRight, m_xBtnTopDown, rSet, and SCITEM_SORTDATA.
|
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().
|
static |
Definition at line 158 of file tpsort.cxx.
Referenced by ScSortDlg::ScSortDlg().
|
overrideprotectedvirtual |
|
private |
|
private |
|
private |
|
private |
Definition at line 306 of file tpsort.cxx.
References aSortData, aStrColumn, aStrRow, aStrUndefined, ScSortParam::bByRow, ScSortParam::bHasHeader, ScDocument::ClampToAllocatedColumns(), col, ScViewData::GetDocument(), ScDocument::GetSheetLimits(), ScDocument::GetString(), ScViewData::GetTabNo(), i, ScSortKeyWindow::m_aSortKeyItems, m_aSortWin, ScSortParam::nCol1, ScSortParam::nCol2, nFieldArr, nFieldCount, ScSortParam::nRow1, ScSortParam::nRow2, nSortKeyCount, pViewData, SC_MAXFIELDS(), and ScColToAlpha().
Referenced by Reset(), and SetLastSortKey().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 239 of file tpsort.cxx.
References aSortData, ScSortParam::bByRow, ScSortParam::bHasHeader, SfxTabPage::GetDialogExampleSet(), SfxItemSet::GetItemIfSet(), ScSortParam::GetSortKeyCount(), i, ScSortKeyWindow::m_aSortKeyItems, m_aSortWin, m_xBtnHeader, m_xBtnTopDown, ScSortParam::maKeyState, nFieldArr, nSortKeyCount, nWhichSort, SfxItemSet::Put(), and SCITEM_SORTDATA.
Referenced by DeactivatePage().
|
private |
Definition at line 375 of file tpsort.cxx.
References n, nFieldArr, and nFieldCount.
Referenced by Reset().
|
private |
Definition at line 116 of file tpsort.cxx.
References AddSortKey(), aSortData, aStrColLabel, SfxItemSet::Get(), ScDBCollection::GetDBAtArea(), ScDocument::GetDBCollection(), ScViewData::GetDocument(), SfxTabPage::GetItemSet(), ScViewData::GetTabNo(), ScSortItem::GetViewData(), ScDBData::HasHeader(), i, LINK, ScSortKeyWindow::m_aSortKeyItems, m_aSortWin, m_xBtnHeader, m_xBtnLeftRight, m_xBtnTopDown, ScSortParam::nCol1, ScSortParam::nCol2, nFieldArr, ScSortParam::nRow1, ScSortParam::nRow2, nSortKeyCount, nWhichSort, and pViewData.
Referenced by ScTabPageSortFields().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 163 of file tpsort.cxx.
References AddSortKey(), aSortData, ScSortParam::bByRow, ScSortParam::bHasHeader, FillFieldLists(), ScViewData::GetCurX(), GetFieldSelPos(), ScSortParam::GetSortKeyCount(), i, LINK, ScSortKeyWindow::m_aSortKeyItems, m_aSortWin, m_xBtnHeader, m_xBtnLeftRight, m_xBtnTopDown, ScSortParam::maKeyState, ScSortParam::nCol1, ScSortParam::nCol2, nSortKeyCount, pViewData, and SetLastSortKey().
|
private |
Definition at line 392 of file tpsort.cxx.
References AddSortKey(), aSortData, FillFieldLists(), LINK, ScSortKeyWindow::m_aSortKeyItems, m_aSortWin, ScSortParam::maKeyState, None, and nSortKeyCount.
Referenced by Reset().
|
private |
Definition at line 69 of file tpsort.hxx.
Referenced by ActivatePage(), FillFieldLists(), FillItemSet(), Init(), Reset(), and SetLastSortKey().
|
private |
Definition at line 65 of file tpsort.hxx.
Referenced by Init().
|
private |
Definition at line 62 of file tpsort.hxx.
Referenced by FillFieldLists().
|
private |
Definition at line 63 of file tpsort.hxx.
Referenced by FillFieldLists().
|
private |
Definition at line 64 of file tpsort.hxx.
|
private |
Definition at line 61 of file tpsort.hxx.
Referenced by FillFieldLists().
|
private |
Definition at line 59 of file tpsort.hxx.
Referenced by AddSortKey(), and ScTabPageSortFields().
|
private |
Definition at line 80 of file tpsort.hxx.
Referenced by AddSortKey(), FillFieldLists(), FillItemSet(), Init(), Reset(), SetLastSortKey(), and ~ScTabPageSortFields().
|
private |
Definition at line 79 of file tpsort.hxx.
Referenced by ~ScTabPageSortFields().
|
private |
Definition at line 75 of file tpsort.hxx.
Referenced by ActivatePage(), FillItemSet(), Init(), and Reset().
|
private |
Definition at line 77 of file tpsort.hxx.
Referenced by ActivatePage(), Init(), and Reset().
|
private |
Definition at line 76 of file tpsort.hxx.
Referenced by ActivatePage(), FillItemSet(), Init(), and Reset().
|
private |
Definition at line 78 of file tpsort.hxx.
Referenced by ScTabPageSortFields(), and ~ScTabPageSortFields().
|
private |
Definition at line 74 of file tpsort.hxx.
|
private |
Definition at line 70 of file tpsort.hxx.
Referenced by FillFieldLists(), FillItemSet(), GetFieldSelPos(), and Init().
|
private |
Definition at line 71 of file tpsort.hxx.
Referenced by FillFieldLists(), and GetFieldSelPos().
|
private |
Definition at line 72 of file tpsort.hxx.
Referenced by FillFieldLists(), FillItemSet(), Init(), Reset(), and SetLastSortKey().
|
private |
Definition at line 67 of file tpsort.hxx.
Referenced by FillItemSet(), and Init().
|
private |
Definition at line 68 of file tpsort.hxx.
Referenced by FillFieldLists(), Init(), and Reset().