LibreOffice Module chart2 (master) 1
|
#include <tp_AxisPositions.hxx>
Public Member Functions | |
AxisPositionsTabPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rInAttrs) | |
virtual | ~AxisPositionsTabPage () override |
virtual bool | FillItemSet (SfxItemSet *rOutAttrs) override |
virtual void | Reset (const SfxItemSet *rInAttrs) override |
virtual DeactivateRC | DeactivatePage (SfxItemSet *pItemSet) override |
void | SetNumFormatter (SvNumberFormatter *pFormatter) |
void | SetCrossingAxisIsCategoryAxis (bool bCrossingAxisIsCategoryAxis) |
void | SetCategories (const css::uno::Sequence< OUString > &rCategories) |
void | SupportAxisPositioning (bool bSupportAxisPositioning) |
void | SupportCategoryPositioning (bool bSupportCategoryPositioning) |
Public Member Functions inherited from SfxTabPage | |
void | SetDialogController (SfxOkDialogController *pDialog) |
virtual | ~SfxTabPage () override |
void | set_visible (bool bVisible) |
const SfxItemSet & | GetItemSet () const |
virtual bool | FillItemSet (SfxItemSet *) |
virtual void | Reset (const SfxItemSet *) |
virtual bool | DeferResetToFirstActivation () |
bool | HasExchangeSupport () const |
void | SetExchangeSupport () |
virtual void | ActivatePage (const SfxItemSet &) |
virtual DeactivateRC | DeactivatePage (SfxItemSet *pSet) |
void | SetUserData (const OUString &rString) |
const OUString & | GetUserData () const |
virtual void | FillUserData () |
virtual bool | IsReadOnly () const |
virtual void | PageCreated (const SfxAllItemSet &aSet) |
virtual void | ChangesApplied () |
void | SetFrame (const css::uno::Reference< css::frame::XFrame > &xFrame) |
css::uno::Reference< css::frame::XFrame > | GetFrame () const |
const SfxItemSet * | GetDialogExampleSet () const |
OUString | GetHelpId () const |
OUString | GetConfigId () const |
bool | IsVisible () const |
weld::Window * | GetFrameWeld () const |
std::unordered_map< OUString, css::uno::Any > & | getAdditionalProperties () |
Static Public Member Functions | |
static std::unique_ptr< SfxTabPage > | Create (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rInAttrs) |
Static Public Member Functions inherited from SfxTabPage | |
static const SfxPoolItem * | GetItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true) |
static const T * | GetItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true) |
Private Member Functions | |
DECL_LINK (CrossesAtSelectHdl, weld::ComboBox &, void) | |
DECL_LINK (PlaceLabelsSelectHdl, weld::ComboBox &, void) | |
Private Attributes | |
SvNumberFormatter * | m_pNumFormatter |
bool | m_bCrossingAxisIsCategoryAxis |
css::uno::Sequence< OUString > | m_aCategories |
bool | m_bSupportAxisPositioning |
bool | m_bSupportCategoryPositioning |
std::unique_ptr< weld::Frame > | m_xFL_AxisLine |
std::unique_ptr< weld::ComboBox > | m_xLB_CrossesAt |
std::unique_ptr< weld::FormattedSpinButton > | m_xED_CrossesAt |
std::unique_ptr< weld::ComboBox > | m_xED_CrossesAtCategory |
std::unique_ptr< weld::Frame > | m_xFL_Position |
std::unique_ptr< weld::RadioButton > | m_xRB_On |
std::unique_ptr< weld::RadioButton > | m_xRB_Between |
std::unique_ptr< weld::Frame > | m_xFL_Labels |
std::unique_ptr< weld::ComboBox > | m_xLB_PlaceLabels |
std::unique_ptr< weld::CheckButton > | m_xCB_TicksInner |
std::unique_ptr< weld::CheckButton > | m_xCB_TicksOuter |
std::unique_ptr< weld::CheckButton > | m_xCB_MinorInner |
std::unique_ptr< weld::CheckButton > | m_xCB_MinorOuter |
std::unique_ptr< weld::Widget > | m_xBxPlaceTicks |
std::unique_ptr< weld::ComboBox > | m_xLB_PlaceTicks |
Additional Inherited Members | |
Protected Member Functions inherited from SfxTabPage | |
SfxTabPage (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OUString &rID, const SfxItemSet *rAttrSet) | |
sal_uInt16 | GetWhich (sal_uInt16 nSlot, bool bDeep=true) const |
TypedWhichId< T > | GetWhich (TypedWhichId< T > nSlot, bool bDeep=true) const |
const SfxPoolItem * | GetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true) |
const T * | GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true) |
SfxOkDialogController * | GetDialogController () const |
Definition at line 25 of file tp_AxisPositions.hxx.
chart::AxisPositionsTabPage::AxisPositionsTabPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rInAttrs | ||
) |
Definition at line 35 of file tp_AxisPositions.cxx.
References Formatter::ClearMaxValue(), Formatter::ClearMinValue(), LINK, m_xED_CrossesAt, m_xLB_CrossesAt, and m_xLB_PlaceLabels.
|
overridevirtual |
Definition at line 68 of file tp_AxisPositions.cxx.
|
static |
Definition at line 72 of file tp_AxisPositions.cxx.
Referenced by chart::SchAttribTabDlg::SchAttribTabDlg().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 248 of file tp_AxisPositions.cxx.
References FillItemSet().
|
private |
|
private |
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 77 of file tp_AxisPositions.cxx.
References CHAXIS_MARK_INNER, CHAXIS_MARK_OUTER, Formatter::GetValue(), m_bCrossingAxisIsCategoryAxis, m_xCB_MinorInner, m_xCB_MinorOuter, m_xCB_TicksInner, m_xCB_TicksOuter, m_xED_CrossesAt, m_xED_CrossesAtCategory, m_xFL_Position, m_xLB_CrossesAt, m_xLB_PlaceLabels, m_xLB_PlaceTicks, m_xRB_Between, nPos, SfxItemSet::Put(), SCHATTR_AXIS_HELPTICKS(), SCHATTR_AXIS_LABEL_POSITION(), SCHATTR_AXIS_MARK_POSITION(), SCHATTR_AXIS_POSITION(), SCHATTR_AXIS_POSITION_VALUE(), SCHATTR_AXIS_SHIFTED_CATEGORY_POSITION(), and SCHATTR_AXIS_TICKS().
Referenced by DeactivatePage().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 123 of file tp_AxisPositions.cxx.
References CHAXIS_MARK_INNER, CHAXIS_MARK_OUTER, SfxItemSet::GetItemIfSet(), SfxBoolItem::GetValue(), SvxDoubleItem::GetValue(), chart::AxisHelper::isAxisPositioningEnabled(), m_aCategories, m_bCrossingAxisIsCategoryAxis, m_bSupportAxisPositioning, m_bSupportCategoryPositioning, m_xBxPlaceTicks, m_xCB_MinorInner, m_xCB_MinorOuter, m_xCB_TicksInner, m_xCB_TicksOuter, m_xED_CrossesAt, m_xED_CrossesAtCategory, m_xFL_AxisLine, m_xFL_Labels, m_xFL_Position, m_xLB_CrossesAt, m_xLB_PlaceLabels, m_xLB_PlaceTicks, m_xRB_Between, m_xRB_On, nPos, SCHATTR_AXIS_HELPTICKS(), SCHATTR_AXIS_LABEL_POSITION(), SCHATTR_AXIS_MARK_POSITION(), SCHATTR_AXIS_POSITION(), SCHATTR_AXIS_POSITION_VALUE(), SCHATTR_AXIS_SHIFTED_CATEGORY_POSITION(), SCHATTR_AXIS_TICKS(), and Formatter::SetValue().
void chart::AxisPositionsTabPage::SetCategories | ( | const css::uno::Sequence< OUString > & | rCategories | ) |
Definition at line 275 of file tp_AxisPositions.cxx.
References m_aCategories.
Referenced by chart::SchAttribTabDlg::PageCreated().
void chart::AxisPositionsTabPage::SetCrossingAxisIsCategoryAxis | ( | bool | bCrossingAxisIsCategoryAxis | ) |
Definition at line 270 of file tp_AxisPositions.cxx.
References m_bCrossingAxisIsCategoryAxis.
Referenced by chart::SchAttribTabDlg::PageCreated().
void chart::AxisPositionsTabPage::SetNumFormatter | ( | SvNumberFormatter * | pFormatter | ) |
Definition at line 256 of file tp_AxisPositions.cxx.
References SfxTabPage::GetItemSet(), m_pNumFormatter, m_xED_CrossesAt, SCHATTR_AXIS_CROSSING_MAIN_AXIS_NUMBERFORMAT(), Formatter::SetFormatKey(), Formatter::SetFormatter(), and Formatter::UseInputStringForFormatting().
Referenced by chart::SchAttribTabDlg::PageCreated().
void chart::AxisPositionsTabPage::SupportAxisPositioning | ( | bool | bSupportAxisPositioning | ) |
Definition at line 280 of file tp_AxisPositions.cxx.
References m_bSupportAxisPositioning.
Referenced by chart::SchAttribTabDlg::PageCreated().
void chart::AxisPositionsTabPage::SupportCategoryPositioning | ( | bool | bSupportCategoryPositioning | ) |
Definition at line 285 of file tp_AxisPositions.cxx.
References m_bSupportCategoryPositioning.
Referenced by chart::SchAttribTabDlg::PageCreated().
|
private |
Definition at line 54 of file tp_AxisPositions.hxx.
Referenced by Reset(), and SetCategories().
|
private |
Definition at line 53 of file tp_AxisPositions.hxx.
Referenced by FillItemSet(), Reset(), and SetCrossingAxisIsCategoryAxis().
|
private |
Definition at line 56 of file tp_AxisPositions.hxx.
Referenced by Reset(), and SupportAxisPositioning().
|
private |
Definition at line 57 of file tp_AxisPositions.hxx.
Referenced by Reset(), and SupportCategoryPositioning().
|
private |
Definition at line 51 of file tp_AxisPositions.hxx.
Referenced by SetNumFormatter().
|
private |
Definition at line 77 of file tp_AxisPositions.hxx.
Referenced by Reset().
|
private |
Definition at line 74 of file tp_AxisPositions.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 75 of file tp_AxisPositions.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 71 of file tp_AxisPositions.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 72 of file tp_AxisPositions.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 61 of file tp_AxisPositions.hxx.
Referenced by AxisPositionsTabPage(), FillItemSet(), Reset(), and SetNumFormatter().
|
private |
Definition at line 62 of file tp_AxisPositions.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 59 of file tp_AxisPositions.hxx.
Referenced by Reset().
|
private |
Definition at line 68 of file tp_AxisPositions.hxx.
Referenced by Reset().
|
private |
Definition at line 64 of file tp_AxisPositions.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 60 of file tp_AxisPositions.hxx.
Referenced by AxisPositionsTabPage(), FillItemSet(), and Reset().
|
private |
Definition at line 69 of file tp_AxisPositions.hxx.
Referenced by AxisPositionsTabPage(), FillItemSet(), and Reset().
|
private |
Definition at line 78 of file tp_AxisPositions.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 66 of file tp_AxisPositions.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 65 of file tp_AxisPositions.hxx.
Referenced by Reset().