LibreOffice Module cui (master) 1
|
#include <cuitabarea.hxx>
Public Member Functions | |
SvxHatchTabPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rInAttrs) | |
virtual | ~SvxHatchTabPage () override |
void | Construct () |
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 | SetHatchingList (XHatchListRef const &pHtchLst) |
void | SetHtchChgd (ChangeType *pIn) |
void | SetColorChgd (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 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 (ChangeHatchHdl, ValueSet *, void) | |
void | ChangeHatchHdl_Impl () |
DECL_LINK (ModifiedEditHdl_Impl, weld::MetricSpinButton &, void) | |
DECL_LINK (ModifiedListBoxHdl_Impl, weld::ComboBox &, void) | |
DECL_LINK (ModifiedColorListBoxHdl_Impl, ColorListBox &, void) | |
DECL_LINK (ToggleHatchBackgroundColor_Impl, weld::Toggleable &, void) | |
DECL_LINK (ModifiedBackgroundHdl_Impl, ColorListBox &, void) | |
DECL_LINK (ModifiedSliderHdl_Impl, weld::Scale &, void) | |
void | ModifiedHdl_Impl (void const *) |
DECL_LINK (ClickAddHdl_Impl, weld::Button &, void) | |
DECL_LINK (ClickModifyHdl_Impl, weld::Button &, void) | |
DECL_LINK (ClickRenameHdl_Impl, SvxPresetListBox *, void) | |
DECL_LINK (ClickDeleteHdl_Impl, SvxPresetListBox *, void) | |
sal_Int32 | SearchHatchList (std::u16string_view rHatchName) |
Private Attributes | |
const SfxItemSet & | m_rOutAttrs |
XColorListRef | m_pColorList |
XHatchListRef | m_pHatchingList |
ChangeType * | m_pnHatchingListState |
ChangeType * | m_pnColorListState |
XFillAttrSetItem | m_aXFillAttr |
SfxItemSet & | m_rXFSet |
MapUnit | m_ePoolUnit |
SvxXRectPreview | m_aCtlPreview |
std::unique_ptr< weld::MetricSpinButton > | m_xMtrDistance |
std::unique_ptr< weld::MetricSpinButton > | m_xMtrAngle |
std::unique_ptr< weld::Scale > | m_xSliderAngle |
std::unique_ptr< weld::ComboBox > | m_xLbLineType |
std::unique_ptr< ColorListBox > | m_xLbLineColor |
std::unique_ptr< weld::CheckButton > | m_xCbBackgroundColor |
std::unique_ptr< ColorListBox > | m_xLbBackgroundColor |
std::unique_ptr< SvxPresetListBox > | m_xHatchLB |
std::unique_ptr< weld::Button > | m_xBtnAdd |
std::unique_ptr< weld::Button > | m_xBtnModify |
std::unique_ptr< weld::CustomWeld > | m_xHatchLBWin |
std::unique_ptr< weld::CustomWeld > | m_xCtlPreview |
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 437 of file cuitabarea.hxx.
SvxHatchTabPage::SvxHatchTabPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rInAttrs | ||
) |
Definition at line 46 of file tphatch.cxx.
References DEGREE, SfxTabPage::GetDialogController(), GetItemSet(), and MM.
|
overridevirtual |
Definition at line 120 of file tphatch.cxx.
References m_xCtlPreview, m_xHatchLB, m_xHatchLBWin, m_xLbBackgroundColor, and m_xLbLineColor.
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 134 of file tphatch.cxx.
References aURL, ChangeHatchHdl_Impl(), COL_AUTO(), CuiResId(), SfxItemSet::Get(), XColorItem::GetColorValue(), SfxTabPage::GetDialogController(), SvxAreaTabDialog::GetNewColorList(), m_aCtlPreview, m_aXFillAttr, m_pColorList, m_pHatchingList, m_pnColorListState, m_rXFSet, m_xCbBackgroundColor, m_xHatchLB, m_xLbBackgroundColor, ModifiedHdl_Impl(), nId, nPos, SfxItemSet::Put(), rSet, SAL_WARN_IF, SearchHatchList(), SvxXRectPreview::SetAttributes(), TRISTATE_FALSE, TRISTATE_TRUE, XATTR_FILLBACKGROUND(), XATTR_FILLCOLOR(), and XATTR_FILLHATCH().
|
private |
Definition at line 352 of file tphatch.cxx.
References XFillHatchItem::GetHatchValue(), SfxItemSet::GetItemIfSet(), SfxTabPage::GetWhich(), m_aCtlPreview, m_aXFillAttr, m_ePoolUnit, m_pHatchingList, m_rOutAttrs, m_rXFSet, m_xHatchLB, m_xLbBackgroundColor, m_xLbLineColor, m_xLbLineType, m_xMtrAngle, m_xMtrDistance, m_xSliderAngle, nPos, SfxItemSet::Put(), SvxXRectPreview::SetAttributes(), SetMetricValue(), VALUESET_ITEM_NOTFOUND, XATTR_FILLHATCH(), and XATTR_FILLSTYLE().
Referenced by ActivatePage(), and Reset().
void SvxHatchTabPage::Construct | ( | ) |
Definition at line 129 of file tphatch.cxx.
References m_pHatchingList, and m_xHatchLB.
|
static |
Definition at line 272 of file tphatch.cxx.
References rSet.
Referenced by SvxAreaTabPage::SetOptimalSize().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 198 of file tphatch.cxx.
References FillItemSet().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 223 of file tphatch.cxx.
References GetCoreValue(), NamedColor::m_aColor, NamedColor::m_aName, m_ePoolUnit, m_pHatchingList, m_xCbBackgroundColor, m_xHatchLB, m_xLbBackgroundColor, m_xLbLineColor, m_xLbLineType, m_xMtrAngle, m_xMtrDistance, nPos, SfxItemSet::Put(), rSet, and VALUESET_ITEM_NOTFOUND.
Referenced by DeactivatePage().
|
private |
Definition at line 328 of file tphatch.cxx.
References GetCoreValue(), m_aCtlPreview, m_aXFillAttr, m_ePoolUnit, m_rXFSet, m_xLbLineColor, m_xLbLineType, m_xMtrAngle, m_xMtrDistance, m_xSliderAngle, p, SfxItemSet::Put(), and SvxXRectPreview::SetAttributes().
Referenced by ActivatePage().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 253 of file tphatch.cxx.
References ChangeHatchHdl_Impl(), SfxItemSet::Get(), XColorItem::GetColorValue(), m_aCtlPreview, m_aXFillAttr, m_rXFSet, m_xCbBackgroundColor, m_xLbBackgroundColor, SfxItemSet::Put(), rSet, SvxXRectPreview::SetAttributes(), TRISTATE_FALSE, TRISTATE_TRUE, XATTR_FILLBACKGROUND(), and XATTR_FILLCOLOR().
|
private |
Definition at line 206 of file tphatch.cxx.
References i, m_pHatchingList, nCount, and nPos.
Referenced by ActivatePage().
|
inline |
Definition at line 501 of file cuitabarea.hxx.
References m_pnColorListState.
|
inline |
Definition at line 496 of file cuitabarea.hxx.
References m_pColorList.
Referenced by SvxAreaTabPage::CreatePage().
|
inline |
Definition at line 497 of file cuitabarea.hxx.
References m_pHatchingList.
|
inline |
Definition at line 500 of file cuitabarea.hxx.
References m_pnHatchingListState.
|
private |
Definition at line 453 of file cuitabarea.hxx.
Referenced by ActivatePage(), ChangeHatchHdl_Impl(), ModifiedHdl_Impl(), and Reset().
|
private |
Definition at line 448 of file cuitabarea.hxx.
Referenced by ActivatePage(), ChangeHatchHdl_Impl(), ModifiedHdl_Impl(), and Reset().
|
private |
Definition at line 451 of file cuitabarea.hxx.
Referenced by ChangeHatchHdl_Impl(), FillItemSet(), and ModifiedHdl_Impl().
|
private |
Definition at line 442 of file cuitabarea.hxx.
Referenced by ActivatePage(), and SetColorList().
|
private |
Definition at line 443 of file cuitabarea.hxx.
Referenced by ActivatePage(), ChangeHatchHdl_Impl(), Construct(), FillItemSet(), SearchHatchList(), and SetHatchingList().
|
private |
Definition at line 446 of file cuitabarea.hxx.
Referenced by ActivatePage(), and SetColorChgd().
|
private |
Definition at line 445 of file cuitabarea.hxx.
Referenced by SetHtchChgd().
|
private |
Definition at line 440 of file cuitabarea.hxx.
Referenced by ChangeHatchHdl_Impl().
|
private |
Definition at line 449 of file cuitabarea.hxx.
Referenced by ActivatePage(), ChangeHatchHdl_Impl(), ModifiedHdl_Impl(), and Reset().
|
private |
Definition at line 462 of file cuitabarea.hxx.
|
private |
Definition at line 463 of file cuitabarea.hxx.
|
private |
Definition at line 459 of file cuitabarea.hxx.
Referenced by ActivatePage(), FillItemSet(), and Reset().
|
private |
Definition at line 465 of file cuitabarea.hxx.
Referenced by ~SvxHatchTabPage().
|
private |
Definition at line 461 of file cuitabarea.hxx.
Referenced by ActivatePage(), ChangeHatchHdl_Impl(), Construct(), FillItemSet(), and ~SvxHatchTabPage().
|
private |
Definition at line 464 of file cuitabarea.hxx.
Referenced by ~SvxHatchTabPage().
|
private |
Definition at line 460 of file cuitabarea.hxx.
Referenced by ActivatePage(), ChangeHatchHdl_Impl(), FillItemSet(), Reset(), and ~SvxHatchTabPage().
|
private |
Definition at line 458 of file cuitabarea.hxx.
Referenced by ChangeHatchHdl_Impl(), FillItemSet(), ModifiedHdl_Impl(), and ~SvxHatchTabPage().
|
private |
Definition at line 457 of file cuitabarea.hxx.
Referenced by ChangeHatchHdl_Impl(), FillItemSet(), and ModifiedHdl_Impl().
|
private |
Definition at line 455 of file cuitabarea.hxx.
Referenced by ChangeHatchHdl_Impl(), FillItemSet(), and ModifiedHdl_Impl().
|
private |
Definition at line 454 of file cuitabarea.hxx.
Referenced by ChangeHatchHdl_Impl(), FillItemSet(), and ModifiedHdl_Impl().
|
private |
Definition at line 456 of file cuitabarea.hxx.
Referenced by ChangeHatchHdl_Impl(), and ModifiedHdl_Impl().