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

#include <flddok.hxx>

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

Public Member Functions

 SwFieldDokPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *pSet)
 
virtual ~SwFieldDokPage () 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 (FormatHdl, weld::TreeView &, void)
 
 DECL_LINK (SubTypeHdl, weld::TreeView &, void)
 
void AddSubType (SwFieldTypesEnum nTypeId)
 
sal_Int32 FillFormatLB (SwFieldTypesEnum nTypeId)
 

Private Attributes

sal_Int32 m_nOldSel
 
sal_uInt32 m_nOldFormat
 
std::unique_ptr< weld::TreeViewm_xTypeLB
 
std::unique_ptr< weld::Widgetm_xSelection
 
std::unique_ptr< weld::TreeViewm_xSelectionLB
 
std::unique_ptr< weld::Labelm_xValueFT
 
std::unique_ptr< weld::Entrym_xValueED
 
std::unique_ptr< weld::Labelm_xLevelFT
 
std::unique_ptr< weld::SpinButtonm_xLevelED
 
std::unique_ptr< weld::Labelm_xDateFT
 
std::unique_ptr< weld::Labelm_xTimeFT
 
std::unique_ptr< weld::SpinButtonm_xDateOffsetED
 
std::unique_ptr< weld::Widgetm_xFormat
 
std::unique_ptr< weld::TreeViewm_xFormatLB
 
std::unique_ptr< SwNumFormatTreeViewm_xNumFormatLB
 
std::unique_ptr< weld::CheckButtonm_xFixedCB
 

Detailed Description

Definition at line 27 of file flddok.hxx.

Constructor & Destructor Documentation

◆ SwFieldDokPage()

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

◆ ~SwFieldDokPage()

SwFieldDokPage::~SwFieldDokPage ( )
overridevirtual

Definition at line 81 of file flddok.cxx.

Member Function Documentation

◆ AddSubType()

void SwFieldDokPage::AddSubType ( SwFieldTypesEnum  nTypeId)
private

Definition at line 424 of file flddok.cxx.

References SwFieldType::GetTypeStr(), and m_xSelectionLB.

◆ Create()

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

Definition at line 622 of file flddok.cxx.

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

◆ DECL_LINK() [1/3]

SwFieldDokPage::DECL_LINK ( FormatHdl  ,
weld::TreeView ,
void   
)
private

◆ DECL_LINK() [2/3]

SwFieldDokPage::DECL_LINK ( SubTypeHdl  ,
weld::TreeView ,
void   
)
private

◆ DECL_LINK() [3/3]

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

◆ FillFormatLB()

sal_Int32 SwFieldDokPage::FillFormatLB ( SwFieldTypesEnum  nTypeId)
private

◆ FillItemSet()

bool SwFieldDokPage::FillItemSet ( SfxItemSet rSet)
overridevirtual

◆ FillUserData()

void SwFieldDokPage::FillUserData ( )
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 633 of file flddok.cxx.

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

◆ GetGroup()

sal_uInt16 SwFieldDokPage::GetGroup ( )
overrideprotectedvirtual

Implements SwFieldPage.

Definition at line 628 of file flddok.cxx.

References GRP_DOC.

Referenced by Reset().

◆ Reset()

void SwFieldDokPage::Reset ( const SfxItemSet rSet)
overridevirtual

Member Data Documentation

◆ m_nOldFormat

sal_uInt32 SwFieldDokPage::m_nOldFormat
private

Definition at line 30 of file flddok.hxx.

Referenced by FillItemSet(), and Reset().

◆ m_nOldSel

sal_Int32 SwFieldDokPage::m_nOldSel
private

Definition at line 29 of file flddok.hxx.

Referenced by FillItemSet(), and Reset().

◆ m_xDateFT

std::unique_ptr<weld::Label> SwFieldDokPage::m_xDateFT
private

Definition at line 39 of file flddok.hxx.

◆ m_xDateOffsetED

std::unique_ptr<weld::SpinButton> SwFieldDokPage::m_xDateOffsetED
private

Definition at line 41 of file flddok.hxx.

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

◆ m_xFixedCB

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

Definition at line 45 of file flddok.hxx.

Referenced by FillItemSet(), and Reset().

◆ m_xFormat

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

Definition at line 42 of file flddok.hxx.

◆ m_xFormatLB

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

Definition at line 43 of file flddok.hxx.

Referenced by FillFormatLB(), FillItemSet(), Reset(), and SwFieldDokPage().

◆ m_xLevelED

std::unique_ptr<weld::SpinButton> SwFieldDokPage::m_xLevelED
private

Definition at line 38 of file flddok.hxx.

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

◆ m_xLevelFT

std::unique_ptr<weld::Label> SwFieldDokPage::m_xLevelFT
private

Definition at line 37 of file flddok.hxx.

◆ m_xNumFormatLB

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

Definition at line 44 of file flddok.hxx.

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

◆ m_xSelection

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

Definition at line 33 of file flddok.hxx.

◆ m_xSelectionLB

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

Definition at line 34 of file flddok.hxx.

Referenced by AddSubType(), FillItemSet(), Reset(), and SwFieldDokPage().

◆ m_xTimeFT

std::unique_ptr<weld::Label> SwFieldDokPage::m_xTimeFT
private

Definition at line 40 of file flddok.hxx.

◆ m_xTypeLB

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

Definition at line 32 of file flddok.hxx.

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

◆ m_xValueED

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

Definition at line 36 of file flddok.hxx.

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

◆ m_xValueFT

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

Definition at line 35 of file flddok.hxx.


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