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 (TabPageParent pParent, 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 (TabPageParent pParent, const OUString &rUIXMLDescription, const OString &rID, const SfxItemSet *pAttrSet)
 
virtual ~SwFieldPage () override
 
virtual void ActivatePage () override
 
SwFieldMgrGetFieldMgr ()
 
void SetWrtShell (SwWrtShell *m_pWrtShell)
 
void EditNewField (bool bOnlyActivate=false)
 
- Public Member Functions inherited from SfxTabPage
void SetDialogController (SfxOkDialogController *pDialog)
 
virtual ~SfxTabPage () override
 
virtual void dispose () override
 
const SfxItemSetGetItemSet () const
 
bool HasExchangeSupport () const
 
void SetExchangeSupport ()
 
virtual void ActivatePage (const SfxItemSet &)
 
virtual DeactivateRC DeactivatePage (SfxItemSet *pSet)
 
void SetUserData (const OUString &rString)
 
const OUString & GetUserData ()
 
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 SfxItemSetGetDialogExampleSet () const
 
OString GetConfigId () const
 
weld::WindowGetDialogFrameWeld () const
 

Static Public Member Functions

static VclPtr< SfxTabPageCreate (TabPageParent pParent, 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 &, void)
 
 DECL_LINK (NumFormatHdl, weld::TreeView &, void)
 
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 (sal_uInt16 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 (vcl::Window *pParent, const OString &rID, const OUString &rUIXMLDescription, const SfxItemSet *rAttrSet)
 
 SfxTabPage (TabPageParent pParent, const OUString &rUIXMLDescription, const OString &rID, const SfxItemSet *rAttrSet)
 
sal_uInt16 GetWhich (sal_uInt16 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 &, void)
 
void SubTypeHdl (const weld::TreeView *)
 
void UpdateSubType ()
 
void FillFormatLB (sal_uInt16 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 sOldValueFT
 
OUString sOldNameFT
 
sal_uInt32 nOldFormat
 
bool bInit
 

Additional Inherited Members

- Protected Attributes inherited from SfxTabPage
std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xContainer
 

Detailed Description

Definition at line 30 of file fldvar.hxx.

Constructor & Destructor Documentation

SwFieldVarPage::SwFieldVarPage ( TabPageParent  pParent,
const SfxItemSet pSet 
)
SwFieldVarPage::~SwFieldVarPage ( )
overridevirtual

Definition at line 85 of file fldvar.cxx.

Member Function Documentation

VclPtr< SfxTabPage > SwFieldVarPage::Create ( TabPageParent  pParent,
const SfxItemSet rAttrSet 
)
static
SwFieldVarPage::DECL_LINK ( TypeHdl  ,
weld::TreeView ,
void   
)
private
SwFieldVarPage::DECL_LINK ( SubTypeListBoxHdl  ,
weld::TreeView ,
void   
)
private
SwFieldVarPage::DECL_LINK ( ModifyHdl  ,
weld::Entry ,
void   
)
private
SwFieldVarPage::DECL_LINK ( TBClickHdl  ,
weld::Button ,
void   
)
private
SwFieldVarPage::DECL_LINK ( ChapterHdl  ,
weld::ComboBox ,
void   
)
private
SwFieldVarPage::DECL_LINK ( SeparatorHdl  ,
weld::Entry ,
void   
)
private
SwFieldVarPage::DECL_LINK ( SubTypeInsertHdl  ,
weld::TreeView ,
void   
)
private
void SwFieldVarPage::FillFormatLB ( sal_uInt16  nTypeId)
private
bool SwFieldVarPage::FillItemSet ( SfxItemSet rSet)
overridevirtual
void SwFieldVarPage::FillUserData ( )
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 1210 of file fldvar.cxx.

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

sal_uInt16 SwFieldVarPage::GetGroup ( )
overrideprotectedvirtual

Implements SwFieldPage.

Definition at line 1205 of file fldvar.cxx.

References GRP_VAR.

Referenced by Reset().

void SwFieldVarPage::Reset ( const SfxItemSet rSet)
overridevirtual
void SwFieldVarPage::SubTypeHdl ( const weld::TreeView pBox)
private
void SwFieldVarPage::UpdateSubType ( )
private

Member Data Documentation

bool SwFieldVarPage::bInit
private

Definition at line 54 of file fldvar.hxx.

Referenced by SubTypeHdl().

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

Definition at line 42 of file fldvar.hxx.

Referenced by SubTypeHdl().

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

Definition at line 43 of file fldvar.hxx.

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

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

Definition at line 48 of file fldvar.hxx.

Referenced by Reset().

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

Definition at line 39 of file fldvar.hxx.

Referenced by SubTypeHdl().

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().

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

Definition at line 44 of file fldvar.hxx.

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

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

Definition at line 36 of file fldvar.hxx.

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

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

Definition at line 35 of file fldvar.hxx.

Referenced by SubTypeHdl(), and SwFieldVarPage().

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

Definition at line 47 of file fldvar.hxx.

Referenced by Reset().

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

Definition at line 40 of file fldvar.hxx.

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

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

Definition at line 33 of file fldvar.hxx.

Referenced by UpdateSubType().

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().

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

Definition at line 46 of file fldvar.hxx.

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

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

Definition at line 45 of file fldvar.hxx.

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().

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

Definition at line 38 of file fldvar.hxx.

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

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

Definition at line 37 of file fldvar.hxx.

Referenced by SubTypeHdl(), and SwFieldVarPage().

sal_uInt32 SwFieldVarPage::nOldFormat
private

Definition at line 53 of file fldvar.hxx.

Referenced by FillItemSet(), and Reset().

OUString SwFieldVarPage::sOldNameFT
private

Definition at line 51 of file fldvar.hxx.

Referenced by SubTypeHdl(), and SwFieldVarPage().

OUString SwFieldVarPage::sOldValueFT
private

Definition at line 50 of file fldvar.hxx.

Referenced by SubTypeHdl(), and SwFieldVarPage().


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