LibreOffice Module sw (master) 1
|
#include <num.hxx>
Public Member Functions | |
SwNumPositionTabPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet) | |
virtual | ~SwNumPositionTabPage () 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 | SetOutlineTabDialog (SwOutlineTabDialog *pDlg) |
void | SetWrtShell (SwWrtShell *pSh) |
void | SetModified () |
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, weld::TreeView &, void) | |
DECL_LINK (EditModifyHdl, weld::ComboBox &, void) | |
DECL_LINK (DistanceHdl, weld::MetricSpinButton &, void) | |
DECL_LINK (RelativeHdl, weld::Toggleable &, void) | |
DECL_LINK (StandardHdl, 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 |
SwNumPositionTabPage::SwNumPositionTabPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rSet | ||
) |
Definition at line 48 of file num.cxx.
References bLastRelative, CM, i, LINK, m_aPreviewWIN, m_xAlign2FT, m_xAlign2LB, m_xAlignedAtMF, m_xAlignFT, m_xAlignLB, m_xDistBorderMF, m_xDistNumMF, m_xIndentAtMF, m_xIndentMF, m_xLabelFollowedByLB, m_xLevelLB, m_xListtabMF, m_xRelativeCB, m_xStandardPB, MAXLEVEL, rSet, SfxTabPage::SetExchangeSupport(), and NumberingPreview::SetPositionMode().
|
overridevirtual |
Definition at line 126 of file num.cxx.
References m_pActNum, and m_pOutlineDlg.
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 330 of file num.cxx.
References FN_PARAM_NUM_PRESET, SwOutlineTabDialog::GetActNumLevel(), SfxTabPage::GetDialogExampleSet(), SfxItemSet::GetItemState(), GetValue, i, InitControls(), InitPosAndSpaceMode(), weld::CustomWidgetController::Invalidate(), m_aPreviewWIN, m_bModified, m_bPreset, m_nActNumLvl, m_pActNum, m_pOutlineDlg, m_pSaveNum, m_xLevelLB, m_xRelativeCB, MAXLEVEL, and ShowControlsDependingOnPosAndSpaceMode().
|
static |
Definition at line 482 of file num.cxx.
Referenced by SwOutlineTabDialog::SwOutlineTabDialog().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 369 of file num.cxx.
References FillItemSet(), m_nActNumLvl, and SwOutlineTabDialog::SetActNumLevel().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 378 of file num.cxx.
References FN_PARAM_NUM_PRESET, SwOutlineTabDialog::GetNumRule(), m_bModified, m_pActNum, m_pOutlineDlg, m_pSaveNum, SfxItemSet::Put(), and rSet.
Referenced by DeactivatePage().
|
private |
Definition at line 132 of file num.cxx.
References SvxNumberFormat::GetAbsLSpace(), SvxNumberFormat::GetCharTextDistance(), SvxNumberFormat::GetFirstLineIndent(), SvxNumberFormat::GetFirstLineOffset(), SvxNumberFormat::GetIndentAt(), SvxNumberFormat::GetLabelFollowedBy(), SvxNumberFormat::GetListtabPos(), SvxNumberFormat::GetNumAdjust(), i, SvxNumberFormat::LISTTAB, m_bInInintControl, m_bLabelAlignmentPosAndSpaceModeActive, m_nActNumLvl, m_pActNum, m_pOutlineDlg, 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, MAXLEVEL, SvxNumberFormat::NEWLINE, SvxNumberFormat::NOTHING, nPos, and SvxNumberFormat::SPACE.
Referenced by ActivatePage(), and Reset().
|
private |
Definition at line 429 of file num.cxx.
References SvxNumberFormat::GetPositionAndSpaceMode(), i, SvxNumberFormat::LABEL_ALIGNMENT, m_bLabelAlignmentPosAndSpaceModeActive, m_nActNumLvl, m_pActNum, and MAXLEVEL.
Referenced by ActivatePage(), and Reset().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 391 of file num.cxx.
References FN_PARAM_ACT_NUMBER, SwOutlineTabDialog::GetActNumLevel(), SfxItemSet::GetItemIfSet(), SwOutlineTabDialog::GetNumRule(), TextFormatCollFunc::GetNumRule(), i, InitControls(), InitPosAndSpaceMode(), m_aPreviewWIN, m_bModified, m_nActNumLvl, m_pActNum, m_pOutlineDlg, m_pSaveNum, m_xLevelLB, MAXLEVEL, rSet, NumberingPreview::SetNumRule(), and ShowControlsDependingOnPosAndSpaceMode().
void SwNumPositionTabPage::SetModified | ( | ) |
Definition at line 854 of file num.cxx.
References weld::CustomWidgetController::Invalidate(), m_aPreviewWIN, m_bModified, m_nActNumLvl, and NumberingPreview::SetLevel().
|
inline |
Definition at line 106 of file num.hxx.
References m_pOutlineDlg.
void SwNumPositionTabPage::SetWrtShell | ( | SwWrtShell * | pSh | ) |
Definition at line 488 of file num.cxx.
References Frame, SwFEShell::GetAnyCurRect(), GetDfltMetric(), SwWrtShell::GetView(), m_aPreviewWIN, m_pWrtSh, m_xAlignedAtMF, m_xDistBorderMF, m_xDistNumMF, m_xIndentAtMF, m_xIndentMF, m_xListtabMF, Page, NumberingPreview::SetPageWidth(), and SwRect::Width().
|
private |
Definition at line 458 of file num.cxx.
References m_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, and m_xRelativeCB.
Referenced by ActivatePage(), and Reset().
|
private |
Definition at line 44 of file num.hxx.
Referenced by ActivatePage(), Reset(), SetModified(), SetWrtShell(), and SwNumPositionTabPage().
|
private |
Definition at line 41 of file num.hxx.
Referenced by InitControls().
|
private |
Definition at line 42 of file num.hxx.
Referenced by InitControls(), InitPosAndSpaceMode(), and ShowControlsDependingOnPosAndSpaceMode().
|
private |
Definition at line 39 of file num.hxx.
Referenced by ActivatePage(), FillItemSet(), Reset(), and SetModified().
|
private |
Definition at line 40 of file num.hxx.
Referenced by ActivatePage().
|
private |
Definition at line 37 of file num.hxx.
Referenced by ActivatePage(), DeactivatePage(), InitControls(), InitPosAndSpaceMode(), Reset(), and SetModified().
|
private |
Definition at line 32 of file num.hxx.
Referenced by ActivatePage(), FillItemSet(), InitControls(), InitPosAndSpaceMode(), Reset(), and ~SwNumPositionTabPage().
|
private |
Definition at line 36 of file num.hxx.
Referenced by ActivatePage(), FillItemSet(), InitControls(), Reset(), SetOutlineTabDialog(), and ~SwNumPositionTabPage().
|
private |
Definition at line 33 of file num.hxx.
Referenced by ActivatePage(), FillItemSet(), and Reset().
|
private |
Definition at line 34 of file num.hxx.
Referenced by SetWrtShell().
|
private |
Definition at line 67 of file num.hxx.
Referenced by ShowControlsDependingOnPosAndSpaceMode(), and SwNumPositionTabPage().
|
private |
Definition at line 68 of file num.hxx.
Referenced by InitControls(), ShowControlsDependingOnPosAndSpaceMode(), and SwNumPositionTabPage().
|
private |
Definition at line 69 of file num.hxx.
Referenced by ShowControlsDependingOnPosAndSpaceMode().
|
private |
Definition at line 70 of file num.hxx.
Referenced by InitControls(), SetWrtShell(), ShowControlsDependingOnPosAndSpaceMode(), and SwNumPositionTabPage().
|
private |
Definition at line 58 of file num.hxx.
Referenced by ShowControlsDependingOnPosAndSpaceMode(), and SwNumPositionTabPage().
|
private |
Definition at line 59 of file num.hxx.
Referenced by InitControls(), ShowControlsDependingOnPosAndSpaceMode(), and SwNumPositionTabPage().
|
private |
Definition at line 51 of file num.hxx.
Referenced by InitControls(), and ShowControlsDependingOnPosAndSpaceMode().
|
private |
Definition at line 52 of file num.hxx.
Referenced by InitControls(), SetWrtShell(), ShowControlsDependingOnPosAndSpaceMode(), and SwNumPositionTabPage().
|
private |
Definition at line 56 of file num.hxx.
Referenced by ShowControlsDependingOnPosAndSpaceMode().
|
private |
Definition at line 57 of file num.hxx.
Referenced by InitControls(), SetWrtShell(), ShowControlsDependingOnPosAndSpaceMode(), and SwNumPositionTabPage().
|
private |
Definition at line 71 of file num.hxx.
Referenced by ShowControlsDependingOnPosAndSpaceMode().
|
private |
Definition at line 72 of file num.hxx.
Referenced by InitControls(), SetWrtShell(), ShowControlsDependingOnPosAndSpaceMode(), and SwNumPositionTabPage().
|
private |
Definition at line 54 of file num.hxx.
Referenced by ShowControlsDependingOnPosAndSpaceMode().
|
private |
Definition at line 55 of file num.hxx.
Referenced by InitControls(), SetWrtShell(), ShowControlsDependingOnPosAndSpaceMode(), and SwNumPositionTabPage().
|
private |
Definition at line 63 of file num.hxx.
Referenced by ShowControlsDependingOnPosAndSpaceMode().
|
private |
Definition at line 64 of file num.hxx.
Referenced by InitControls(), ShowControlsDependingOnPosAndSpaceMode(), and SwNumPositionTabPage().
|
private |
Definition at line 46 of file num.hxx.
Referenced by ActivatePage(), InitControls(), Reset(), and SwNumPositionTabPage().
|
private |
Definition at line 65 of file num.hxx.
Referenced by InitControls(), and ShowControlsDependingOnPosAndSpaceMode().
|
private |
Definition at line 66 of file num.hxx.
Referenced by InitControls(), SetWrtShell(), ShowControlsDependingOnPosAndSpaceMode(), and SwNumPositionTabPage().
|
private |
|
private |
|
private |
Definition at line 53 of file num.hxx.
Referenced by ActivatePage(), InitControls(), ShowControlsDependingOnPosAndSpaceMode(), and SwNumPositionTabPage().
|
private |
Definition at line 73 of file num.hxx.
Referenced by SwNumPositionTabPage().