LibreOffice Module sw (master)
1
|
#include <flddinf.hxx>
Public Member Functions | |
SwFieldDokInfPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *pSet) | |
virtual | ~SwFieldDokInfPage () override |
virtual bool | FillItemSet (SfxItemSet *rSet) override |
virtual void | Reset (const SfxItemSet *rSet) override |
virtual void | FillUserData () override |
![]() | |
SwFieldPage (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OString &rID, const SfxItemSet *pAttrSet) | |
virtual | ~SwFieldPage () override |
virtual void | Activate () override |
SwFieldMgr & | GetFieldMgr () |
void | SetWrtShell (SwWrtShell *m_pWrtShell) |
void | EditNewField (bool bOnlyActivate=false) |
![]() | |
void | SetDialogController (SfxOkDialogController *pDialog) |
virtual | ~SfxTabPage () override |
void | set_visible (bool bVisible) |
const SfxItemSet & | GetItemSet () const |
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 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 |
OString | GetHelpId () const |
OString | GetConfigId () const |
bool | IsVisible () const |
weld::Window * | GetFrameWeld () const |
Static Public Member Functions | |
static std::unique_ptr< SfxTabPage > | Create (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet) |
![]() | |
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 |
![]() | |
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) |
![]() | |
SfxTabPage (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OString &rID, const SfxItemSet *rAttrSet) | |
sal_uInt16 | GetWhich (sal_uInt16 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 (SubTypeHdl, weld::TreeView &, void) | |
sal_Int32 | FillSelectionLB (sal_uInt16 nSubTypeId) |
Private Attributes | |
std::unique_ptr< weld::TreeIter > | m_xSelEntry |
css::uno::Reference< css::beans::XPropertySet > | xCustomPropertySet |
sal_Int32 | nOldSel |
sal_uLong | nOldFormat |
OUString | m_sOldCustomFieldName |
std::unique_ptr< weld::TreeView > | m_xTypeTLB |
std::unique_ptr< weld::Widget > | m_xSelection |
std::unique_ptr< weld::TreeView > | m_xSelectionLB |
std::unique_ptr< weld::Widget > | m_xFormat |
std::unique_ptr< SwNumFormatTreeView > | m_xFormatLB |
std::unique_ptr< weld::CheckButton > | m_xFixedCB |
Definition at line 28 of file flddinf.hxx.
SwFieldDokInfPage::SwFieldDokInfPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet * | pSet | ||
) |
Definition at line 51 of file flddinf.cxx.
References FIELD_COLUMN_WIDTH, FillFieldSelect(), SfxItemSet::GetItem(), SfxUnoAnyItem::GetValue(), m_xFormatLB, m_xSelectionLB, m_xTypeTLB, and xCustomPropertySet.
|
overridevirtual |
Definition at line 81 of file flddinf.cxx.
|
static |
Definition at line 443 of file flddinf.cxx.
Referenced by SwFieldEditDlg::CreatePage(), and SwFieldDlg::SwFieldDlg().
|
private |
|
private |
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 405 of file flddinf.cxx.
References aName, nsSwDocInfoSubType::DI_CUSTOM, nsSwDocInfoSubType::DI_SUB_FIXED, DocumentInfo, SwFieldPage::InsertField(), SwFieldPage::IsFieldEdit(), m_sOldCustomFieldName, m_xFixedCB, m_xFormatLB, m_xSelectionLB, m_xSelEntry, m_xTypeTLB, nOldFormat, nOldSel, nPos, and USHRT_MAX.
|
private |
Definition at line 353 of file flddinf.cxx.
References nsSwDocInfoSubType::DI_CREATE, nsSwDocInfoSubType::DI_CUSTOM, nsSwDocInfoSubType::DI_DOCNO, nsSwDocInfoSubType::DI_EDIT, nsSwDocInfoSubType::DI_SUB_FIXED, nsSwDocInfoSubType::DI_SUBTYPE_BEGIN, DocumentInfo, SwFieldPage::EnableInsert(), SwFieldPage::GetCurField(), SwFieldPage::GetFieldMgr(), SwFieldMgr::GetFormatCount(), i, SwFieldPage::IsFieldDlgHtmlMode(), SwFieldPage::IsFieldEdit(), m_xFixedCB, m_xSelection, m_xSelectionLB, sId, and USHRT_MAX.
Referenced by Reset().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 454 of file flddinf.cxx.
References m_xTypeTLB, SfxTabPage::SetUserData(), USER_DATA_VERSION, and USHRT_MAX.
|
overrideprotectedvirtual |
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 85 of file flddinf.cxx.
References nsSwDocInfoSubType::DI_CUSTOM, nsSwDocInfoSubType::DI_EDIT, nsSwDocInfoSubType::DI_PRINT, nsSwDocInfoSubType::DI_SUBJECT, DocumentInfo, FillSelectionLB(), SwFieldPage::GetCurField(), SvNumberFormatter::GetEntry(), SwFieldPage::GetFieldMgr(), SwField::GetFormat(), SvNumberformat::GetLanguage(), SwEditShell::GetNumberFormatter(), SwFieldMgr::GetSubTypes(), SfxTabPage::GetUserData(), SwFieldPage::GetWrtShell(), i, SwFieldPage::Init(), SwField::IsAutomaticLanguage(), SwFieldPage::IsFieldDlgHtmlMode(), SwFieldPage::IsFieldEdit(), LINK, m_sOldCustomFieldName, m_xFixedCB, m_xFormatLB, m_xSelectionLB, m_xSelEntry, m_xTypeTLB, nOldFormat, nOldSel, sId, SwResId(), USER_DATA_VERSION_1, USHRT_MAX, and xCustomPropertySet.
|
private |
Definition at line 35 of file flddinf.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 42 of file flddinf.hxx.
Referenced by FillItemSet(), FillSelectionLB(), and Reset().
|
private |
Definition at line 40 of file flddinf.hxx.
|
private |
Definition at line 41 of file flddinf.hxx.
Referenced by FillItemSet(), Reset(), and SwFieldDokInfPage().
|
private |
Definition at line 38 of file flddinf.hxx.
Referenced by FillSelectionLB().
|
private |
Definition at line 39 of file flddinf.hxx.
Referenced by FillItemSet(), FillSelectionLB(), Reset(), and SwFieldDokInfPage().
|
private |
Definition at line 30 of file flddinf.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 37 of file flddinf.hxx.
Referenced by FillItemSet(), FillUserData(), Reset(), and SwFieldDokInfPage().
|
private |
Definition at line 34 of file flddinf.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 33 of file flddinf.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 31 of file flddinf.hxx.
Referenced by Reset(), and SwFieldDokInfPage().