LibreOffice Module sc (master) 1
|
Dialog to create or edit sparkline group attributes. More...
#include <SparklineDialog.hxx>
Public Member Functions | |
SparklineDialog (SfxBindings *pBindings, SfxChildWindow *pChildWindow, weld::Window *pWindow, ScViewData &rViewData) | |
virtual | ~SparklineDialog () override |
virtual void | SetReference (const ScRange &rRef, ScDocument &rDocument) override |
virtual void | SetActive () override |
virtual void | Close () 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 | |
DECL_LINK (ButtonClicked, weld::Button &, void) | |
DECL_LINK (EditFocusHandler, formula::RefEdit &, void) | |
DECL_LINK (ButtonFocusHandler, formula::RefButton &, void) | |
DECL_LINK (LoseEditFocusHandler, formula::RefEdit &, void) | |
DECL_LINK (LoseButtonFocusHandler, formula::RefButton &, void) | |
DECL_LINK (RefInputModifyHandler, formula::RefEdit &, void) | |
DECL_LINK (ToggleHandler, weld::Toggleable &, void) | |
DECL_LINK (SelectSparklineType, weld::ComboBox &, void) | |
DECL_LINK (ComboValueChanged, weld::ComboBox &, void) | |
DECL_LINK (SpinLineWidthChanged, weld::SpinButton &, void) | |
DECL_LINK (SpinCustomChanged, weld::FormattedSpinButton &, void) | |
void | setupValues () |
void | setInputSelection () |
void | perform () |
bool | checkValidInputOutput () |
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) |
Dialog to create or edit sparkline group attributes.
Definition at line 24 of file SparklineDialog.hxx.
sc::SparklineDialog::SparklineDialog | ( | SfxBindings * | pBindings, |
SfxChildWindow * | pChildWindow, | ||
weld::Window * | pWindow, | ||
ScViewData & | rViewData | ||
) |
Definition at line 23 of file SparklineDialog.cxx.
References u.
|
overridevirtualdefault |
|
private |
Definition at line 504 of file SparklineDialog.cxx.
References ScRange::aEnd, ScRange::aStart, sc::calculateOrientation(), ScAddress::Col(), ScRange::IsValid(), maInputRange, maOutputRange, mbEditMode, ScAddress::Row(), and sc::Unknown.
Referenced by SetReference().
|
overridevirtual |
Reimplemented from SfxModelessDialogController.
Definition at line 253 of file SparklineDialog.cxx.
References ScRefHandler::DoClose(), and ChildControllerWrapper< SID_SPARKLINE_DIALOG >::GetChildWindowId().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 527 of file SparklineDialog.cxx.
References ScDocFunc::ChangeSparklineGroupAttributes(), ScDocShell::GetDocFunc(), ScViewData::GetDocShell(), maAttributes, maInputRange, maOutputRange, mpSparklineGroup, mrViewData, mxColorFirst, mxColorHigh, mxColorLast, mxColorLow, mxColorMarker, mxColorNegative, mxColorSeries, sc::SparklineAttributes::setColorFirst(), sc::SparklineAttributes::setColorHigh(), sc::SparklineAttributes::setColorLast(), sc::SparklineAttributes::setColorLow(), sc::SparklineAttributes::setColorMarkers(), sc::SparklineAttributes::setColorNegative(), and sc::SparklineAttributes::setColorSeries().
|
overridevirtual |
Implements ScRefHandler.
Definition at line 255 of file SparklineDialog.cxx.
References formula::RefEdit::GrabFocus(), m_xDialog, mbDialogLostFocus, mpActiveEdit, and ScRefHandler::RefInputDone().
|
private |
Definition at line 139 of file SparklineDialog.cxx.
References ScRange::Format(), ScDocument::GetAddressConvention(), ScViewData::GetSimpleArea(), maInputRange, mrDocument, mrViewData, mxInputRangeEdit, TAB_3D, and VALID.
Referenced by setupValues().
|
overridevirtual |
Implements ScRefHandler.
Definition at line 270 of file SparklineDialog.cxx.
References ScRange::aEnd, ScRange::aStart, checkValidInputOutput(), ScRange::Format(), ScDocument::GetAddressConvention(), maInputRange, maOutputRange, mpActiveEdit, mxButtonOk, mxInputRangeEdit, mxOutputRangeEdit, ScRefHandler::RefInputStart(), TAB_3D, and VALID.
|
private |
Definition at line 147 of file SparklineDialog.cxx.
References ScRange::aStart, sc::Column, sc::Custom, sc::Gap, sc::SparklineAttributes::getColorFirst(), sc::SparklineAttributes::getColorHigh(), sc::SparklineAttributes::getColorLast(), sc::SparklineAttributes::getColorLow(), sc::SparklineAttributes::getColorMarkers(), sc::SparklineAttributes::getColorNegative(), sc::SparklineAttributes::getColorSeries(), sc::SparklineAttributes::getDisplayEmptyCellsAs(), sc::SparklineAttributes::getLineWeight(), sc::SparklineAttributes::getManualMax(), sc::SparklineAttributes::getManualMin(), sc::SparklineAttributes::getMaxAxisType(), sc::SparklineAttributes::getMinAxisType(), ScViewData::GetSimpleArea(), ScDocument::GetSparkline(), sc::SparklineAttributes::getType(), sc::Group, ScDocument::HasOneSparklineGroup(), sc::Individual, sc::SparklineAttributes::isFirst(), sc::SparklineAttributes::isHigh(), sc::SparklineAttributes::isLast(), sc::SparklineAttributes::isLow(), sc::SparklineAttributes::isMarkers(), sc::SparklineAttributes::isNegative(), sc::SparklineAttributes::isRightToLeft(), sc::Line, maAttributes, maInputRange, mbEditMode, mpSparklineGroup, mrDocument, mrViewData, mxCheckButtonFirst, mxCheckButtonHigh, mxCheckButtonLast, mxCheckButtonLow, mxCheckButtonMarker, mxCheckButtonNegative, mxCheckDisplayHidden, mxCheckDisplayXAxis, mxCheckRightToLeft, mxColorFirst, mxColorHigh, mxColorLast, mxColorLow, mxColorMarker, mxColorNegative, mxColorSeries, mxComboMaxAxisType, mxComboMinAxisType, mxDisplayEmptyGap, mxFrameData, mxSpinCustomMax, mxSpinCustomMin, mxSpinLineWidth, mxType, setInputSelection(), sc::SparklineAttributes::shouldDisplayHidden(), sc::SparklineAttributes::shouldDisplayXAxis(), sc::Span, sc::Stacked, and sc::Zero.
|
private |
Definition at line 92 of file SparklineDialog.hxx.
Referenced by perform(), and setupValues().
|
private |
Definition at line 30 of file SparklineDialog.hxx.
Referenced by checkValidInputOutput(), perform(), setInputSelection(), SetReference(), and setupValues().
|
private |
Definition at line 31 of file SparklineDialog.hxx.
Referenced by checkValidInputOutput(), perform(), and SetReference().
|
private |
Definition at line 34 of file SparklineDialog.hxx.
Referenced by SetActive().
|
private |
Definition at line 94 of file SparklineDialog.hxx.
Referenced by checkValidInputOutput(), and setupValues().
|
private |
Definition at line 33 of file SparklineDialog.hxx.
Referenced by SetActive(), and SetReference().
|
private |
Definition at line 91 of file SparklineDialog.hxx.
Referenced by perform(), and setupValues().
|
private |
Definition at line 28 of file SparklineDialog.hxx.
Referenced by setInputSelection(), and setupValues().
|
private |
Definition at line 27 of file SparklineDialog.hxx.
Referenced by perform(), setInputSelection(), and setupValues().
|
private |
Definition at line 37 of file SparklineDialog.hxx.
|
private |
Definition at line 36 of file SparklineDialog.hxx.
Referenced by SetReference().
|
private |
Definition at line 61 of file SparklineDialog.hxx.
Referenced by setupValues().
|
private |
Definition at line 59 of file SparklineDialog.hxx.
Referenced by setupValues().
|
private |
Definition at line 62 of file SparklineDialog.hxx.
Referenced by setupValues().
|
private |
Definition at line 60 of file SparklineDialog.hxx.
Referenced by setupValues().
|
private |
Definition at line 58 of file SparklineDialog.hxx.
Referenced by setupValues().
|
private |
Definition at line 57 of file SparklineDialog.hxx.
Referenced by setupValues().
|
private |
Definition at line 68 of file SparklineDialog.hxx.
Referenced by setupValues().
|
private |
Definition at line 67 of file SparklineDialog.hxx.
Referenced by setupValues().
|
private |
Definition at line 69 of file SparklineDialog.hxx.
Referenced by setupValues().
|
private |
Definition at line 54 of file SparklineDialog.hxx.
Referenced by perform(), and setupValues().
|
private |
Definition at line 52 of file SparklineDialog.hxx.
Referenced by perform(), and setupValues().
|
private |
Definition at line 55 of file SparklineDialog.hxx.
Referenced by perform(), and setupValues().
|
private |
Definition at line 53 of file SparklineDialog.hxx.
Referenced by perform(), and setupValues().
|
private |
Definition at line 51 of file SparklineDialog.hxx.
Referenced by perform(), and setupValues().
|
private |
Definition at line 50 of file SparklineDialog.hxx.
Referenced by perform(), and setupValues().
|
private |
Definition at line 49 of file SparklineDialog.hxx.
Referenced by perform(), and setupValues().
|
private |
Definition at line 74 of file SparklineDialog.hxx.
Referenced by setupValues().
|
private |
Definition at line 73 of file SparklineDialog.hxx.
Referenced by setupValues().
|
private |
Definition at line 71 of file SparklineDialog.hxx.
Referenced by setupValues().
|
private |
Definition at line 39 of file SparklineDialog.hxx.
Referenced by setupValues().
|
private |
Definition at line 43 of file SparklineDialog.hxx.
|
private |
Definition at line 42 of file SparklineDialog.hxx.
Referenced by setInputSelection(), and SetReference().
|
private |
Definition at line 41 of file SparklineDialog.hxx.
|
private |
Definition at line 47 of file SparklineDialog.hxx.
|
private |
Definition at line 46 of file SparklineDialog.hxx.
Referenced by SetReference().
|
private |
Definition at line 45 of file SparklineDialog.hxx.
|
private |
Definition at line 77 of file SparklineDialog.hxx.
Referenced by setupValues().
|
private |
Definition at line 76 of file SparklineDialog.hxx.
Referenced by setupValues().
|
private |
Definition at line 64 of file SparklineDialog.hxx.
Referenced by setupValues().
|
private |
Definition at line 65 of file SparklineDialog.hxx.
Referenced by setupValues().