LibreOffice Module sw (master) 1
|
#include <labfmt.hxx>
Public Member Functions | |
SwLabFormatPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet) | |
virtual | ~SwLabFormatPage () override |
virtual void | ActivatePage (const SfxItemSet &rSet) override |
virtual DeactivateRC | DeactivatePage (SfxItemSet *pSet) override |
void | FillItem (SwLabItem &rItem) |
virtual bool | FillItemSet (SfxItemSet *rSet) override |
virtual void | Reset (const SfxItemSet *rSet) override |
SwLabDlg * | GetParentSwLabDlg () |
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 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 (ModifyHdl, weld::SpinButton &, void) | |
DECL_LINK (MetricModifyHdl, weld::MetricSpinButton &, void) | |
DECL_LINK (PreviewHdl, Timer *, void) | |
DECL_LINK (SaveHdl, weld::Button &, void) | |
void | ChangeMinMax () |
Private Attributes | |
Idle | m_aPreviewIdle |
SwLabItem | m_aItem |
bool | m_bModified |
SwLabPreview | m_aPreview |
std::unique_ptr< weld::Label > | m_xMakeFI |
std::unique_ptr< weld::Label > | m_xTypeFI |
std::unique_ptr< weld::CustomWeld > | m_xPreview |
std::unique_ptr< weld::MetricSpinButton > | m_xHDistField |
std::unique_ptr< weld::MetricSpinButton > | m_xVDistField |
std::unique_ptr< weld::MetricSpinButton > | m_xWidthField |
std::unique_ptr< weld::MetricSpinButton > | m_xHeightField |
std::unique_ptr< weld::MetricSpinButton > | m_xLeftField |
std::unique_ptr< weld::MetricSpinButton > | m_xUpperField |
std::unique_ptr< weld::SpinButton > | m_xColsField |
std::unique_ptr< weld::SpinButton > | m_xRowsField |
std::unique_ptr< weld::MetricSpinButton > | m_xPWidthField |
std::unique_ptr< weld::MetricSpinButton > | m_xPHeightField |
std::unique_ptr< weld::Button > | m_xSavePB |
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 65 of file labfmt.hxx.
SwLabFormatPage::SwLabFormatPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rSet | ||
) |
Definition at line 286 of file labfmt.cxx.
References CM, Get(), GetDfltMetric(), LINK, m_aPreviewIdle, m_xColsField, m_xHDistField, m_xHeightField, m_xLeftField, m_xPHeightField, m_xPWidthField, m_xRowsField, m_xSavePB, m_xUpperField, m_xVDistField, m_xWidthField, rSet, SfxTabPage::SetExchangeSupport(), Timer::SetInvokeHandler(), and Task::SetPriority().
|
overridevirtual |
Definition at line 339 of file labfmt.cxx.
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 410 of file labfmt.cxx.
|
private |
Definition at line 365 of file labfmt.cxx.
References getfldval(), m_xColsField, m_xHDistField, m_xHeightField, m_xLeftField, m_xPHeightField, m_xPWidthField, m_xRowsField, m_xUpperField, m_xVDistField, and m_xWidthField.
|
static |
|
overridevirtual |
|
private |
|
private |
|
private |
|
private |
void SwLabFormatPage::FillItem | ( | SwLabItem & | rItem | ) |
Definition at line 424 of file labfmt.cxx.
References getfldval(), GetParentSwLabDlg(), SwLabItem::m_aMake, SwLabItem::m_aType, m_bModified, SwLabItem::m_lHDist, SwLabItem::m_lHeight, SwLabItem::m_lLeft, SwLabItem::m_lPHeight, SwLabItem::m_lPWidth, SwLabItem::m_lUpper, SwLabItem::m_lVDist, SwLabItem::m_lWidth, SwLabItem::m_nCols, SwLabRec::m_nCols, SwLabRec::m_nHDist, SwLabRec::m_nHeight, SwLabRec::m_nLeft, SwLabRec::m_nPHeight, SwLabRec::m_nPWidth, SwLabItem::m_nRows, SwLabRec::m_nRows, SwLabRec::m_nUpper, SwLabRec::m_nVDist, SwLabRec::m_nWidth, m_xColsField, m_xHDistField, m_xHeightField, m_xLeftField, m_xPHeightField, m_xPWidthField, m_xRowsField, m_xUpperField, m_xVDistField, m_xWidthField, SwLabDlg::Recs(), and SwResId().
Referenced by FillItemSet().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 445 of file labfmt.cxx.
References FillItem(), m_aItem, SfxItemSet::Put(), and rSet.
Referenced by DeactivatePage().
|
inline |
Definition at line 109 of file labfmt.hxx.
References SfxTabPage::GetDialogController().
Referenced by FillItem(), and Reset().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 453 of file labfmt.cxx.
References SwLabDlg::GetLabItem(), GetParentSwLabDlg(), m_aItem, SwLabItem::m_aMake, SwLabItem::m_aType, SwLabItem::m_lHDist, SwLabItem::m_lHeight, SwLabItem::m_lLeft, SwLabItem::m_lPHeight, SwLabItem::m_lPWidth, SwLabItem::m_lUpper, SwLabItem::m_lVDist, SwLabItem::m_lWidth, SwLabItem::m_nCols, SwLabItem::m_nRows, m_xColsField, m_xHDistField, m_xHeightField, m_xLeftField, m_xMakeFI, m_xPHeightField, m_xPWidthField, m_xRowsField, m_xTypeFI, m_xUpperField, m_xVDistField, m_xWidthField, and setfldval().
Referenced by ActivatePage().
|
private |
Definition at line 68 of file labfmt.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 71 of file labfmt.hxx.
|
private |
Definition at line 67 of file labfmt.hxx.
Referenced by SwLabFormatPage().
|
private |
Definition at line 69 of file labfmt.hxx.
Referenced by FillItem().
|
private |
Definition at line 82 of file labfmt.hxx.
Referenced by ChangeMinMax(), FillItem(), Reset(), and SwLabFormatPage().
|
private |
Definition at line 76 of file labfmt.hxx.
Referenced by ChangeMinMax(), FillItem(), Reset(), and SwLabFormatPage().
|
private |
Definition at line 79 of file labfmt.hxx.
Referenced by ChangeMinMax(), FillItem(), Reset(), and SwLabFormatPage().
|
private |
Definition at line 80 of file labfmt.hxx.
Referenced by ChangeMinMax(), FillItem(), Reset(), and SwLabFormatPage().
|
private |
Definition at line 73 of file labfmt.hxx.
Referenced by Reset().
|
private |
Definition at line 85 of file labfmt.hxx.
Referenced by ChangeMinMax(), FillItem(), Reset(), and SwLabFormatPage().
|
private |
Definition at line 75 of file labfmt.hxx.
|
private |
Definition at line 84 of file labfmt.hxx.
Referenced by ChangeMinMax(), FillItem(), Reset(), and SwLabFormatPage().
|
private |
Definition at line 83 of file labfmt.hxx.
Referenced by ChangeMinMax(), FillItem(), Reset(), and SwLabFormatPage().
|
private |
Definition at line 86 of file labfmt.hxx.
Referenced by SwLabFormatPage().
|
private |
Definition at line 74 of file labfmt.hxx.
Referenced by Reset().
|
private |
Definition at line 81 of file labfmt.hxx.
Referenced by ChangeMinMax(), FillItem(), Reset(), and SwLabFormatPage().
|
private |
Definition at line 77 of file labfmt.hxx.
Referenced by ChangeMinMax(), FillItem(), Reset(), and SwLabFormatPage().
|
private |
Definition at line 78 of file labfmt.hxx.
Referenced by ChangeMinMax(), FillItem(), Reset(), and SwLabFormatPage().