35 void Organize(
weld::Window* pParent,
const css::uno::Reference<css::frame::XFrame>& xDocFrame, sal_Int16 tabId);
44 void BasicStopped(
bool* pbAppWindowDisabled =
nullptr,
bool* pbDispatcherLocked =
nullptr, sal_uInt16* pnWaitCount =
nullptr,
60 const css::uno::Reference< css::script::XLibraryContainer >& xModLibContainer,
61 const css::uno::Reference< css::script::XLibraryContainer >& xDlgLibContainer );
69 const OUString& rLibName,
const OUString& rOldName,
const OUString& rNewName );
74 const css::uno::Reference< css::frame::XModel >& rxLimitToDocument,
const css::uno::Reference< css::frame::XFrame >& xDocFrame,
77 {
return ChooseMacro(pParent, rLimitToDocument, css::uno::Reference< css::frame::XFrame >(),
false); }
82 const ScriptDocument& rDocument,
const OUString& rLibName,
const OUString& rModName );
85 const ScriptDocument& rDocument,
const OUString& rLibName,
const OUString& rModName,
const OUString& rMethName );
97 bool RenameDialog(
weld::Widget* pErrorParent,
const ScriptDocument& rDocument,
const OUString& rLibName,
const OUString& rOldName,
const OUString& rNewName);
99 bool RemoveDialog(
const ScriptDocument& rDocument,
const OUString& rLibName,
const OUString& rDlgName );
encapsulates a document which contains Basic scripts and dialogs
void RunMethod(SbMethod const *pMethod)
SfxBindings * GetBindingsPtr()
tools::Long HandleBasicError(StarBASIC const *pBasic)
void BasicStopped(bool *pbAppWindowDisabled, bool *pbDispatcherLocked, sal_uInt16 *pnWaitCount, SfxUInt16Item **ppSWActionCount, SfxUInt16Item **ppSWLockViewCount)
bool HasMethod(ScriptDocument const &rDocument, OUString const &rLibName, OUString const &rModName, OUString const &rMethName)
bool IsValidSbxName(std::u16string_view rName)
OUString ChooseMacro(weld::Window *pParent, const uno::Reference< frame::XModel > &rxLimitToDocument, const uno::Reference< frame::XFrame > &xDocFrame, bool bChooseOnly)
SbMethod * CreateMacro(SbModule *pModule, const OUString &rMacroName)
void Organize(weld::Window *pParent, const css::uno::Reference< css::frame::XFrame > &xDocFrame, sal_Int16 tabId)
bool RemoveDialog(const ScriptDocument &rDocument, const OUString &rLibName, const OUString &rDlgName)
SfxDispatcher * GetDispatcher()
void MarkDocumentModified(const ScriptDocument &rDocument)
BasicManager * FindBasicManager(StarBASIC const *pLib)
StarBASIC * FindBasic(const SbxVariable *pVar)
void InvalidateDebuggerSlots()
bool RenameDialog(weld::Widget *pErrorParent, ScriptDocument const &rDocument, OUString const &rLibName, OUString const &rOldName, OUString const &rNewName)
renames a dialog
bool RenameModule(weld::Widget *pErrorParent, const ScriptDocument &rDocument, const OUString &rLibName, const OUString &rOldName, const OUString &rNewName)
renames a module
Sequence< OUString > GetMethodNames(const ScriptDocument &rDocument, const OUString &rLibName, const OUString &rModName)
Sequence< OUString > GetMergedLibraryNames(const Reference< script::XLibraryContainer > &xModLibContainer, const Reference< script::XLibraryContainer > &xDlgLibContainer)