LibreOffice Module sc (master) 1
|
#include <consdlg.hxx>
Public Member Functions | |
ScConsolidateDlg (SfxBindings *pB, SfxChildWindow *pCW, weld::Window *pParent, const SfxItemSet &rArgSet) | |
virtual | ~ScConsolidateDlg () override |
virtual void | SetReference (const ScRange &rRef, ScDocument &rDoc) override |
virtual bool | IsRefInputMode () const override |
virtual void | SetActive () override |
virtual void | Close () override |
virtual void | Deactivate () override |
Public Member Functions inherited from ScAnyRefDlgController | |
ScAnyRefDlgController (SfxBindings *rt1, SfxChildWindow *rt2, weld::Window *rt3, const OUString &rt4, const OUString &rt5) | |
Public Member Functions inherited from ScRefHdlrControllerImpl< SfxModelessDialogController > | |
ScRefHdlrControllerImpl (weld::Window *pParent, const OUString &rUIXMLDescription, const OUString &rID, const SfxItemSet *pArg, SfxBindings *pB) | |
ScRefHdlrControllerImpl (SfxBindings *pB, SfxChildWindow *pCW, weld::Window *pParent, const OUString &rUIXMLDescription, const OUString &rID) | |
Public Member Functions inherited from SfxModelessDialogController | |
virtual | ~SfxModelessDialogController () override |
void | Initialize (SfxChildWinInfo const *pInfo) |
bool | IsClosing () const |
virtual void | Close () override |
virtual void | EndDialog (int nResponse) override |
virtual void | Activate () override |
virtual void | Deactivate () override |
virtual void | ChildWinDispose () override |
virtual void | FillInfo (SfxChildWinInfo &) const |
SfxBindings & | GetBindings () const |
Public Member Functions inherited from SfxDialogController | |
SfxDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId) | |
virtual void | Activate () |
virtual void | Deactivate () |
virtual void | ChildWinDispose () |
virtual void | Close () |
virtual void | EndDialog (int nResponse) |
virtual bool | CloseOnHide () const |
Public Member Functions inherited from ScRefHandler | |
ScRefHandler (SfxDialogController &rController, SfxBindings *pB, bool bBindRef) | |
virtual | ~ScRefHandler () COVERITY_NOEXCEPT_FALSE override |
virtual void | SetReference (const ScRange &rRef, ScDocument &rDoc) override=0 |
virtual void | AddRefEntry () override |
virtual bool | IsRefInputMode () const override |
virtual bool | IsTableLocked () const override |
virtual bool | IsDocAllowed (SfxObjectShell *pDocSh) const override |
virtual void | ShowReference (const OUString &rStr) override |
virtual void | HideReference (bool bDoneRefMode=true) override |
virtual void | ToggleCollapsed (formula::RefEdit *pEdit, formula::RefButton *pButton) override |
virtual void | ReleaseFocus (formula::RefEdit *pEdit) override |
virtual void | ViewShellChanged () override |
void | SwitchToDocument () |
virtual void | SetActive () override=0 |
bool | EnterRefMode () |
bool | LeaveRefMode () |
bool | CanInputDone (bool bForced) |
Private Member Functions | |
void | Init () |
void | FillAreaLists () |
bool | VerifyEdit (formula::RefEdit *pEd) |
DECL_LINK (OkHdl, weld::Button &, void) | |
DECL_LINK (ClickHdl, weld::Button &, void) | |
DECL_LINK (GetFocusHdl, weld::Widget &, void) | |
DECL_LINK (GetEditFocusHdl, formula::RefEdit &, void) | |
DECL_LINK (ModifyHdl, formula::RefEdit &, void) | |
DECL_LINK (SelectTVHdl, weld::TreeView &, void) | |
DECL_LINK (SelectCBHdl, weld::ComboBox &, void) | |
Static Private Member Functions | |
static ScSubTotalFunc | LbPosToFunc (sal_Int32 nPos) |
static sal_Int32 | FuncToLbPos (ScSubTotalFunc eFunc) |
Additional Inherited Members | |
Public Types inherited from ScRefHdlrControllerImpl< SfxModelessDialogController > | |
enum | |
Static Public Member Functions inherited from ScRefHandler | |
static bool | CanInputStart (const formula::RefEdit *pEdit) |
Protected Member Functions inherited from SfxModelessDialogController | |
SfxModelessDialogController (SfxBindings *, SfxChildWindow *pChildWin, weld::Window *pParent, const OUString &rUIXMLDescription, const OUString &rID) | |
Protected Member Functions inherited from ScRefHandler | |
void | disposeRefHandler () |
bool | DoClose (sal_uInt16 nId) |
void | SetDispatcherLock (bool bLock) |
virtual void | RefInputStart (formula::RefEdit *pEdit, formula::RefButton *pButton=nullptr) override |
virtual void | RefInputDone (bool bForced=false) override |
bool | ParseWithNames (ScRangeList &rRanges, std::u16string_view rStr, const ScDocument &pDoc) |
Definition at line 30 of file consdlg.hxx.
ScConsolidateDlg::ScConsolidateDlg | ( | SfxBindings * | pB, |
SfxChildWindow * | pCW, | ||
weld::Window * | pParent, | ||
const SfxItemSet & | rArgSet | ||
) |
Definition at line 67 of file consdlg.cxx.
References Get(), GetData, GetWhich, Init(), m_pRefInputEdit, and m_xEdDataArea.
|
overridevirtual |
Definition at line 105 of file consdlg.cxx.
|
overridevirtual |
Reimplemented from SfxModelessDialogController.
Definition at line 254 of file consdlg.cxx.
References ScRefHandler::DoClose().
|
overridevirtual |
Reimplemented from SfxModelessDialogController.
Definition at line 277 of file consdlg.cxx.
References bDlgLostFocus.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 208 of file consdlg.cxx.
References aStrUndefined, i, m_xLbDataArea, m_xLbDestArea, nAreaDataCount, and pAreaData.
Referenced by Init().
|
staticprivate |
Definition at line 513 of file consdlg.cxx.
References 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 Init().
|
private |
Definition at line 109 of file consdlg.cxx.
References ADDR_ABS_3D, aStr, ScConsolidateParam::bByCol, ScConsolidateParam::bByRow, ScConsolidateParam::bReferenceData, ScConsolidateParam::eFunction, FillAreaLists(), ScRange::Format(), ScAddress::Format(), FuncToLbPos(), ScDocument::GetAddressConvention(), ScDocument::GetDBCollection(), ScDBCollection::getNamedDBs(), ScDocument::GetRangeName(), ScDocument::GetTableCount(), i, LINK, m_xBtnAdd, m_xBtnByCol, m_xBtnByRow, m_xBtnCancel, m_xBtnOk, m_xBtnRefs, m_xBtnRemove, m_xDataFT, m_xDestFT, m_xEdDataArea, m_xEdDestArea, m_xLbConsAreas, m_xLbDataArea, m_xLbDestArea, m_xLbFunc, m_xRbDataArea, m_xRbDestArea, nAreaDataCount, ScConsolidateParam::nCol, ScArea::nColEnd, ScArea::nColStart, ScConsolidateParam::nDataAreaCount, ScAreaNameIterator::Next(), ScConsolidateParam::nRow, ScArea::nRowEnd, ScArea::nRowStart, ScConsolidateParam::nTab, ScArea::nTab, pAreaData, ScConsolidateParam::pDataAreas, RANGE_ABS_3D, rDoc, ScDBCollection::NamedDBs::size(), ScRangeName::size(), and theConsData.
Referenced by ScConsolidateDlg().
|
inlineoverridevirtual |
Reimplemented from ScRefHandler.
Definition at line 39 of file consdlg.hxx.
|
staticprivate |
Definition at line 493 of file consdlg.cxx.
References nPos, 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.
|
overridevirtual |
Implements ScRefHandler.
Definition at line 259 of file consdlg.cxx.
References bDlgLostFocus, formula::RefEdit::GrabFocus(), m_pRefInputEdit, m_xDialog, and ScRefHandler::RefInputDone().
|
overridevirtual |
!! nCurTab is still missing
Implements ScRefHandler.
Definition at line 230 of file consdlg.cxx.
References ScRange::aEnd, ScRange::aStart, aStr, ScRange::Format(), ScAddress::Format(), ScDocument::GetAddressConvention(), m_pRefInputEdit, m_xEdDataArea, m_xEdDestArea, RANGE_ABS_3D, ScRefHandler::RefInputStart(), formula::RefEdit::SetRefString(), ScAddress::Tab(), and TAB2_3D.
|
private |
Definition at line 282 of file consdlg.cxx.
References ScRangeUtil::CutPosString(), ScDocument::GetAddressConvention(), ScViewData::GetTabNo(), formula::RefEdit::GetText(), ScRangeUtil::IsAbsArea(), ScRangeUtil::IsAbsPos(), m_xEdDataArea, m_xEdDestArea, rDoc, rViewData, and formula::RefEdit::SetText().
|
private |
Definition at line 46 of file consdlg.hxx.
Referenced by FillAreaLists().
|
private |
Definition at line 54 of file consdlg.hxx.
Referenced by Deactivate(), and SetActive().
|
private |
Definition at line 56 of file consdlg.hxx.
Referenced by ScConsolidateDlg(), SetActive(), and SetReference().
|
private |
Definition at line 76 of file consdlg.hxx.
Referenced by Init().
|
private |
Definition at line 70 of file consdlg.hxx.
Referenced by Init().
|
private |
Definition at line 69 of file consdlg.hxx.
Referenced by Init().
|
private |
Definition at line 75 of file consdlg.hxx.
Referenced by Init().
|
private |
Definition at line 74 of file consdlg.hxx.
Referenced by Init().
|
private |
Definition at line 72 of file consdlg.hxx.
Referenced by Init().
|
private |
Definition at line 77 of file consdlg.hxx.
Referenced by Init().
|
private |
Definition at line 79 of file consdlg.hxx.
Referenced by Init().
|
private |
Definition at line 80 of file consdlg.hxx.
Referenced by Init().
|
private |
Definition at line 62 of file consdlg.hxx.
Referenced by Init(), ScConsolidateDlg(), SetReference(), and VerifyEdit().
|
private |
Definition at line 66 of file consdlg.hxx.
Referenced by Init(), SetReference(), and VerifyEdit().
|
private |
Definition at line 59 of file consdlg.hxx.
Referenced by Init().
|
private |
Definition at line 61 of file consdlg.hxx.
Referenced by FillAreaLists(), and Init().
|
private |
Definition at line 65 of file consdlg.hxx.
Referenced by FillAreaLists(), and Init().
|
private |
Definition at line 58 of file consdlg.hxx.
Referenced by Init().
|
private |
Definition at line 63 of file consdlg.hxx.
Referenced by Init().
|
private |
Definition at line 67 of file consdlg.hxx.
Referenced by Init().
|
private |
Definition at line 52 of file consdlg.hxx.
Referenced by FillAreaLists(), and Init().
|
private |
Definition at line 53 of file consdlg.hxx.
|
private |
Definition at line 51 of file consdlg.hxx.
Referenced by FillAreaLists(), and Init().
|
private |
Definition at line 50 of file consdlg.hxx.
Referenced by Init(), and VerifyEdit().
|
private |
Definition at line 49 of file consdlg.hxx.
Referenced by VerifyEdit().
|
private |
Definition at line 48 of file consdlg.hxx.
Referenced by Init().