LibreOffice Module sw (master) 1
|
#include <fldref.hxx>
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 |
SwFieldMgr & | GetFieldMgr () |
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 SfxItemSet & | GetItemSet () 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 SfxItemSet * | GetDialogExampleSet () const |
OUString | GetHelpId () const |
OUString | GetConfigId () const |
bool | IsVisible () const |
weld::Window * | GetFrameWeld () const |
std::unordered_map< OUString, css::uno::Any > & | getAdditionalProperties () |
Static Public Member Functions | |
static std::unique_ptr< SfxTabPage > | Create (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet) |
Static Public Member Functions inherited from SfxTabPage | |
static const SfxPoolItem * | GetItem (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 |
SwField * | GetCurField () |
SwWrtShell * | GetWrtShell () |
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 SfxPoolItem * | GetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true) |
const T * | GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true) |
SfxOkDialogController * | GetDialogController () 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 SwTextNode * | mpSavedSelectedTextNode |
size_t | mnSavedSelectedPos |
std::unique_ptr< weld::TreeView > | m_xTypeLB |
std::unique_ptr< weld::Widget > | m_xSelection |
std::unique_ptr< weld::TreeView > | m_xSelectionLB |
std::unique_ptr< weld::TreeView > | m_xSelectionToolTipLB |
std::unique_ptr< weld::Widget > | m_xFormat |
std::unique_ptr< weld::TreeView > | m_xFormatLB |
std::unique_ptr< weld::Label > | m_xNameFT |
std::unique_ptr< weld::Entry > | m_xNameED |
std::unique_ptr< weld::Entry > | m_xValueED |
std::unique_ptr< weld::Entry > | m_xFilterED |
Definition at line 29 of file fldref.hxx.
SwFieldRefPage::SwFieldRefPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet * | pSet | ||
) |
Definition at line 56 of file fldref.cxx.
References FIELD_COLUMN_WIDTH, LINK, m_sBookmarkText, m_sEndnoteText, m_sFootnoteText, m_sHeadingText, m_sNumItemText, m_xFilterED, m_xFormatLB, m_xNameED, m_xSelection, m_xSelectionLB, m_xSelectionToolTipLB, m_xTypeLB, m_xValueED, and SwResId().
|
overridevirtual |
Definition at line 118 of file fldref.cxx.
|
static |
Definition at line 1130 of file fldref.cxx.
Referenced by SwFieldEditDlg::CreatePage(), and SwFieldDlg::SwFieldDlg().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 793 of file fldref.cxx.
References FMT_REF_ARY, SwFieldPage::GetCurField(), SwFieldPage::GetFieldMgr(), GetFormat(), SwFieldMgr::GetFormatCount(), LanguageTag::getLanguage(), SvtSysLocaleOptions::GetRealLanguageTag(), GetRef, i, SwFieldPage::IsFieldDlgHtmlMode(), SwFieldPage::IsFieldEdit(), m_xFormatLB, nFieldDlgFormatSel, REFFLDFLAG, REFFLDFLAG_BOOKMARK, REFFLDFLAG_ENDNOTE, REFFLDFLAG_FOOTNOTE, REFFLDFLAG_HEADING, REFFLDFLAG_NUMITEM, SAL_N_ELEMENTS, sId, and SwResId().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 951 of file fldref.cxx.
References sw::sidebar::aArr, aName, IDocumentMarkAccess::CROSSREF_HEADING_BOOKMARK, IDocumentMarkAccess::CROSSREF_NUMITEM_BOOKMARK, GetActiveWrtShell(), SwFieldPage::GetCurField(), SwFieldPage::GetFieldMgr(), SwEditShell::GetFieldType(), SwFieldMgr::GetFieldType(), SwViewShell::getIDocumentListItemsAccess(), SwViewShell::getIDocumentMarkAccess(), SwViewShell::getIDocumentOutlineNodesAccess(), SwViewShell::GetLayout(), IDocumentMarkAccess::getMarkForTextNode(), sw::mark::IMark::GetName(), SwSetExpFieldType::GetName(), IDocumentListItems::getNumItems(), IDocumentOutlineNodes::getOutlineNodes(), GetRef, SwSetExpFieldType::GetSeqFieldList(), SwEditShell::GetSeqFootnoteList(), SwGetRefField::GetSeqNo(), SwFieldPage::GetTypeSel(), SwFieldPage::GetWrtShell(), SwFieldPage::InsertField(), SwFieldPage::IsFieldEdit(), m_xFormatLB, m_xNameED, m_xSelection, m_xSelectionLB, m_xSelectionToolTipLB, m_xTypeLB, m_xValueED, maNumItems, maOutlineNodes, nPos, REF_BOOKMARK, REF_ENDNOTE, REF_FOOTNOTE, REF_SEQUENCEFLD, REF_SETREFATTR, REFFLDFLAG, REFFLDFLAG_BOOKMARK, REFFLDFLAG_ENDNOTE, REFFLDFLAG_FOOTNOTE, REFFLDFLAG_HEADING, REFFLDFLAG_NUMITEM, SetExp, and SetRef.
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 1141 of file fldref.cxx.
References m_xFormatLB, m_xTypeLB, SfxTabPage::SetUserData(), and USER_DATA_VERSION.
|
overrideprotectedvirtual |
Implements SwFieldPage.
Definition at line 1136 of file fldref.cxx.
References GRP_REF.
Referenced by Reset().
|
staticprivate |
Definition at line 750 of file fldref.cxx.
References GetAppCharClass(), and CharClass::lowercase().
Referenced by UpdateSubType().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 161 of file fldref.cxx.
References o3tl::equalsIgnoreAsciiCase(), GetActiveWrtShell(), SwEditShell::GetFieldType(), SwEditShell::GetFieldTypeCount(), SwFormat::GetFrameDir(), GetGroup(), SwFieldMgr::GetGroupRange(), AllSettings::GetLayoutRTL(), SwPageDesc::GetMaster(), SwSetExpFieldType::GetName(), SwFEShell::GetPageDesc(), o3tl::getToken(), SwSetExpFieldType::GetType(), SwFieldMgr::GetTypeId(), SwFieldMgr::GetTypeStr(), SfxTabPage::GetUserData(), SwFieldPage::GetWrtShell(), nsSwGetSetExpType::GSE_SEQ, SwEditShell::HasFootnotes(), i, SwFieldPage::Init(), SwFieldPage::IsFieldDlgHtmlMode(), SwFieldPage::IsFieldEdit(), SwFieldPage::IsRefresh(), SwEditShell::IsUsed(), m_sBookmarkText, m_sEndnoteText, m_sFootnoteText, m_sHeadingText, m_sNumItemText, m_xFilterED, m_xFormatLB, m_xNameED, m_xSelectionLB, m_xSelectionToolTipLB, m_xTypeLB, m_xValueED, o3tl::make_unsigned(), n, SwFieldGroupRgn::nEnd, nFieldDlgFormatSel, SwFieldGroupRgn::nStart, REFFLDFLAG, REFFLDFLAG_BOOKMARK, REFFLDFLAG_ENDNOTE, REFFLDFLAG_FOOTNOTE, REFFLDFLAG_HEADING, REFFLDFLAG_NUMITEM, SwFieldPage::RestorePos(), SwFieldPage::SavePos(), SaveSelectedTextNode(), SetExp, SetRef, SwFieldPage::SetSelectionSel(), SwFieldPage::SetTypeSel(), o3tl::toInt32(), u, and USER_DATA_VERSION_1.
|
private |
Definition at line 130 of file fldref.cxx.
References SwFieldPage::GetTypeSel(), m_xSelectionToolTipLB, m_xTypeLB, maNumItems, maOutlineNodes, mnSavedSelectedPos, mpSavedSelectedTextNode, REFFLDFLAG_HEADING, and REFFLDFLAG_NUMITEM.
Referenced by Reset().
|
private |
Definition at line 445 of file fldref.cxx.
References GetActiveWrtShell(), GetRef, SwCursorShell::GetSelText(), SwFieldPage::GetTypeSel(), SwFieldPage::GetWrtShell(), SwFieldPage::IsFieldEdit(), m_xNameED, m_xSelectionLB, m_xSelectionToolTipLB, m_xTypeLB, m_xValueED, REFFLDFLAG_HEADING, REFFLDFLAG_NUMITEM, and SetRef.
|
private |
Definition at line 489 of file fldref.cxx.
References sw::sidebar::aArr, IDocumentMarkAccess::BOOKMARK, GetActiveWrtShell(), IDocumentMarkAccess::getBookmarksBegin(), IDocumentMarkAccess::getBookmarksEnd(), SwFieldPage::GetCurField(), SwFieldPage::GetFieldMgr(), SwEditShell::GetFieldType(), SwViewShell::getIDocumentListItemsAccess(), SwViewShell::getIDocumentMarkAccess(), SwViewShell::getIDocumentOutlineNodesAccess(), SwViewShell::GetLayout(), IDocumentListItems::getListItemText(), IDocumentListItems::getNumItems(), IDocumentOutlineNodes::getOutlineNodes(), IDocumentOutlineNodes::getOutlineText(), SwGetRefField::GetReferencedTextNode(), SwSetExpFieldType::GetSeqFieldList(), SwEditShell::GetSeqFootnoteList(), SwGetRefField::GetSeqNo(), SwGetRefField::GetSetRefName(), SwFieldMgr::GetSubTypes(), IDocumentMarkAccess::GetType(), SwFieldPage::GetTypeSel(), SwFieldPage::GetWrtShell(), i, SwFieldPage::IsFieldEdit(), IDocumentListItems::isNumberedInLayout(), IDocumentOutlineNodes::isOutlineInLayout(), m_xNameED, m_xSelection, m_xSelectionLB, m_xSelectionToolTipLB, m_xTypeLB, maNumItems, maOutlineNodes, MatchSubstring(), mnSavedSelectedPos, mpSavedSelectedTextNode, n, REFFLDFLAG, REFFLDFLAG_BOOKMARK, REFFLDFLAG_ENDNOTE, REFFLDFLAG_FOOTNOTE, REFFLDFLAG_HEADING, REFFLDFLAG_NUMITEM, SetExp, and sId.
|
private |
Definition at line 31 of file fldref.hxx.
Referenced by Reset(), and SwFieldRefPage().
|
private |
Definition at line 33 of file fldref.hxx.
Referenced by Reset(), and SwFieldRefPage().
|
private |
Definition at line 32 of file fldref.hxx.
Referenced by Reset(), and SwFieldRefPage().
|
private |
Definition at line 35 of file fldref.hxx.
Referenced by Reset(), and SwFieldRefPage().
|
private |
Definition at line 36 of file fldref.hxx.
Referenced by Reset(), and SwFieldRefPage().
|
private |
Definition at line 57 of file fldref.hxx.
Referenced by Reset(), and SwFieldRefPage().
|
private |
Definition at line 52 of file fldref.hxx.
|
private |
Definition at line 53 of file fldref.hxx.
Referenced by FillFormatLB(), FillItemSet(), FillUserData(), Reset(), and SwFieldRefPage().
|
private |
Definition at line 55 of file fldref.hxx.
Referenced by FillItemSet(), Reset(), SubTypeHdl(), SwFieldRefPage(), and UpdateSubType().
|
private |
Definition at line 54 of file fldref.hxx.
|
private |
Definition at line 48 of file fldref.hxx.
Referenced by FillItemSet(), SwFieldRefPage(), and UpdateSubType().
|
private |
Definition at line 49 of file fldref.hxx.
Referenced by FillItemSet(), Reset(), SubTypeHdl(), SwFieldRefPage(), and UpdateSubType().
|
private |
Definition at line 51 of file fldref.hxx.
Referenced by FillItemSet(), Reset(), SaveSelectedTextNode(), SubTypeHdl(), SwFieldRefPage(), and UpdateSubType().
|
private |
Definition at line 47 of file fldref.hxx.
Referenced by FillItemSet(), FillUserData(), Reset(), SaveSelectedTextNode(), SubTypeHdl(), SwFieldRefPage(), and UpdateSubType().
|
private |
Definition at line 56 of file fldref.hxx.
Referenced by FillItemSet(), Reset(), SubTypeHdl(), and SwFieldRefPage().
|
private |
Definition at line 39 of file fldref.hxx.
Referenced by FillItemSet(), SaveSelectedTextNode(), and UpdateSubType().
|
private |
Definition at line 38 of file fldref.hxx.
Referenced by FillItemSet(), SaveSelectedTextNode(), and UpdateSubType().
|
private |
Definition at line 45 of file fldref.hxx.
Referenced by SaveSelectedTextNode(), and UpdateSubType().
|
private |
Definition at line 43 of file fldref.hxx.
Referenced by SaveSelectedTextNode(), and UpdateSubType().