LibreOffice Module sw (master) 1
|
#include <column.hxx>
Public Member Functions | |
SwColumnPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet) | |
virtual | ~SwColumnPage () override |
virtual bool | FillItemSet (SfxItemSet *rSet) override |
virtual void | Reset (const SfxItemSet *rSet) override |
void | SetFrameMode (bool bMod) |
void | SetPageWidth (tools::Long nPageWidth) |
void | SetFormatUsed (bool bFormatUsed) |
void | ShowBalance (bool bShow) |
void | SetInSection (bool bSet) |
void | ActivateColumnControl () |
weld::Label * | GetApplyLabel () |
weld::ComboBox * | GetApplyComboBox () |
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 *rSet) |
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 (ColModify, weld::SpinButton &, void) | |
void | ColModify (bool bForceColReset) |
DECL_LINK (GapModify, weld::MetricSpinButton &, void) | |
DECL_LINK (EdModify, weld::MetricSpinButton &, void) | |
DECL_LINK (AutoWidthHdl, weld::Toggleable &, void) | |
DECL_LINK (SetDefaultsHdl, ValueSet *, void) | |
DECL_LINK (Up, weld::Button &, void) | |
DECL_LINK (Down, weld::Button &, void) | |
DECL_LINK (UpdateColMgr, weld::MetricSpinButton &, void) | |
DECL_LINK (UpdateColMgrListBox, weld::ComboBox &, void) | |
DECL_LINK (UpdateColMgrLineBox, SvtLineListBox &, void) | |
DECL_LINK (UpdateColMgrColorBox, ColorListBox &, void) | |
void | Timeout () |
void | Update (const weld::MetricSpinButton *pInteractiveField) |
void | UpdateCols () |
void | Init () |
void | ResetColWidth () |
void | SetLabels (sal_uInt16 nVis) |
virtual void | ActivatePage (const SfxItemSet &rSet) override |
virtual DeactivateRC | DeactivatePage (SfxItemSet *pSet) override |
void | connectPercentField (SwPercentField &rWrap) |
bool | isLineNotNone () const |
Static Private Attributes | |
static const WhichRangesContainer | s_aPageRg |
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 84 of file column.hxx.
SwColumnPage::SwColumnPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rSet | ||
) |
Definition at line 369 of file column.cxx.
References SfxTabPage::GetDialogController(), PERCENT(), POINT, and rSet.
|
overridevirtual |
Definition at line 496 of file column.cxx.
References m_xDefaultVS, m_xDistEd1, m_xDistEd2, m_xEd1, m_xEd2, m_xEd3, m_xFrameExampleWN, m_xLineColorDLB, m_xLineTypeDLB, m_xPgeExampleWN, and m_xTextDirectionLB.
|
inline |
Definition at line 194 of file column.hxx.
References m_xCLNrEdt.
|
overrideprivatevirtual |
Reimplemented from SfxTabPage.
Definition at line 1150 of file column.cxx.
References ColModify(), FRAME_FORMAT_WIDTH, SfxItemSet::Get(), SvxSizeItem::GetHeight(), SfxItemSet::GetItemState(), SvxLRSpaceItem::GetLeft(), SvxULSpaceItem::GetLower(), SvxLRSpaceItem::GetRight(), SvxSizeItem::GetSize(), SvxBoxItem::GetSmallestDistance(), SvxULSpaceItem::GetUpper(), SvxSizeItem::GetWidth(), SwFormatFrameSize::GetWidthPercent(), Size::Height(), Init(), m_aPgeExampleWN, m_bFormat, m_bFrame, m_xColMgr, m_xDistEd1, m_xDistEd2, m_xEd1, m_xEd2, m_xEd3, m_xFrameExampleWN, m_xLineWidthEdit, m_xPgeExampleWN, RES_BOX(), RES_FRAMEDIR(), RES_FRM_SIZE(), RES_LR_SPACE(), RES_UL_SPACE(), rSet, SetPageWidth(), SwFormatFrameSize::SYNCED, Update(), SwColExample::UpdateExample(), and Size::Width().
Referenced by Reset().
|
private |
Definition at line 905 of file column.cxx.
References i, m_aDefaultVS, m_nColDist, m_nCols, m_nFirstVis, m_xCLNrEdt, m_xColMgr, m_xDistEd1, ResetColWidth(), SetLabels(), ValueSet::SetNoSelection(), Update(), and UpdateCols().
Referenced by ActivatePage().
|
private |
Definition at line 522 of file column.cxx.
References SwPercentField::get(), and m_aPercentFieldsMap.
|
static |
Definition at line 585 of file column.cxx.
References rSet.
Referenced by SwFrameDlg::SwFrameDlg(), SwInsertSectionTabDialog::SwInsertSectionTabDialog(), SwMultiTOXTabDialog::SwMultiTOXTabDialog(), SwSectionPropertyTabDialog::SwSectionPropertyTabDialog(), and SwTemplateDlgController::SwTemplateDlgController().
|
overrideprivatevirtual |
Reimplemented from SfxTabPage.
Definition at line 1251 of file column.cxx.
References FillItemSet().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 591 of file column.cxx.
References SfxTabPage::GetOldItem(), m_xBalanceColsCB, m_xColMgr, m_xTextDirectionLB, SfxItemSet::Put(), RES_COL(), RES_FRAMEDIR(), and rSet.
Referenced by DeactivatePage().
|
inline |
Definition at line 200 of file column.hxx.
References m_xApplyToLB.
|
inline |
Definition at line 199 of file column.hxx.
References m_xApplyToFT.
|
inlinestatic |
Definition at line 174 of file column.hxx.
References s_aPageRg.
Referenced by SwTemplateDlgController::SwTemplateDlgController().
|
private |
Definition at line 734 of file column.cxx.
References COLADJ_NONE, COLADJ_TOP, g_nMinWidth(), i, m_bHtmlMode, m_nColDist, m_nCols, m_nColWidth, m_xAutoWidthBox, m_xCLNrEdt, m_xColMgr, m_xLineColorDLB, m_xLineHeightEdit, m_xLinePosDLB, m_xLineTypeDLB, m_xLineWidthEdit, min(), nMaxCols, Update(), and UpdateCols().
Referenced by ActivatePage(), and Reset().
|
private |
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 529 of file column.cxx.
References ActivatePage(), SfxObjectShell::Current(), FRAME_FORMAT_WIDTH, SfxItemSet::Get(), GetDfltMetric(), GetHtmlMode(), SfxItemSet::GetItemIfSet(), SvxSizeItem::GetSize(), SvxBoxItem::GetSmallestDistance(), HTMLMODE_ON, Init(), m_bFormat, m_bFrame, m_bHtmlMode, m_nCols, m_xAutoWidthBox, m_xBalanceColsCB, m_xCLNrEdt, m_xColMgr, m_xDistEd1, m_xDistEd2, m_xEd1, m_xEd2, m_xEd3, m_xTextDirectionLB, RES_BOX(), RES_COLUMNBALANCE(), RES_FRAMEDIR(), RES_FRM_SIZE(), rSet, and Size::Width().
|
private |
Definition at line 354 of file column.cxx.
References GetMaxWidth(), i, m_nCols, m_nColWidth, and m_xColMgr.
Referenced by ColModify().
|
inline |
Definition at line 182 of file column.hxx.
References m_bFormat.
void SwColumnPage::SetFrameMode | ( | bool | bMod | ) |
Definition at line 1294 of file column.cxx.
References m_bFrame.
void SwColumnPage::SetInSection | ( | bool | bSet | ) |
Definition at line 1299 of file column.cxx.
References SvtCTLOptions::IsCTLFontEnabled(), m_xTextDirectionFT, and m_xTextDirectionLB.
|
private |
Definition at line 868 of file column.cxx.
References m_xDistEd1, m_xDistEd2, m_xEd1, m_xEd2, m_xEd3, m_xLbl1, m_xLbl2, m_xLbl3, and SwResId().
Referenced by ColModify().
void SwColumnPage::SetPageWidth | ( | tools::Long | nPageWidth | ) |
Definition at line 511 of file column.cxx.
References m_xDistEd1, m_xDistEd2, m_xEd1, m_xEd2, and m_xEd3.
Referenced by ActivatePage().
|
inline |
Definition at line 187 of file column.hxx.
References m_xBalanceColsCB.
|
private |
Definition at line 1051 of file column.cxx.
References SwPercentField::DenormalizePercent(), g_nMinWidth(), SwPercentField::get(), SwPercentField::get_value(), m_nCols, m_nColWidth, m_nFirstVis, m_pModifiedField, m_xEd2, m_xEd3, and Update().
|
private |
Definition at line 1095 of file column.cxx.
References m_nColDist, m_nCols, m_nColWidth, m_nFirstVis, m_xBalanceColsCB, m_xDistEd1, m_xDistEd2, m_xEd1, m_xEd2, m_xEd3, and m_xLineWidthEdit.
Referenced by ActivatePage(), ColModify(), Init(), and Timeout().
|
private |
Definition at line 809 of file column.cxx.
References isLineNotNone(), m_bHtmlMode, m_nCols, m_xAutoWidthBox, m_xBtnBack, m_xBtnNext, m_xColMgr, m_xDistEd1, m_xDistEd2, m_xEd1, m_xEd2, m_xEd3, m_xLbl1, m_xLbl2, m_xLbl3, m_xLineColorDLB, m_xLineColorLbl, m_xLineHeightEdit, m_xLineHeightLbl, m_xLinePosDLB, m_xLinePosLbl, m_xLineTypeDLB, m_xLineTypeLbl, m_xLineWidthEdit, m_xLineWidthLbl, and nVisCols.
Referenced by ColModify(), and Init().
|
private |
Definition at line 101 of file column.hxx.
Referenced by ColModify().
|
private |
Definition at line 103 of file column.hxx.
|
private |
Definition at line 94 of file column.hxx.
Referenced by connectPercentField().
|
private |
Definition at line 102 of file column.hxx.
Referenced by ActivatePage().
|
private |
Definition at line 96 of file column.hxx.
Referenced by ActivatePage(), Reset(), and SetFormatUsed().
|
private |
Definition at line 97 of file column.hxx.
Referenced by ActivatePage(), Reset(), and SetFrameMode().
|
private |
Definition at line 98 of file column.hxx.
Referenced by Init(), Reset(), and UpdateCols().
|
private |
Definition at line 99 of file column.hxx.
|
private |
Definition at line 91 of file column.hxx.
Referenced by ColModify(), Init(), and Update().
|
private |
Definition at line 89 of file column.hxx.
Referenced by ColModify(), Init(), Reset(), ResetColWidth(), Timeout(), Update(), and UpdateCols().
|
private |
Definition at line 90 of file column.hxx.
Referenced by Init(), ResetColWidth(), Timeout(), and Update().
|
private |
Definition at line 88 of file column.hxx.
Referenced by ColModify(), Timeout(), and Update().
|
private |
Definition at line 92 of file column.hxx.
Referenced by Timeout().
|
private |
Definition at line 135 of file column.hxx.
Referenced by GetApplyLabel().
|
private |
Definition at line 136 of file column.hxx.
Referenced by GetApplyComboBox().
|
private |
Definition at line 112 of file column.hxx.
Referenced by Init(), Reset(), and UpdateCols().
|
private |
Definition at line 106 of file column.hxx.
Referenced by FillItemSet(), Reset(), ShowBalance(), and Update().
|
private |
Definition at line 107 of file column.hxx.
Referenced by UpdateCols().
|
private |
Definition at line 111 of file column.hxx.
Referenced by UpdateCols().
|
private |
Definition at line 105 of file column.hxx.
Referenced by ActivateColumnControl(), ColModify(), Init(), and Reset().
|
private |
Definition at line 86 of file column.hxx.
Referenced by ActivatePage(), ColModify(), FillItemSet(), Init(), Reset(), ResetColWidth(), and UpdateCols().
|
private |
Definition at line 130 of file column.hxx.
Referenced by ~SwColumnPage().
|
private |
Definition at line 128 of file column.hxx.
Referenced by ActivatePage(), ColModify(), Reset(), SetLabels(), SetPageWidth(), Update(), UpdateCols(), and ~SwColumnPage().
|
private |
Definition at line 129 of file column.hxx.
Referenced by ActivatePage(), Reset(), SetLabels(), SetPageWidth(), Update(), UpdateCols(), and ~SwColumnPage().
|
private |
Definition at line 125 of file column.hxx.
Referenced by ActivatePage(), Reset(), SetLabels(), SetPageWidth(), Update(), UpdateCols(), and ~SwColumnPage().
|
private |
Definition at line 126 of file column.hxx.
Referenced by ActivatePage(), Reset(), SetLabels(), SetPageWidth(), Timeout(), Update(), UpdateCols(), and ~SwColumnPage().
|
private |
Definition at line 127 of file column.hxx.
Referenced by ActivatePage(), Reset(), SetLabels(), SetPageWidth(), Timeout(), Update(), UpdateCols(), and ~SwColumnPage().
|
private |
Definition at line 133 of file column.hxx.
Referenced by ActivatePage(), and ~SwColumnPage().
|
private |
Definition at line 108 of file column.hxx.
Referenced by SetLabels(), and UpdateCols().
|
private |
Definition at line 109 of file column.hxx.
Referenced by SetLabels(), and UpdateCols().
|
private |
Definition at line 110 of file column.hxx.
Referenced by SetLabels(), and UpdateCols().
|
private |
Definition at line 123 of file column.hxx.
Referenced by Init(), UpdateCols(), and ~SwColumnPage().
|
private |
Definition at line 116 of file column.hxx.
Referenced by UpdateCols().
|
private |
Definition at line 118 of file column.hxx.
Referenced by Init(), and UpdateCols().
|
private |
Definition at line 117 of file column.hxx.
Referenced by UpdateCols().
|
private |
Definition at line 120 of file column.hxx.
Referenced by Init(), and UpdateCols().
|
private |
Definition at line 119 of file column.hxx.
Referenced by UpdateCols().
|
private |
Definition at line 124 of file column.hxx.
Referenced by Init(), isLineNotNone(), UpdateCols(), and ~SwColumnPage().
|
private |
Definition at line 113 of file column.hxx.
Referenced by UpdateCols().
|
private |
Definition at line 115 of file column.hxx.
Referenced by ActivatePage(), Init(), Update(), and UpdateCols().
|
private |
Definition at line 114 of file column.hxx.
Referenced by UpdateCols().
|
private |
Definition at line 132 of file column.hxx.
Referenced by ActivatePage(), and ~SwColumnPage().
|
private |
Definition at line 121 of file column.hxx.
Referenced by SetInSection().
|
private |
Definition at line 122 of file column.hxx.
Referenced by FillItemSet(), Reset(), SetInSection(), and ~SwColumnPage().
|
staticprivate |
Definition at line 167 of file column.hxx.
Referenced by GetRanges().