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 () |
![]() | |
void | SetDialogController (SfxOkDialogController *pDialog) |
virtual | ~SfxTabPage () override |
void | set_visible (bool bVisible) |
const SfxItemSet & | GetItemSet () const |
bool | HasExchangeSupport () const |
void | SetExchangeSupport () |
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 |
OString | GetHelpId () const |
OString | GetConfigId () const |
bool | IsVisible () const |
weld::Window * | GetFrameWeld () const |
Static Public Member Functions | |
static std::unique_ptr< SfxTabPage > | Create (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet) |
static const sal_uInt16 * | GetRanges () |
![]() | |
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 (const weld::SpinButton *) |
DECL_LINK (GapModify, weld::MetricSpinButton &, void) | |
DECL_LINK (EdModify, weld::MetricSpinButton &, void) | |
DECL_LINK (AutoWidthHdl, weld::ToggleButton &, 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 sal_uInt16 | aPageRg [] |
Additional Inherited Members | |
![]() | |
SfxTabPage (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OString &rID, const SfxItemSet *rAttrSet) | |
sal_uInt16 | GetWhich (sal_uInt16 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 83 of file column.hxx.
SwColumnPage::SwColumnPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rSet | ||
) |
Definition at line 375 of file column.cxx.
References CM, COL_BLACK, ColModify(), connectPercentField(), vcl::ConvertDoubleValue(), Down, editeng::SvxBorderLine::getWidthImpl(), i, ValueSet::InsertItem(), LINK, m_aDefaultVS, m_xAutoWidthBox, m_xBtnBack, m_xBtnNext, m_xCLNrEdt, m_xDistEd1, m_xDistEd2, m_xEd1, m_xEd2, m_xEd3, m_xLineColorDLB, m_xLineHeightEdit, m_xLinePosDLB, m_xLineTypeDLB, m_xLineWidthEdit, m_xTextDirectionLB, nLineWidth, PERCENT(), POINT, ValueSet::SetColCount(), SfxTabPage::SetExchangeSupport(), ValueSet::SetSelectHdl(), SvxResId(), SwResId(), and Up.
|
overridevirtual |
Definition at line 501 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 193 of file column.hxx.
|
overrideprivatevirtual |
Reimplemented from SfxTabPage.
Definition at line 1156 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(), SetPageWidth(), SwFormatFrameSize::SYNCED, Update(), SwColExample::UpdateExample(), and Size::Width().
Referenced by Reset().
|
private |
Definition at line 911 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(), and SwColumnPage().
|
private |
Definition at line 527 of file column.cxx.
References assert(), SwPercentField::get(), and m_aPercentFieldsMap.
Referenced by SwColumnPage().
|
static |
|
overrideprivatevirtual |
Reimplemented from SfxTabPage.
Definition at line 1257 of file column.cxx.
References FillItemSet().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 597 of file column.cxx.
References SfxTabPage::GetOldItem(), m_xBalanceColsCB, m_xColMgr, m_xTextDirectionLB, SfxItemSet::Put(), RES_COL(), and RES_FRAMEDIR().
Referenced by DeactivatePage().
|
inline |
Definition at line 199 of file column.hxx.
|
inline |
Definition at line 198 of file column.hxx.
|
inlinestatic |
Definition at line 173 of file column.hxx.
References aPageRg.
Referenced by SwTemplateDlgController::SwTemplateDlgController().
Definition at line 740 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, nMaxCols, Update(), and UpdateCols().
Referenced by ActivatePage(), and Reset().
|
private |
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 534 of file column.cxx.
References ActivatePage(), SfxObjectShell::Current(), FRAME_FORMAT_WIDTH, SfxItemSet::Get(), GetDfltMetric(), GetHtmlMode(), SfxItemSet::GetItemState(), 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(), and Size::Width().
|
private |
Definition at line 360 of file column.cxx.
References GetMaxWidth(), i, m_nCols, m_nColWidth, and m_xColMgr.
Referenced by ColModify().
|
inline |
Definition at line 181 of file column.hxx.
void SwColumnPage::SetFrameMode | ( | bool | bMod | ) |
Definition at line 1300 of file column.cxx.
References m_bFrame.
void SwColumnPage::SetInSection | ( | bool | bSet | ) |
Definition at line 1305 of file column.cxx.
References m_xTextDirectionFT, m_xTextDirectionLB, and SW_MOD.
|
private |
Definition at line 874 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 516 of file column.cxx.
References m_xDistEd1, m_xDistEd2, m_xEd1, m_xEd2, and m_xEd3.
Referenced by ActivatePage().
|
inline |
Definition at line 186 of file column.hxx.
|
private |
Definition at line 1057 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 1101 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 815 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().
|
staticprivate |
Definition at line 166 of file column.hxx.
Referenced by GetRanges().
|
private |
Definition at line 100 of file column.hxx.
Referenced by ColModify(), and SwColumnPage().
|
private |
Definition at line 102 of file column.hxx.
|
private |
Definition at line 93 of file column.hxx.
Referenced by connectPercentField().
|
private |
Definition at line 101 of file column.hxx.
Referenced by ActivatePage().
|
private |
Definition at line 95 of file column.hxx.
Referenced by ActivatePage(), and Reset().
|
private |
Definition at line 96 of file column.hxx.
Referenced by ActivatePage(), Reset(), and SetFrameMode().
|
private |
Definition at line 97 of file column.hxx.
Referenced by Init(), Reset(), and UpdateCols().
|
private |
Definition at line 98 of file column.hxx.
|
private |
Definition at line 90 of file column.hxx.
Referenced by ColModify(), Init(), and Update().
|
private |
Definition at line 88 of file column.hxx.
Referenced by ColModify(), Init(), Reset(), ResetColWidth(), Timeout(), Update(), and UpdateCols().
|
private |
Definition at line 89 of file column.hxx.
Referenced by Init(), ResetColWidth(), Timeout(), and Update().
|
private |
Definition at line 87 of file column.hxx.
Referenced by ColModify(), Timeout(), and Update().
|
private |
Definition at line 91 of file column.hxx.
Referenced by Timeout().
|
private |
Definition at line 134 of file column.hxx.
|
private |
Definition at line 135 of file column.hxx.
|
private |
Definition at line 111 of file column.hxx.
Referenced by Init(), Reset(), SwColumnPage(), and UpdateCols().
|
private |
Definition at line 105 of file column.hxx.
Referenced by FillItemSet(), Reset(), and Update().
|
private |
Definition at line 106 of file column.hxx.
Referenced by SwColumnPage(), and UpdateCols().
|
private |
Definition at line 110 of file column.hxx.
Referenced by SwColumnPage(), and UpdateCols().
|
private |
Definition at line 104 of file column.hxx.
Referenced by ColModify(), Init(), Reset(), and SwColumnPage().
|
private |
Definition at line 85 of file column.hxx.
Referenced by ActivatePage(), ColModify(), FillItemSet(), Init(), Reset(), ResetColWidth(), and UpdateCols().
|
private |
Definition at line 129 of file column.hxx.
Referenced by ~SwColumnPage().
|
private |
Definition at line 127 of file column.hxx.
Referenced by ActivatePage(), ColModify(), Reset(), SetLabels(), SetPageWidth(), SwColumnPage(), Update(), UpdateCols(), and ~SwColumnPage().
|
private |
Definition at line 128 of file column.hxx.
Referenced by ActivatePage(), Reset(), SetLabels(), SetPageWidth(), SwColumnPage(), Update(), UpdateCols(), and ~SwColumnPage().
|
private |
Definition at line 124 of file column.hxx.
Referenced by ActivatePage(), Reset(), SetLabels(), SetPageWidth(), SwColumnPage(), Update(), UpdateCols(), and ~SwColumnPage().
|
private |
Definition at line 125 of file column.hxx.
Referenced by ActivatePage(), Reset(), SetLabels(), SetPageWidth(), SwColumnPage(), Timeout(), Update(), UpdateCols(), and ~SwColumnPage().
|
private |
Definition at line 126 of file column.hxx.
Referenced by ActivatePage(), Reset(), SetLabels(), SetPageWidth(), SwColumnPage(), Timeout(), Update(), UpdateCols(), and ~SwColumnPage().
|
private |
Definition at line 132 of file column.hxx.
Referenced by ActivatePage(), and ~SwColumnPage().
|
private |
Definition at line 107 of file column.hxx.
Referenced by SetLabels(), and UpdateCols().
|
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 122 of file column.hxx.
Referenced by Init(), SwColumnPage(), UpdateCols(), and ~SwColumnPage().
|
private |
Definition at line 115 of file column.hxx.
Referenced by UpdateCols().
|
private |
Definition at line 117 of file column.hxx.
Referenced by Init(), SwColumnPage(), and UpdateCols().
|
private |
Definition at line 116 of file column.hxx.
Referenced by UpdateCols().
|
private |
Definition at line 119 of file column.hxx.
Referenced by Init(), SwColumnPage(), and UpdateCols().
|
private |
Definition at line 118 of file column.hxx.
Referenced by UpdateCols().
|
private |
Definition at line 123 of file column.hxx.
Referenced by Init(), isLineNotNone(), SwColumnPage(), UpdateCols(), and ~SwColumnPage().
|
private |
Definition at line 112 of file column.hxx.
Referenced by UpdateCols().
|
private |
Definition at line 114 of file column.hxx.
Referenced by ActivatePage(), Init(), SwColumnPage(), Update(), and UpdateCols().
|
private |
Definition at line 113 of file column.hxx.
Referenced by UpdateCols().
|
private |
Definition at line 131 of file column.hxx.
Referenced by ActivatePage(), and ~SwColumnPage().
|
private |
Definition at line 120 of file column.hxx.
Referenced by SetInSection().
|
private |
Definition at line 121 of file column.hxx.
Referenced by FillItemSet(), Reset(), SetInSection(), SwColumnPage(), and ~SwColumnPage().