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

#include <fldfunc.hxx>

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

Public Member Functions

 SwFieldFuncPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *pSet)
 
virtual ~SwFieldFuncPage () 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 (SelectHdl, weld::TreeView &, void)
 
 DECL_LINK (InsertMacroHdl, weld::TreeView &, bool)
 
 DECL_LINK (ModifyHdl, weld::Entry &, void)
 
 DECL_LINK (ListModifyReturnActionHdl, weld::Entry &, bool)
 
 DECL_LINK (ListModifyButtonHdl, weld::Button &, void)
 
 DECL_LINK (ListEnableHdl, weld::Entry &, void)
 
 DECL_LINK (ListEnableListBoxHdl, weld::TreeView &, void)
 
void ListModifyHdl (const weld::Widget *)
 
 DECL_LINK (MacroHdl, weld::Button &, void)
 
void UpdateSubType ()
 

Private Attributes

OUString m_sOldValueFT
 
OUString m_sOldNameFT
 
sal_uInt32 m_nOldFormat
 
bool m_bDropDownLBChanged
 
std::unique_ptr< weld::TreeViewm_xTypeLB
 
std::unique_ptr< weld::TreeViewm_xSelectionLB
 
std::unique_ptr< weld::Widgetm_xFormat
 
std::unique_ptr< weld::TreeViewm_xFormatLB
 
std::unique_ptr< weld::Labelm_xNameFT
 
std::unique_ptr< ConditionEditm_xNameED
 
std::unique_ptr< weld::Widgetm_xValueGroup
 
std::unique_ptr< weld::Labelm_xValueFT
 
std::unique_ptr< weld::Entrym_xValueED
 
std::unique_ptr< weld::Labelm_xCond1FT
 
std::unique_ptr< ConditionEditm_xCond1ED
 
std::unique_ptr< weld::Labelm_xCond2FT
 
std::unique_ptr< ConditionEditm_xCond2ED
 
std::unique_ptr< weld::Buttonm_xMacroBT
 
std::unique_ptr< weld::Widgetm_xListGroup
 
std::unique_ptr< weld::Entrym_xListItemED
 
std::unique_ptr< weld::Buttonm_xListAddPB
 
std::unique_ptr< weld::TreeViewm_xListItemsLB
 
std::unique_ptr< weld::Buttonm_xListRemovePB
 
std::unique_ptr< weld::Buttonm_xListUpPB
 
std::unique_ptr< weld::Buttonm_xListDownPB
 
std::unique_ptr< weld::Entrym_xListNameED
 

Detailed Description

Definition at line 27 of file fldfunc.hxx.

Constructor & Destructor Documentation

◆ SwFieldFuncPage()

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

◆ ~SwFieldFuncPage()

SwFieldFuncPage::~SwFieldFuncPage ( )
overridevirtual

Definition at line 88 of file fldfunc.cxx.

Member Function Documentation

◆ Create()

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

Definition at line 577 of file fldfunc.cxx.

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

◆ DECL_LINK() [1/9]

SwFieldFuncPage::DECL_LINK ( InsertMacroHdl  ,
weld::TreeView ,
bool   
)
private

◆ DECL_LINK() [2/9]

SwFieldFuncPage::DECL_LINK ( ListEnableHdl  ,
weld::Entry ,
void   
)
private

◆ DECL_LINK() [3/9]

SwFieldFuncPage::DECL_LINK ( ListEnableListBoxHdl  ,
weld::TreeView ,
void   
)
private

◆ DECL_LINK() [4/9]

