25#include <officecfg/Office/Compatibility.hxx>
31 :
SfxTabPage(pPage, pController,
"modules/schart/ui/tp_PolarOptions.ui",
"tp_PolarOptions", &rInAttrs)
32 , m_xCB_Clockwise(m_xBuilder->weld_check_button(
"CB_CLOCKWISE"))
33 , m_xFL_StartingAngle(m_xBuilder->weld_frame(
"frameANGLE"))
34 , m_xNF_StartingAngle(m_xBuilder->weld_metric_spin_button(
"NF_STARTING_ANGLE",
FieldUnit::
DEGREE))
35 , m_xFL_PlotOptions(m_xBuilder->weld_frame(
"framePLOT_OPTIONS"))
36 , m_xCB_IncludeHiddenCells(m_xBuilder->weld_check_button(
"CB_INCLUDE_HIDDEN_CELLS_POLAR"))
37 , m_xAngleDial(new
svx::DialControl)
38 , m_xAngleDialWin(new
weld::CustomWeld(*m_xBuilder,
"CT_ANGLE_DIAL", *m_xAngleDial))
51 return std::make_unique<PolarOptionsTabPage>(pPage, pController, *rOutAttrs);
83 if (!officecfg::Office::Compatibility::View::ClockwisePieChartDirection::get() &&
86 bool bCheck = pClockWiseItem->
GetValue();
95 bool bVal = pHiddenCellsItem->GetValue();
constexpr TypedWhichId< SfxBoolItem > SCHATTR_CLOCKWISE(SCHATTR_CHARTTYPE_START+8)
constexpr TypedWhichId< SdrAngleItem > SCHATTR_STARTING_ANGLE(SCHATTR_CHARTTYPE_START+7)
constexpr TypedWhichId< SfxBoolItem > SCHATTR_INCLUDE_HIDDEN_CELLS(SCHATTR_CHARTTYPE_START+11)
const T * GetItemIfSet(TypedWhichId< T > nWhich, bool bSrchInParent=true) const
const SfxPoolItem * Put(const SfxPoolItem &rItem, sal_uInt16 nWhich)
std::unique_ptr< svx::DialControl > m_xAngleDial
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rInAttrs)
virtual void Reset(const SfxItemSet *rInAttrs) override
std::unique_ptr< weld::Frame > m_xFL_PlotOptions
PolarOptionsTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rInAttrs)
std::unique_ptr< weld::MetricSpinButton > m_xNF_StartingAngle
virtual ~PolarOptionsTabPage() override
std::unique_ptr< weld::CustomWeld > m_xAngleDialWin
virtual bool FillItemSet(SfxItemSet *rOutAttrs) override
std::unique_ptr< weld::Frame > m_xFL_StartingAngle
std::unique_ptr< weld::CheckButton > m_xCB_IncludeHiddenCells
std::unique_ptr< weld::CheckButton > m_xCB_Clockwise