LibreOffice Module chart2 (master) 1
|
#include <res_ErrorBar.hxx>
Public Types | |
enum | tErrorBarType { ERROR_BAR_X , ERROR_BAR_Y } |
Public Member Functions | |
ErrorBarResources (weld::Builder *pParent, weld::DialogController *pControllerDialog, const SfxItemSet &rInAttrs, bool bNoneAvailable, chart::ErrorBarResources::tErrorBarType eType=ERROR_BAR_Y) | |
virtual | ~ErrorBarResources () |
void | SetAxisMinorStepWidthForErrorBarDecimals (double fMinorStepWidth) |
void | SetErrorBarType (tErrorBarType eNewType) |
void | SetChartDocumentForRangeChoosing (const rtl::Reference<::chart::ChartModel > &xChartDocument) |
void | Reset (const SfxItemSet &rInAttrs) |
void | FillItemSet (SfxItemSet &rOutAttrs) const |
void | FillValueSets () |
virtual void | listeningFinished (const OUString &rNewRange) override |
virtual void | disposingRangeSelection () override |
virtual void | listeningFinished (const OUString &rNewRange)=0 |
virtual void | disposingRangeSelection ()=0 |
Private Member Functions | |
DECL_LINK (CategoryChosen, weld::Toggleable &, void) | |
DECL_LINK (CategoryChosen2, weld::ComboBox &, void) | |
DECL_LINK (SynchronizePosAndNeg, weld::Toggleable &, void) | |
DECL_LINK (PosValueChanged, weld::MetricSpinButton &, void) | |
DECL_LINK (IndicatorChanged, weld::Toggleable &, void) | |
DECL_LINK (ChooseRange, weld::Button &, void) | |
DECL_LINK (RangeChanged, weld::Entry &, void) | |
void | UpdateControlStates () |
void | isRangeFieldContentValid (weld::Entry &rEdit) |
Additional Inherited Members | |
Protected Member Functions inherited from chart::RangeSelectionListenerParent | |
~RangeSelectionListenerParent () | |
Definition at line 48 of file res_ErrorBar.hxx.
Enumerator | |
---|---|
ERROR_BAR_X | |
ERROR_BAR_Y |
Definition at line 51 of file res_ErrorBar.hxx.
chart::ErrorBarResources::ErrorBarResources | ( | weld::Builder * | pParent, |
weld::DialogController * | pControllerDialog, | ||
const SfxItemSet & | rInAttrs, | ||
bool | bNoneAvailable, | ||
chart::ErrorBarResources::tErrorBarType | eType = ERROR_BAR_Y |
||
) |
Definition at line 81 of file res_ErrorBar.cxx.
References Both, eType, FillValueSets(), LINK, m_xCbSyncPosNeg, m_xEdRangeNegative, m_xEdRangePositive, m_xIbRangeNegative, m_xIbRangePositive, m_xLbFunction, m_xMfPositive, m_xRbBoth, m_xRbConst, m_xRbFunction, m_xRbNegative, m_xRbNone, m_xRbPercent, m_xRbPositive, m_xRbRange, NONE, and Reset().
|
virtual |
Definition at line 154 of file res_ErrorBar.cxx.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
overridevirtual |
Implements chart::RangeSelectionListenerParent.
Definition at line 690 of file res_ErrorBar.cxx.
References m_apRangeSelectionHelper.
void chart::ErrorBarResources::FillItemSet | ( | SfxItemSet & | rOutAttrs | ) | const |
Definition at line 585 of file res_ErrorBar.cxx.
References ERROR_BAR_Y, m_bErrorKindUnique, m_bHasInternalDataProvider, m_bIndicatorUnique, m_bRangeNegUnique, m_bRangePosUnique, m_eErrorBarType, m_eErrorKind, m_eIndicate, m_xCbSyncPosNeg, m_xEdRangeNegative, m_xEdRangePositive, m_xMfNegative, m_xMfPositive, SfxItemSet::Put(), SCHATTR_STAT_CONSTMINUS(), SCHATTR_STAT_CONSTPLUS(), SCHATTR_STAT_ERRORBAR_TYPE(), SCHATTR_STAT_INDICATE(), SCHATTR_STAT_KIND_ERROR(), SCHATTR_STAT_RANGE_NEG(), and SCHATTR_STAT_RANGE_POS().
Referenced by chart::ErrorBarsTabPage::FillItemSet().
void chart::ErrorBarResources::FillValueSets | ( | ) |
Definition at line 641 of file res_ErrorBar.cxx.
References ERROR_BAR_X, ERROR_BAR_Y, m_eErrorBarType, m_xFiBoth, m_xFiNegative, and m_xFiPositive.
Referenced by ErrorBarResources(), and SetErrorBarType().
|
private |
Definition at line 697 of file res_ErrorBar.cxx.
References weld::Error, weld::Widget::get_sensitive(), weld::Entry::get_text(), m_apRangeSelectionHelper, weld::Normal, and weld::Entry::set_message_type().
Referenced by SetChartDocumentForRangeChoosing(), and UpdateControlStates().
|
overridevirtual |
Implements chart::RangeSelectionListenerParent.
Definition at line 657 of file res_ErrorBar.cxx.
References weld::Widget::grab_focus(), m_apRangeSelectionHelper, m_pController, m_pCurrentRangeChoosingField, m_xMfPositive, weld::Entry::set_text(), and UpdateControlStates().
void chart::ErrorBarResources::Reset | ( | const SfxItemSet & | rInAttrs | ) |
Definition at line 471 of file res_ErrorBar.cxx.
References SfxItemSet::GetItemIfSet(), SfxItemSet::GetItemState(), GetValue, m_bErrorKindUnique, m_bIndicatorUnique, m_bRangeNegUnique, m_bRangePosUnique, m_eErrorKind, m_eIndicate, m_fMinusValue, m_fPlusValue, m_xCbSyncPosNeg, m_xEdRangeNegative, m_xEdRangePositive, m_xLbFunction, m_xRbBoth, m_xRbConst, m_xRbFunction, m_xRbNegative, m_xRbNone, m_xRbPercent, m_xRbPositive, m_xRbRange, SCHATTR_STAT_CONSTMINUS(), SCHATTR_STAT_CONSTPLUS(), SCHATTR_STAT_INDICATE(), SCHATTR_STAT_KIND_ERROR(), SCHATTR_STAT_RANGE_NEG(), SCHATTR_STAT_RANGE_POS(), and UpdateControlStates().
Referenced by ErrorBarResources(), and chart::ErrorBarsTabPage::Reset().
void chart::ErrorBarResources::SetAxisMinorStepWidthForErrorBarDecimals | ( | double | fMinorStepWidth | ) |
Definition at line 203 of file res_ErrorBar.cxx.
References m_nConstDecimalDigits, and m_nConstSpinSize.
Referenced by chart::ErrorBarsTabPage::SetAxisMinorStepWidthForErrorBarDecimals().
void chart::ErrorBarResources::SetChartDocumentForRangeChoosing | ( | const rtl::Reference<::chart::ChartModel > & | xChartDocument | ) |
Definition at line 167 of file res_ErrorBar.cxx.
References HID_SCH_ERROR_BARS_FROM_DATA, isRangeFieldContentValid(), m_apRangeSelectionHelper, m_bEnableDataTableDialog, m_bHasInternalDataProvider, m_xEdRangeNegative, m_xEdRangePositive, m_xRbRange, m_xUIStringRbRange, and TOOLS_WARN_EXCEPTION.
Referenced by chart::ErrorBarsTabPage::SetChartDocumentForRangeChoosing().
void chart::ErrorBarResources::SetErrorBarType | ( | tErrorBarType | eNewType | ) |
Definition at line 158 of file res_ErrorBar.cxx.
References FillValueSets(), and m_eErrorBarType.
Referenced by chart::ErrorBarsTabPage::SetErrorBarType().
|
private |
Definition at line 222 of file res_ErrorBar.cxx.
References CHART_LB_FUNCTION_ERROR_MARGIN, isRangeFieldContentValid(), m_apRangeSelectionHelper, m_bEnableDataTableDialog, m_bHasInternalDataProvider, m_fMinusValue, m_fPlusValue, m_nConstDecimalDigits, m_nConstSpinSize, m_xBxNegative, m_xBxPositive, m_xCbSyncPosNeg, m_xEdRangeNegative, m_xEdRangePositive, m_xFlParameters, m_xIbRangeNegative, m_xIbRangePositive, m_xLbFunction, m_xMfNegative, m_xMfPositive, m_xRbBoth, m_xRbFunction, m_xRbNegative, m_xRbPercent, m_xRbPositive, and m_xRbRange.
Referenced by listeningFinished(), and Reset().
|
private |
Definition at line 90 of file res_ErrorBar.hxx.
Referenced by disposingRangeSelection(), isRangeFieldContentValid(), listeningFinished(), SetChartDocumentForRangeChoosing(), and UpdateControlStates().
|
private |
Definition at line 93 of file res_ErrorBar.hxx.
Referenced by SetChartDocumentForRangeChoosing(), and UpdateControlStates().
|
private |
Definition at line 78 of file res_ErrorBar.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 92 of file res_ErrorBar.hxx.
Referenced by FillItemSet(), SetChartDocumentForRangeChoosing(), and UpdateControlStates().
|
private |
Definition at line 79 of file res_ErrorBar.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 81 of file res_ErrorBar.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 80 of file res_ErrorBar.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 83 of file res_ErrorBar.hxx.
Referenced by FillItemSet(), FillValueSets(), and SetErrorBarType().
|
private |
Definition at line 75 of file res_ErrorBar.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 76 of file res_ErrorBar.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 87 of file res_ErrorBar.hxx.
Referenced by Reset(), and UpdateControlStates().
|
private |
Definition at line 86 of file res_ErrorBar.hxx.
Referenced by Reset(), and UpdateControlStates().
|
private |
Definition at line 84 of file res_ErrorBar.hxx.
Referenced by SetAxisMinorStepWidthForErrorBarDecimals(), and UpdateControlStates().
|
private |
Definition at line 85 of file res_ErrorBar.hxx.
Referenced by SetAxisMinorStepWidthForErrorBarDecimals(), and UpdateControlStates().
|
private |
Definition at line 89 of file res_ErrorBar.hxx.
Referenced by listeningFinished().
|
private |
Definition at line 91 of file res_ErrorBar.hxx.
Referenced by listeningFinished().
|
private |
Definition at line 110 of file res_ErrorBar.hxx.
Referenced by UpdateControlStates().
|
private |
Definition at line 106 of file res_ErrorBar.hxx.
Referenced by UpdateControlStates().
|
private |
Definition at line 114 of file res_ErrorBar.hxx.
Referenced by ErrorBarResources(), FillItemSet(), Reset(), and UpdateControlStates().
|
private |
Definition at line 112 of file res_ErrorBar.hxx.
Referenced by ErrorBarResources(), FillItemSet(), Reset(), SetChartDocumentForRangeChoosing(), and UpdateControlStates().
|
private |
Definition at line 108 of file res_ErrorBar.hxx.
Referenced by ErrorBarResources(), FillItemSet(), Reset(), SetChartDocumentForRangeChoosing(), and UpdateControlStates().
|
private |
Definition at line 120 of file res_ErrorBar.hxx.
Referenced by FillValueSets().
|
private |
Definition at line 122 of file res_ErrorBar.hxx.
Referenced by FillValueSets().
|
private |
Definition at line 121 of file res_ErrorBar.hxx.
Referenced by FillValueSets().
|
private |
Definition at line 105 of file res_ErrorBar.hxx.
Referenced by UpdateControlStates().
|
private |
Definition at line 113 of file res_ErrorBar.hxx.
Referenced by ErrorBarResources(), and UpdateControlStates().
|
private |
Definition at line 109 of file res_ErrorBar.hxx.
Referenced by ErrorBarResources(), and UpdateControlStates().
|
private |
Definition at line 102 of file res_ErrorBar.hxx.
Referenced by ErrorBarResources(), Reset(), and UpdateControlStates().
|
private |
Definition at line 111 of file res_ErrorBar.hxx.
Referenced by FillItemSet(), and UpdateControlStates().
|
private |
Definition at line 107 of file res_ErrorBar.hxx.
Referenced by ErrorBarResources(), FillItemSet(), listeningFinished(), and UpdateControlStates().
|
private |
Definition at line 117 of file res_ErrorBar.hxx.
Referenced by ErrorBarResources(), Reset(), and UpdateControlStates().
|
private |
Definition at line 98 of file res_ErrorBar.hxx.
Referenced by ErrorBarResources(), and Reset().
|
private |
Definition at line 100 of file res_ErrorBar.hxx.
Referenced by ErrorBarResources(), Reset(), and UpdateControlStates().
|
private |
Definition at line 119 of file res_ErrorBar.hxx.
Referenced by ErrorBarResources(), Reset(), and UpdateControlStates().
|
private |
Definition at line 97 of file res_ErrorBar.hxx.
Referenced by ErrorBarResources(), and Reset().
|
private |
Definition at line 99 of file res_ErrorBar.hxx.
Referenced by ErrorBarResources(), Reset(), and UpdateControlStates().
|
private |
Definition at line 118 of file res_ErrorBar.hxx.
Referenced by ErrorBarResources(), Reset(), and UpdateControlStates().
|
private |
Definition at line 101 of file res_ErrorBar.hxx.
Referenced by ErrorBarResources(), Reset(), SetChartDocumentForRangeChoosing(), and UpdateControlStates().
|
private |
Definition at line 125 of file res_ErrorBar.hxx.
|
private |
Definition at line 124 of file res_ErrorBar.hxx.
|
private |
Definition at line 126 of file res_ErrorBar.hxx.
Referenced by SetChartDocumentForRangeChoosing().