25#include <com/sun/star/container/XContainerListener.hpp>
63 typedef std::map<sal_uInt16, VclPtr<BaseWindow> >
WindowTable;
110 void SetCurLib(
const ScriptDocument& rDocument,
const OUString& aLibName,
bool bUpdateWindows =
true ,
bool bCheck =
true );
133 virtual void Activate(
bool bMDI)
override;
136 virtual void Move()
override;
137 virtual void ShowCursor(
bool bOn =
true )
override;
160 virtual ~
Shell() override;
179 virtual css::uno::Reference< css::view::XRenderable >
GetRenderable()
override;
184 virtual OUString
GetSelectionText(
bool bCompleteWords =
false,
bool bOnlyASample =
false )
override;
185 virtual bool HasSelection(
bool bText =
true )
const override;
211 css::uno::Reference< css::io::XInputStreamProvider >& io_xISP,
213 const OUString& rDestLibName, std::u16string_view rDlgName );
217 virtual css::uno::Reference< css::frame::XModel >
basctl::Shell basctl_Shell
VclPtr< vcl::Window > pWindow
allows registering at theGlobalEventBroadcaster for global document events
encapsulates a document which contains Basic scripts and dialogs
virtual bool HasUIFeature(SfxShellFeature nFeature) const override
bool CallBasicErrorHdl(StarBASIC const *pBasic)
virtual void Notify(SfxBroadcaster &rBC, const SfxHint &rHint) override
void RemoveWindow(BaseWindow *pWindow, bool bDestroy, bool bAllowChangeCurWindow=true)
SFX_DECL_VIEWFACTORY(Shell)
DocumentEventNotifier m_aNotifier
sal_uInt16 GetCurrentZoomSliderValue()
static void InvalidateControlSlots()
void UpdateObjectCatalog()
virtual void ShowCursor(bool bOn=true) override
virtual bool PrepareClose(bool bUI=true) override
void ExecuteCurrent(SfxRequest &rReq)
std::shared_ptr< LocalizationMgr > m_pCurLocalizationMgr
void SetCurLib(const ScriptDocument &rDocument, const OUString &aLibName, bool bUpdateWindows=true, bool bCheck=true)
void SetGlobalEditorZoomLevel(sal_uInt16 nNewZoomLevel)
virtual void onDocumentOpened(const ScriptDocument &_rDocument) override
VclPtr< ModulWindow > FindBasWin(const ScriptDocument &rDocument, const OUString &rLibName, const OUString &rModName, bool bCreateIfNotExist=false, bool bFindSuspended=false)
void ExecuteSearch(SfxRequest &rReq)
virtual bool HasSelection(bool bText=true) const override
virtual css::uno::Reference< css::frame::XModel > GetCurrentDocument() const override
VclPtr< BaseWindow > FindWindow(const ScriptDocument &rDocument, std::u16string_view rLibName, std::u16string_view rName, ItemType nType, bool bFindSuspended=false)
BaseWindow * GetCurWindow() const
sal_uInt16 GetWindowId(BaseWindow const *pWin) const
void SetCurLibForLocalization(const ScriptDocument &rDocument, const OUString &aLibName)
void ExecuteGlobal(SfxRequest &rReq)
static unsigned nShellCount
bool IsAppBasicModified() const
virtual void onDocumentCreated(const ScriptDocument &_rDocument) override
virtual void Activate(bool bMDI) override
VclPtr< ModulWindow > ShowActiveModuleWindow(StarBASIC const *pBasic)
std::map< sal_uInt16, VclPtr< BaseWindow > > WindowTable
virtual void onDocumentClosed(const ScriptDocument &_rDocument) override
VclPtr< ScrollAdaptor > aVScrollBar
void SetAppBasicModified(bool bModified)
BasicDebugFlags CallBasicBreakHdl(StarBASIC const *pBasic)
VclPtr< ModulWindowLayout > pModulLayout
static void InitInterface_Impl()
SfxInterface initializer.
friend class JavaDebuggingListenerImpl
static sal_uInt16 GetMinZoom()
bool NextPage(bool bPrev)
ScriptDocument m_aCurDocument
virtual void onDocumentSaveAsDone(const ScriptDocument &_rDocument) override
SdrView * GetCurDlgView() const
virtual void onDocumentSave(const ScriptDocument &_rDocument) override
void GetState(SfxItemSet &)
static void CopyDialogResources(css::uno::Reference< css::io::XInputStreamProvider > &io_xISP, const ScriptDocument &rSourceDoc, const OUString &rSourceLibName, const ScriptDocument &rDestDoc, const OUString &rDestLibName, std::u16string_view rDlgName)
WindowTable & GetWindowTable()
VclPtr< DialogWindow > FindDlgWin(const ScriptDocument &rDocument, const OUString &rLibName, const OUString &rName, bool bCreateIfNotExist=false, bool bFindSuspended=false)
const std::shared_ptr< LocalizationMgr > & GetCurLocalizationMgr() const
VclPtr< BaseWindow > FindApplicationWindow()
VclPtr< ModulWindow > CreateBasWin(const ScriptDocument &rDocument, const OUString &rLibName, const OUString &rModName)
VclPtr< DialogWindow > CreateDlgWin(const ScriptDocument &rDocument, const OUString &rLibName, const OUString &rDlgName)
void RemoveWindows(const ScriptDocument &rDocument, std::u16string_view rLibName)
virtual SfxPrinter * GetPrinter(bool bCreate=false) override
SfxUndoManager * GetUndoManager() override
std::unique_ptr< SvxSearchItem > mpSearchItem
void ExecuteDialog(SfxRequest &rReq)
virtual void onDocumentTitleChanged(const ScriptDocument &_rDocument) override
virtual sal_uInt16 SetPrinter(SfxPrinter *pNewPrinter, SfxPrinterChangeFlags nDiffFlags=SFX_PRINTER_ALL) override
VclPtr< ObjectCatalog > aObjectCatalog
virtual void OuterResizePixel(const Point &rPos, const Size &rSize) override
VclPtr< ScrollAdaptor > aHScrollBar
void ExecuteBasic(SfxRequest &rReq)
sal_uInt16 m_nCurrentZoomSliderValue
virtual OUString GetSelectionText(bool bCompleteWords=false, bool bOnlyASample=false) override
virtual void onDocumentSaveDone(const ScriptDocument &_rDocument) override
OUString const & GetCurLibName() const
virtual void onDocumentSaveAs(const ScriptDocument &_rDocument) override
css::uno::Reference< css::container::XContainerListener > m_xLibListener
virtual css::uno::Reference< css::view::XRenderable > GetRenderable() override
sal_uInt16 InsertWindowInTable(BaseWindow *pNewWin)
VclPtr< BaseWindow > pCurWin
void SetCurWindow(BaseWindow *pNewWin, bool bUpdateTabBar=false, bool bRememberAsCurrent=true)
virtual void Move() override
virtual void onDocumentModeChanged(const ScriptDocument &_rDocument) override
void AdjustPosSizePixel(const Point &rPos, const Size &rSize)
static sal_uInt16 GetMaxZoom()
void StoreAllWindowData(bool bPersistent=true)
friend bool implImportDialog(weld::Window *pWin, const ScriptDocument &rDocument, const OUString &rLibName)
virtual void Deactivate(bool bMDI) override
static void InvalidateBasicIDESlots()
DECL_LINK(TabBarHdl, ::TabBar *, void)
VclPtr< DialogWindowLayout > pDialogLayout
constexpr sal_uInt16 DEFAULT_ZOOM_LEVEL
constexpr sal_uInt16 MIN_ZOOM_LEVEL
constexpr sal_uInt16 MAX_ZOOM_LEVEL
#define SFX_DECL_INTERFACE(nId)