LibreOffice Module basctl (master) 1
|
#include <moduldlg.hxx>
Public Member Functions | |
LibPage (weld::Container *pParent, OrganizeDialog *pDialog) | |
virtual | ~LibPage () override |
virtual void | ActivatePage () override |
virtual void | ActivatePage ()=0 |
Private Types | |
typedef std::pair< const weld::TreeIter &, OUString > | IterString |
Private Member Functions | |
DECL_LINK (TreeListHighlightHdl, weld::TreeView &, void) | |
DECL_LINK (BasicSelectHdl, weld::ComboBox &, void) | |
DECL_LINK (ButtonHdl, weld::Button &, void) | |
DECL_LINK (CheckPasswordHdl, SvxPasswordDialog *, bool) | |
DECL_LINK (EditingEntryHdl, const weld::TreeIter &, bool) | |
DECL_LINK (EditedEntryHdl, const IterString &, bool) | |
void | CheckButtons () |
void | DeleteCurrent () |
void | NewLib () |
void | InsertLib () |
void | implExportLib (const OUString &aLibName, const OUString &aTargetURL, const css::uno::Reference< css::task::XInteractionHandler > &Handler) |
void | Export () |
void | ExportAsPackage (const OUString &aLibName) |
void | ExportAsBasic (const OUString &aLibName) |
void | EndTabDialog () |
void | FillListBox () |
void | InsertListBoxEntry (const ScriptDocument &rDocument, LibraryLocation eLocation) |
void | SetCurLib () |
void | ImpInsertLibEntry (const OUString &rLibName, int nPos) |
Private Attributes | |
std::unique_ptr< weld::ComboBox > | m_xBasicsBox |
std::unique_ptr< weld::TreeView > | m_xLibBox |
std::unique_ptr< weld::Button > | m_xEditButton |
std::unique_ptr< weld::Button > | m_xPasswordButton |
std::unique_ptr< weld::Button > | m_xNewLibButton |
std::unique_ptr< weld::Button > | m_xInsertLibButton |
std::unique_ptr< weld::Button > | m_xExportButton |
std::unique_ptr< weld::Button > | m_xDelButton |
ScriptDocument | m_aCurDocument |
LibraryLocation | m_eCurLocation |
Additional Inherited Members | |
Protected Member Functions inherited from basctl::OrganizePage | |
OrganizePage (weld::Container *pParent, const OUString &rUIFile, const OUString &rName, OrganizeDialog *pDialog) | |
virtual | ~OrganizePage () |
Protected Attributes inherited from basctl::OrganizePage | |
OrganizeDialog * | m_pDialog |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::unique_ptr< weld::Container > | m_xContainer |
Definition at line 158 of file moduldlg.hxx.
|
private |
Definition at line 177 of file moduldlg.hxx.
|
explicit |
Definition at line 204 of file moduldl2.cxx.
References CheckButtons(), FillListBox(), Size::Height(), LINK, m_xBasicsBox, m_xDelButton, m_xEditButton, m_xExportButton, m_xInsertLibButton, m_xLibBox, m_xNewLibButton, m_xPasswordButton, SetCurLib(), and Size::Width().
|
overridevirtual |
Definition at line 342 of file moduldl2.cxx.
References i, m_xBasicsBox, and nCount.
|
overridevirtual |
Implements basctl::OrganizePage.
Definition at line 406 of file moduldl2.cxx.
References SetCurLib().
|
private |
Definition at line 355 of file moduldl2.cxx.
References basctl::E_DIALOGS, basctl::E_SCRIPTS, basctl::ScriptDocument::getLibraryContainer(), basctl::LIBRARY_LOCATION_SHARE, m_aCurDocument, m_eCurLocation, m_xDelButton, m_xExportButton, m_xInsertLibButton, m_xLibBox, m_xNewLibButton, and m_xPasswordButton.
Referenced by LibPage().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 1131 of file moduldl2.cxx.
References Any, basctl::E_DIALOGS, basctl::E_SCRIPTS, basctl::GetDispatcher(), basctl::MarkDocumentModified(), and basctl::QueryDelLib().
|
private |
Definition at line 1168 of file moduldl2.cxx.
References RET_OK.
|
private |
Definition at line 906 of file moduldl2.cxx.
References basctl::E_SCRIPTS, basctl::QueryPassword(), and RET_OK.
|
private |
Definition at line 1104 of file moduldl2.cxx.
References aTargetURL, sfx2::createFolderPicker(), basctl::ExtraData::GetAddLibPath(), basctl::GetExtraData(), SvtPathOptions::GetWorkPath(), basctl::IDEResId(), RET_OK, and basctl::ExtraData::SetAddLibPath().
|
private |
Definition at line 1002 of file moduldl2.cxx.
References INetURLObject::All, Any, aURL, sfx2::FileDialogHelper::BasicExportPackage, ucbhelper::Copy, basctl::GetExtraData(), sfx2::FileDialogHelper::GetFilePicker(), INetURLObject::GetMainURL(), comphelper::getProcessComponentContext(), SvtPathOptions::GetTempPath(), basctl::IDEResId(), INetURLObject::insertName(), INetURLObject::LAST_SEGMENT, INetURLObject::NONE, RET_OK, basctl::ExtraData::SetAddLibPath(), sfx2::FileDialogHelper::SetContext(), ucbhelper::Content::transferContent(), u, and ucbhelper::Content::writeStream().
|
private |
Definition at line 1173 of file moduldl2.cxx.
References basctl::LIBRARY_LOCATION_DOCUMENT, basctl::LIBRARY_LOCATION_SHARE, and basctl::LIBRARY_LOCATION_USER.
Referenced by LibPage().
|
private |
Definition at line 1229 of file moduldl2.cxx.
References basctl::E_SCRIPTS, and nPos.
|
private |
Definition at line 951 of file moduldl2.cxx.
References aTargetURL, basctl::E_DIALOGS, and basctl::E_SCRIPTS.
|
private |
Definition at line 547 of file moduldl2.cxx.
References weld::TreeView::append(), sfx2::FileDialogHelper::BasicInsertLib, Application::CreateMessageDialog(), weld::Widget::freeze(), INetURLObject::getBase(), weld::GenericDialogController::getDialog(), INetURLObject::getExtension(), basctl::GetExtraData(), sfx2::FileDialogHelper::GetFilePicker(), basctl::GetMergedLibraryNames(), INetURLObject::getName(), comphelper::getProcessComponentContext(), i, basctl::IDEResId(), m_aCurDocument, basctl::OrganizePage::m_pDialog, weld::TreeView::make_sorted(), weld::TreeView::make_unsorted(), basctl::MarkDocumentModified(), weld::TreeView::n_children(), INetURLObject::NONE, RET_OK, weld::DialogController::runAsync(), weld::TreeView::set_cursor(), weld::TreeView::set_text(), weld::TreeView::set_toggle(), basctl::ExtraData::SetAddLibFilter(), basctl::ExtraData::SetAddLibPath(), sfx2::FileDialogHelper::SetContext(), weld::Widget::thaw(), and TRISTATE_TRUE.
|
private |
Definition at line 1185 of file moduldl2.cxx.
References basctl::ScriptDocument::getTitle(), sId, and weld::toId().
|
private |
Definition at line 542 of file moduldl2.cxx.
References basctl::createLibImpl(), weld::GenericDialogController::getDialog(), m_aCurDocument, basctl::OrganizePage::m_pDialog, and m_xLibBox.
|
private |
Definition at line 1192 of file moduldl2.cxx.
References aDocument, DBG_ASSERT, basctl::DocumentEntry::GetDocument(), basctl::DocumentEntry::GetLocation(), i, and u.
Referenced by ActivatePage(), and LibPage().
|
private |
Definition at line 169 of file moduldlg.hxx.
Referenced by CheckButtons(), InsertLib(), and NewLib().
|
private |
Definition at line 170 of file moduldlg.hxx.
Referenced by CheckButtons().
|
private |
Definition at line 160 of file moduldlg.hxx.
Referenced by LibPage(), and ~LibPage().
|
private |
Definition at line 167 of file moduldlg.hxx.
Referenced by CheckButtons(), and LibPage().
|
private |
Definition at line 162 of file moduldlg.hxx.
Referenced by LibPage().
|
private |
Definition at line 166 of file moduldlg.hxx.
Referenced by CheckButtons(), and LibPage().
|
private |
Definition at line 165 of file moduldlg.hxx.
Referenced by CheckButtons(), and LibPage().
|
private |
Definition at line 161 of file moduldlg.hxx.
Referenced by CheckButtons(), LibPage(), and NewLib().
|
private |
Definition at line 164 of file moduldlg.hxx.
Referenced by CheckButtons(), and LibPage().
|
private |
Definition at line 163 of file moduldlg.hxx.
Referenced by CheckButtons(), and LibPage().