SwFieldFuncPage::DECL_LINK ( ListModifyButtonHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [5/9]

SwFieldFuncPage::DECL_LINK ( ListModifyReturnActionHdl  ,
weld::Entry ,
bool   
)
private

◆ DECL_LINK() [6/9]

SwFieldFuncPage::DECL_LINK ( MacroHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [7/9]

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

◆ DECL_LINK() [8/9]

SwFieldFuncPage::DECL_LINK ( SelectHdl  ,
weld::TreeView ,
void   
)
private

◆ DECL_LINK() [9/9]

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

◆ FillItemSet()

bool SwFieldFuncPage::FillItemSet ( SfxItemSet rSet)
overridevirtual

◆ FillUserData()

void SwFieldFuncPage::FillUserData ( )
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 588 of file fldfunc.cxx.

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

◆ GetGroup()

sal_uInt16 SwFieldFuncPage::GetGroup ( )
overrideprotectedvirtual

Implements SwFieldPage.

Definition at line 583 of file fldfunc.cxx.

References GRP_FKT.

Referenced by Reset().

◆ ListModifyHdl()

void SwFieldFuncPage::ListModifyHdl ( const weld::Widget pControl)
private

◆ Reset()

void SwFieldFuncPage::Reset ( const SfxItemSet rSet)
overridevirtual

◆ UpdateSubType()

void SwFieldFuncPage::UpdateSubType ( )
private

Member Data Documentation

◆ m_bDropDownLBChanged

bool SwFieldFuncPage::m_bDropDownLBChanged
private

Definition at line 33 of file fldfunc.hxx.

Referenced by FillItemSet(), and ListModifyHdl().

◆ m_nOldFormat

sal_uInt32 SwFieldFuncPage::m_nOldFormat
private

Definition at line 32 of file fldfunc.hxx.

Referenced by FillItemSet(), and Reset().

◆ m_sOldNameFT

OUString SwFieldFuncPage::m_sOldNameFT
private

Definition at line 30 of file fldfunc.hxx.

Referenced by SwFieldFuncPage().

◆ m_sOldValueFT

OUString SwFieldFuncPage::m_sOldValueFT
private

Definition at line 29 of file fldfunc.hxx.

Referenced by SwFieldFuncPage().

◆ m_xCond1ED

std::unique_ptr<ConditionEdit> SwFieldFuncPage::m_xCond1ED
private

Definition at line 45 of file fldfunc.hxx.

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

◆ m_xCond1FT

std::unique_ptr<weld::Label> SwFieldFuncPage::m_xCond1FT
private

Definition at line 44 of file fldfunc.hxx.

◆ m_xCond2ED

std::unique_ptr<ConditionEdit> SwFieldFuncPage::m_xCond2ED
private

Definition at line 47 of file fldfunc.hxx.

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

◆ m_xCond2FT

std::unique_ptr<weld::Label> SwFieldFuncPage::m_xCond2FT
private

Definition at line 46 of file fldfunc.hxx.

◆ m_xFormat

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

Definition at line 37 of file fldfunc.hxx.

◆ m_xFormatLB

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

Definition at line 38 of file fldfunc.hxx.

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

◆ m_xListAddPB

std::unique_ptr<weld::Button> SwFieldFuncPage::m_xListAddPB
private

Definition at line 53 of file fldfunc.hxx.

Referenced by ListModifyHdl(), and Reset().

◆ m_xListDownPB

std::unique_ptr<weld::Button> SwFieldFuncPage::m_xListDownPB
private

Definition at line 57 of file fldfunc.hxx.

Referenced by ListModifyHdl(), and Reset().

◆ m_xListGroup

std::unique_ptr<weld::Widget> SwFieldFuncPage::m_xListGroup
private

Definition at line 51 of file fldfunc.hxx.

◆ m_xListItemED

std::unique_ptr<weld::Entry> SwFieldFuncPage::m_xListItemED
private

Definition at line 52 of file fldfunc.hxx.

Referenced by ListModifyHdl(), Reset(), and SwFieldFuncPage().

◆ m_xListItemsLB

std::unique_ptr<weld::TreeView> SwFieldFuncPage::m_xListItemsLB
private

Definition at line 54 of file fldfunc.hxx.

Referenced by FillItemSet(), ListModifyHdl(), Reset(), and SwFieldFuncPage().

◆ m_xListNameED

std::unique_ptr<weld::Entry> SwFieldFuncPage::m_xListNameED
private

Definition at line 58 of file fldfunc.hxx.

Referenced by FillItemSet().

◆ m_xListRemovePB

std::unique_ptr<weld::Button> SwFieldFuncPage::m_xListRemovePB
private

Definition at line 55 of file fldfunc.hxx.

Referenced by ListModifyHdl(), and Reset().

◆ m_xListUpPB

std::unique_ptr<weld::Button> SwFieldFuncPage::m_xListUpPB
private

Definition at line 56 of file fldfunc.hxx.

Referenced by ListModifyHdl(), and Reset().

◆ m_xMacroBT

std::unique_ptr<weld::Button> SwFieldFuncPage::m_xMacroBT
private

Definition at line 48 of file fldfunc.hxx.

Referenced by Reset().

◆ m_xNameED

std::unique_ptr<ConditionEdit> SwFieldFuncPage::m_xNameED
private

Definition at line 40 of file fldfunc.hxx.

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

◆ m_xNameFT

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

Definition at line 39 of file fldfunc.hxx.

Referenced by SwFieldFuncPage().

◆ m_xSelectionLB

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

Definition at line 36 of file fldfunc.hxx.

Referenced by Reset(), SwFieldFuncPage(), and UpdateSubType().

◆ m_xTypeLB

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

Definition at line 35 of file fldfunc.hxx.

Referenced by FillItemSet(), FillUserData(), Reset(), SwFieldFuncPage(), and UpdateSubType().

◆ m_xValueED

std::unique_ptr<weld::Entry> SwFieldFuncPage::m_xValueED
private

Definition at line 43 of file fldfunc.hxx.

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

◆ m_xValueFT

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

Definition at line 42 of file fldfunc.hxx.

Referenced by SwFieldFuncPage().

◆ m_xValueGroup

std::unique_ptr<weld::Widget> SwFieldFuncPage::m_xValueGroup
private

Definition at line 41 of file fldfunc.hxx.

Referenced by UpdateSubType().


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