LibreOffice Module cui (master) 1
|
#include <optchart.hxx>
Public Member Functions | |
SvxDefaultColorOptPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rInAttrs) | |
virtual | ~SvxDefaultColorOptPage () override |
void | Construct () |
virtual bool | FillItemSet (SfxItemSet *rOutAttrs) override |
virtual void | Reset (const SfxItemSet *rInAttrs) override |
void | SaveChartOptions () |
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 (ResetToDefaults, weld::Button &, void) | |
DECL_LINK (AddChartColor, weld::Button &, void) | |
DECL_LINK (RemoveChartColor, weld::Button &, void) | |
DECL_LINK (BoxClickedHdl, ValueSet *, void) | |
DECL_LINK (SelectPaletteLbHdl, weld::ComboBox &, void) | |
void | FillPaletteLB () |
void | InsertColorEntry (const XColorEntry &rEntry, sal_Int32 nPos=-1) |
void | RemoveColorEntry (sal_Int32 nPos) |
void | ModifyColorEntry (const XColorEntry &rEntry, sal_Int32 nPos) |
void | ClearColorEntries () |
void | FillBoxChartColorLB () |
Private Attributes | |
std::unique_ptr< SvxChartColorTable > | m_SvxChartColorTableUniquePtr |
ImpColorList | aColorList |
PaletteManager | aPaletteManager |
std::unique_ptr< weld::TreeView > | m_xLbChartColors |
std::unique_ptr< weld::ComboBox > | m_xLbPaletteSelector |
std::unique_ptr< weld::Button > | m_xPBDefault |
std::unique_ptr< weld::Button > | m_xPBAdd |
std::unique_ptr< weld::Button > | m_xPBRemove |
std::unique_ptr< SvxColorValueSet > | m_xValSetColorBox |
std::unique_ptr< weld::CustomWeld > | m_xValSetColorBoxWin |
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 32 of file optchart.hxx.
SvxDefaultColorOptPage::SvxDefaultColorOptPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rInAttrs | ||
) |
Definition at line 91 of file optchart.cxx.
References Construct(), SfxItemSet::GetItemIfSet(), LINK, m_SvxChartColorTableUniquePtr, m_xLbChartColors, m_xLbPaletteSelector, m_xPBAdd, m_xPBDefault, m_xPBRemove, m_xValSetColorBox, SvxChartOptions::SetDefaultColors(), WB_ITEMBORDER, WB_NAMEFIELD, and WB_VSCROLL.
|
overridevirtual |
Definition at line 127 of file optchart.cxx.
References m_xValSetColorBox, and m_xValSetColorBoxWin.
|
private |
Definition at line 66 of file optchart.cxx.
References aColorList, and m_xLbChartColors.
Referenced by FillBoxChartColorLB().
void SvxDefaultColorOptPage::Construct | ( | ) |
Definition at line 133 of file optchart.cxx.
References FillBoxChartColorLB(), FillPaletteLB(), and m_xLbChartColors.
Referenced by SvxDefaultColorOptPage().
|
static |
Definition at line 141 of file optchart.cxx.
Referenced by CreateGeneralTabPage().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 78 of file optchart.cxx.
References ClearColorEntries(), i, InsertColorEntry(), m_SvxChartColorTableUniquePtr, m_xLbChartColors, and nCount.
Referenced by Construct().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 146 of file optchart.cxx.
References m_SvxChartColorTableUniquePtr, and SfxItemSet::Put().
|
private |
Definition at line 161 of file optchart.cxx.
References aPaletteManager, PaletteManager::GetPaletteList(), and m_xLbPaletteSelector.
Referenced by Construct().
|
private |
Definition at line 30 of file optchart.cxx.
References aColorList, VclPtr< class reference_type >::get(), XColorEntry::GetColor(), StyleSettings::GetDisableColor(), StyleSettings::GetListBoxPreviewDefaultPixelSize(), XPropertyEntry::GetName(), Application::GetSettings(), AllSettings::GetStyleSettings(), m_xLbChartColors, and nPos.
Referenced by FillBoxChartColorLB(), and ModifyColorEntry().
|
private |
Definition at line 72 of file optchart.cxx.
References InsertColorEntry(), nPos, and RemoveColorEntry().
|
private |
Definition at line 58 of file optchart.cxx.
References aColorList, m_xLbChartColors, and nPos.
Referenced by ModifyColorEntry().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 156 of file optchart.cxx.
References m_xLbChartColors.
void SvxDefaultColorOptPage::SaveChartOptions | ( | ) |
Definition at line 174 of file optchart.cxx.
References m_SvxChartColorTableUniquePtr, and SvxChartOptions::SetDefaultColors().
Referenced by OfaTreeOptionsDialog::ApplyOptions().
|
private |
Definition at line 39 of file optchart.hxx.
Referenced by ClearColorEntries(), InsertColorEntry(), and RemoveColorEntry().
|
private |
Definition at line 40 of file optchart.hxx.
Referenced by FillPaletteLB().
|
private |
Definition at line 37 of file optchart.hxx.
Referenced by FillBoxChartColorLB(), FillItemSet(), SaveChartOptions(), and SvxDefaultColorOptPage().
|
private |
Definition at line 42 of file optchart.hxx.
Referenced by ClearColorEntries(), Construct(), FillBoxChartColorLB(), InsertColorEntry(), RemoveColorEntry(), Reset(), and SvxDefaultColorOptPage().
|
private |
Definition at line 43 of file optchart.hxx.
Referenced by FillPaletteLB(), and SvxDefaultColorOptPage().
|
private |
Definition at line 45 of file optchart.hxx.
Referenced by SvxDefaultColorOptPage().
|
private |
Definition at line 44 of file optchart.hxx.
Referenced by SvxDefaultColorOptPage().
|
private |
Definition at line 46 of file optchart.hxx.
Referenced by SvxDefaultColorOptPage().
|
private |
Definition at line 47 of file optchart.hxx.
Referenced by SvxDefaultColorOptPage(), and ~SvxDefaultColorOptPage().
|
private |
Definition at line 48 of file optchart.hxx.
Referenced by ~SvxDefaultColorOptPage().