LibreOffice Module sw (master) 1
|
#include <fldfunc.hxx>
Public Member Functions | |
SwFieldFuncPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *pSet) | |
virtual | ~SwFieldFuncPage () 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 (SelectHdl, weld::TreeView &, void) | |
DECL_LINK (InsertMacroHdl, weld::TreeView &, bool) | |
DECL_LINK (ModifyHdl, weld::Entry &, void) | |
DECL_LINK (ListModifyReturnActionHdl, weld::Entry &, bool) | |
DECL_LINK (ListModifyButtonHdl, weld::Button &, void) | |
DECL_LINK (ListEnableHdl, weld::Entry &, void) | |
DECL_LINK (ListEnableListBoxHdl, weld::TreeView &, void) | |
void | ListModifyHdl (const weld::Widget *) |
DECL_LINK (MacroHdl, weld::Button &, void) | |
void | UpdateSubType () |
Definition at line 27 of file fldfunc.hxx.
SwFieldFuncPage::SwFieldFuncPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet * | pSet | ||
) |
Definition at line 36 of file fldfunc.cxx.
References FIELD_COLUMN_WIDTH, FillFieldSelect(), LINK, m_sOldNameFT, m_sOldValueFT, m_xCond1ED, m_xCond2ED, m_xFormatLB, m_xListItemED, m_xListItemsLB, m_xNameED, m_xNameFT, m_xSelectionLB, m_xTypeLB, m_xValueED, and m_xValueFT.
|
overridevirtual |
Definition at line 88 of file fldfunc.cxx.
|
static |
Definition at line 577 of file fldfunc.cxx.
Referenced by SwFieldEditDlg::CreatePage(), and SwFieldDlg::SwFieldDlg().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 514 of file fldfunc.cxx.
References aName, ConditionalText, DB_DELIM, Dropdown, SwFieldPage::GetCurField(), SwFieldPage::GetFieldMgr(), SwFieldMgr::GetMacroPath(), SwField::GetPar1(), SwFieldPage::GetTypeSel(), i, INP_TXT, Input, SwFieldPage::InsertField(), SwFieldPage::IsFieldEdit(), m_bDropDownLBChanged, m_nOldFormat, m_xCond1ED, m_xCond2ED, m_xFormatLB, m_xListItemsLB, m_xListNameED, m_xNameED, m_xTypeLB, m_xValueED, and Macro.
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 588 of file fldfunc.cxx.
References m_xTypeLB, SfxTabPage::SetUserData(), and USER_DATA_VERSION.
|
overrideprotectedvirtual |
Implements SwFieldPage.
Definition at line 583 of file fldfunc.cxx.
References GRP_FKT.
Referenced by Reset().
|
private |
Definition at line 409 of file fldfunc.cxx.
References m_bDropDownLBChanged, m_xListAddPB, m_xListDownPB, m_xListItemED, m_xListItemsLB, m_xListRemovePB, and m_xListUpPB.
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 92 of file fldfunc.cxx.
References o3tl::equalsIgnoreAsciiCase(), SwFieldPage::GetCurField(), SwFieldPage::GetFieldMgr(), SwField::GetFormat(), GetGroup(), SwFieldMgr::GetGroupRange(), SwFieldMgr::GetPos(), o3tl::getToken(), SwField::GetTypeId(), SwFieldMgr::GetTypeId(), SwFieldMgr::GetTypeStr(), SfxTabPage::GetUserData(), i, SwFieldPage::Init(), SwFieldPage::IsFieldDlgHtmlMode(), SwFieldPage::IsFieldEdit(), SwFieldPage::IsRefresh(), LINK, m_nOldFormat, m_xCond1ED, m_xCond2ED, m_xFormatLB, m_xListAddPB, m_xListDownPB, m_xListItemED, m_xListItemsLB, m_xListRemovePB, m_xListUpPB, m_xMacroBT, m_xNameED, m_xSelectionLB, m_xTypeLB, m_xValueED, Macro, SwFieldGroupRgn::nEnd, SwFieldGroupRgn::nStart, SwFieldPage::RestorePos(), SwFieldPage::SavePos(), SwFieldMgr::SetMacroPath(), o3tl::toInt32(), u, and USER_DATA_VERSION_1.
|
private |
Definition at line 471 of file fldfunc.cxx.
References SwFieldPage::EnableInsert(), SwFieldPage::GetFieldMgr(), SwFieldMgr::GetMacroPath(), SwFieldMgr::GetSubTypes(), SwFieldPage::GetTypeSel(), i, m_xNameED, m_xSelectionLB, m_xTypeLB, m_xValueGroup, Macro, and nCount.
|
private |
Definition at line 33 of file fldfunc.hxx.
Referenced by FillItemSet(), and ListModifyHdl().
|
private |
Definition at line 32 of file fldfunc.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 30 of file fldfunc.hxx.
Referenced by SwFieldFuncPage().
|
private |
Definition at line 29 of file fldfunc.hxx.
Referenced by SwFieldFuncPage().
|
private |
Definition at line 45 of file fldfunc.hxx.
Referenced by FillItemSet(), Reset(), and SwFieldFuncPage().
|
private |
Definition at line 44 of file fldfunc.hxx.
|
private |
Definition at line 47 of file fldfunc.hxx.
Referenced by FillItemSet(), Reset(), and SwFieldFuncPage().
|
private |
Definition at line 46 of file fldfunc.hxx.
|
private |
Definition at line 37 of file fldfunc.hxx.
|
private |
Definition at line 38 of file fldfunc.hxx.
Referenced by FillItemSet(), Reset(), and SwFieldFuncPage().
|
private |
Definition at line 53 of file fldfunc.hxx.
Referenced by ListModifyHdl(), and Reset().
|
private |
Definition at line 57 of file fldfunc.hxx.
Referenced by ListModifyHdl(), and Reset().
|
private |
Definition at line 51 of file fldfunc.hxx.
|
private |
Definition at line 52 of file fldfunc.hxx.
Referenced by ListModifyHdl(), Reset(), and SwFieldFuncPage().
|
private |
Definition at line 54 of file fldfunc.hxx.
Referenced by FillItemSet(), ListModifyHdl(), Reset(), and SwFieldFuncPage().
|
private |
Definition at line 58 of file fldfunc.hxx.
Referenced by FillItemSet().
|
private |
Definition at line 55 of file fldfunc.hxx.
Referenced by ListModifyHdl(), and Reset().
|
private |
Definition at line 56 of file fldfunc.hxx.
Referenced by ListModifyHdl(), and Reset().
|
private |
Definition at line 48 of file fldfunc.hxx.
Referenced by Reset().
|
private |
Definition at line 40 of file fldfunc.hxx.
Referenced by FillItemSet(), Reset(), SwFieldFuncPage(), and UpdateSubType().
|
private |
Definition at line 39 of file fldfunc.hxx.
Referenced by SwFieldFuncPage().
|
private |
Definition at line 36 of file fldfunc.hxx.
Referenced by Reset(), SwFieldFuncPage(), and UpdateSubType().
|
private |
Definition at line 35 of file fldfunc.hxx.
Referenced by FillItemSet(), FillUserData(), Reset(), SwFieldFuncPage(), and UpdateSubType().
|
private |
Definition at line 43 of file fldfunc.hxx.
Referenced by FillItemSet(), Reset(), and SwFieldFuncPage().
|
private |
Definition at line 42 of file fldfunc.hxx.
Referenced by SwFieldFuncPage().
|
private |
Definition at line 41 of file fldfunc.hxx.
Referenced by UpdateSubType().