LibreOffice Module sw (master) 1
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
SwFieldVarPage Class Reference

#include <fldvar.hxx>

Inheritance diagram for SwFieldVarPage:
[legend]
Collaboration diagram for SwFieldVarPage:
[legend]

Public Member Functions

 SwFieldVarPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *pSet)
 
virtual ~SwFieldVarPage () override
 
virtual bool FillItemSet (SfxItemSet *rSet) override
 
virtual void Reset (const SfxItemSet *rSet) override
 
virtual void FillUserData () override
 
- Public Member Functions inherited from SwFieldPage
 SwFieldPage (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OUString &rID, const SfxItemSet *pAttrSet)
 
virtual ~SwFieldPage () override
 
virtual void Activate () override
 
SwFieldMgrGetFieldMgr ()
 
void SetWrtShell (SwWrtShell *m_pWrtShell)
 
void EditNewField (bool bOnlyActivate=false)
 
virtual sal_uInt16 GetGroup ()=0
 
- Public Member Functions inherited from SfxTabPage
void SetDialogController (SfxOkDialogController *pDialog)
 
virtual ~SfxTabPage () override
 
void set_visible (bool bVisible)
 
const SfxItemSetGetItemSet () 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 SfxItemSetGetDialogExampleSet () const
 
OUString GetHelpId () const
 
OUString GetConfigId () const
 
bool IsVisible () const
 
weld::WindowGetFrameWeld () const
 
std::unordered_map< OUString, css::uno::Any > & getAdditionalProperties ()
 

Static Public Member Functions

static std::unique_ptr< SfxTabPageCreate (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
 
- Static Public Member Functions inherited from SfxTabPage
static const SfxPoolItemGetItem (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

virtual sal_uInt16 GetGroup () override
 
- Protected Member Functions inherited from SwFieldPage
sal_Int32 GetTypeSel () const
 
void SetTypeSel (sal_Int32 nSet)
 
sal_Int32 GetSelectionSel () const
 
void SetSelectionSel (sal_Int32 nSet)
 
bool IsFieldDlgHtmlMode () const
 
bool IsRefresh () const
 
SwFieldGetCurField ()
 
SwWrtShellGetWrtShell ()
 
 DECL_LINK (TreeViewInsertHdl, weld::TreeView &, bool)
 
 DECL_LINK (NumFormatHdl, weld::TreeView &, bool)
 
void InsertHdl (weld::Widget *)
 
void Init ()
 
void SavePos (const weld::TreeView &rLst1)
 
void RestorePos (weld::TreeView &rLst1)
 
void EnableInsert (bool bEnable)
 
bool IsFieldEdit () const
 
void InsertField (SwFieldTypesEnum nTypeId, sal_uInt16 nSubType, const OUString &rPar1, const OUString &rPar2, sal_uInt32 nFormatId, sal_Unicode cDelim=' ', bool bIsAutomaticLanguage=true)
 
- 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 SfxPoolItemGetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true)
 
const T * GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true)
 
SfxOkDialogControllerGetDialogController () const
 

Private Member Functions

 DECL_LINK (TypeHdl, weld::TreeView &, void)
 
 DECL_LINK (SubTypeListBoxHdl, weld::TreeView &, void)
 
 DECL_LINK (ModifyHdl, weld::Entry &, void)
 
 DECL_LINK (TBClickHdl, weld::Button &, void)
 
 DECL_LINK (ChapterHdl, weld::ComboBox &, void)
 
 DECL_LINK (SeparatorHdl, weld::Entry &, void)
 
 DECL_LINK (SubTypeInsertHdl, weld::TreeView &, bool)
 
void SubTypeHdl (const weld::TreeView *)
 
void UpdateSubType ()
 
void FillFormatLB (SwFieldTypesEnum nTypeId)
 

Private Attributes

std::unique_ptr< weld::TreeViewm_xTypeLB
 
std::unique_ptr< weld::Widgetm_xSelection
 
std::unique_ptr< weld::TreeViewm_xSelectionLB
 
std::unique_ptr< weld::Labelm_xNameFT
 
std::unique_ptr< weld::Entrym_xNameED
 
std::unique_ptr< weld::Labelm_xValueFT
 
std::unique_ptr< ConditionEditm_xValueED
 
std::unique_ptr< weld::Widgetm_xFormat
 
