LibreOffice Module sw (master) 1
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
SwFieldPage Class Referenceabstract

#include <fldpage.hxx>

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

Public Member Functions

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

Protected Member Functions

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 Attributes

OUString m_aLstStrArr [coLBCount]
 
SwFieldMgr m_aMgr
 
SwFieldm_pCurField
 
SwWrtShellm_pWrtShell
 
sal_Int32 m_nTypeSel
 
sal_Int32 m_nSelectionSel
 
bool m_bFieldEdit
 
bool m_bInsert
 
bool m_bFieldDlgHtmlMode
 
bool m_bRefresh
 
bool m_bFirstHTMLInit
 

Additional Inherited Members

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

Detailed Description

Definition at line 29 of file fldpage.hxx.

Constructor & Destructor Documentation

◆ SwFieldPage()

SwFieldPage::SwFieldPage ( weld::Container pPage,
weld::DialogController pController,
const OUString &  rUIXMLDescription,
const OUString &  rID,
const SfxItemSet pAttrSet 
)

Definition at line 44 of file fldpage.cxx.

◆ ~SwFieldPage()

SwFieldPage::~SwFieldPage ( )
overridevirtual

Definition at line 59 of file fldpage.cxx.

Member Function Documentation

◆ Activate()

void SwFieldPage::Activate ( )
overridevirtual

Definition at line 99 of file fldpage.cxx.

References EnableInsert(), and m_bInsert.

◆ DECL_LINK() [1/2]

SwFieldPage::DECL_LINK ( NumFormatHdl  ,
weld::TreeView ,
bool   
)
protected

◆ DECL_LINK() [2/2]

SwFieldPage::DECL_LINK ( TreeViewInsertHdl  ,
weld::TreeView ,
bool   
)
protected

◆ EditNewField()

void SwFieldPage::EditNewField ( bool  bOnlyActivate = false)

Definition at line 105 of file fldpage.cxx.

References m_bRefresh, m_nSelectionSel, m_nTypeSel, and SfxTabPage::Reset().

Referenced by IMPL_LINK(), and SwFieldDlg::ReInitTabPage().

◆ EnableInsert()

void SwFieldPage::EnableInsert ( bool  bEnable)
protected

◆ GetCurField()

SwField * SwFieldPage::GetCurField ( )
inlineprotected

◆ GetFieldMgr()

SwFieldMgr & SwFieldPage::GetFieldMgr ( )
inline

◆ GetGroup()

virtual sal_uInt16 SwFieldPage::GetGroup ( )
pure virtual

◆ GetSelectionSel()

sal_Int32 SwFieldPage::GetSelectionSel ( ) const
inlineprotected

Definition at line 47 of file fldpage.hxx.

References m_nSelectionSel.

Referenced by SwFieldVarPage::UpdateSubType().

◆ GetTypeSel()

sal_Int32 SwFieldPage::GetTypeSel ( ) const
inlineprotected

◆ GetWrtShell()

SwWrtShell * SwFieldPage::GetWrtShell ( )
inlineprotected

◆ Init()

void SwFieldPage::Init ( void  )
protected

◆ InsertField()

void SwFieldPage::InsertField ( SwFieldTypesEnum  nTypeId,
sal_uInt16  nSubType,
const OUString &  rPar1,
const OUString &  rPar2,
sal_uInt32  nFormatId,
sal_Unicode  cDelim = ' ',
bool  bIsAutomaticLanguage = true 
)
protected

◆ InsertHdl()

void SwFieldPage::InsertHdl ( weld::Widget pBtn)
protected

◆ IsFieldDlgHtmlMode()

bool SwFieldPage::IsFieldDlgHtmlMode ( ) const
inlineprotected

◆ IsFieldEdit()

bool SwFieldPage::IsFieldEdit ( ) const
inlineprotected

◆ IsRefresh()

bool SwFieldPage::IsRefresh ( ) const
inlineprotected

◆ RestorePos()

void SwFieldPage::RestorePos ( weld::TreeView rLst1)
protected

◆ SavePos()

void SwFieldPage::SavePos ( const weld::TreeView rLst1)
protected

◆ SetSelectionSel()

void SwFieldPage::SetSelectionSel ( sal_Int32  nSet)
inlineprotected

Definition at line 48 of file fldpage.hxx.

References m_nSelectionSel.

Referenced by SwFieldRefPage::Reset(), and SwFieldVarPage::UpdateSubType().

◆ SetTypeSel()

void SwFieldPage::SetTypeSel ( sal_Int32  nSet)
inlineprotected

Definition at line 46 of file fldpage.hxx.

References m_nTypeSel.

Referenced by SwFieldRefPage::Reset(), SwFieldDBPage::SwFieldDBPage(), and SwFieldDBPage::TypeHdl().

◆ SetWrtShell()

void SwFieldPage::SetWrtShell ( SwWrtShell m_pWrtShell)

Definition at line 344 of file fldpage.cxx.

References m_aMgr, m_pWrtShell, and SwFieldMgr::SetWrtShell().

Referenced by SwFieldDBPage::SetWrtShell().

Member Data Documentation

◆ m_aLstStrArr

OUString SwFieldPage::m_aLstStrArr[coLBCount]
private

Definition at line 31 of file fldpage.hxx.

Referenced by RestorePos(), and SavePos().

◆ m_aMgr

SwFieldMgr SwFieldPage::m_aMgr
private

Definition at line 32 of file fldpage.hxx.

Referenced by GetFieldMgr(), Init(), InsertField(), and SetWrtShell().

◆ m_bFieldDlgHtmlMode

bool SwFieldPage::m_bFieldDlgHtmlMode
private

Definition at line 39 of file fldpage.hxx.

Referenced by Init(), and IsFieldDlgHtmlMode().

◆ m_bFieldEdit

bool SwFieldPage::m_bFieldEdit
private

Definition at line 37 of file fldpage.hxx.

Referenced by Init(), and IsFieldEdit().

◆ m_bFirstHTMLInit

bool SwFieldPage::m_bFirstHTMLInit
private

Definition at line 41 of file fldpage.hxx.

Referenced by Init().

◆ m_bInsert

bool SwFieldPage::m_bInsert
private

Definition at line 38 of file fldpage.hxx.

Referenced by Activate(), and EnableInsert().

◆ m_bRefresh

bool SwFieldPage::m_bRefresh
private

Definition at line 40 of file fldpage.hxx.

Referenced by EditNewField(), and IsRefresh().

◆ m_nSelectionSel

sal_Int32 SwFieldPage::m_nSelectionSel
private

Definition at line 36 of file fldpage.hxx.

Referenced by EditNewField(), GetSelectionSel(), and SetSelectionSel().

◆ m_nTypeSel

sal_Int32 SwFieldPage::m_nTypeSel
private

Definition at line 35 of file fldpage.hxx.

Referenced by EditNewField(), GetTypeSel(), and SetTypeSel().

◆ m_pCurField

SwField* SwFieldPage::m_pCurField
private

Definition at line 33 of file fldpage.hxx.

Referenced by GetCurField(), Init(), and InsertField().

◆ m_pWrtShell

SwWrtShell* SwFieldPage::m_pWrtShell
private

Definition at line 34 of file fldpage.hxx.

Referenced by GetWrtShell(), InsertField(), and SetWrtShell().


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