28#include <com/sun/star/task/XInteractionHandler.hpp>
30class SvxPasswordDialog;
139 typedef std::pair<const weld::TreeIter&, OUString>
IterString;
175 DECL_LINK( CheckPasswordHdl, SvxPasswordDialog *,
bool );
177 typedef std::pair<const weld::TreeIter&, OUString>
IterString;
184 void implExportLib(
const OUString& aLibName,
const OUString& aTargetURL,
185 const css::uno::Reference< css::task::XInteractionHandler >& Handler );
211 void SetCurrentEntry(
const css::uno::Reference<css::frame::XFrame>& xDocFrame);
220 SbTreeListBox& rBasicBox,
const OUString& rLibName,
const OUString& aModName,
bool bMain);
virtual ~ExportDialog() override
bool isExportAsPackage() const
ExportDialog(weld::Window *pParent)
DECL_LINK(OkButtonHandler, weld::Button &, void)
std::unique_ptr< weld::RadioButton > m_xExportAsPackageButton
std::unique_ptr< weld::Button > m_xOKButton
virtual ~GotoLineDialog() override
sal_Int32 GetLineNumber() const
std::unique_ptr< weld::Button > m_xOKButton
std::unique_ptr< weld::Entry > m_xEdit
DECL_LINK(OkButtonHandler, weld::Button &, void)
GotoLineDialog(weld::Window *pParent)
std::unique_ptr< weld::TreeView > m_xLibBox
std::unique_ptr< weld::CheckButton > m_xReferenceBox
void SetStorageName(std::u16string_view rName)
weld::TreeView & GetLibBox()
std::unique_ptr< weld::Frame > m_xStorageFrame
void EnableReference(bool b)
virtual ~LibDialog() override
LibDialog(weld::Window *pParent)
std::unique_ptr< weld::CheckButton > m_xReplaceBox
void ExportAsBasic(const OUString &aLibName)
LibPage(weld::Container *pParent, OrganizeDialog *pDialog)
std::unique_ptr< weld::TreeView > m_xLibBox
DECL_LINK(EditedEntryHdl, const IterString &, bool)
std::unique_ptr< weld::Button > m_xInsertLibButton
virtual void ActivatePage() override
virtual ~LibPage() override
DECL_LINK(ButtonHdl, weld::Button &, void)
DECL_LINK(EditingEntryHdl, const weld::TreeIter &, bool)
DECL_LINK(BasicSelectHdl, weld::ComboBox &, void)
std::unique_ptr< weld::Button > m_xEditButton
std::unique_ptr< weld::ComboBox > m_xBasicsBox
void ImpInsertLibEntry(const OUString &rLibName, int nPos)
std::unique_ptr< weld::Button > m_xNewLibButton
void InsertListBoxEntry(const ScriptDocument &rDocument, LibraryLocation eLocation)
std::pair< const weld::TreeIter &, OUString > IterString
std::unique_ptr< weld::Button > m_xPasswordButton
std::unique_ptr< weld::Button > m_xExportButton
DECL_LINK(TreeListHighlightHdl, weld::TreeView &, void)
void implExportLib(const OUString &aLibName, const OUString &aTargetURL, const css::uno::Reference< css::task::XInteractionHandler > &Handler)
ScriptDocument m_aCurDocument
DECL_LINK(CheckPasswordHdl, SvxPasswordDialog *, bool)
void ExportAsPackage(const OUString &aLibName)
LibraryLocation m_eCurLocation
std::unique_ptr< weld::Button > m_xDelButton
DECL_LINK(OkButtonHandler, weld::Button &, void)
std::unique_ptr< weld::Button > m_xOKButton
OUString GetObjectName() const
NewObjectDialog(weld::Window *pParent, ObjectMode, bool bCheckName=false)
std::unique_ptr< weld::Entry > m_xEdit
void SetObjectName(const OUString &rName)
DECL_LINK(EditingEntryHdl, const weld::TreeIter &, bool)
bool GetSelection(ScriptDocument &rDocument, OUString &rLibName)
std::unique_ptr< SbTreeListBox > m_xBasicBox
std::pair< const weld::TreeIter &, OUString > IterString
std::unique_ptr< SbTreeListBoxDropTarget > m_xDropTarget
void SetCurrentEntry(const EntryDescriptor &rDesc)
std::unique_ptr< weld::Button > m_xNewModButton
ObjectPage(weld::Container *pParent, const OUString &rName, BrowseMode nMode, OrganizeDialog *pDialog)
DECL_LINK(EditedEntryHdl, const IterString &, bool)
virtual void ActivatePage() override
DECL_LINK(BasicBoxHighlightHdl, weld::TreeView &, void)
std::unique_ptr< weld::Button > m_xNewDlgButton
std::unique_ptr< weld::Button > m_xDelButton
virtual ~ObjectPage() override
std::unique_ptr< weld::Button > m_xEditButton
DECL_LINK(ButtonHdl, weld::Button &, void)
DECL_LINK(ActivatePageHdl, const OUString &, void)
std::unique_ptr< ObjectPage > m_xDialogPage
std::unique_ptr< weld::Notebook > m_xTabCtrl
std::unique_ptr< ObjectPage > m_xModulePage
std::unique_ptr< LibPage > m_xLibPage
OrganizeDialog(weld::Window *pParent, const css::uno::Reference< css::frame::XFrame > &xDocFrame, sal_Int16 tabId)
virtual ~OrganizeDialog() override
void SetCurrentEntry(const css::uno::Reference< css::frame::XFrame > &xDocFrame)
virtual void ActivatePage()=0
std::unique_ptr< weld::Container > m_xContainer
std::unique_ptr< weld::Builder > m_xBuilder
OrganizeDialog * m_pDialog
OrganizePage(weld::Container *pParent, const OUString &rUIFile, const OUString &rName, OrganizeDialog *pDialog)
encapsulates a document which contains Basic scripts and dialogs
void createLibImpl(weld::Window *pWin, const ScriptDocument &rDocument, weld::TreeView *pLibBox, SbTreeListBox *pBasicBox)
SbModule * createModImpl(weld::Window *pWin, const ScriptDocument &rDocument, SbTreeListBox &rBasicBox, const OUString &rLibName, const OUString &_aModName, bool bMain)