LibreOffice Module cui (master) 1
|
#include <cuitabline.hxx>
Public Member Functions | |
SvxLineDefTabPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rInAttrs) | |
virtual | ~SvxLineDefTabPage () 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 | SetDashList (XDashListRef const &pDshLst) |
void | SetPageType (PageType *pInType) |
void | SetDlgType (sal_uInt16 nInType) |
void | SetPosDashLb (sal_Int32 *pInPos) |
void | SetDashChgd (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 | |
void | FillDash_Impl () |
void | FillDialog_Impl () |
DECL_LINK (ClickAddHdl_Impl, weld::Button &, void) | |
DECL_LINK (ClickModifyHdl_Impl, weld::Button &, void) | |
DECL_LINK (ClickDeleteHdl_Impl, weld::Button &, void) | |
DECL_LINK (SelectLinestyleListBoxHdl_Impl, weld::ComboBox &, void) | |
void | SelectLinestyleHdl_Impl (const weld::ComboBox *) |
DECL_LINK (ChangePreviewHdl_Impl, weld::MetricSpinButton &, void) | |
DECL_LINK (ChangeNumber1Hdl_Impl, weld::SpinButton &, void) | |
DECL_LINK (ChangeNumber2Hdl_Impl, weld::SpinButton &, void) | |
DECL_LINK (ClickLoadHdl_Impl, weld::Button &, void) | |
DECL_LINK (ClickSaveHdl_Impl, weld::Button &, void) | |
DECL_LINK (ChangeMetricHdl_Impl, weld::Toggleable &, void) | |
DECL_LINK (SelectTypeListBoxHdl_Impl, weld::ComboBox &, void) | |
void | SelectTypeHdl_Impl (const weld::ComboBox *) |
void | ChangeMetricHdl_Impl (const weld::Toggleable *) |
void | CheckChanges_Impl () |
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 237 of file cuitabline.hxx.
SvxLineDefTabPage::SvxLineDefTabPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rInAttrs | ||
) |
Definition at line 53 of file tplnedef.cxx.
References aXLineAttr, ChangeMetricHdl_Impl(), CM, COL_BLACK(), DBG_ASSERT, eFUnit, ePoolUnit, GetItemSet(), SfxItemPool::GetMetric(), GetModuleFieldUnit(), SfxItemSet::GetPool(), LINK, m_aCtlPreview, m_xBtnAdd, m_xBtnDelete, m_xBtnLoad, m_xBtnModify, m_xBtnSave, m_xCbxSynchronize, m_xLbLineStyles, m_xLbType1, m_xLbType2, m_xMtrDistance, m_xMtrLength1, m_xMtrLength2, m_xNumFldNumber1, m_xNumFldNumber2, pDashList, SfxItemSet::Put(), rOutAttrs, rXLSet, SfxTabPage::SetExchangeSupport(), SetFieldUnit(), SvxXLinePreview::SetLineAttributes(), and XOUT_WIDTH.
|
overridevirtual |
Definition at line 138 of file tplnedef.cxx.
References m_xCtlPreview, and m_xLbLineStyles.
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 150 of file tplnedef.cxx.
References Area, aURL, DBG_ASSERT, Gradient, m_xLbLineStyles, nDlgType, pDashList, pPageType, pPosDashLb, and SelectLinestyleHdl_Impl().
|
private |
Definition at line 377 of file tplnedef.cxx.
References eFUnit, ePoolUnit, GetCoreValue(), m_xCbxSynchronize, m_xMtrDistance, m_xMtrLength1, m_xMtrLength2, p, SelectTypeHdl_Impl(), SetMetricValue(), and XOUT_WIDTH.
Referenced by FillDialog_Impl(), and SvxLineDefTabPage().
|
private |
Definition at line 191 of file tplnedef.cxx.
References Application::CreateMessageDialog(), CuiResId(), SfxTabPage::GetFrameWeld(), m_xBtnAdd, m_xBtnModify, m_xLbLineStyles, m_xLbType1, m_xLbType2, m_xMtrDistance, m_xMtrLength1, m_xMtrLength2, m_xNumFldNumber1, m_xNumFldNumber2, nPos, pPosDashLb, RET_BTN_1, RET_BTN_2, RET_CANCEL, and SvxResId().
Referenced by DeactivatePage().
void SvxLineDefTabPage::Construct | ( | ) |
Definition at line 144 of file tplnedef.cxx.
References m_xLbLineStyles, and pDashList.
|
static |
Definition at line 299 of file tplnedef.cxx.
References rOutAttrs.
Referenced by SvxLineTabDialog::SvxLineTabDialog().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 181 of file tplnedef.cxx.
References CheckChanges_Impl(), and FillItemSet().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 790 of file tplnedef.cxx.
References aDash, aXLineAttr, ePoolUnit, GetCoreValue(), m_aCtlPreview, m_xCbxSynchronize, m_xLbType1, m_xLbType2, m_xMtrDistance, m_xMtrLength1, m_xMtrLength2, m_xNumFldNumber1, m_xNumFldNumber2, SfxItemSet::Put(), rXLSet, XDash::SetDashes(), XDash::SetDashLen(), XDash::SetDashStyle(), XDash::SetDistance(), XDash::SetDotLen(), XDash::SetDots(), and SvxXLinePreview::SetLineAttributes().
Referenced by FillItemSet().
|
private |
Definition at line 812 of file tplnedef.cxx.
References aDash, ChangeMetricHdl_Impl(), ePoolUnit, XDash::GetDashes(), XDash::GetDashLen(), XDash::GetDashStyle(), XDash::GetDistance(), XDash::GetDotLen(), XDash::GetDots(), m_xCbxSynchronize, m_xLbType1, m_xLbType2, m_xMtrDistance, m_xMtrLength1, m_xMtrLength2, m_xNumFldNumber1, m_xNumFldNumber2, and SetMetricValue().
Referenced by SelectLinestyleHdl_Impl().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 240 of file tplnedef.cxx.
References aDash, FillDash_Impl(), Hatch, m_xLbLineStyles, nDlgType, pPageType, and SfxItemSet::Put().
Referenced by DeactivatePage().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 257 of file tplnedef.cxx.
References aDash, SfxItemSet::Get(), XLineDashItem::GetDashValue(), SfxItemSet::GetItemState(), NameOrIndex::GetName(), SfxTabPage::GetWhich(), m_xBtnDelete, m_xBtnModify, m_xBtnSave, m_xLbLineStyles, pDashList, SelectLinestyleHdl_Impl(), XATTR_LINEDASH(), and XATTR_LINESTYLE().
|
private |
Definition at line 309 of file tplnedef.cxx.
References aDash, aXLineAttr, FillDialog_Impl(), Hatch, m_aCtlPreview, m_xLbLineStyles, p, pDashList, pPageType, SfxItemSet::Put(), rXLSet, and SvxXLinePreview::SetLineAttributes().
Referenced by ActivatePage(), and Reset().
|
private |
Definition at line 457 of file tplnedef.cxx.
References m_xLbType1, m_xLbType2, m_xMtrLength1, m_xMtrLength2, and p.
Referenced by ChangeMetricHdl_Impl().
|
inline |
Definition at line 312 of file cuitabline.hxx.
References pnDashListState.
|
inline |
Definition at line 306 of file cuitabline.hxx.
References pDashList.
|
inline |
Definition at line 309 of file cuitabline.hxx.
References nDlgType.
|
inline |
Definition at line 308 of file cuitabline.hxx.
References pPageType.
|
inline |
Definition at line 310 of file cuitabline.hxx.
References pPosDashLb.
|
private |
Definition at line 241 of file cuitabline.hxx.
Referenced by FillDash_Impl(), FillDialog_Impl(), FillItemSet(), Reset(), and SelectLinestyleHdl_Impl().
|
private |
Definition at line 243 of file cuitabline.hxx.
Referenced by FillDash_Impl(), SelectLinestyleHdl_Impl(), and SvxLineDefTabPage().
|
private |
Definition at line 254 of file cuitabline.hxx.
Referenced by ChangeMetricHdl_Impl(), and SvxLineDefTabPage().
|
private |
Definition at line 253 of file cuitabline.hxx.
Referenced by ChangeMetricHdl_Impl(), FillDash_Impl(), FillDialog_Impl(), and SvxLineDefTabPage().
|
private |
Definition at line 256 of file cuitabline.hxx.
Referenced by FillDash_Impl(), SelectLinestyleHdl_Impl(), and SvxLineDefTabPage().
|
private |
Definition at line 266 of file cuitabline.hxx.
Referenced by CheckChanges_Impl(), and SvxLineDefTabPage().
|
private |
Definition at line 268 of file cuitabline.hxx.
Referenced by Reset(), and SvxLineDefTabPage().
|
private |
Definition at line 269 of file cuitabline.hxx.
Referenced by SvxLineDefTabPage().
|
private |
Definition at line 267 of file cuitabline.hxx.
Referenced by CheckChanges_Impl(), Reset(), and SvxLineDefTabPage().
|
private |
Definition at line 270 of file cuitabline.hxx.
Referenced by Reset(), and SvxLineDefTabPage().
|
private |
Definition at line 265 of file cuitabline.hxx.
Referenced by ChangeMetricHdl_Impl(), FillDash_Impl(), FillDialog_Impl(), and SvxLineDefTabPage().
|
private |
Definition at line 271 of file cuitabline.hxx.
Referenced by ~SvxLineDefTabPage().
|
private |
Definition at line 257 of file cuitabline.hxx.
Referenced by ActivatePage(), CheckChanges_Impl(), Construct(), FillItemSet(), Reset(), SelectLinestyleHdl_Impl(), SvxLineDefTabPage(), and ~SvxLineDefTabPage().
|
private |
Definition at line 258 of file cuitabline.hxx.
Referenced by CheckChanges_Impl(), FillDash_Impl(), FillDialog_Impl(), SelectTypeHdl_Impl(), and SvxLineDefTabPage().
|
private |
Definition at line 259 of file cuitabline.hxx.
Referenced by CheckChanges_Impl(), FillDash_Impl(), FillDialog_Impl(), SelectTypeHdl_Impl(), and SvxLineDefTabPage().
|
private |
Definition at line 264 of file cuitabline.hxx.
Referenced by ChangeMetricHdl_Impl(), CheckChanges_Impl(), FillDash_Impl(), FillDialog_Impl(), and SvxLineDefTabPage().
|
private |
Definition at line 262 of file cuitabline.hxx.
Referenced by ChangeMetricHdl_Impl(), CheckChanges_Impl(), FillDash_Impl(), FillDialog_Impl(), SelectTypeHdl_Impl(), and SvxLineDefTabPage().
|
private |
Definition at line 263 of file cuitabline.hxx.
Referenced by ChangeMetricHdl_Impl(), CheckChanges_Impl(), FillDash_Impl(), FillDialog_Impl(), SelectTypeHdl_Impl(), and SvxLineDefTabPage().
|
private |
Definition at line 260 of file cuitabline.hxx.
Referenced by CheckChanges_Impl(), FillDash_Impl(), FillDialog_Impl(), and SvxLineDefTabPage().
|
private |
Definition at line 261 of file cuitabline.hxx.
Referenced by CheckChanges_Impl(), FillDash_Impl(), FillDialog_Impl(), and SvxLineDefTabPage().
|
private |
Definition at line 250 of file cuitabline.hxx.
Referenced by ActivatePage(), FillItemSet(), and SetDlgType().
|
private |
Definition at line 246 of file cuitabline.hxx.
Referenced by ActivatePage(), Construct(), Reset(), SelectLinestyleHdl_Impl(), SetDashList(), and SvxLineDefTabPage().
|
private |
Definition at line 248 of file cuitabline.hxx.
Referenced by SetDashChgd().
|
private |
Definition at line 249 of file cuitabline.hxx.
Referenced by ActivatePage(), FillItemSet(), SelectLinestyleHdl_Impl(), and SetPageType().
|
private |
Definition at line 251 of file cuitabline.hxx.
Referenced by ActivatePage(), CheckChanges_Impl(), and SetPosDashLb().
|
private |
Definition at line 240 of file cuitabline.hxx.
Referenced by Create(), and SvxLineDefTabPage().
|
private |
Definition at line 244 of file cuitabline.hxx.
Referenced by FillDash_Impl(), SelectLinestyleHdl_Impl(), and SvxLineDefTabPage().