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

#include <fldref.hxx>

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

Public Member Functions

 SwFieldRefPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *pSet)
 
virtual ~SwFieldRefPage () 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 (SubTypeListBoxHdl, weld::TreeView &, void)
 
 DECL_LINK (SubTypeTreeListBoxHdl, weld::TreeView &, void)
 
 DECL_LINK (ModifyHdl, weld::Entry &, void)
 
 DECL_LINK (ModifyHdl_Impl, weld::Entry &, void)
 
void SubTypeHdl ()
 
void UpdateSubType (const OUString &filterString)
 
sal_Int32 FillFormatLB (sal_uInt16 nTypeId)
 
void SaveSelectedTextNode ()
 

Static Private Member Functions

static bool MatchSubstring (const OUString &list_string, const OUString &substr)
 

Private Attributes

OUString m_sBookmarkText
 
OUString m_sFootnoteText
 
OUString m_sEndnoteText
 
OUString m_sHeadingText
 
OUString m_sNumItemText
 
IDocumentOutlineNodes::tSortedOutlineNodeList maOutlineNodes
 
IDocumentListItems::tSortedNodeNumList maNumItems
 
const SwTextNodempSavedSelectedTextNode
 
size_t mnSavedSelectedPos
 
std::unique_ptr< weld::TreeViewm_xTypeLB
 
std::unique_ptr< weld::Widgetm_xSelection
 
std::unique_ptr< weld::TreeViewm_xSelectionLB
 
std::unique_ptr< weld::TreeViewm_xSelectionToolTipLB
 
std::unique_ptr< weld::Widgetm_xFormat
 
std::unique_ptr< weld::TreeViewm_xFormatLB
 
std::unique_ptr< weld::Labelm_xNameFT
 
std::unique_ptr< weld::Entrym_xNameED
 
std::unique_ptr< weld::Entrym_xValueED
 
std::unique_ptr< weld::Entrym_xFilterED
 

Detailed Description

Definition at line 29 of file fldref.hxx.

Constructor & Destructor Documentation

◆ SwFieldRefPage()

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

◆ ~SwFieldRefPage()

SwFieldRefPage::~SwFieldRefPage ( )
overridevirtual

Definition at line 118 of file fldref.cxx.

Member Function Documentation

◆ Create()

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

Definition at line 1130 of file fldref.cxx.

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

◆ DECL_LINK() [1/5]

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

◆ DECL_LINK() [2/5]

SwFieldRefPage::DECL_LINK ( ModifyHdl_Impl  ,
weld::Entry ,
void   
)
private

◆ DECL_LINK() [3/5]

SwFieldRefPage::DECL_LINK ( SubTypeListBoxHdl  ,
weld::TreeView ,
void   
)
private

◆ DECL_LINK() [4/5]

SwFieldRefPage::DECL_LINK ( SubTypeTreeListBoxHdl  ,
weld::TreeView ,
void   
)
private

◆ DECL_LINK() [5/5]

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

◆ FillFormatLB()

sal_Int32 SwFieldRefPage::FillFormatLB ( sal_uInt16  nTypeId)
private

◆ FillItemSet()

bool SwFieldRefPage::FillItemSet ( SfxItemSet rSet)
overridevirtual

◆ FillUserData()

void SwFieldRefPage::FillUserData ( )
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 1141 of file fldref.cxx.

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

◆ GetGroup()

sal_uInt16 SwFieldRefPage::GetGroup ( )
overrideprotectedvirtual

Implements SwFieldPage.

Definition at line 1136 of file fldref.cxx.

References GRP_REF.

Referenced by Reset().

◆ MatchSubstring()

bool SwFieldRefPage::MatchSubstring ( const OUString &  list_string,
const OUString &  substr 
)
staticprivate

Definition at line 750 of file fldref.cxx.

References GetAppCharClass(), and CharClass::lowercase().

Referenced by UpdateSubType().

◆ Reset()

void SwFieldRefPage::Reset ( const SfxItemSet rSet)
overridevirtual

◆ SaveSelectedTextNode()

void SwFieldRefPage::SaveSelectedTextNode ( )
private

◆ SubTypeHdl()

void SwFieldRefPage::SubTypeHdl ( )
private

◆ UpdateSubType()

void SwFieldRefPage::UpdateSubType ( const OUString &  filterString)
private

Member Data Documentation

◆ m_sBookmarkText

OUString SwFieldRefPage::m_sBookmarkText
private

Definition at line 31 of file fldref.hxx.

Referenced by Reset(), and SwFieldRefPage().

◆ m_sEndnoteText

OUString SwFieldRefPage::m_sEndnoteText
private

Definition at line 33 of file fldref.hxx.

Referenced by Reset(), and SwFieldRefPage().

◆ m_sFootnoteText

OUString SwFieldRefPage::m_sFootnoteText
private

Definition at line 32 of file fldref.hxx.

Referenced by Reset(), and SwFieldRefPage().

◆ m_sHeadingText

OUString SwFieldRefPage::m_sHeadingText
private

Definition at line 35 of file fldref.hxx.

Referenced by Reset(), and SwFieldRefPage().

◆ m_sNumItemText

OUString SwFieldRefPage::m_sNumItemText
private

Definition at line 36 of file fldref.hxx.

Referenced by Reset(), and SwFieldRefPage().

◆ m_xFilterED

std::unique_ptr<weld::Entry> SwFieldRefPage::m_xFilterED
private

Definition at line 57 of file fldref.hxx.

Referenced by Reset(), and SwFieldRefPage().

◆ m_xFormat

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

Definition at line 52 of file fldref.hxx.

◆ m_xFormatLB

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

Definition at line 53 of file fldref.hxx.

Referenced by FillFormatLB(), FillItemSet(), FillUserData(), Reset(), and SwFieldRefPage().

◆ m_xNameED

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

Definition at line 55 of file fldref.hxx.

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

◆ m_xNameFT

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

Definition at line 54 of file fldref.hxx.

◆ m_xSelection

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

Definition at line 48 of file fldref.hxx.

Referenced by FillItemSet(), SwFieldRefPage(), and UpdateSubType().

◆ m_xSelectionLB

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

Definition at line 49 of file fldref.hxx.

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

◆ m_xSelectionToolTipLB

std::unique_ptr<weld::TreeView> SwFieldRefPage::m_xSelectionToolTipLB
private

◆ m_xTypeLB

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

◆ m_xValueED

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

Definition at line 56 of file fldref.hxx.

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

◆ maNumItems

IDocumentListItems::tSortedNodeNumList SwFieldRefPage::maNumItems
private

Definition at line 39 of file fldref.hxx.

Referenced by FillItemSet(), SaveSelectedTextNode(), and UpdateSubType().

◆ maOutlineNodes

IDocumentOutlineNodes::tSortedOutlineNodeList SwFieldRefPage::maOutlineNodes
private

Definition at line 38 of file fldref.hxx.

Referenced by FillItemSet(), SaveSelectedTextNode(), and UpdateSubType().

◆ mnSavedSelectedPos

size_t SwFieldRefPage::mnSavedSelectedPos
private

Definition at line 45 of file fldref.hxx.

Referenced by SaveSelectedTextNode(), and UpdateSubType().

◆ mpSavedSelectedTextNode

const SwTextNode* SwFieldRefPage::mpSavedSelectedTextNode
private

Definition at line 43 of file fldref.hxx.

Referenced by SaveSelectedTextNode(), and UpdateSubType().


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