std::unique_ptr< SwNumFormatTreeViewm_xNumFormatLB
 
std::unique_ptr< weld::TreeViewm_xFormatLB
 
std::unique_ptr< weld::Widgetm_xChapterFrame
 
std::unique_ptr< weld::ComboBoxm_xChapterLevelLB
 
std::unique_ptr< weld::CheckButtonm_xInvisibleCB
 
std::unique_ptr< weld::Labelm_xSeparatorFT
 
std::unique_ptr< weld::Entrym_xSeparatorED
 
std::unique_ptr< weld::Buttonm_xNewPB
 
std::unique_ptr< weld::Buttonm_xDelPB
 
OUString m_sOldValueFT
 
OUString m_sOldNameFT
 
sal_uInt32 m_nOldFormat
 
bool m_bInit
 

Detailed Description

Definition at line 30 of file fldvar.hxx.

Constructor & Destructor Documentation

◆ SwFieldVarPage()

SwFieldVarPage::SwFieldVarPage ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet pSet 
)

◆ ~SwFieldVarPage()

SwFieldVarPage::~SwFieldVarPage ( )
overridevirtual

Definition at line 93 of file fldvar.cxx.

Member Function Documentation

◆ Create()

std::unique_ptr< SfxTabPage > SwFieldVarPage::Create ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rAttrSet 
)
static

Definition at line 1254 of file fldvar.cxx.

Referenced by SwFieldEditDlg::CreatePage(), and SwFieldDlg::SwFieldDlg().

◆ DECL_LINK() [1/7]

