LibreOffice Module cui (master) 1
|
class SvxBackgroundTabPage -----------------------------------------— More...
#include <backgrnd.hxx>
Public Member Functions | |
SvxBkgTabPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rInAttrs) | |
virtual | ~SvxBkgTabPage () override |
virtual bool | FillItemSet (SfxItemSet *) override |
virtual void | ActivatePage (const SfxItemSet &) override |
virtual DeactivateRC | DeactivatePage (SfxItemSet *pSet) override |
virtual void | PageCreated (const SfxAllItemSet &aSet) override |
virtual void | Reset (const SfxItemSet *) override |
Public Member Functions inherited from SvxAreaTabPage | |
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 WhichRangesContainer | GetRanges () |
static std::unique_ptr< SfxTabPage > | Create (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *) |
Static Public Member Functions inherited from SvxAreaTabPage | |
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) |
Private Member Functions | |
DECL_LINK (TblDestinationHdl_Impl, weld::ComboBox &, void) | |
Private Attributes | |
std::unique_ptr< weld::ComboBox > | m_xTblLBox |
bool | bHighlighting: 1 |
bool | bCharBackColor: 1 |
SfxItemSet | maSet |
std::unique_ptr< SfxItemSet > | m_pResetSet |
sal_Int32 | m_nActPos = -1 |
Static Private Attributes | |
static const WhichRangesContainer | pPageRanges |
Additional Inherited Members | |
Protected Member Functions inherited from SvxAreaTabPage | |
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 inherited from SvxAreaTabPage | |
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 |
class SvxBackgroundTabPage -----------------------------------------—
[Description] With this TabPage a Brush (e. g. for a frame's background color) can be set. [Items] <SvxBrushItem>: <SID_ATTR_BRUSH>;
Definition at line 38 of file backgrnd.hxx.
SvxBkgTabPage::SvxBkgTabPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rInAttrs | ||
) |
Definition at line 64 of file backgrnd.cxx.
References XColorList::CreateStdColorList(), SfxObjectShell::Current(), SfxShell::GetItem(), SvxAreaTabPage::m_xBtnBitmap, SvxAreaTabPage::m_xBtnGradient, SvxAreaTabPage::m_xBtnHatch, SvxAreaTabPage::m_xBtnPattern, SvxAreaTabPage::SetBitmapList(), and SvxAreaTabPage::SetColorList().
|
overridevirtual |
Definition at line 94 of file backgrnd.cxx.
References m_xTblLBox.
|
overridevirtual |
Reimplemented from SvxAreaTabPage.
Definition at line 99 of file backgrnd.cxx.
References SvxAreaTabPage::ActivatePage(), and maSet.
|
static |
Definition at line 227 of file backgrnd.cxx.
Referenced by AbstractDialogFactory_Impl::GetTabPageCreatorFunc(), SvxBorderBackgroundDlg::SvxBorderBackgroundDlg(), and SvxSearchFormatDialog::SvxSearchFormatDialog().
|
overridevirtual |
Reimplemented from SvxAreaTabPage.
Definition at line 104 of file backgrnd.cxx.
References SvxAreaTabPage::DeactivatePage(), FillItemSet(), and maSet.
|
private |
|
overridevirtual |
Reimplemented from SvxAreaTabPage.
Definition at line 132 of file backgrnd.cxx.
References bCharBackColor, bHighlighting, COL_TRANSPARENT(), SfxItemSet::Get(), XColorItem::GetColorValue(), XColorItem::getComplexColor(), SfxItemSet::GetItemState(), SfxItemSet::GetPool(), getSvxBrushItemFromSourceSet(), SfxTabPage::GetWhich(), SfxItemPool::GetWhich(), SvxAreaTabPage::IsBtnClicked(), lcl_GetTableDestSlot(), m_xTblLBox, maSet, SfxItemSet::Put(), XATTR_FILLCOLOR(), and XATTR_FILLSTYLE().
Referenced by DeactivatePage().
|
inlinestatic |
Definition at line 56 of file backgrnd.hxx.
References pPageRanges.
Referenced by AbstractDialogFactory_Impl::GetTabPageRangesFunc().
|
overridevirtual |
Reimplemented from SvxAreaTabPage.
Definition at line 234 of file backgrnd.cxx.
References bCharBackColor, bHighlighting, SfxItemSet::Clone(), SfxItemSet::Get(), SfxTabPage::GetDialogController(), SfxItemSet::GetItem(), SfxItemSet::GetPool(), SvxColorItem::GetValue(), CntUInt32Item::GetValue(), SfxItemPool::GetWhich(), LINK, m_pResetSet, SvxAreaTabPage::m_xBtnBitmap, m_xTblLBox, maSet, SvxAreaTabPage::PageCreated(), SvxAreaTabPage::SetOptimalSize(), and setSvxBrushItemAsFillAttributesToTargetSet().
|
overridevirtual |
Reimplemented from SvxAreaTabPage.
Definition at line 115 of file backgrnd.cxx.
References m_nActPos, m_pResetSet, m_xTblLBox, maSet, SvxAreaTabPage::Reset(), and SfxItemSet::Set().
|
private |
Definition at line 44 of file backgrnd.hxx.
Referenced by FillItemSet(), and PageCreated().
|
private |
Definition at line 43 of file backgrnd.hxx.
Referenced by FillItemSet(), and PageCreated().
|
private |
Definition at line 48 of file backgrnd.hxx.
Referenced by Reset().
|
private |
Definition at line 46 of file backgrnd.hxx.
Referenced by PageCreated(), and Reset().
|
private |
Definition at line 42 of file backgrnd.hxx.
Referenced by FillItemSet(), PageCreated(), Reset(), and ~SvxBkgTabPage().
|
private |
Definition at line 45 of file backgrnd.hxx.
Referenced by ActivatePage(), DeactivatePage(), FillItemSet(), PageCreated(), and Reset().
|
staticprivate |
Definition at line 40 of file backgrnd.hxx.
Referenced by GetRanges().