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 |
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 (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 > | m_xCustomPropertySet |
sal_Int32 | m_nOldSel |
sal_uInt32 | m_nOldFormat |
OUString | m_sOldCustomFieldName |
std::unique_ptr< weld::TreeView > | m_xTypeList |
std::unique_ptr< weld::TreeView > | m_xTypeTree |
weld::TreeView * | m_pTypeView |
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 53 of file flddinf.cxx.
References FIELD_COLUMN_WIDTH, FillFieldSelect(), FN_FIELD_DIALOG_DOC_PROPS, weld::Widget::get_approximate_digit_width(), weld::TreeView::get_height_rows(), SfxItemSet::GetItem(), SfxUnoAnyItem::GetValue(), m_pTypeView, m_xCustomPropertySet, m_xFormatLB, m_xSelectionLB, m_xTypeList, m_xTypeTree, and weld::Widget::set_buildable_name().
|
overridevirtual |
Definition at line 95 of file flddinf.cxx.
|
static |
Definition at line 493 of file flddinf.cxx.
Referenced by SwFieldEditDlg::CreatePage(), and SwFieldDlg::SwFieldDlg().
|
private |
|
private |
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 455 of file flddinf.cxx.
References aName, nsSwDocInfoSubType::DI_CUSTOM, nsSwDocInfoSubType::DI_SUB_FIXED, DocumentInfo, weld::TreeView::get_id(), weld::TreeView::get_text(), SwFieldPage::InsertField(), SwFieldPage::IsFieldEdit(), m_nOldFormat, m_nOldSel, m_pTypeView, m_sOldCustomFieldName, m_xFixedCB, m_xFormatLB, m_xSelectionLB, m_xSelEntry, and nPos.
|
private |
Definition at line 399 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, and sId.
Referenced by Reset().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 504 of file flddinf.cxx.
References weld::TreeView::get_id(), weld::TreeView::get_selected_index(), m_pTypeView, SfxTabPage::SetUserData(), and USER_DATA_VERSION.
|
overrideprotectedvirtual |
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 99 of file flddinf.cxx.
References weld::TreeView::clear(), weld::TreeView::connect_changed(), weld::TreeView::connect_row_activated(), nsSwDocInfoSubType::DI_CUSTOM, nsSwDocInfoSubType::DI_EDIT, nsSwDocInfoSubType::DI_PRINT, nsSwDocInfoSubType::DI_SUBJECT, DocumentInfo, o3tl::equalsIgnoreAsciiCase(), weld::TreeView::expand_row(), FillSelectionLB(), weld::Widget::freeze(), weld::TreeView::get_id(), weld::TreeView::get_iter_first(), SwFieldPage::GetCurField(), SvNumberFormatter::GetEntry(), SwFieldPage::GetFieldMgr(), SwField::GetFormat(), SvNumberformat::GetLanguage(), SwEditShell::GetNumberFormatter(), SwField::GetSubType(), SwFieldMgr::GetSubTypes(), o3tl::getToken(), SfxTabPage::GetUserData(), SwFieldPage::GetWrtShell(), i, SwFieldPage::Init(), weld::TreeView::insert(), SwField::IsAutomaticLanguage(), SwFieldPage::IsFieldDlgHtmlMode(), SwFieldPage::IsFieldEdit(), LINK, m_nOldFormat, m_nOldSel, m_pTypeView, m_sOldCustomFieldName, m_xCustomPropertySet, m_xFixedCB, m_xFormatLB, m_xSelectionLB, m_xSelEntry, m_xTypeList, m_xTypeTree, weld::TreeView::make_iterator(), weld::TreeView::select(), weld::Widget::set_buildable_name(), sId, SwResId(), weld::Widget::thaw(), o3tl::toInt32(), u, and USER_DATA_VERSION_1.
|
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 39 of file flddinf.hxx.
Referenced by FillItemSet(), FillUserData(), Reset(), and SwFieldDokInfPage().
|
private |
Definition at line 35 of file flddinf.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 31 of file flddinf.hxx.
Referenced by Reset(), and SwFieldDokInfPage().
|
private |
Definition at line 44 of file flddinf.hxx.
Referenced by FillItemSet(), FillSelectionLB(), and Reset().
|
private |
Definition at line 42 of file flddinf.hxx.
|
private |
Definition at line 43 of file flddinf.hxx.
Referenced by FillItemSet(), Reset(), and SwFieldDokInfPage().
|
private |
Definition at line 40 of file flddinf.hxx.
Referenced by FillSelectionLB().
|
private |
Definition at line 41 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 Reset(), and SwFieldDokInfPage().
|
private |
Definition at line 38 of file flddinf.hxx.
Referenced by Reset(), and SwFieldDokInfPage().