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 (TabPageParent pParent, 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 (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 (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 sBookmarkText
 
OUString sFootnoteText
 
OUString sEndnoteText
 
OUString sHeadingText
 
OUString 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
 

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 33 of file fldref.hxx.

Constructor & Destructor Documentation

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

Definition at line 111 of file fldref.cxx.

Member Function Documentation

VclPtr< SfxTabPage > SwFieldRefPage::Create ( TabPageParent  pParent,
const SfxItemSet rAttrSet 
)
static
SwFieldRefPage::DECL_LINK ( TypeHdl  ,
weld::TreeView ,
void   
)
private
SwFieldRefPage::DECL_LINK ( SubTypeListBoxHdl  ,
weld::TreeView ,
void   
)
private
SwFieldRefPage::DECL_LINK ( SubTypeTreeListBoxHdl  ,
weld::TreeView ,
void   
)
private
SwFieldRefPage::DECL_LINK ( ModifyHdl  ,
weld::Entry ,
void   
)
private
SwFieldRefPage::DECL_LINK ( ModifyHdl_Impl  ,
weld::Entry ,
void   
)
private
sal_Int32 SwFieldRefPage::FillFormatLB ( sal_uInt16  nTypeId)
private
bool SwFieldRefPage::FillItemSet ( SfxItemSet rSet)
overridevirtual
void SwFieldRefPage::FillUserData ( )
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 1098 of file fldref.cxx.

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

sal_uInt16 SwFieldRefPage::GetGroup ( )
overrideprotectedvirtual

Implements SwFieldPage.

Definition at line 1093 of file fldref.cxx.

References GRP_REF.

Referenced by Reset().

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

Definition at line 711 of file fldref.cxx.

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

Referenced by UpdateSubType().

void SwFieldRefPage::Reset ( const SfxItemSet rSet)
overridevirtual
void SwFieldRefPage::SaveSelectedTextNode ( )
private
void SwFieldRefPage::SubTypeHdl ( )
private
void SwFieldRefPage::UpdateSubType ( const OUString &  filterString)
private

Member Data Documentation

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

Definition at line 61 of file fldref.hxx.

Referenced by Reset(), and SwFieldRefPage().

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

Definition at line 56 of file fldref.hxx.

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

Definition at line 57 of file fldref.hxx.

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

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

Definition at line 59 of file fldref.hxx.

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

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

Definition at line 58 of file fldref.hxx.

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

Definition at line 52 of file fldref.hxx.

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

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

Definition at line 53 of file fldref.hxx.

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

std::unique_ptr<weld::TreeView> SwFieldRefPage::m_xSelectionToolTipLB
private
std::unique_ptr<weld::TreeView> SwFieldRefPage::m_xTypeLB
private
std::unique_ptr<weld::Entry> SwFieldRefPage::m_xValueED
private

Definition at line 60 of file fldref.hxx.

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

IDocumentListItems::tSortedNodeNumList SwFieldRefPage::maNumItems
private

Definition at line 43 of file fldref.hxx.

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

IDocumentOutlineNodes::tSortedOutlineNodeList SwFieldRefPage::maOutlineNodes
private

Definition at line 42 of file fldref.hxx.

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

size_t SwFieldRefPage::mnSavedSelectedPos
private

Definition at line 49 of file fldref.hxx.

Referenced by SaveSelectedTextNode(), and UpdateSubType().

const SwTextNode* SwFieldRefPage::mpSavedSelectedTextNode
private

Definition at line 47 of file fldref.hxx.

Referenced by SaveSelectedTextNode(), and UpdateSubType().

OUString SwFieldRefPage::sBookmarkText
private

Definition at line 35 of file fldref.hxx.

Referenced by Reset(), and SwFieldRefPage().

OUString SwFieldRefPage::sEndnoteText
private

Definition at line 37 of file fldref.hxx.

Referenced by Reset(), and SwFieldRefPage().

OUString SwFieldRefPage::sFootnoteText
private

Definition at line 36 of file fldref.hxx.

Referenced by Reset(), and SwFieldRefPage().

OUString SwFieldRefPage::sHeadingText
private

Definition at line 39 of file fldref.hxx.

Referenced by Reset(), and SwFieldRefPage().

OUString SwFieldRefPage::sNumItemText
private

Definition at line 40 of file fldref.hxx.

Referenced by Reset(), and SwFieldRefPage().


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