LibreOffice Module sw (master) 1
|
#include <pggrid.hxx>
Public Member Functions | |
SwTextGridPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet) | |
virtual | ~SwTextGridPage () override |
virtual bool | FillItemSet (SfxItemSet *rSet) override |
virtual void | Reset (const SfxItemSet *rSet) override |
virtual void | ActivatePage (const SfxItemSet &rSet) override |
virtual DeactivateRC | DeactivatePage (SfxItemSet *pSet) 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 *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 | |
void | UpdatePageSize (const SfxItemSet &rSet) |
void | PutGridItem (SfxItemSet &rSet) |
void | GridModifyHdl () |
DECL_LINK (GridTypeHdl, weld::Toggleable &, void) | |
DECL_LINK (CharorLineChangedHdl, weld::SpinButton &, void) | |
DECL_LINK (TextSizeChangedHdl, weld::MetricSpinButton &, void) | |
DECL_LINK (ColorModifyHdl, ColorListBox &, void) | |
DECL_LINK (GridModifyClickHdl, weld::Toggleable &, void) | |
DECL_LINK (DisplayGridHdl, weld::Toggleable &, void) | |
Static Private Member Functions | |
static void | SetLinesOrCharsRanges (weld::Label &rField, const sal_Int32 nValue) |
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 29 of file pggrid.hxx.
SwTextGridPage::SwTextGridPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rSet | ||
) |
Definition at line 40 of file pggrid.cxx.
References SfxTabPage::GetDialogController(), POINT, and rSet.
|
overridevirtual |
Definition at line 121 of file pggrid.cxx.
References m_xColorLB.
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 211 of file pggrid.cxx.
References m_aExampleWN, rSet, SwPageGridExample::UpdateExample(), and UpdatePageSize().
|
static |
Definition at line 126 of file pggrid.cxx.
References rSet.
Referenced by SwTemplateDlgController::SwTemplateDlgController().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 220 of file pggrid.cxx.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 131 of file pggrid.cxx.
References GetActiveView(), m_bHRulerChanged, m_bVRulerChanged, m_xCharsPerLineNF, m_xCharWidthMF, m_xColorLB, m_xDisplayCB, m_xLinesGridRB, m_xLinesPerPageNF, m_xNoGridRB, m_xPrintCB, m_xRubyBelowCB, m_xRubySizeMF, m_xSnapToCharsCB, m_xTextSizeMF, PutGridItem(), and rSet.
|
static |
Definition at line 353 of file pggrid.cxx.
Referenced by SwTemplateDlgController::SwTemplateDlgController().
|
private |
Definition at line 539 of file pggrid.cxx.
References SfxTabPage::GetDialogExampleSet(), SfxTabPage::GetItemSet(), m_aExampleWN, SfxItemSet::Put(), PutGridItem(), and SwPageGridExample::UpdateExample().
|
private |
Definition at line 225 of file pggrid.cxx.
References GetActiveView(), SwTextGridItem::GetGridType(), SwView::GetHRuler(), SwView::GetVRuler(), GRID_LINES_CHARS, GRID_LINES_ONLY, GRID_NONE, m_bHRulerChanged, m_bRubyUserValue, m_bSquaredMode, m_bVRulerChanged, m_nRubyUserValue, m_xCharWidthMF, m_xColorLB, m_xDisplayCB, m_xLinesGridRB, m_xLinesPerPageNF, m_xNoGridRB, m_xPrintCB, m_xRubyBelowCB, m_xRubySizeMF, m_xSnapToCharsCB, m_xTextSizeMF, SfxItemSet::Put(), rSet, SwTextGridItem::SetBaseHeight(), SwTextGridItem::SetBaseWidth(), SwTextGridItem::SetColor(), SwTextGridItem::SetDisplayGrid(), SwTextGridItem::SetGridType(), SwTextGridItem::SetLines(), SwTextGridItem::SetPrintGrid(), SwTextGridItem::SetRubyHeight(), SwTextGridItem::SetRubyTextBelow(), SwTextGridItem::SetSnapToChars(), and SwTextGridItem::SetSquaredMode().
Referenced by FillItemSet(), and GridModifyHdl().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 162 of file pggrid.cxx.
References SfxItemSet::Get(), SwTextGridItem::GetBaseHeight(), SwTextGridItem::GetBaseWidth(), SwTextGridItem::GetColor(), SwTextGridItem::GetGridType(), SwTextGridItem::GetLines(), SwTextGridItem::GetRubyHeight(), GRID_LINES_ONLY, GRID_NONE, SwTextGridItem::IsDisplayGrid(), SwTextGridItem::IsPrintGrid(), SwTextGridItem::IsRubyTextBelow(), SwTextGridItem::IsSnapToChars(), m_bRubyUserValue, m_nRubyUserValue, m_xCharsGridRB, m_xCharsPerLineNF, m_xCharWidthMF, m_xColorLB, m_xDisplayCB, m_xLinesGridRB, m_xLinesPerPageNF, m_xLinesRangeFT, m_xNoGridRB, m_xPrintCB, m_xRubyBelowCB, m_xRubySizeMF, m_xSnapToCharsCB, m_xTextSizeMF, RES_TEXTGRID(), rSet, weld::Toggleable::set_active(), SetLinesOrCharsRanges(), and UpdatePageSize().
|
staticprivate |
Definition at line 347 of file pggrid.cxx.
References nValue, and weld::Label::set_label().
Referenced by Reset(), and UpdatePageSize().
|
private |
Definition at line 262 of file pggrid.cxx.
References SfxItemSet::Get(), SvxBoxItem::GetDistance(), SfxItemSet::GetItemIfSet(), SfxItemSet::GetItemState(), SvxLRSpaceItem::GetLeft(), SvxULSpaceItem::GetLower(), SfxItemSet::GetPool(), SvxLRSpaceItem::GetRight(), SvxSizeItem::GetSize(), SvxULSpaceItem::GetUpper(), SfxBoolItem::GetValue(), SfxItemPool::GetWhich(), Size::Height(), m_aPageSize, m_bRubyUserValue, m_bSquaredMode, m_bVertical, m_nRubyUserValue, m_xCharsPerLineNF, m_xCharsRangeFT, m_xCharWidthMF, m_xLinesPerPageNF, m_xLinesRangeFT, m_xRubySizeMF, m_xTextSizeMF, nId, RES_BOX(), RES_FRAMEDIR(), RES_LR_SPACE(), RES_UL_SPACE(), rSet, Size::setHeight(), SetLinesOrCharsRanges(), Size::setWidth(), and Size::Width().
Referenced by ActivatePage(), and Reset().
|
private |
Definition at line 39 of file pggrid.hxx.
Referenced by ActivatePage(), and GridModifyHdl().
|
private |
Definition at line 33 of file pggrid.hxx.
Referenced by UpdatePageSize().
|
private |
Definition at line 36 of file pggrid.hxx.
Referenced by FillItemSet(), and PutGridItem().
|
private |
Definition at line 32 of file pggrid.hxx.
Referenced by PutGridItem(), Reset(), and UpdatePageSize().
|
private |
Definition at line 35 of file pggrid.hxx.
Referenced by PutGridItem(), and UpdatePageSize().
|
private |
Definition at line 34 of file pggrid.hxx.
Referenced by UpdatePageSize().
|
private |
Definition at line 37 of file pggrid.hxx.
Referenced by FillItemSet(), and PutGridItem().
|
private |
Definition at line 31 of file pggrid.hxx.
Referenced by PutGridItem(), Reset(), and UpdatePageSize().
|
private |
Definition at line 42 of file pggrid.hxx.
Referenced by Reset().
|
private |
Definition at line 49 of file pggrid.hxx.
|
private |
Definition at line 50 of file pggrid.hxx.
Referenced by FillItemSet(), Reset(), and UpdatePageSize().
|
private |
Definition at line 51 of file pggrid.hxx.
Referenced by UpdatePageSize().
|
private |
Definition at line 52 of file pggrid.hxx.
|
private |
Definition at line 53 of file pggrid.hxx.
Referenced by FillItemSet(), PutGridItem(), Reset(), and UpdatePageSize().
|
private |
Definition at line 60 of file pggrid.hxx.
Referenced by FillItemSet(), PutGridItem(), Reset(), and ~SwTextGridPage().
|
private |
Definition at line 58 of file pggrid.hxx.
Referenced by FillItemSet(), PutGridItem(), and Reset().
|
private |
Definition at line 57 of file pggrid.hxx.
|
private |
Definition at line 44 of file pggrid.hxx.
|
private |
Definition at line 45 of file pggrid.hxx.
|
private |
Definition at line 41 of file pggrid.hxx.
Referenced by FillItemSet(), PutGridItem(), and Reset().
|
private |
Definition at line 46 of file pggrid.hxx.
Referenced by FillItemSet(), PutGridItem(), Reset(), and UpdatePageSize().
|
private |
Definition at line 47 of file pggrid.hxx.
Referenced by Reset(), and UpdatePageSize().
|
private |
Definition at line 40 of file pggrid.hxx.
Referenced by FillItemSet(), PutGridItem(), and Reset().
|
private |
Definition at line 59 of file pggrid.hxx.
Referenced by FillItemSet(), PutGridItem(), and Reset().
|
private |
Definition at line 56 of file pggrid.hxx.
Referenced by FillItemSet(), PutGridItem(), and Reset().
|
private |
Definition at line 54 of file pggrid.hxx.
|
private |
Definition at line 55 of file pggrid.hxx.
Referenced by FillItemSet(), PutGridItem(), Reset(), and UpdatePageSize().
|
private |
Definition at line 43 of file pggrid.hxx.
Referenced by FillItemSet(), PutGridItem(), and Reset().
|
private |
Definition at line 48 of file pggrid.hxx.
Referenced by FillItemSet(), PutGridItem(), Reset(), and UpdatePageSize().