|
LibreOffice Module sc (master) 1
|
#include <tpsubt.hxx>
Public Member Functions | |
| virtual | ~ScTpSubTotalGroup () override |
| bool | DoReset (sal_uInt16 nGroupNo, const SfxItemSet &rArgSet) |
| bool | DoFillItemSet (sal_uInt16 nGroupNo, SfxItemSet &rArgSet) |
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 () |
Protected Member Functions | |
| ScTpSubTotalGroup (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rArgSet, const sal_uInt16 &nTabNumber) | |
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 | Init () |
| void | FillListBoxes () |
| sal_uInt16 | GetFieldSelPos (SCCOL nField) |
| DECL_LINK (SelectListBoxHdl, weld::ComboBox &, void) | |
| DECL_LINK (SelectTreeListBoxHdl, weld::TreeView &, void) | |
| DECL_LINK (CheckHdl, const weld::TreeView::iter_col &, void) | |
| DECL_LINK (CheckBoxHdl, weld::Toggleable &, void) | |
| void | SelectHdl (const weld::Widget *) |
Static Private Member Functions | |
| static ScSubTotalFunc | LbPosToFunc (sal_uInt16 nPos) |
| static sal_uInt16 | FuncToLbPos (ScSubTotalFunc eFunc) |
Private Attributes | |
| const OUString | aStrNone |
| const OUString | aStrColumn |
| ScViewData * | pViewData |
| ScDocument * | pDoc |
| const TypedWhichId< ScSubTotalItem > | nWhichSubTotals |
| const ScSubTotalParam & | rSubTotalData |
| std::vector< SCCOL > | mnFieldArr |
| sal_uInt16 | nFieldCount |
| std::unique_ptr< weld::ComboBox > | mxLbGroup |
| std::unique_ptr< weld::TreeView > | mxLbColumns |
| std::unique_ptr< weld::TreeView > | mxLbFunctions |
| std::unique_ptr< weld::CheckButton > | mxLbSelectAllColumns |
Additional Inherited Members | |
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) |
Definition at line 30 of file tpsubt.hxx.
|
protected |
Definition at line 41 of file tpsubt.cxx.
References weld::Check, Get(), GetWhich, i, Init(), mxLbColumns, mxLbFunctions, mxLbGroup, SAL_N_ELEMENTS, and ScResId().
|
overridevirtual |
Definition at line 71 of file tpsubt.cxx.
|
private |
|
private |
|
private |
|
private |
| bool ScTpSubTotalGroup::DoFillItemSet | ( | sal_uInt16 | nGroupNo, |
| SfxItemSet & | rArgSet | ||
| ) |
Definition at line 171 of file tpsubt.cxx.
References ScSubTotalParam::bGroupActive, SfxTabPage::GetDialogExampleSet(), SfxItemSet::GetItemIfSet(), i, LbPosToFunc(), mnFieldArr, mxLbColumns, mxLbFunctions, mxLbGroup, ScSubTotalParam::nCol1, ScSubTotalParam::nCol2, ScSubTotalParam::nField, ScSubTotalParam::nRow1, ScSubTotalParam::nRow2, nWhichSubTotals, SfxItemSet::Put(), rSubTotalData, SCITEM_SUBTDATA, ScSubTotalParam::SetSubTotals(), and TRISTATE_TRUE.
| bool ScTpSubTotalGroup::DoReset | ( | sal_uInt16 | nGroupNo, |
| const SfxItemSet & | rArgSet | ||
| ) |
Definition at line 111 of file tpsubt.cxx.
References ScSubTotalParam::bGroupActive, FuncToLbPos(), SfxItemSet::Get(), GetFieldSelPos(), i, mxLbColumns, mxLbFunctions, mxLbGroup, mxLbSelectAllColumns, nCount, ScSubTotalParam::nField, ScSubTotalParam::nSubTotals, nWhichSubTotals, ScSubTotalParam::pFunctions, ScSubTotalParam::pSubTotals, TRISTATE_FALSE, and TRISTATE_TRUE.
|
private |
Definition at line 245 of file tpsubt.cxx.
References aStrColumn, aStrNone, col, ScDocument::GetSheetLimits(), ScDocument::GetString(), ScViewData::GetTabNo(), i, mnFieldArr, mxLbColumns, mxLbGroup, ScSubTotalParam::nCol1, ScSubTotalParam::nCol2, nFieldCount, ScSubTotalParam::nRow1, pDoc, pViewData, ScGlobal::ReplaceOrAppend(), rSubTotalData, SC_MAXFIELDS(), ScColToAlpha(), TRISTATE_FALSE, and u.
Referenced by Init().
|
staticprivate |
Definition at line 322 of file tpsubt.cxx.
References SUBTOTAL_FUNC_AVE, SUBTOTAL_FUNC_CNT, SUBTOTAL_FUNC_CNT2, SUBTOTAL_FUNC_MAX, SUBTOTAL_FUNC_MIN, SUBTOTAL_FUNC_PROD, SUBTOTAL_FUNC_STD, SUBTOTAL_FUNC_STDP, SUBTOTAL_FUNC_SUM, SUBTOTAL_FUNC_VAR, and SUBTOTAL_FUNC_VARP.
Referenced by DoReset().
|
private |
Definition at line 283 of file tpsubt.cxx.
References mnFieldArr, n, and nFieldCount.
Referenced by DoReset().
|
private |
Definition at line 75 of file tpsubt.cxx.
References FillListBoxes(), SfxItemSet::Get(), ScViewData::GetDocument(), SfxTabPage::GetItemSet(), ScDocument::GetSheetLimits(), ScSubTotalItem::GetViewData(), LINK, mnFieldArr, mxLbColumns, mxLbFunctions, mxLbGroup, mxLbSelectAllColumns, nWhichSubTotals, pDoc, pViewData, and SC_MAXFIELDS().
Referenced by ScTpSubTotalGroup().
|
staticprivate |
Definition at line 300 of file tpsubt.cxx.
References nPos, SUBTOTAL_FUNC_AVE, SUBTOTAL_FUNC_CNT, SUBTOTAL_FUNC_CNT2, SUBTOTAL_FUNC_MAX, SUBTOTAL_FUNC_MIN, SUBTOTAL_FUNC_NONE, SUBTOTAL_FUNC_PROD, SUBTOTAL_FUNC_STD, SUBTOTAL_FUNC_STDP, SUBTOTAL_FUNC_SUM, SUBTOTAL_FUNC_VAR, and SUBTOTAL_FUNC_VARP.
Referenced by DoFillItemSet().
|
private |
Definition at line 361 of file tpsubt.cxx.
References mxLbColumns, mxLbFunctions, and TRISTATE_TRUE.
|
private |
Definition at line 57 of file tpsubt.hxx.
Referenced by FillListBoxes().
|
private |
Definition at line 56 of file tpsubt.hxx.
Referenced by FillListBoxes().
|
private |
Definition at line 64 of file tpsubt.hxx.
Referenced by DoFillItemSet(), FillListBoxes(), GetFieldSelPos(), and Init().
|
private |
Definition at line 68 of file tpsubt.hxx.
Referenced by DoFillItemSet(), DoReset(), FillListBoxes(), Init(), ScTpSubTotalGroup(), and SelectHdl().
|
private |
Definition at line 69 of file tpsubt.hxx.
Referenced by DoFillItemSet(), DoReset(), Init(), ScTpSubTotalGroup(), and SelectHdl().
|
private |
Definition at line 67 of file tpsubt.hxx.
Referenced by DoFillItemSet(), DoReset(), FillListBoxes(), Init(), and ScTpSubTotalGroup().
|
private |
Definition at line 70 of file tpsubt.hxx.
|
private |
Definition at line 65 of file tpsubt.hxx.
Referenced by FillListBoxes(), and GetFieldSelPos().
|
private |
Definition at line 62 of file tpsubt.hxx.
Referenced by DoFillItemSet(), DoReset(), and Init().
|
private |
Definition at line 60 of file tpsubt.hxx.
Referenced by FillListBoxes(), and Init().
|
private |
Definition at line 59 of file tpsubt.hxx.
Referenced by FillListBoxes(), and Init().
|
private |
Definition at line 63 of file tpsubt.hxx.
Referenced by DoFillItemSet(), and FillListBoxes().