LibreOffice Module sw (master) 1
|
#include <flddok.hxx>
Public Member Functions | |
SwFieldDokPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *pSet) | |
virtual | ~SwFieldDokPage () 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 (FormatHdl, weld::TreeView &, void) | |
DECL_LINK (SubTypeHdl, weld::TreeView &, void) | |
void | AddSubType (SwFieldTypesEnum nTypeId) |
sal_Int32 | FillFormatLB (SwFieldTypesEnum nTypeId) |
Private Attributes | |
sal_Int32 | m_nOldSel |
sal_uInt32 | m_nOldFormat |
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::Label > | m_xValueFT |
std::unique_ptr< weld::Entry > | m_xValueED |
std::unique_ptr< weld::Label > | m_xLevelFT |
std::unique_ptr< weld::SpinButton > | m_xLevelED |
std::unique_ptr< weld::Label > | m_xDateFT |
std::unique_ptr< weld::Label > | m_xTimeFT |
std::unique_ptr< weld::SpinButton > | m_xDateOffsetED |
std::unique_ptr< weld::Widget > | m_xFormat |
std::unique_ptr< weld::TreeView > | m_xFormatLB |
std::unique_ptr< SwNumFormatTreeView > | m_xNumFormatLB |
std::unique_ptr< weld::CheckButton > | m_xFixedCB |
Definition at line 27 of file flddok.hxx.
SwFieldDokPage::SwFieldDokPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet * | pSet | ||
) |
Definition at line 34 of file flddok.cxx.
References FIELD_COLUMN_WIDTH, LINK, m_xDateOffsetED, m_xFormatLB, m_xLevelED, m_xNumFormatLB, m_xSelectionLB, m_xTypeLB, m_xValueED, and MAXLEVEL.
|
overridevirtual |
Definition at line 81 of file flddok.cxx.
|
private |
Definition at line 424 of file flddok.cxx.
References SwFieldType::GetTypeStr(), and m_xSelectionLB.
|
static |
Definition at line 622 of file flddok.cxx.
Referenced by SwFieldEditDlg::CreatePage(), and SwFieldDlg::SwFieldDlg().
|
private |
|
private |
|
private |
|
private |
Definition at line 461 of file flddok.cxx.
References AF_FIXED, Author, DocumentStatistics, SwFieldPage::GetCurField(), SwFieldPage::GetFieldMgr(), GetFormat(), SwFieldMgr::GetFormatCount(), SwFieldMgr::GetFormatId(), i, SwFieldPage::IsFieldDlgHtmlMode(), SwFieldPage::IsFieldEdit(), m_xFormatLB, PageNumber, sId, and SwResId().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 530 of file flddok.cxx.
References AF_FIXED, Author, Chapter, Date, ExtendedUser, FF_FIXED, Filename, GetRefPage, SwFieldPage::GetTypeSel(), SwFieldPage::InsertField(), SwFieldPage::IsFieldEdit(), m_nOldFormat, m_nOldSel, m_xDateOffsetED, m_xFixedCB, m_xFormatLB, m_xLevelED, m_xNumFormatLB, m_xSelectionLB, m_xTypeLB, m_xValueED, NextPage, nPos, PageNumber, PreviousPage, SVX_NUM_CHAR_SPECIAL, Time, and Unknown.
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 633 of file flddok.cxx.
References m_xTypeLB, SfxTabPage::SetUserData(), and USER_DATA_VERSION.
|
overrideprotectedvirtual |
Implements SwFieldPage.
Definition at line 628 of file flddok.cxx.
References GRP_DOC.
Referenced by Reset().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 85 of file flddok.cxx.
References Date, o3tl::equalsIgnoreAsciiCase(), FixedDate, FixedTime, GetActiveWrtShell(), SwFieldPage::GetCurField(), SvNumberFormatter::GetEntry(), SwField::GetFormat(), GetGroup(), SwFieldMgr::GetGroupRange(), SvNumberformat::GetLanguage(), SwEditShell::GetNumberFormatter(), SwFieldMgr::GetPos(), o3tl::getToken(), SwField::GetTypeId(), SwFieldMgr::GetTypeId(), SwFieldMgr::GetTypeStr(), SfxTabPage::GetUserData(), SwFieldPage::GetWrtShell(), i, SwFieldPage::Init(), SwField::IsAutomaticLanguage(), SwFieldPage::IsFieldDlgHtmlMode(), SwFieldPage::IsFieldEdit(), SwFieldPage::IsRefresh(), LINK, m_nOldFormat, m_nOldSel, m_xDateOffsetED, m_xFixedCB, m_xFormatLB, m_xLevelED, m_xNumFormatLB, m_xSelectionLB, m_xTypeLB, m_xValueED, SwFieldGroupRgn::nEnd, NextPage, SwFieldGroupRgn::nStart, PageNumber, PreviousPage, SwFieldPage::RestorePos(), SwFieldPage::SavePos(), SwResId(), Time, o3tl::toInt32(), u, and USER_DATA_VERSION_1.
|
private |
Definition at line 30 of file flddok.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 29 of file flddok.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 39 of file flddok.hxx.
|
private |
Definition at line 41 of file flddok.hxx.
Referenced by FillItemSet(), Reset(), and SwFieldDokPage().
|
private |
Definition at line 45 of file flddok.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 42 of file flddok.hxx.
|
private |
Definition at line 43 of file flddok.hxx.
Referenced by FillFormatLB(), FillItemSet(), Reset(), and SwFieldDokPage().
|
private |
Definition at line 38 of file flddok.hxx.
Referenced by FillItemSet(), Reset(), and SwFieldDokPage().
|
private |
Definition at line 37 of file flddok.hxx.
|
private |
Definition at line 44 of file flddok.hxx.
Referenced by FillItemSet(), Reset(), and SwFieldDokPage().
|
private |
Definition at line 33 of file flddok.hxx.
|
private |
Definition at line 34 of file flddok.hxx.
Referenced by AddSubType(), FillItemSet(), Reset(), and SwFieldDokPage().
|
private |
Definition at line 40 of file flddok.hxx.
|
private |
Definition at line 32 of file flddok.hxx.
Referenced by FillItemSet(), FillUserData(), Reset(), and SwFieldDokPage().
|
private |
Definition at line 36 of file flddok.hxx.
Referenced by FillItemSet(), Reset(), and SwFieldDokPage().
|
private |
Definition at line 35 of file flddok.hxx.