SwFieldVarPage::DECL_LINK ( ChapterHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [2/7]

SwFieldVarPage::DECL_LINK ( ModifyHdl  ,
weld::Entry ,
void   
)
private

◆ DECL_LINK() [3/7]

SwFieldVarPage::DECL_LINK ( SeparatorHdl  ,
weld::Entry ,
void   
)
private

◆ DECL_LINK() [4/7]

SwFieldVarPage::DECL_LINK ( SubTypeInsertHdl  ,
weld::TreeView ,
bool   
)
private

◆ DECL_LINK() [5/7]

SwFieldVarPage::DECL_LINK ( SubTypeListBoxHdl  ,
weld::TreeView ,
void   
)
private

◆ DECL_LINK() [6/7]

SwFieldVarPage::DECL_LINK ( TBClickHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [7/7]

SwFieldVarPage::DECL_LINK ( TypeHdl  ,
weld::TreeView ,
void   
)
private

◆ FillFormatLB()

void SwFieldVarPage::FillFormatLB ( SwFieldTypesEnum  nTypeId)
private

◆ FillItemSet()

bool SwFieldVarPage::FillItemSet ( SfxItemSet rSet)
overridevirtual

◆ FillUserData()

void SwFieldVarPage::FillUserData ( )
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 1265 of file fldvar.cxx.

References m_xTypeLB, SfxTabPage::SetUserData(), and USER_DATA_VERSION.

◆ GetGroup()

sal_uInt16 SwFieldVarPage::GetGroup ( )
overrideprotectedvirtual

Implements SwFieldPage.

Definition at line 1260 of file fldvar.cxx.

References GRP_VAR.

Referenced by Reset().

◆ Reset()

void SwFieldVarPage::Reset ( const SfxItemSet rSet)
overridevirtual

◆ SubTypeHdl()

void SwFieldVarPage::SubTypeHdl ( const weld::TreeView pBox)
private

◆ UpdateSubType()

void SwFieldVarPage::UpdateSubType ( )
private

Member Data Documentation

◆ m_bInit

bool SwFieldVarPage::m_bInit
private

Definition at line 54 of file fldvar.hxx.

Referenced by SubTypeHdl().

◆ m_nOldFormat

sal_uInt32 SwFieldVarPage::m_nOldFormat
private

Definition at line 53 of file fldvar.hxx.

Referenced by FillItemSet(), and Reset().

◆ m_sOldNameFT

OUString SwFieldVarPage::m_sOldNameFT
private

Definition at line 51 of file fldvar.hxx.

Referenced by SubTypeHdl(), and SwFieldVarPage().

◆ m_sOldValueFT

OUString SwFieldVarPage::m_sOldValueFT
private

Definition at line 50 of file fldvar.hxx.

Referenced by SubTypeHdl(), and SwFieldVarPage().

◆ m_xChapterFrame

std::unique_ptr<weld::Widget> SwFieldVarPage::m_xChapterFrame
private

Definition at line 42 of file fldvar.hxx.

Referenced by SubTypeHdl().

◆ m_xChapterLevelLB

std::unique_ptr<weld::ComboBox> SwFieldVarPage::m_xChapterLevelLB
private

Definition at line 43 of file fldvar.hxx.

Referenced by FillItemSet(), Reset(), SubTypeHdl(), and SwFieldVarPage().

◆ m_xDelPB

std::unique_ptr<weld::Button> SwFieldVarPage::m_xDelPB
private

Definition at line 48 of file fldvar.hxx.

Referenced by Reset().

◆ m_xFormat

std::unique_ptr<weld::Widget> SwFieldVarPage::m_xFormat
private

Definition at line 39 of file fldvar.hxx.

Referenced by SubTypeHdl().

◆ m_xFormatLB

std::unique_ptr<weld::TreeView> SwFieldVarPage::m_xFormatLB
private

Definition at line 41 of file fldvar.hxx.

Referenced by FillFormatLB(), FillItemSet(), Reset(), SubTypeHdl(), and SwFieldVarPage().

◆ m_xInvisibleCB

std::unique_ptr<weld::CheckButton> SwFieldVarPage::m_xInvisibleCB
private

Definition at line 44 of file fldvar.hxx.

Referenced by FillItemSet(), Reset(), SubTypeHdl(), and UpdateSubType().

◆ m_xNameED

std::unique_ptr<weld::Entry> SwFieldVarPage::m_xNameED
private

Definition at line 36 of file fldvar.hxx.

Referenced by FillItemSet(), Reset(), SubTypeHdl(), and SwFieldVarPage().

◆ m_xNameFT

std::unique_ptr<weld::Label> SwFieldVarPage::m_xNameFT
private

Definition at line 35 of file fldvar.hxx.

Referenced by SubTypeHdl(), and SwFieldVarPage().

◆ m_xNewPB

std::unique_ptr<weld::Button> SwFieldVarPage::m_xNewPB
private

Definition at line 47 of file fldvar.hxx.

Referenced by Reset().

◆ m_xNumFormatLB

std::unique_ptr<SwNumFormatTreeView> SwFieldVarPage::m_xNumFormatLB
private

Definition at line 40 of file fldvar.hxx.

Referenced by FillFormatLB(), FillItemSet(), Reset(), SubTypeHdl(), and SwFieldVarPage().

◆ m_xSelection

std::unique_ptr<weld::Widget> SwFieldVarPage::m_xSelection
private

Definition at line 33 of file fldvar.hxx.

Referenced by UpdateSubType().

◆ m_xSelectionLB

std::unique_ptr<weld::TreeView> SwFieldVarPage::m_xSelectionLB
private

Definition at line 34 of file fldvar.hxx.

Referenced by FillItemSet(), Reset(), SubTypeHdl(), SwFieldVarPage(), and UpdateSubType().

◆ m_xSeparatorED

std::unique_ptr<weld::Entry> SwFieldVarPage::m_xSeparatorED
private

Definition at line 46 of file fldvar.hxx.

Referenced by FillItemSet(), Reset(), and SubTypeHdl().

◆ m_xSeparatorFT

std::unique_ptr<weld::Label> SwFieldVarPage::m_xSeparatorFT
private

Definition at line 45 of file fldvar.hxx.

◆ m_xTypeLB

std::unique_ptr<weld::TreeView> SwFieldVarPage::m_xTypeLB
private

Definition at line 32 of file fldvar.hxx.

Referenced by FillItemSet(), FillUserData(), Reset(), SubTypeHdl(), SwFieldVarPage(), and UpdateSubType().

◆ m_xValueED

std::unique_ptr<ConditionEdit> SwFieldVarPage::m_xValueED
private

Definition at line 38 of file fldvar.hxx.

Referenced by FillItemSet(), Reset(), SubTypeHdl(), and SwFieldVarPage().

◆ m_xValueFT

std::unique_ptr<weld::Label> SwFieldVarPage::m_xValueFT
private

Definition at line 37 of file fldvar.hxx.

Referenced by SubTypeHdl(), and SwFieldVarPage().


The documentation for this class was generated from the following files: