LibreOffice Module svx (master) 1
|
#include <optgrid.hxx>
Public Member Functions | |
SvxGridTabPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet) | |
virtual | ~SvxGridTabPage () 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 &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) |
Protected Member Functions | |
DECL_LINK (ClickRotateHdl_Impl, weld::Toggleable &, void) | |
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 |
Protected Attributes | |
std::unique_ptr< weld::Widget > | m_xSnapFrames |
std::unique_ptr< weld::CheckButton > | m_xCbxSnapHelplines |
std::unique_ptr< weld::CheckButton > | m_xCbxSnapBorder |
std::unique_ptr< weld::CheckButton > | m_xCbxSnapFrame |
std::unique_ptr< weld::CheckButton > | m_xCbxSnapPoints |
std::unique_ptr< weld::MetricSpinButton > | m_xMtrFldSnapArea |
std::unique_ptr< weld::CheckButton > | m_xCbxOrtho |
std::unique_ptr< weld::CheckButton > | m_xCbxBigOrtho |
std::unique_ptr< weld::CheckButton > | m_xCbxRotate |
std::unique_ptr< weld::MetricSpinButton > | m_xMtrFldAngle |
std::unique_ptr< weld::MetricSpinButton > | m_xMtrFldBezAngle |
Private Member Functions | |
DECL_DLLPRIVATE_LINK (ChangeDrawHdl_Impl, weld::MetricSpinButton &, void) | |
DECL_DLLPRIVATE_LINK (ChangeGridsnapHdl_Impl, weld::Toggleable &, void) | |
DECL_DLLPRIVATE_LINK (ChangeDivisionHdl_Impl, weld::SpinButton &, void) | |
Private Attributes | |
bool | bAttrModified |
std::unique_ptr< weld::CheckButton > | m_xCbxUseGridsnap |
std::unique_ptr< weld::CheckButton > | m_xCbxGridVisible |
std::unique_ptr< weld::MetricSpinButton > | m_xMtrFldDrawX |
std::unique_ptr< weld::MetricSpinButton > | m_xMtrFldDrawY |
std::unique_ptr< weld::SpinButton > | m_xNumFldDivisionX |
std::unique_ptr< weld::SpinButton > | m_xNumFldDivisionY |
std::unique_ptr< weld::CheckButton > | m_xCbxSynchronize |
Definition at line 89 of file optgrid.hxx.
SvxGridTabPage::SvxGridTabPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rSet | ||
) |
Definition at line 90 of file optgrid.cxx.
References CM, DEGREE, GetModuleFieldUnit(), lcl_GetMinMax(), lcl_SetMinMax(), LINK, m_xCbxGridVisible, m_xCbxRotate, m_xCbxSynchronize, m_xCbxUseGridsnap, m_xMtrFldDrawX, m_xMtrFldDrawY, m_xNumFldDivisionX, m_xNumFldDivisionY, PIXEL, SfxTabPage::SetExchangeSupport(), and SetFieldUnit().
|
overridevirtual |
Definition at line 143 of file optgrid.cxx.
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 198 of file optgrid.cxx.
References SvxOptionsGrid::bUseGridsnap, SfxItemSet::GetItemIfSet(), CntUInt16Item::GetValue(), lcl_GetMinMax(), lcl_SetMinMax(), m_xCbxUseGridsnap, m_xMtrFldDrawX, m_xMtrFldDrawY, rSet, and SetFieldUnit().
|
static |
Definition at line 147 of file optgrid.cxx.
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 237 of file optgrid.cxx.
References FillItemSet().
|
private |
|
private |
|
private |
|
protected |
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 152 of file optgrid.cxx.
References bAttrModified, SvxOptionsGrid::bGridVisible, SvxOptionsGrid::bSynchronize, SvxOptionsGrid::bUseGridsnap, GetCoreValue(), SfxItemPool::GetMetric(), SfxItemSet::GetPool(), m_xCbxGridVisible, m_xCbxSynchronize, m_xCbxUseGridsnap, m_xMtrFldDrawX, m_xMtrFldDrawY, m_xNumFldDivisionX, m_xNumFldDivisionY, SvxOptionsGrid::nFldDivisionX, SvxOptionsGrid::nFldDivisionY, SvxOptionsGrid::nFldDrawX, SvxOptionsGrid::nFldDrawY, and SfxItemSet::Put().
Referenced by DeactivatePage().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 176 of file optgrid.cxx.
References bAttrModified, SvxOptionsGrid::bGridVisible, SvxOptionsGrid::bSynchronize, SvxOptionsGrid::bUseGridsnap, SfxItemSet::GetItemIfSet(), SfxItemPool::GetMetric(), SfxItemSet::GetPool(), m_xCbxGridVisible, m_xCbxSynchronize, m_xCbxUseGridsnap, m_xMtrFldDrawX, m_xMtrFldDrawY, m_xNumFldDivisionX, m_xNumFldDivisionY, SvxOptionsGrid::nFldDivisionX, SvxOptionsGrid::nFldDivisionY, SvxOptionsGrid::nFldDrawX, SvxOptionsGrid::nFldDrawY, rSet, and SetMetricValue().
|
private |
Definition at line 104 of file optgrid.hxx.
Referenced by FillItemSet(), and Reset().
|
protected |
Definition at line 122 of file optgrid.hxx.
|
private |
Definition at line 107 of file optgrid.hxx.
Referenced by FillItemSet(), Reset(), and SvxGridTabPage().
|
protected |
Definition at line 121 of file optgrid.hxx.
|
protected |
Definition at line 123 of file optgrid.hxx.
Referenced by SvxGridTabPage().
|
protected |
Definition at line 117 of file optgrid.hxx.
|
protected |
Definition at line 118 of file optgrid.hxx.
|
protected |
Definition at line 116 of file optgrid.hxx.
|
protected |
Definition at line 119 of file optgrid.hxx.
|
private |
Definition at line 112 of file optgrid.hxx.
Referenced by FillItemSet(), Reset(), and SvxGridTabPage().
|
private |
Definition at line 106 of file optgrid.hxx.
Referenced by ActivatePage(), FillItemSet(), Reset(), and SvxGridTabPage().
|
protected |
Definition at line 124 of file optgrid.hxx.
|
protected |
Definition at line 125 of file optgrid.hxx.
|
private |
Definition at line 108 of file optgrid.hxx.
Referenced by ActivatePage(), FillItemSet(), Reset(), and SvxGridTabPage().
|
private |
Definition at line 109 of file optgrid.hxx.
Referenced by ActivatePage(), FillItemSet(), Reset(), and SvxGridTabPage().
|
protected |
Definition at line 120 of file optgrid.hxx.
|
private |
Definition at line 110 of file optgrid.hxx.
Referenced by FillItemSet(), Reset(), and SvxGridTabPage().
|
private |
Definition at line 111 of file optgrid.hxx.
Referenced by FillItemSet(), Reset(), and SvxGridTabPage().
|
protected |
Definition at line 115 of file optgrid.hxx.