LibreOffice Module cui (master) 1
|
#include <cuitabarea.hxx>
Public Member Functions | |
SvxAreaTabPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rInAttrs, bool bSlideBackground=false) | |
virtual | ~SvxAreaTabPage () override |
virtual bool | FillItemSet (SfxItemSet *) override |
virtual void | Reset (const SfxItemSet *) override |
virtual void | ActivatePage (const SfxItemSet &rSet) override |
virtual DeactivateRC | DeactivatePage (SfxItemSet *pSet) override |
void | SetColorList (XColorListRef const &pColorList) |
void | SetGradientList (XGradientListRef const &pGrdLst) |
void | SetHatchingList (XHatchListRef const &pHtchLst) |
void | SetBitmapList (XBitmapListRef const &pBmpLst) |
void | SetPatternList (XPatternListRef const &pPtrnLst) |
virtual void | PageCreated (const SfxAllItemSet &aSet) override |
void | CreatePage (sal_Int32 nId, SfxTabPage &rTab) |
void | SetColorChgd (ChangeType *pIn) |
void | SetGrdChgd (ChangeType *pIn) |
void | SetHtchChgd (ChangeType *pIn) |
void | SetBmpChgd (ChangeType *pIn) |
void | SetPtrnChgd (ChangeType *pIn) |
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 *) |
static std::unique_ptr< SfxTabPage > | CreateWithSlideBackground (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *) |
static WhichRangesContainer | GetRanges () |
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) |
Protected Member Functions | |
void | SetOptimalSize (weld::DialogController *pController) |
void | SelectFillType (weld::Toggleable &rButton, const SfxItemSet *_pSet=nullptr) |
SfxTabPage * | GetFillTabPage () |
bool | IsBtnClicked () const |
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 |
Protected Attributes | |
std::unique_ptr< weld::Container > | m_xFillTab |
std::unique_ptr< weld::Toggleable > | m_xBtnNone |
std::unique_ptr< weld::Toggleable > | m_xBtnColor |
std::unique_ptr< weld::Toggleable > | m_xBtnGradient |
std::unique_ptr< weld::Toggleable > | m_xBtnHatch |
std::unique_ptr< weld::Toggleable > | m_xBtnBitmap |
std::unique_ptr< weld::Toggleable > | m_xBtnPattern |
std::unique_ptr< weld::Toggleable > | m_xBtnUseBackground |
Private Member Functions | |
DECL_LINK (SelectFillTypeHdl_Impl, weld::Toggleable &, void) | |
template<typename TabPage > | |
bool | FillItemSet_Impl (SfxItemSet *) |
template<typename TabPage > | |
void | Reset_Impl (const SfxItemSet *) |
template<typename TabPage > | |
DeactivateRC | DeactivatePage_Impl (SfxItemSet *pSet) |
Static Private Attributes | |
static const WhichRangesContainer | pAreaRanges |
Definition at line 213 of file cuitabarea.hxx.
SvxAreaTabPage::SvxAreaTabPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rInAttrs, | ||
bool | bSlideBackground = false |
||
) |
Definition at line 76 of file tparea.cxx.
References ButtonBox::AddButton(), GetItemSet(), LINK, m_xBtnBitmap, m_xBtnColor, m_xBtnGradient, m_xBtnHatch, m_xBtnNone, m_xBtnPattern, m_xBtnUseBackground, maBox, NONE, and SfxTabPage::SetExchangeSupport().
|
overridevirtual |
Definition at line 162 of file tparea.cxx.
References m_xFillTabPage.
|
overridevirtual |
Reimplemented from SfxTabPage.
Reimplemented in SvxBkgTabPage.
Definition at line 167 of file tparea.cxx.
References SfxItemSet::Get(), SfxItemSet::GetItemState(), SfxTabPage::GetWhich(), m_rXFSet, m_xBtnBitmap, m_xBtnColor, m_xBtnGradient, m_xBtnHatch, m_xBtnNone, m_xBtnPattern, m_xBtnUseBackground, SfxItemSet::Put(), rSet, SelectFillType(), XATTR_FILLBITMAP(), XATTR_FILLCOLOR(), XATTR_FILLGRADIENT(), XATTR_FILLHATCH(), XATTR_FILLSTYLE(), XATTR_FILLUSESLIDEBACKGROUND(), and XATTR_GRADIENTSTEPCOUNT().
Referenced by SvxBkgTabPage::ActivatePage(), and SvxFormatCellsDialog::PageCreated().
|
static |
Definition at line 368 of file tparea.cxx.
Referenced by AbstractDialogFactory_Impl::GetTabPageCreatorFunc(), SvxAreaTabDialog::SvxAreaTabDialog(), and SvxBorderBackgroundDlg::SvxBorderBackgroundDlg().
void SvxAreaTabPage::CreatePage | ( | sal_Int32 | nId, |
SfxTabPage & | rTab | ||
) |
Definition at line 452 of file tparea.cxx.
References BITMAP, GRADIENT, HATCH, m_pBitmapList, m_pColorList, m_pGradientList, m_pHatchingList, m_pnBitmapListState, m_pnColorListState, m_pnGradientListState, m_pnHatchingListState, m_pnPatternListState, m_pPatternList, m_rXFSet, nId, PATTERN, SvxBitmapTabPage::SetBitmapList(), SvxColorTabPage::SetColorList(), SvxGradientTabPage::SetColorList(), SvxHatchTabPage::SetColorList(), SvxPatternTabPage::SetColorList(), and SOLID.
Referenced by SelectFillType().
|
static |
Definition at line 375 of file tparea.cxx.
Referenced by SvxAreaTabDialog::SvxAreaTabDialog().
|
overridevirtual |
Reimplemented from SfxTabPage.
Reimplemented in SvxBkgTabPage.
Definition at line 230 of file tparea.cxx.
References BITMAP, ButtonBox::GetCurrentButtonPos(), GRADIENT, SfxItemSet::HasItem(), HATCH, m_bBtnClicked, maBox, PATTERN, SfxItemSet::Put(), SOLID, and XATTR_FILLUSESLIDEBACKGROUND().
Referenced by SvxBkgTabPage::DeactivatePage().
|
private |
Definition at line 225 of file tparea.cxx.
|
private |
|
overridevirtual |
Reimplemented from SfxTabPage.
Reimplemented in SvxBkgTabPage.
Definition at line 284 of file tparea.cxx.
References BITMAP, ButtonBox::GetCurrentButtonPos(), GRADIENT, HATCH, maBox, PATTERN, SfxItemSet::Put(), and SOLID.
Referenced by IMPL_LINK().
|
private |
Definition at line 279 of file tparea.cxx.
|
inlineprotected |
Definition at line 256 of file cuitabarea.hxx.
References m_xFillTabPage.
|
inlinestatic |
Definition at line 279 of file cuitabarea.hxx.
References pAreaRanges.
Referenced by AbstractDialogFactory_Impl::GetTabPageRangesFunc().
|
inlineprotected |
Definition at line 258 of file cuitabarea.hxx.
References m_bBtnClicked.
Referenced by SvxBkgTabPage::FillItemSet().
|
overridevirtual |
Reimplemented from SfxTabPage.
Reimplemented in SvxBkgTabPage.
Definition at line 432 of file tparea.cxx.
References SvxColorListItem::GetColorList(), SfxItemSet::GetItem(), SetBitmapList(), SetColorList(), SetGradientList(), SetHatchingList(), and SetPatternList().
Referenced by SvxBkgTabPage::PageCreated().
|
overridevirtual |
Reimplemented from SfxTabPage.
Reimplemented in SvxBkgTabPage.
Definition at line 332 of file tparea.cxx.
References BITMAP, ButtonBox::GetCurrentButtonPos(), GRADIENT, HATCH, m_bBtnClicked, maBox, PATTERN, and SOLID.
Referenced by SvxBkgTabPage::Reset().
|
private |
Definition at line 327 of file tparea.cxx.
|
protected |
Definition at line 413 of file tparea.cxx.
References CreatePage(), ButtonBox::GetButtonPos(), ButtonBox::GetCurrentButtonPos(), SfxTabPage::GetDialogController(), m_rXFSet, m_xFillTab, m_xFillTabPage, maBox, nPos, ButtonBox::SelectButton(), and SfxItemSet::Set().
Referenced by ActivatePage().
|
inline |
Definition at line 291 of file cuitabarea.hxx.
References m_pBitmapList.
Referenced by SvxFormatCellsDialog::PageCreated(), PageCreated(), and SvxBkgTabPage::SvxBkgTabPage().
|
inline |
Definition at line 298 of file cuitabarea.hxx.
References m_pnBitmapListState.
|
inline |
Definition at line 295 of file cuitabarea.hxx.
References m_pnColorListState.
|
inline |
Definition at line 286 of file cuitabarea.hxx.
References m_pColorList.
Referenced by SvxFormatCellsDialog::PageCreated(), PageCreated(), and SvxBkgTabPage::SvxBkgTabPage().
|
inline |
Definition at line 287 of file cuitabarea.hxx.
References m_pGradientList.
Referenced by SvxFormatCellsDialog::PageCreated(), and PageCreated().
|
inline |
Definition at line 296 of file cuitabarea.hxx.
References m_pnGradientListState.
|
inline |
Definition at line 289 of file cuitabarea.hxx.
References m_pHatchingList.
Referenced by SvxFormatCellsDialog::PageCreated(), and PageCreated().
|
inline |
Definition at line 297 of file cuitabarea.hxx.
References m_pnHatchingListState.
|
protected |
Definition at line 123 of file tparea.cxx.
References SvxGradientTabPage::Create(), SvxHatchTabPage::Create(), SvxBitmapTabPage::Create(), SvxPatternTabPage::Create(), SvxColorTabPage::Create(), Size::extendBy(), Size::Height(), m_rXFSet, m_xBtnBitmap, m_xBtnGradient, m_xBtnHatch, m_xBtnPattern, m_xFillTab, m_xFillTabPage, and Size::Width().
Referenced by SvxBkgTabPage::PageCreated().
|
inline |
Definition at line 292 of file cuitabarea.hxx.
References m_pPatternList.
Referenced by SvxFormatCellsDialog::PageCreated(), and PageCreated().
|
inline |
Definition at line 299 of file cuitabarea.hxx.
References m_pnPatternListState.
|
private |
Definition at line 238 of file cuitabarea.hxx.
|
private |
Definition at line 241 of file cuitabarea.hxx.
Referenced by DeactivatePage(), IsBtnClicked(), and Reset().
|
private |
Definition at line 223 of file cuitabarea.hxx.
Referenced by CreatePage(), and SetBitmapList().
|
private |
Definition at line 220 of file cuitabarea.hxx.
Referenced by CreatePage(), and SetColorList().
|
private |
Definition at line 221 of file cuitabarea.hxx.
Referenced by CreatePage(), and SetGradientList().
|
private |
Definition at line 222 of file cuitabarea.hxx.
Referenced by CreatePage(), and SetHatchingList().
|
private |
Definition at line 233 of file cuitabarea.hxx.
Referenced by CreatePage(), and SetBmpChgd().
|
private |
Definition at line 232 of file cuitabarea.hxx.
Referenced by CreatePage(), and SetColorChgd().
|
private |
Definition at line 235 of file cuitabarea.hxx.
Referenced by CreatePage(), and SetGrdChgd().
|
private |
Definition at line 236 of file cuitabarea.hxx.
Referenced by CreatePage(), and SetHtchChgd().
|
private |
Definition at line 234 of file cuitabarea.hxx.
Referenced by CreatePage(), and SetPtrnChgd().
|
private |
Definition at line 224 of file cuitabarea.hxx.
Referenced by CreatePage(), and SetPatternList().
|
private |
Definition at line 239 of file cuitabarea.hxx.
Referenced by ActivatePage(), CreatePage(), SelectFillType(), and SetOptimalSize().
|
protected |
Definition at line 249 of file cuitabarea.hxx.
Referenced by ActivatePage(), SvxBkgTabPage::PageCreated(), SetOptimalSize(), SvxAreaTabPage(), and SvxBkgTabPage::SvxBkgTabPage().
|
protected |
Definition at line 246 of file cuitabarea.hxx.
Referenced by ActivatePage(), and SvxAreaTabPage().
|
protected |
Definition at line 247 of file cuitabarea.hxx.
Referenced by ActivatePage(), SetOptimalSize(), SvxAreaTabPage(), and SvxBkgTabPage::SvxBkgTabPage().
|
protected |
Definition at line 248 of file cuitabarea.hxx.
Referenced by ActivatePage(), SetOptimalSize(), SvxAreaTabPage(), and SvxBkgTabPage::SvxBkgTabPage().
|
protected |
Definition at line 245 of file cuitabarea.hxx.
Referenced by ActivatePage(), and SvxAreaTabPage().
|
protected |
Definition at line 250 of file cuitabarea.hxx.
Referenced by ActivatePage(), SetOptimalSize(), SvxAreaTabPage(), and SvxBkgTabPage::SvxBkgTabPage().
|
protected |
Definition at line 251 of file cuitabarea.hxx.
Referenced by ActivatePage(), and SvxAreaTabPage().
|
protected |
Definition at line 244 of file cuitabarea.hxx.
Referenced by SelectFillType(), and SetOptimalSize().
|
private |
Definition at line 217 of file cuitabarea.hxx.
Referenced by GetFillTabPage(), SelectFillType(), SetOptimalSize(), and ~SvxAreaTabPage().
|
private |
Definition at line 218 of file cuitabarea.hxx.
Referenced by DeactivatePage(), FillItemSet(), Reset(), SelectFillType(), and SvxAreaTabPage().
|
private |
Definition at line 230 of file cuitabarea.hxx.
|
staticprivate |
Definition at line 215 of file cuitabarea.hxx.
Referenced by GetRanges().