LibreOffice Module cui (master) 1
|
#include <numpages.hxx>
Public Member Functions | |
SvxNumPositionTabPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet) | |
virtual | ~SvxNumPositionTabPage () override |
virtual void | ActivatePage (const SfxItemSet &rSet) override |
virtual DeactivateRC | DeactivatePage (SfxItemSet *pSet) override |
virtual bool | FillItemSet (SfxItemSet *rSet) override |
virtual void | Reset (const SfxItemSet *rSet) override |
void | SetMetric (FieldUnit eSet) |
void | SetModified () |
virtual void | PageCreated (const SfxAllItemSet &aSet) override |
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 *rAttrSet) |
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 | InitControls () |
DECL_LINK (LevelHdl_Impl, weld::TreeView &, void) | |
DECL_LINK (LevelHdl, void *, void) | |
DECL_LINK (EditModifyHdl_Impl, weld::ComboBox &, void) | |
DECL_LINK (DistanceHdl_Impl, weld::MetricSpinButton &, void) | |
DECL_LINK (RelativeHdl_Impl, weld::Toggleable &, void) | |
DECL_LINK (StandardHdl_Impl, weld::Button &, void) | |
void | InitPosAndSpaceMode () |
void | ShowControlsDependingOnPosAndSpaceMode () |
DECL_LINK (LabelFollowedByHdl_Impl, weld::ComboBox &, void) | |
DECL_LINK (ListtabPosHdl_Impl, weld::MetricSpinButton &, void) | |
DECL_LINK (AlignAtHdl_Impl, weld::MetricSpinButton &, void) | |
DECL_LINK (IndentAtHdl_Impl, weld::MetricSpinButton &, void) | |
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 309 of file numpages.hxx.
SvxNumPositionTabPage::SvxNumPositionTabPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rSet | ||
) |
Definition at line 2508 of file numpages.cxx.
References bLastRelative, CM, eCoreUnit, SfxItemPool::GetMetric(), GetModuleFieldUnit(), SfxItemSet::GetPool(), SfxItemPool::GetWhich(), i, LINK, m_aPreviewWIN, m_xAlign2LB, m_xAlignedAtMF, m_xAlignLB, m_xDistBorderMF, m_xDistNumMF, m_xIndentAtMF, m_xIndentMF, m_xLabelFollowedByLB, m_xLevelLB, m_xListtabMF, m_xRelativeCB, m_xStandardPB, rSet, SAL_MAX_INT32, SfxTabPage::SetExchangeSupport(), SetFieldUnit(), and SvxNumberingPreview::SetPositionMode().
|
overridevirtual |
Definition at line 2582 of file numpages.cxx.
References m_pLevelHdlEvent, m_xPreviewWIN, and Application::RemoveUserEvent().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 2788 of file numpages.cxx.
References bModified, bPreset, SfxTabPage::GetDialogExampleSet(), SfxItemSet::GetItemIfSet(), i, InitControls(), InitPosAndSpaceMode(), weld::CustomWidgetController::Invalidate(), m_aPreviewWIN, m_xLevelLB, m_xRelativeCB, nActNumLvl, nNumItemId, pActNum, pSaveNum, rSet, SAL_MAX_UINT16, SvxNumberingPreview::SetLevel(), and ShowControlsDependingOnPosAndSpaceMode().
|
static |
Definition at line 2975 of file numpages.cxx.
Referenced by AbstractDialogFactory_Impl::GetTabPageCreatorFunc().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 2831 of file numpages.cxx.
References FillItemSet(), m_xDistBorderMF, and m_xIndentMF.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 2843 of file numpages.cxx.
References bModified, nActNumLvl, nNumItemId, pActNum, pSaveNum, SfxItemSet::Put(), and rSet.
Referenced by DeactivatePage().
|
private |
Definition at line 2594 of file numpages.cxx.
References bInInintControl, bLabelAlignmentPosAndSpaceModeActive, eCoreUnit, SvxNumberFormat::GetAbsLSpace(), SvxNumberFormat::GetCharTextDistance(), SvxNumberFormat::GetFirstLineIndent(), SvxNumberFormat::GetFirstLineOffset(), SvxNumberFormat::GetIndentAt(), SvxNumberFormat::GetLabelFollowedBy(), SvxNumberFormat::GetListtabPos(), SvxNumberFormat::GetNumAdjust(), i, SvxNumberFormat::LISTTAB, m_xAlign2LB, m_xAlignedAtMF, m_xAlignLB, m_xDistBorderFT, m_xDistBorderMF, m_xDistNumMF, m_xIndentAtMF, m_xIndentMF, m_xLabelFollowedByLB, m_xLevelLB, m_xListtabFT, m_xListtabMF, m_xRelativeCB, nActNumLvl, SvxNumberFormat::NEWLINE, SvxNumberFormat::NOTHING, nPos, pActNum, SAL_MAX_UINT16, SetMetricValue(), SvxNumberFormat::SPACE, and SVX_MAX_NUM.
Referenced by ActivatePage(), and Reset().
|
private |
Definition at line 2919 of file numpages.cxx.
References bLabelAlignmentPosAndSpaceModeActive, SvxNumberFormat::GetPositionAndSpaceMode(), i, SvxNumberFormat::LABEL_ALIGNMENT, nActNumLvl, pActNum, and SAL_WARN.
Referenced by ActivatePage(), and Reset().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 3388 of file numpages.cxx.
References SfxItemSet::GetItem(), CntUInt16Item::GetValue(), and SetMetric().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 2856 of file numpages.cxx.
References bModified, DBG_ASSERT, SfxItemSet::Get(), SfxItemSet::GetItemIfSet(), SvxNumBulletItem::GetNumRule(), SfxItemSet::GetPool(), SfxItemPool::GetWhich(), i, InitControls(), InitPosAndSpaceMode(), m_aPreviewWIN, m_xLevelLB, nActNumLvl, nNumItemId, pActNum, pSaveNum, rSet, SAL_MAX_UINT16, SvxNumberingPreview::SetNumRule(), and ShowControlsDependingOnPosAndSpaceMode().
void SvxNumPositionTabPage::SetMetric | ( | FieldUnit | eSet | ) |
Definition at line 2981 of file numpages.cxx.
References m_xAlignedAtMF, m_xDistBorderMF, m_xDistNumMF, m_xIndentAtMF, m_xIndentMF, and m_xListtabMF.
Referenced by PageCreated().
void SvxNumPositionTabPage::SetModified | ( | ) |
Definition at line 3350 of file numpages.cxx.
References bModified, weld::CustomWidgetController::Invalidate(), m_aPreviewWIN, nActNumLvl, and SvxNumberingPreview::SetLevel().
|
private |
Definition at line 2949 of file numpages.cxx.
References bLabelAlignmentPosAndSpaceModeActive, m_xAlign2FT, m_xAlign2LB, m_xAlignedAtFT, m_xAlignedAtMF, m_xAlignFT, m_xAlignLB, m_xDistBorderFT, m_xDistBorderMF, m_xDistNumFT, m_xDistNumMF, m_xIndentAtFT, m_xIndentAtMF, m_xIndentFT, m_xIndentMF, m_xLabelFollowedByFT, m_xLabelFollowedByLB, m_xListtabFT, m_xListtabMF, m_xRelativeCB, and pActNum.
Referenced by ActivatePage(), and Reset().
|
private |
Definition at line 321 of file numpages.hxx.
Referenced by InitControls().
|
private |
Definition at line 322 of file numpages.hxx.
Referenced by InitControls(), InitPosAndSpaceMode(), and ShowControlsDependingOnPosAndSpaceMode().
|
private |
Definition at line 319 of file numpages.hxx.
Referenced by ActivatePage(), FillItemSet(), Reset(), and SetModified().
|
private |
Definition at line 320 of file numpages.hxx.
Referenced by ActivatePage().
|
private |
Definition at line 317 of file numpages.hxx.
Referenced by InitControls(), and SvxNumPositionTabPage().
|
private |
Definition at line 324 of file numpages.hxx.
Referenced by ActivatePage(), Reset(), SetModified(), and SvxNumPositionTabPage().
|
private |
Definition at line 314 of file numpages.hxx.
Referenced by ~SvxNumPositionTabPage().
|
private |
Definition at line 343 of file numpages.hxx.
Referenced by ShowControlsDependingOnPosAndSpaceMode().
|
private |
Definition at line 344 of file numpages.hxx.
Referenced by InitControls(), ShowControlsDependingOnPosAndSpaceMode(), and SvxNumPositionTabPage().
|
private |
Definition at line 345 of file numpages.hxx.
Referenced by ShowControlsDependingOnPosAndSpaceMode().
|
private |
Definition at line 346 of file numpages.hxx.
Referenced by InitControls(), SetMetric(), ShowControlsDependingOnPosAndSpaceMode(), and SvxNumPositionTabPage().
|
private |
Definition at line 335 of file numpages.hxx.
Referenced by ShowControlsDependingOnPosAndSpaceMode().
|
private |
Definition at line 336 of file numpages.hxx.
Referenced by InitControls(), ShowControlsDependingOnPosAndSpaceMode(), and SvxNumPositionTabPage().
|
private |
Definition at line 328 of file numpages.hxx.
Referenced by InitControls(), and ShowControlsDependingOnPosAndSpaceMode().
|
private |
Definition at line 329 of file numpages.hxx.
Referenced by DeactivatePage(), InitControls(), SetMetric(), ShowControlsDependingOnPosAndSpaceMode(), and SvxNumPositionTabPage().
|
private |
Definition at line 333 of file numpages.hxx.
Referenced by ShowControlsDependingOnPosAndSpaceMode().
|
private |
Definition at line 334 of file numpages.hxx.
Referenced by InitControls(), SetMetric(), ShowControlsDependingOnPosAndSpaceMode(), and SvxNumPositionTabPage().
|
private |
Definition at line 347 of file numpages.hxx.
Referenced by ShowControlsDependingOnPosAndSpaceMode().
|
private |
Definition at line 348 of file numpages.hxx.
Referenced by InitControls(), SetMetric(), ShowControlsDependingOnPosAndSpaceMode(), and SvxNumPositionTabPage().
|
private |
Definition at line 331 of file numpages.hxx.
Referenced by ShowControlsDependingOnPosAndSpaceMode().
|
private |
Definition at line 332 of file numpages.hxx.
Referenced by DeactivatePage(), InitControls(), SetMetric(), ShowControlsDependingOnPosAndSpaceMode(), and SvxNumPositionTabPage().
|
private |
Definition at line 339 of file numpages.hxx.
Referenced by ShowControlsDependingOnPosAndSpaceMode().
|
private |
Definition at line 340 of file numpages.hxx.
Referenced by InitControls(), ShowControlsDependingOnPosAndSpaceMode(), and SvxNumPositionTabPage().
|
private |
Definition at line 325 of file numpages.hxx.
Referenced by ActivatePage(), InitControls(), Reset(), and SvxNumPositionTabPage().
|
private |
Definition at line 341 of file numpages.hxx.
Referenced by InitControls(), and ShowControlsDependingOnPosAndSpaceMode().
|
private |
Definition at line 342 of file numpages.hxx.
Referenced by InitControls(), SetMetric(), ShowControlsDependingOnPosAndSpaceMode(), and SvxNumPositionTabPage().
|
private |
Definition at line 350 of file numpages.hxx.
Referenced by ~SvxNumPositionTabPage().
|
private |
Definition at line 330 of file numpages.hxx.
Referenced by ActivatePage(), InitControls(), ShowControlsDependingOnPosAndSpaceMode(), and SvxNumPositionTabPage().
|
private |
Definition at line 349 of file numpages.hxx.
Referenced by SvxNumPositionTabPage().
|
private |
Definition at line 315 of file numpages.hxx.
Referenced by ActivatePage(), FillItemSet(), InitControls(), InitPosAndSpaceMode(), Reset(), and SetModified().
|
private |
Definition at line 316 of file numpages.hxx.
Referenced by ActivatePage(), FillItemSet(), and Reset().
|
private |
Definition at line 311 of file numpages.hxx.
Referenced by ActivatePage(), FillItemSet(), InitControls(), InitPosAndSpaceMode(), Reset(), and ShowControlsDependingOnPosAndSpaceMode().
|
private |
Definition at line 312 of file numpages.hxx.
Referenced by ActivatePage(), FillItemSet(), and Reset().