|
LibreOffice Module sc (master) 1
|
#include <tpusrlst.hxx>
Public Member Functions | |
| ScTpUserLists (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rArgSet) | |
| virtual | ~ScTpUserLists () override |
| virtual bool | FillItemSet (SfxItemSet *rCoreAttrs) override |
| virtual void | Reset (const SfxItemSet *rCoreAttrs) override |
| virtual DeactivateRC | DeactivatePage (SfxItemSet *pSet) override |
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) |
Private Member Functions | |
| void | Init () |
| size_t | UpdateUserListBox () |
| void | UpdateEntries (size_t nList) |
| void | AddNewList (const OUString &rEntriesStr) |
| void | RemoveList (size_t nList) |
| void | ModifyList (size_t nSelList, const OUString &rEntriesStr) |
| void | CopyListFromArea (const ScRefAddress &rStartPos, const ScRefAddress &rEndPos) |
| DECL_LINK (LbSelectHdl, weld::TreeView &, void) | |
| DECL_LINK (BtnClickHdl, weld::Button &, void) | |
| DECL_LINK (EdEntriesModHdl, weld::TextView &, void) | |
Static Private Member Functions | |
| static void | MakeListStr (OUString &rListStr) |
Private Attributes | |
| std::unique_ptr< weld::Label > | mxFtLists |
| std::unique_ptr< weld::TreeView > | mxLbLists |
| std::unique_ptr< weld::Label > | mxFtEntries |
| std::unique_ptr< weld::TextView > | mxEdEntries |
| std::unique_ptr< weld::Label > | mxFtCopyFrom |
| std::unique_ptr< weld::Entry > | mxEdCopyFrom |
| std::unique_ptr< weld::Button > | mxBtnNew |
| std::unique_ptr< weld::Button > | mxBtnDiscard |
| std::unique_ptr< weld::Button > | mxBtnAdd |
| std::unique_ptr< weld::Button > | mxBtnModify |
| std::unique_ptr< weld::Button > | mxBtnRemove |
| std::unique_ptr< weld::Button > | mxBtnCopy |
| const OUString | aStrQueryRemove |
| const OUString | aStrCopyList |
| const OUString | aStrCopyFrom |
| const OUString | aStrCopyErr |
| const sal_uInt16 | nWhichUserLists |
| std::unique_ptr< ScUserList > | pUserLists |
| ScDocument * | pDoc |
| ScViewData * | pViewData |
| OUString | aStrSelectedArea |
| bool | bModifyMode |
| bool | bCancelMode |
| bool | bCopyDone |
| sal_Int32 | nCancelPos |
Additional Inherited Members | |
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 |
Definition at line 29 of file tpusrlst.hxx.
| ScTpUserLists::ScTpUserLists | ( | weld::Container * | pPage, |
| weld::DialogController * | pController, | ||
| const SfxItemSet & | rArgSet | ||
| ) |
Definition at line 49 of file tpusrlst.cxx.
References GetWhich, Init(), Reset(), and SfxTabPage::SetExchangeSupport().
|
overridevirtual |
Definition at line 82 of file tpusrlst.cxx.
|
private |
Definition at line 315 of file tpusrlst.cxx.
References MakeListStr(), and pUserLists.
Referenced by CopyListFromArea().
|
private |
Definition at line 327 of file tpusrlst.cxx.
References AddNewList(), aStrCopyErr, aStrCopyFrom, aStrCopyList, bCopyDone, col, ScRefAddress::Col(), Application::CreateMessageDialog(), SfxTabPage::GetFrameWeld(), ScDocument::GetString(), ScDocument::HasStringData(), pDoc, RET_CANCEL, ScRefAddress::Row(), weld::DialogController::run(), SCRET_COLS, SCRET_ROWS, and ScRefAddress::Tab().
|
static |
Definition at line 133 of file tpusrlst.cxx.
Referenced by ScAbstractDialogFactory_Impl::GetTabPageCreatorFunc().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 227 of file tpusrlst.cxx.
References FillItemSet().
|
private |
|
private |
|
private |
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 188 of file tpusrlst.cxx.
References bCancelMode, bModifyMode, SfxItemSet::Get(), SfxTabPage::GetItemSet(), ScUserListItem::GetUserList(), mxBtnAdd, nWhichUserLists, pUserLists, SfxItemSet::Put(), and ScUserListItem::SetUserList().
Referenced by DeactivatePage().
|
private |
Definition at line 86 of file tpusrlst.cxx.
References aStrSelectedArea, SfxViewShell::Current(), ScRange::Format(), ScViewData::GetDocument(), ScViewData::GetSimpleArea(), ScTabView::GetViewData(), LINK, mxBtnAdd, mxBtnCopy, mxBtnDiscard, mxBtnModify, mxBtnNew, mxBtnRemove, mxEdCopyFrom, mxEdEntries, mxFtCopyFrom, mxLbLists, pDoc, PutInOrder(), pViewData, and RANGE_ABS_3D.
Referenced by ScTpUserLists().
|
staticprivate |
Definition at line 279 of file tpusrlst.cxx.
References aStr, cDelimiter, o3tl::getToken(), LF, and comphelper::string::strip().
Referenced by AddNewList(), and ModifyList().
|
private |
Definition at line 413 of file tpusrlst.cxx.
References MakeListStr(), and pUserLists.
|
private |
Definition at line 425 of file tpusrlst.cxx.
References pUserLists, and size.
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 138 of file tpusrlst.cxx.
References aStrSelectedArea, bCopyDone, SfxItemSet::Get(), ScUserListItem::GetUserList(), mxBtnAdd, mxBtnCopy, mxBtnDiscard, mxBtnModify, mxBtnNew, mxBtnRemove, mxEdCopyFrom, mxEdEntries, mxFtCopyFrom, mxFtEntries, mxFtLists, mxLbLists, nWhichUserLists, pUserLists, pViewData, UpdateEntries(), and UpdateUserListBox().
Referenced by ScTpUserLists().
|
private |
Definition at line 254 of file tpusrlst.cxx.
References convertLineEnd(), CR, ScUserListData::GetSubCount(), ScUserListData::GetSubStr(), GetSystemLineEnd(), i, mxEdEntries, pUserLists, and size.
Referenced by Reset().
|
private |
Definition at line 235 of file tpusrlst.cxx.
References i, mxLbLists, nCount, and pUserLists.
Referenced by Reset().
|
private |
Definition at line 57 of file tpusrlst.hxx.
Referenced by CopyListFromArea().
|
private |
Definition at line 56 of file tpusrlst.hxx.
Referenced by CopyListFromArea().
|
private |
Definition at line 55 of file tpusrlst.hxx.
Referenced by CopyListFromArea().
|
private |
Definition at line 54 of file tpusrlst.hxx.
|
private |
Definition at line 64 of file tpusrlst.hxx.
|
private |
Definition at line 67 of file tpusrlst.hxx.
Referenced by FillItemSet().
|
private |
Definition at line 68 of file tpusrlst.hxx.
Referenced by CopyListFromArea(), and Reset().
|
private |
Definition at line 66 of file tpusrlst.hxx.
Referenced by FillItemSet().
|
private |
Definition at line 49 of file tpusrlst.hxx.
Referenced by FillItemSet(), Init(), and Reset().
|
private |
Definition at line 52 of file tpusrlst.hxx.
|
private |
Definition at line 48 of file tpusrlst.hxx.
|
private |
Definition at line 50 of file tpusrlst.hxx.
|
private |
Definition at line 47 of file tpusrlst.hxx.
|
private |
Definition at line 51 of file tpusrlst.hxx.
|
private |
Definition at line 46 of file tpusrlst.hxx.
|
private |
Definition at line 44 of file tpusrlst.hxx.
Referenced by Init(), Reset(), and UpdateEntries().
|
private |
Definition at line 45 of file tpusrlst.hxx.
|
private |
Definition at line 43 of file tpusrlst.hxx.
Referenced by Reset().
|
private |
Definition at line 41 of file tpusrlst.hxx.
Referenced by Reset().
|
private |
Definition at line 42 of file tpusrlst.hxx.
Referenced by Init(), Reset(), and UpdateUserListBox().
|
private |
Definition at line 69 of file tpusrlst.hxx.
|
private |
Definition at line 59 of file tpusrlst.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 62 of file tpusrlst.hxx.
Referenced by CopyListFromArea(), and Init().
|
private |
Definition at line 60 of file tpusrlst.hxx.
Referenced by AddNewList(), FillItemSet(), ModifyList(), RemoveList(), Reset(), UpdateEntries(), and UpdateUserListBox().
|
private |
Definition at line 63 of file tpusrlst.hxx.