LibreOffice Module chart2 (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
chart::SchAttribTabDlg Class Referencefinal

#include <dlg_ObjectProperties.hxx>

Inheritance diagram for chart::SchAttribTabDlg:
[legend]
Collaboration diagram for chart::SchAttribTabDlg:
[legend]

Public Member Functions

 SchAttribTabDlg (weld::Window *pParent, const SfxItemSet *pAttr, const ObjectPropertiesDialogParameter *pDialogParameter, const ViewElementListProvider *pViewElementListProvider, const css::uno::Reference< css::util::XNumberFormatsSupplier > &xNumberFormatsSupplier)
 
virtual ~SchAttribTabDlg () override
 
void setSymbolInformation (SfxItemSet &&rSymbolShapeProperties, std::optional< Graphic > oAutoSymbolGraphic)
 
void SetAxisMinorStepWidthForErrorBarDecimals (double fMinorStepWidth)
 
bool DialogWasClosedWithOK () const
 
- Public Member Functions inherited from SfxTabDialogController
 SfxTabDialogController (weld::Widget *pParent, const OUString &rUIXMLDescription, const OUString &rID, const SfxItemSet *=nullptr, bool bEditFmt=false)
 
virtual ~SfxTabDialogController () override
 
void AddTabPage (const OUString &rName, CreateTabPage pCreateFunc, GetTabPageRanges pRangesFunc)
 
void AddTabPage (const OUString &rName, sal_uInt16 nPageCreateId)
 
void AddTabPage (const OUString &rName, const OUString &rLabel, CreateTabPage pCreateFunc)
 
void AddTabPage (const OUString &rName, const OUString &rLabel, sal_uInt16 nPageCreateId)
 
void RemoveTabPage (const OUString &rName)
 
void SetCurPageId (const OUString &rName)
 
void ShowPage (const OUString &rName)
 
OUString GetCurPageId () const
 
SfxTabPageGetCurTabPage () const
 
const WhichRangesContainerGetInputRanges (const SfxItemPool &)
 
void SetInputSet (const SfxItemSet *pInSet)
 
const SfxItemSetGetOutputItemSet () const
 
virtual weld::ButtonGetOKButton () const override
 
weld::ButtonGetCancelButton () const
 
weld::ButtonGetUserButton () const
 
weld::ButtonGetStandardButton () const
 
weld::ButtonGetApplyButton () const
 
weld::ButtonGetResetButton () const
 
void RemoveResetButton ()
 
void RemoveStandardButton ()
 
virtual short run () override
 
virtual const SfxItemSetGetExampleSet () const override
 
void SetApplyHandler (const Link< weld::Button &, void > &_rHdl)
 
bool Apply ()
 
void Applied ()
 
std::vector< OUString > getAllPageUIXMLDescriptions () const
 
bool selectPageByUIXMLDescription (const OUString &rUIXMLDescription)
 
BitmapEx createScreenshot () const
 
OUString GetScreenshotId () const
 
- Public Member Functions inherited from SfxOkDialogController
 SfxOkDialogController (weld::Widget *pParent, const OUString &rUIXMLDescription, const OUString &rID)
 
virtual weld::ButtonGetOKButton () const=0
 
virtual const SfxItemSetGetExampleSet () const=0
 
- 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
 

Private Member Functions

 DECL_LINK (OKPressed, weld::Button &, void)
 
virtual void PageCreated (const OUString &rId, SfxTabPage &rPage) override
 

Private Attributes

const ObjectPropertiesDialogParameter *const m_pParameter
 
const ViewElementListProvider *const m_pViewElementListProvider
 
SvNumberFormatterm_pNumberFormatter
 
std::optional< SfxItemSetm_oSymbolShapeProperties
 
std::optional< Graphicm_oAutoSymbolGraphic
 
double m_fAxisMinorStepWidthForErrorBarDecimals
 
bool m_bOKPressed
 

Additional Inherited Members

- Static Public Member Functions inherited from SfxTabDialogController
static bool runAsync (const std::shared_ptr< SfxTabDialogController > &rController, const std::function< void(sal_Int32)> &)
 
- Protected Member Functions inherited from SfxTabDialogController
 DECL_LINK (OkHdl, weld::Button &, void)
 
 DECL_DLLPRIVATE_LINK (ResetHdl, weld::Button &, void)
 
 DECL_DLLPRIVATE_LINK (BaseFmtHdl, weld::Button &, void)
 
 DECL_DLLPRIVATE_LINK (UserHdl, weld::Button &, void)
 
 DECL_DLLPRIVATE_LINK (CancelHdl, weld::Button &, void)
 
virtual short Ok ()
 
virtual void RefreshInputSet ()
 
virtual SfxItemSetCreateInputItemSet (const OUString &rName)
 
virtual void PageCreated (const OUString &rName, SfxTabPage &rPage)
 
virtual void ActivatePage (const OUString &rPage)
 
bool DeactivatePage (std::u16string_view aPage)
 
SfxItemSetGetInputSetImpl ()
 
SfxTabPageGetTabPage (std::u16string_view rPageId) const
 
bool PrepareLeaveCurrentPage ()
 
void SavePosAndId ()
 
- Protected Attributes inherited from SfxTabDialogController
std::unique_ptr< weld::Notebookm_xTabCtrl
 
std::unique_ptr< SfxItemSetm_xExampleSet
 

Detailed Description

Definition at line 110 of file dlg_ObjectProperties.hxx.

Constructor & Destructor Documentation

◆ SchAttribTabDlg()

chart::SchAttribTabDlg::SchAttribTabDlg ( weld::Window pParent,
const SfxItemSet pAttr,
const ObjectPropertiesDialogParameter pDialogParameter,
const ViewElementListProvider pViewElementListProvider,
const css::uno::Reference< css::util::XNumberFormatsSupplier > &  xNumberFormatsSupplier 
)

Definition at line 332 of file dlg_ObjectProperties.cxx.

References SfxTabDialogController::AddTabPage(), weld::Button::connect_clicked(), chart::SchAxisLabelTabPage::Create(), chart::AxisPositionsTabPage::Create(), chart::DataLabelsTabPage::Create(), chart::DataPointOptionTabPage::Create(), chart::DataTableTabPage::Create(), chart::ErrorBarsTabPage::Create(), chart::SchLegendPosTabPage::Create(), chart::SchLayoutTabPage::Create(), chart::PolarOptionsTabPage::Create(), chart::ScaleTabPage::Create(), chart::SchOptionTabPage::Create(), chart::SchAlignmentTabPage::Create(), chart::TrendlineTabPage::Create(), chart::SchAlignmentTabPage::CreateWithoutRotation(), chart::ObjectPropertiesDialogParameter::getLocalizedName(), chart::ObjectPropertiesDialogParameter::getObjectType(), SfxTabDialogController::GetOKButton(), chart::NumberFormatterWrapper::getSvNumberFormatter(), chart::ObjectPropertiesDialogParameter::HasAreaProperties(), chart::ObjectPropertiesDialogParameter::HasGeometryProperties(), chart::ObjectPropertiesDialogParameter::HasNumberProperties(), chart::ObjectPropertiesDialogParameter::HasScaleProperties(), SvtCJKOptions::IsAsianTypographyEnabled(), SvtCTLOptions::IsCTLFontEnabled(), chart::ObjectPropertiesDialogParameter::IsPieChartDataPoint(), LINK, m_pNumberFormatter, m_pParameter, m_xDialog, chart::OBJECTTYPE_AXIS, chart::OBJECTTYPE_AXIS_UNITLABEL, chart::OBJECTTYPE_DATA_AVERAGE_LINE, chart::OBJECTTYPE_DATA_CURVE, chart::OBJECTTYPE_DATA_CURVE_EQUATION, chart::OBJECTTYPE_DATA_ERRORS_X, chart::OBJECTTYPE_DATA_ERRORS_Y, chart::OBJECTTYPE_DATA_ERRORS_Z, chart::OBJECTTYPE_DATA_LABEL, chart::OBJECTTYPE_DATA_LABELS, chart::OBJECTTYPE_DATA_POINT, chart::OBJECTTYPE_DATA_SERIES, chart::OBJECTTYPE_DATA_STOCK_GAIN, chart::OBJECTTYPE_DATA_STOCK_LOSS, chart::OBJECTTYPE_DATA_STOCK_RANGE, chart::OBJECTTYPE_DATA_TABLE, chart::OBJECTTYPE_DIAGRAM, chart::OBJECTTYPE_DIAGRAM_FLOOR, chart::OBJECTTYPE_DIAGRAM_WALL, chart::OBJECTTYPE_GRID, chart::OBJECTTYPE_LEGEND, chart::OBJECTTYPE_LEGEND_ENTRY, chart::OBJECTTYPE_PAGE, chart::OBJECTTYPE_SUBGRID, chart::OBJECTTYPE_TITLE, chart::OBJECTTYPE_UNKNOWN, chart::ObjectPropertiesDialogParameter::ProvidesMissingValueTreatments(), chart::ObjectPropertiesDialogParameter::ProvidesOverlapAndGapWidth(), chart::ObjectPropertiesDialogParameter::ProvidesSecondaryYAxis(), chart::ObjectPropertiesDialogParameter::ProvidesStartingAngle(), and chart::SchResId().

◆ ~SchAttribTabDlg()

chart::SchAttribTabDlg::~SchAttribTabDlg ( )
overridevirtual

Definition at line 496 of file dlg_ObjectProperties.cxx.

Member Function Documentation

◆ DECL_LINK()

chart::SchAttribTabDlg::DECL_LINK ( OKPressed  ,
weld::Button ,
void   
)
private

◆ DialogWasClosedWithOK()

bool chart::SchAttribTabDlg::DialogWasClosedWithOK ( ) const
inline

◆ PageCreated()

void chart::SchAttribTabDlg::PageCreated ( const OUString &  rId,
SfxTabPage rPage 
)
overrideprivatevirtual

Reimplemented from SfxTabDialogController.

Definition at line 500 of file dlg_ObjectProperties.cxx.

References chart::ObjectPropertiesDialogParameter::CanAxisLabelsBeStaggered(), DISABLE_CASEMAP, chart::ErrorBarResources::ERROR_BAR_X, chart::ErrorBarResources::ERROR_BAR_Y, chart::ViewElementListProvider::GetBitmapList(), chart::ObjectPropertiesDialogParameter::GetCategories(), chart::ViewElementListProvider::GetColorTable(), chart::ViewElementListProvider::GetDashList(), chart::ObjectPropertiesDialogParameter::getDocument(), chart::ViewElementListProvider::getFontList(), chart::ViewElementListProvider::GetGradientList(), chart::ViewElementListProvider::GetHatchList(), SfxTabDialogController::GetInputSetImpl(), chart::ViewElementListProvider::GetLineEndList(), chart::ObjectPropertiesDialogParameter::getNbPoints(), chart::ViewElementListProvider::GetPatternList(), chart::ViewElementListProvider::GetSymbolList(), chart::ObjectPropertiesDialogParameter::HasSymbolProperties(), chart::SchOptionTabPage::Init(), chart::ObjectPropertiesDialogParameter::IsComplexCategoriesAxis(), chart::ObjectPropertiesDialogParameter::IsCrossingAxisIsCategoryAxis(), chart::ObjectPropertiesDialogParameter::IsSupportingAxisPositioning(), chart::ObjectPropertiesDialogParameter::IsSupportingCategoryPositioning(), m_fAxisMinorStepWidthForErrorBarDecimals, m_oAutoSymbolGraphic, m_oSymbolShapeProperties, m_pNumberFormatter, m_pParameter, m_pViewElementListProvider, chart::nNoArrowNoShadowDlg, SfxTabPage::PageCreated(), chart::ObjectPropertiesDialogParameter::ProvidesBarConnectors(), chart::ObjectPropertiesDialogParameter::ProvidesOverlapAndGapWidth(), chart::ObjectPropertiesDialogParameter::ProvidesSecondaryYAxis(), SfxItemSet::Put(), chart::ErrorBarsTabPage::SetAxisMinorStepWidthForErrorBarDecimals(), chart::AxisPositionsTabPage::SetCategories(), chart::ErrorBarsTabPage::SetChartDocumentForRangeChoosing(), chart::AxisPositionsTabPage::SetCrossingAxisIsCategoryAxis(), chart::ErrorBarsTabPage::SetErrorBarType(), chart::TrendlineTabPage::SetNbPoints(), chart::DataLabelsTabPage::SetNumberFormatter(), chart::AxisPositionsTabPage::SetNumFormatter(), chart::ScaleTabPage::SetNumFormatter(), chart::TrendlineTabPage::SetNumFormatter(), chart::ObjectPropertiesDialogParameter::ShowAxisOrigin(), chart::ScaleTabPage::ShowAxisOrigin(), chart::SchAxisLabelTabPage::ShowStaggeringControls(), chart::AxisPositionsTabPage::SupportAxisPositioning(), and chart::AxisPositionsTabPage::SupportCategoryPositioning().

◆ SetAxisMinorStepWidthForErrorBarDecimals()

void chart::SchAttribTabDlg::SetAxisMinorStepWidthForErrorBarDecimals ( double  fMinorStepWidth)

◆ setSymbolInformation()

void chart::SchAttribTabDlg::setSymbolInformation ( SfxItemSet &&  rSymbolShapeProperties,
std::optional< Graphic oAutoSymbolGraphic 
)

Member Data Documentation

◆ m_bOKPressed

bool chart::SchAttribTabDlg::m_bOKPressed
private

Definition at line 121 of file dlg_ObjectProperties.hxx.

Referenced by DialogWasClosedWithOK().

◆ m_fAxisMinorStepWidthForErrorBarDecimals

double chart::SchAttribTabDlg::m_fAxisMinorStepWidthForErrorBarDecimals
private

◆ m_oAutoSymbolGraphic

std::optional<Graphic> chart::SchAttribTabDlg::m_oAutoSymbolGraphic
private

Definition at line 118 of file dlg_ObjectProperties.hxx.

Referenced by PageCreated(), and setSymbolInformation().

◆ m_oSymbolShapeProperties

std::optional<SfxItemSet> chart::SchAttribTabDlg::m_oSymbolShapeProperties
private

Definition at line 117 of file dlg_ObjectProperties.hxx.

Referenced by PageCreated(), and setSymbolInformation().

◆ m_pNumberFormatter

SvNumberFormatter* chart::SchAttribTabDlg::m_pNumberFormatter
private

Definition at line 115 of file dlg_ObjectProperties.hxx.

Referenced by PageCreated(), and SchAttribTabDlg().

◆ m_pParameter

const ObjectPropertiesDialogParameter* const chart::SchAttribTabDlg::m_pParameter
private

Definition at line 113 of file dlg_ObjectProperties.hxx.

Referenced by PageCreated(), and SchAttribTabDlg().

◆ m_pViewElementListProvider

const ViewElementListProvider* const chart::SchAttribTabDlg::m_pViewElementListProvider
private

Definition at line 114 of file dlg_ObjectProperties.hxx.

Referenced by PageCreated().


The documentation for this class was generated from the following files: