32 : m_xCB_3DLook(pBuilder->weld_check_button(
"3dlook"))
33 , m_xLB_Scheme(pBuilder->weld_combo_box(
"3dscheme"))
79 if (m_pChangeListener)
80 m_pChangeListener->stateChanged();
85 if (m_pChangeListener)
86 m_pChangeListener->stateChanged();
90 : m_xCB_XValueSorting(pBuilder->weld_check_button(
"sort"))
113 if (m_pChangeListener)
114 m_pChangeListener->stateChanged();
118 : m_xCB_Stacked(pBuilder->weld_check_button(
"stack"))
119 , m_xRB_Stack_Y(pBuilder->weld_radio_button(
"ontop"))
120 , m_xRB_Stack_Y_Percent(pBuilder->weld_radio_button(
"percent"))
121 , m_xRB_Stack_Z(pBuilder->weld_radio_button(
"deep"))
189 if (m_pChangeListener && rRadio.get_active())
190 m_pChangeListener->stateChanged();
195 if (m_pChangeListener)
196 m_pChangeListener->stateChanged();
201 , m_xFT_LineType(pBuilder->weld_label(
"linetypeft"))
202 , m_xLB_LineType(pBuilder->weld_combo_box(
"linetype"))
203 , m_xPB_DetailsDialog(pBuilder->weld_button(
"properties"))
237 case CurveStyle_LINES:
241 case CurveStyle_CUBIC_SPLINES:
242 case CurveStyle_B_SPLINES:
250 case CurveStyle_STEP_START:
251 case CurveStyle_STEP_END:
252 case CurveStyle_STEP_CENTER_X:
253 case CurveStyle_STEP_CENTER_Y:
284 if (m_pChangeListener)
285 m_pChangeListener->stateChanged();
291 std::shared_ptr<SplinePropertiesDialog> xDlg = getSplinePropertiesDialog();
294 const sal_Int32 iOldLineTypePos = m_xLB_LineType->get_active();
297 iOldLineTypePos](sal_Int32 nResult) {
298 m_xSplinePropertiesDialog =
nullptr;
299 auto xNewDlg = getSplinePropertiesDialog();
305 xNewDlg->fillControls(aNewParameter);
307 if (m_pChangeListener)
308 m_pChangeListener->stateChanged();
313 m_xLB_LineType->set_active(iOldLineTypePos);
314 xNewDlg->fillControls(aOldParameter);
322 std::shared_ptr<SteppedPropertiesDialog> xDlg = getSteppedPropertiesDialog();
325 const sal_Int32 iOldLineTypePos = m_xLB_LineType->get_active();
329 xDlg, [
this, xDlg, aOldParameter, iOldLineTypePos](sal_Int32 nResult) {
330 m_xSteppedPropertiesDialog =
nullptr;
331 auto xNewDlg = getSplinePropertiesDialog();
336 xDlg->fillParameter(aNewParameter,
338 xNewDlg->fillControls(aNewParameter);
340 if (m_pChangeListener)
341 m_pChangeListener->stateChanged();
346 m_xLB_LineType->set_active(iOldLineTypePos);
347 xDlg->fillControls(aOldParameter);
353 : m_aGeometryResources(pBuilder)
362 sal_uInt16 nGeometry3D =
static_cast<sal_uInt16
>(rParameter.
nGeometry3D);
377 if (m_pChangeListener)
378 m_pChangeListener->stateChanged();
#define POS_LINETYPE_STRAIGHT
#define POS_LINETYPE_STEPPED
#define POS_LINETYPE_SMOOTH
void connect_changed(const Link< weld::TreeView &, void > &rLink)
void set_visible(bool bShow)
void set_sensitive(bool bEnable)
void select(sal_Int32 nPos)
sal_Int32 get_selected_index() const
css::chart2::CurveStyle eCurveStyle
ThreeDLookScheme eThreeDLookScheme
GlobalStackMode eStackMode
void fillControls(const ChartTypeParameter &rParameter)
Dim3DLookResourceGroup(weld::Builder *pBuilder)
std::unique_ptr< weld::ComboBox > m_xLB_Scheme
std::unique_ptr< weld::CheckButton > m_xCB_3DLook
void fillParameter(ChartTypeParameter &rParameter)
void showControls(bool bShow)
void fillControls(const ChartTypeParameter &rParameter)
BarGeometryResources m_aGeometryResources
void showControls(bool bShow)
void fillParameter(ChartTypeParameter &rParameter)
GeometryResourceGroup(weld::Builder *pBuilder)
void showControls(bool bShow)
SortByXValuesResourceGroup(weld::Builder *pBuilder)
std::unique_ptr< weld::CheckButton > m_xCB_XValueSorting
void fillParameter(ChartTypeParameter &rParameter)
void fillControls(const ChartTypeParameter &rParameter)
std::shared_ptr< SteppedPropertiesDialog > m_xSteppedPropertiesDialog
std::unique_ptr< weld::ComboBox > m_xLB_LineType
SplineResourceGroup(weld::Builder *pBuilder, weld::Window *pParent)
std::unique_ptr< weld::Label > m_xFT_LineType
void fillParameter(ChartTypeParameter &rParameter)
std::shared_ptr< SplinePropertiesDialog > m_xSplinePropertiesDialog
std::unique_ptr< weld::Button > m_xPB_DetailsDialog
std::shared_ptr< SplinePropertiesDialog > getSplinePropertiesDialog()
std::shared_ptr< SteppedPropertiesDialog > getSteppedPropertiesDialog()
void showControls(bool bShow)
void fillControls(const ChartTypeParameter &rParameter)
void fillControls(const ChartTypeParameter &rParameter)
std::unique_ptr< weld::RadioButton > m_xRB_Stack_Y
StackingResourceGroup(weld::Builder *pBuilder)
std::unique_ptr< weld::CheckButton > m_xCB_Stacked
std::unique_ptr< weld::RadioButton > m_xRB_Stack_Z
void showControls(bool bShow)
void fillParameter(ChartTypeParameter &rParameter)
std::unique_ptr< weld::RadioButton > m_xRB_Stack_Y_Percent
static bool runAsync(const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &)
#define LINK(Instance, Class, Member)
@ GlobalStackMode_STACK_Z
@ GlobalStackMode_STACK_Y
@ GlobalStackMode_STACK_Y_PERCENT
@ ThreeDLookScheme_Unknown
@ ThreeDLookScheme_Realistic
@ ThreeDLookScheme_Simple
OUString OOO_DLLPUBLIC_CHARTTOOLS SchResId(TranslateId aId)
IMPL_LINK(StackingResourceGroup, StackingChangeHdl, weld::Toggleable &, rRadio, void)
IMPL_LINK_NOARG(SplinePropertiesDialog, SplineTypeListBoxHdl, weld::ComboBox &, void)