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

#include <flddinf.hxx>

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

Public Member Functions

 SwFieldDokInfPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *pSet)
 
virtual ~SwFieldDokInfPage () 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 OString &rID, const SfxItemSet *pAttrSet)
 
virtual ~SwFieldPage () override
 
virtual void Activate () 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
 
void set_visible (bool bVisible)
 
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 () const
 
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
 
OString GetHelpId () const
 
OString GetConfigId () const
 
bool IsVisible () const
 
weld::WindowGetFrameWeld () const
 

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 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 (SubTypeHdl, weld::TreeView &, void)
 
sal_Int32 FillSelectionLB (sal_uInt16 nSubTypeId)
 

Private Attributes

std::unique_ptr< weld::TreeIterm_xSelEntry
 
css::uno::Reference< css::beans::XPropertySetxCustomPropertySet
 
sal_Int32 nOldSel
 
sal_uLong nOldFormat
 
OUString m_sOldCustomFieldName
 
std::unique_ptr< weld::TreeViewm_xTypeTLB
 
std::unique_ptr< weld::Widgetm_xSelection
 
std::unique_ptr< weld::TreeViewm_xSelectionLB
 
std::unique_ptr< weld::Widgetm_xFormat
 
std::unique_ptr< SwNumFormatTreeViewm_xFormatLB
 
std::unique_ptr< weld::CheckButtonm_xFixedCB
 

Detailed Description

Definition at line 30 of file flddinf.hxx.

Constructor & Destructor Documentation

SwFieldDokInfPage::SwFieldDokInfPage ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet pSet 
)
SwFieldDokInfPage::~SwFieldDokInfPage ( )
overridevirtual

Definition at line 84 of file flddinf.cxx.

Member Function Documentation

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

Definition at line 446 of file flddinf.cxx.

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

SwFieldDokInfPage::DECL_LINK ( TypeHdl  ,
weld::TreeView ,
void   
)
private
SwFieldDokInfPage::DECL_LINK ( SubTypeHdl  ,
weld::TreeView ,
void   
)
private
bool SwFieldDokInfPage::FillItemSet ( SfxItemSet rSet)
overridevirtual
sal_Int32 SwFieldDokInfPage::FillSelectionLB ( sal_uInt16  nSubTypeId)
private
void SwFieldDokInfPage::FillUserData ( )
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 457 of file flddinf.cxx.

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

sal_uInt16 SwFieldDokInfPage::GetGroup ( )
overrideprotectedvirtual

Implements SwFieldPage.

Definition at line 452 of file flddinf.cxx.

References GRP_REG.

void SwFieldDokInfPage::Reset ( const SfxItemSet rSet)
overridevirtual

Member Data Documentation

OUString SwFieldDokInfPage::m_sOldCustomFieldName
private

Definition at line 37 of file flddinf.hxx.

Referenced by FillItemSet(), and Reset().

std::unique_ptr<weld::CheckButton> SwFieldDokInfPage::m_xFixedCB
private

Definition at line 44 of file flddinf.hxx.

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

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

Definition at line 42 of file flddinf.hxx.

std::unique_ptr<SwNumFormatTreeView> SwFieldDokInfPage::m_xFormatLB
private

Definition at line 43 of file flddinf.hxx.

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

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

Definition at line 40 of file flddinf.hxx.

Referenced by FillSelectionLB().

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

Definition at line 41 of file flddinf.hxx.

Referenced by FillItemSet(), FillSelectionLB(), Reset(), and SwFieldDokInfPage().

std::unique_ptr<weld::TreeIter> SwFieldDokInfPage::m_xSelEntry
private

Definition at line 32 of file flddinf.hxx.

Referenced by FillItemSet(), and Reset().

std::unique_ptr<weld::TreeView> SwFieldDokInfPage::m_xTypeTLB
private

Definition at line 39 of file flddinf.hxx.

Referenced by FillItemSet(), FillUserData(), Reset(), and SwFieldDokInfPage().

sal_uLong SwFieldDokInfPage::nOldFormat
private

Definition at line 36 of file flddinf.hxx.

Referenced by FillItemSet(), and Reset().

sal_Int32 SwFieldDokInfPage::nOldSel
private

Definition at line 35 of file flddinf.hxx.

Referenced by FillItemSet(), and Reset().

css::uno::Reference< css::beans::XPropertySet > SwFieldDokInfPage::xCustomPropertySet
private

Definition at line 33 of file flddinf.hxx.

Referenced by Reset(), and SwFieldDokInfPage().


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