LibreOffice Module basctl (master) 1
|
#include <basidesh.hxx>
Public Types | |
typedef std::map< sal_uInt16, VclPtr< BaseWindow > > | WindowTable |
Public Member Functions | |
SFX_DECL_VIEWFACTORY (Shell) | |
Shell (SfxViewFrame &rFrame, SfxViewShell *pOldSh) | |
virtual | ~Shell () override |
BaseWindow * | GetCurWindow () const |
OUString const & | GetCurLibName () const |
const std::shared_ptr< LocalizationMgr > & | GetCurLocalizationMgr () const |
TabBar & | GetTabBar () |
WindowTable & | GetWindowTable () |
sal_uInt16 | GetWindowId (BaseWindow const *pWin) const |
SdrView * | GetCurDlgView () const |
SfxUndoManager * | GetUndoManager () override |
void | SetGlobalEditorZoomLevel (sal_uInt16 nNewZoomLevel) |
sal_uInt16 | GetCurrentZoomSliderValue () |
virtual css::uno::Reference< css::view::XRenderable > | GetRenderable () override |
virtual SfxPrinter * | GetPrinter (bool bCreate=false) override |
virtual sal_uInt16 | SetPrinter (SfxPrinter *pNewPrinter, SfxPrinterChangeFlags nDiffFlags=SFX_PRINTER_ALL) override |
virtual OUString | GetSelectionText (bool bCompleteWords=false, bool bOnlyASample=false) override |
virtual bool | HasSelection (bool bText=true) const override |
void | GetState (SfxItemSet &) |
void | ExecuteGlobal (SfxRequest &rReq) |
void | ExecuteSearch (SfxRequest &rReq) |
void | ExecuteCurrent (SfxRequest &rReq) |
void | ExecuteBasic (SfxRequest &rReq) |
void | ExecuteDialog (SfxRequest &rReq) |
virtual bool | HasUIFeature (SfxShellFeature nFeature) const override |
bool | CallBasicErrorHdl (StarBASIC const *pBasic) |
BasicDebugFlags | CallBasicBreakHdl (StarBASIC const *pBasic) |
VclPtr< BaseWindow > | FindWindow (const ScriptDocument &rDocument, std::u16string_view rLibName, std::u16string_view rName, ItemType nType, bool bFindSuspended=false) |
VclPtr< DialogWindow > | FindDlgWin (const ScriptDocument &rDocument, const OUString &rLibName, const OUString &rName, bool bCreateIfNotExist=false, bool bFindSuspended=false) |
VclPtr< ModulWindow > | FindBasWin (const ScriptDocument &rDocument, const OUString &rLibName, const OUString &rModName, bool bCreateIfNotExist=false, bool bFindSuspended=false) |
VclPtr< BaseWindow > | FindApplicationWindow () |
bool | NextPage (bool bPrev) |
bool | IsAppBasicModified () const |
void | SetAppBasicModified (bool bModified) |
virtual css::uno::Reference< css::frame::XModel > | GetCurrentDocument () const override |
void | UpdateObjectCatalog () |
void | RemoveWindow (BaseWindow *pWindow, bool bDestroy, bool bAllowChangeCurWindow=true) |
Public Member Functions inherited from SfxViewShell | |
SfxViewShell (SfxViewFrame &rFrame, SfxViewShellFlags nFlags) | |
virtual | ~SfxViewShell () override |
SfxInPlaceClient * | GetIPClient () const |
SfxInPlaceClient * | GetUIActiveClient () const |
SfxInPlaceClient * | FindIPClient (const css::uno::Reference< css::embed::XEmbeddedObject > &xObj, vcl::Window *pObjParentWin) const |
virtual ErrCode | DoVerb (sal_Int32 nVerb) |
void | OutplaceActivated (bool bActive) |
virtual void | UIActivating (SfxInPlaceClient *pClient) |
virtual void | UIDeactivated (SfxInPlaceClient *pClient) |
void | JumpToMark (const OUString &rMark) |
void | VisAreaChanged () |
virtual bool | PrepareClose (bool bUI=true) |
virtual OUString | GetSelectionText (bool bCompleteWords=false, bool bOnlyASample=false) |
virtual bool | HasSelection (bool bText=true) const |
virtual SdrView * | GetDrawView () const |
void | AddSubShell (SfxShell &rShell) |
void | RemoveSubShell (SfxShell *pShell=nullptr) |
SfxShell * | GetSubShell (sal_uInt16) |
virtual SfxShell * | GetFormShell () |
virtual const SfxShell * | GetFormShell () const |
virtual void | notifyWindow (vcl::LOKWindowId nLOKWindowId, const OUString &rAction, const std::vector< vcl::LOKPayloadItem > &rPayload=std::vector< vcl::LOKPayloadItem >()) const override |
virtual void | ShowCursor (bool bOn=true) |
virtual bool | KeyInput (const KeyEvent &rKeyEvent) |
bool | Escape () |
vcl::Window * | GetWindow () const |
weld::Window * | GetFrameWeld () const |
void | SetWindow (vcl::Window *pViewPort) |
const SvBorder & | GetBorderPixel () const |
void | SetBorderPixel (const SvBorder &rBorder) |
void | InvalidateBorder () |
SfxViewFrame & | GetViewFrame () const |
virtual SfxPrinter * | GetPrinter (bool bCreate=false) |
virtual sal_uInt16 | SetPrinter (SfxPrinter *pNewPrinter, SfxPrinterChangeFlags nDiffFlags=SFX_PRINTER_ALL) |
virtual bool | HasPrintOptionsPage () const |
virtual std::unique_ptr< SfxTabPage > | CreatePrintOptionsPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rOptions) |
Printer * | GetActivePrinter () const |
virtual void | WriteUserData (OUString &, bool bBrowse=false) |
virtual void | ReadUserData (const OUString &, bool bBrowse=false) |
virtual void | WriteUserDataSequence (css::uno::Sequence< css::beans::PropertyValue > &) |
virtual void | ReadUserDataSequence (const css::uno::Sequence< css::beans::PropertyValue > &) |
virtual void | QueryObjAreaPixel (tools::Rectangle &rRect) const |
virtual SfxObjectShell * | GetObjectShell () override |
virtual css::uno::Reference< css::frame::XModel > | GetCurrentDocument () const |
void | SetCurrentDocument () const |
virtual css::uno::Reference< css::view::XRenderable > | GetRenderable () |
virtual void | MarginChanged () |
const Size & | GetMargin () const |
void | SetMargin (const Size &) |
void | DisconnectAllClients () |
bool | NewWindowAllowed () const |
void | SetNewWindowAllowed (bool bSet) |
void | SetController (SfxBaseController *pController) |
css::uno::Reference< css::frame::XController > | GetController () const |
bool | TryContextMenuInterception (const rtl::Reference< VCLXPopupMenu > &rIn, const OUString &rMenuIdentifier, rtl::Reference< VCLXPopupMenu > &rOut, css::ui::ContextMenuExecuteEvent aEvent) |
bool | TryContextMenuInterception (const rtl::Reference< VCLXPopupMenu > &, const OUString &rMenuIdentifier, css::ui::ContextMenuExecuteEvent aEvent) |
void | ExecPrint (const css::uno::Sequence< css::beans::PropertyValue > &, bool, bool) |
void | StartPrint (const css::uno::Sequence< css::beans::PropertyValue > &, bool, bool) |
const std::shared_ptr< vcl::PrinterController > & | GetPrinterController () const |
void | AddRemoveClipboardListener (const css::uno::Reference< css::datatransfer::clipboard::XClipboardListener > &, bool) |
css::uno::Reference< css::datatransfer::clipboard::XClipboardNotifier > | GetClipboardNotifier () const |
SAL_DLLPRIVATE SfxInPlaceClient * | GetUIActiveIPClient_Impl () const |
SAL_DLLPRIVATE void | AddContextMenuInterceptor_Impl (const css::uno::Reference< css::ui::XContextMenuInterceptor > &xInterceptor) |
SAL_DLLPRIVATE void | RemoveContextMenuInterceptor_Impl (const css::uno::Reference< css::ui::XContextMenuInterceptor > &xInterceptor) |
SAL_DLLPRIVATE bool | GlobalKeyInput_Impl (const KeyEvent &rKeyEvent) |
SAL_DLLPRIVATE void | NewIPClient_Impl (SfxInPlaceClient *pIPClient) |
SAL_DLLPRIVATE void | IPClientGone_Impl (SfxInPlaceClient const *pIPClient) |
SAL_DLLPRIVATE void | ResetAllClients_Impl (SfxInPlaceClient const *pIP) |
SAL_DLLPRIVATE void | SetPrinter_Impl (VclPtr< SfxPrinter > &pNewPrinter) |
SAL_DLLPRIVATE bool | HandleNotifyEvent_Impl (NotifyEvent const &rEvent) |
SAL_DLLPRIVATE bool | HasKeyListeners_Impl () const |
SAL_DLLPRIVATE bool | HasMouseClickListeners_Impl () const |
SAL_DLLPRIVATE SfxBaseController * | GetBaseController_Impl () const |
SAL_DLLPRIVATE void | ExecPrint_Impl (SfxRequest &) |
SAL_DLLPRIVATE void | ExecMisc_Impl (SfxRequest &) |
SAL_DLLPRIVATE void | GetState_Impl (SfxItemSet &) |
SAL_DLLPRIVATE void | CheckIPClient_Impl (SfxInPlaceClient const *, const tools::Rectangle &) |
SAL_DLLPRIVATE void | PushSubShells_Impl (bool bPush=true) |
SAL_DLLPRIVATE void | PopSubShells_Impl () |
SAL_DLLPRIVATE bool | ExecKey_Impl (const KeyEvent &aKey) |
void | setLibreOfficeKitViewCallback (SfxLokCallbackInterface *pCallback) |
SfxLokCallbackInterface * | getLibreOfficeKitViewCallback () const |
void | dumpLibreOfficeKitViewState (rtl::OStringBuffer &rState) |
virtual void | libreOfficeKitViewCallback (int nType, const OString &pPayload) const override |
virtual void | libreOfficeKitViewCallbackWithViewId (int nType, const OString &pPayload, int nViewId) const override |
virtual void | libreOfficeKitViewInvalidateTilesCallback (const tools::Rectangle *pRect, int nPart, int nMode) const override |
virtual void | libreOfficeKitViewUpdatedCallback (int nType) const override |
virtual void | libreOfficeKitViewUpdatedCallbackPerViewId (int nType, int nViewId, int nSourceViewId) const override |
virtual void | flushPendingLOKInvalidateTiles () |
virtual void | libreOfficeKitViewAddPendingInvalidateTiles () override |
virtual std::optional< OString > | getLOKPayload (int nType, int nViewId) const |
void | setTiledSearching (bool bTiledSearching) |
virtual int | getPart () const |
virtual int | getEditMode () const |
virtual void | dumpAsXml (xmlTextWriterPtr pWriter) const |
ViewShellId | GetViewShellId () const override |
ViewShellDocId | GetDocId () const override |
virtual void | notifyInvalidation (tools::Rectangle const *) const override |
void | NotifyOtherViews (int nType, const OString &rKey, const OString &rPayload) override |
void | NotifyOtherView (OutlinerViewShell *pOtherShell, int nType, const OString &rKey, const OString &rPayload) override |
virtual void | NotifyCursor (SfxViewShell *) const |
virtual void | afterCallbackRegistered () |
virtual vcl::Window * | GetEditWindowForActiveOLEObj () const override |
virtual ::Color | GetColorConfigColor (svtools::ColorConfigEntry nColorType) const |
virtual OUString | GetColorConfigName () const |
void | SetLOKLanguageTag (const OUString &rBcp47LanguageTag) |
const LanguageTag & | GetLOKLanguageTag () const |
void | SetLOKAccessibilityState (bool bEnabled) |
std::pair< bool, OUString > | GetLOKTimezone () const |
void | SetLOKTimezone (bool isSet, const OUString &rTimezone) |
void | SetLOKLocale (const OUString &rBcp47LanguageTag) |
const LanguageTag & | GetLOKLocale () const |
LOKDeviceFormFactor | GetLOKDeviceFormFactor () const |
bool | isLOKDesktop () const |
bool | isLOKTablet () const |
bool | isLOKMobilePhone () const |
virtual tools::Rectangle | getLOKVisibleArea () const |
void | setBlockedCommandList (const char *blockedCommandList) |
bool | isBlockedCommand (OUString command) |
void | SetStoringHelper (std::shared_ptr< SfxStoringHelper > xHelper) |
StylesHighlighterColorMap & | GetStylesHighlighterParaColorMap () |
StylesHighlighterColorMap & | GetStylesHighlighterCharColorMap () |
OUString | getA11yFocusedParagraph () const |
int | getA11yCaretPosition () const |
Public Member Functions inherited from SfxShell | |
virtual | ~SfxShell () override |
virtual SfxInterface * | GetInterface () const |
void | SetName (const OUString &rName) |
const OUString & | GetName () const |
SfxViewShell * | GetViewShell () const |
const SfxPoolItem * | GetSlotState (sal_uInt16 nSlotId, const SfxInterface *pIF=nullptr, SfxItemSet *pStateSet=nullptr) |
const SfxPoolItem * | ExecuteSlot (SfxRequest &rReq, const SfxInterface *pIF=nullptr) |
void | ExecuteSlot (SfxRequest &rReq, bool bAsync) |
SfxItemPool & | GetPool () const |
void | SetPool (SfxItemPool *pNewPool) |
virtual SfxUndoManager * | GetUndoManager () |
void | SetUndoManager (SfxUndoManager *pNewUndoMgr) |
SfxRepeatTarget * | GetRepeatTarget () const |
void | SetRepeatTarget (SfxRepeatTarget *pTarget) |
virtual void | Invalidate (sal_uInt16 nId=0) |
virtual bool | IsDesignMode () const |
bool | IsActive () const |
virtual void | Activate (bool bMDI) |
virtual void | Deactivate (bool bMDI) |
SfxDispatcher * | GetDispatcher () const |
SfxViewFrame * | GetFrame () const |
virtual bool | HasUIFeature (SfxShellFeature nFeature) const |
void | UIFeatureChanged () |
const SfxPoolItem * | GetItem (sal_uInt16 nSlotId) const |
const T * | GetItem (TypedWhichId< T > nWhich) const |
void | PutItem (const SfxPoolItem &rItem) |
void | SetVerbs (const css::uno::Sequence< css::embed::VerbDescriptor > &aVerbs) |
const css::uno::Sequence< css::embed::VerbDescriptor > & | GetVerbs () const |
void | VerbExec (SfxRequest &) |
SAL_DLLPRIVATE const SfxSlot * | GetVerbSlot_Impl (sal_uInt16 nId) const |
virtual SfxObjectShell * | GetObjectShell () |
void | SetDisableFlags (SfxDisableFlags nFlags) |
SfxDisableFlags | GetDisableFlags () const |
virtual std::optional< SfxItemSet > | CreateItemSet (sal_uInt16 nId) |
virtual void | ApplyItemSet (sal_uInt16 nId, const SfxItemSet &rSet) |
void | SetContextName (const OUString &rsContextName) |
void | BroadcastContextForActivation (const bool bIsActivated) |
bool | SetContextBroadcasterEnabled (const bool bIsEnabled) |
SAL_DLLPRIVATE bool | CanExecuteSlot_Impl (const SfxSlot &rSlot) |
virtual bool | IsConditionalFastCall (const SfxRequest &rReq) |
SAL_DLLPRIVATE void | DoActivate_Impl (SfxViewFrame *pFrame, bool bMDI) |
SAL_DLLPRIVATE void | DoDeactivate_Impl (SfxViewFrame const *pFrame, bool bMDI) |
Public Member Functions inherited from basctl::DocumentEventListener | |
DocumentEventListener (const DocumentEventListener &)=delete | |
const DocumentEventListener & | operator= (const DocumentEventListener &)=delete |
DocumentEventListener ()=default | |
virtual void | onDocumentCreated (const ScriptDocument &_rDocument)=0 |
virtual void | onDocumentOpened (const ScriptDocument &_rDocument)=0 |
virtual void | onDocumentSave (const ScriptDocument &_rDocument)=0 |
virtual void | onDocumentSaveDone (const ScriptDocument &_rDocument)=0 |
virtual void | onDocumentSaveAs (const ScriptDocument &_rDocument)=0 |
virtual void | onDocumentSaveAsDone (const ScriptDocument &_rDocument)=0 |
virtual void | onDocumentClosed (const ScriptDocument &_rDocument)=0 |
virtual void | onDocumentTitleChanged (const ScriptDocument &_rDocument)=0 |
virtual void | onDocumentModeChanged (const ScriptDocument &_rDocument)=0 |
virtual | ~DocumentEventListener () |
Static Public Member Functions | |
static sal_uInt16 | GetMinZoom () |
static sal_uInt16 | GetMaxZoom () |
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) |
static void | InvalidateControlSlots () |
Static Public Member Functions inherited from SfxViewShell | |
static SAL_WARN_UNUSED_RESULT SfxViewShell * | GetFirst (bool bOnlyVisible=true, const std::function< bool(const SfxViewShell *)> &isViewShell=nullptr) |
static SAL_WARN_UNUSED_RESULT SfxViewShell * | GetNext (const SfxViewShell &rPrev, bool bOnlyVisible=true, const std::function< bool(const SfxViewShell *)> &isViewShell=nullptr) |
static SAL_WARN_UNUSED_RESULT SfxViewShell * | Current () |
static SAL_WARN_UNUSED_RESULT SfxViewShell * | Get (const css::uno::Reference< css::frame::XController > &i_rController) |
static void | SetCurrentDocId (ViewShellDocId nId) |
Static Public Member Functions inherited from SfxShell | |
static SfxInterface * | GetStaticInterface () |
static void | EmptyExecStub (SfxShell *pShell, SfxRequest &) |
static void | EmptyStateStub (SfxShell *pShell, SfxItemSet &) |
static void | VerbState (SfxItemSet &) |
Private Member Functions | |
void | Init () |
void | InitTabBar () |
void | InitScrollBars () |
void | InitZoomLevel () |
void | CheckWindows () |
void | RemoveWindows (const ScriptDocument &rDocument, std::u16string_view rLibName) |
void | UpdateWindows () |
void | StoreAllWindowData (bool bPersistent=true) |
void | SetMDITitle () |
void | SetCurLib (const ScriptDocument &rDocument, const OUString &aLibName, bool bUpdateWindows=true, bool bCheck=true) |
void | SetCurLibForLocalization (const ScriptDocument &rDocument, const OUString &aLibName) |
DECL_LINK (TabBarHdl, ::TabBar *, void) | |
void | AdjustPosSizePixel (const Point &rPos, const Size &rSize) |
virtual void | OuterResizePixel (const Point &rPos, const Size &rSize) override |
sal_uInt16 | InsertWindowInTable (BaseWindow *pNewWin) |
virtual bool | PrepareClose (bool bUI=true) override |
void | SetCurWindow (BaseWindow *pNewWin, bool bUpdateTabBar=false, bool bRememberAsCurrent=true) |
void | ManageToolbars () |
VclPtr< ModulWindow > | CreateBasWin (const ScriptDocument &rDocument, const OUString &rLibName, const OUString &rModName) |
VclPtr< DialogWindow > | CreateDlgWin (const ScriptDocument &rDocument, const OUString &rLibName, const OUString &rDlgName) |
VclPtr< ModulWindow > | ShowActiveModuleWindow (StarBASIC const *pBasic) |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
virtual void | Activate (bool bMDI) override |
virtual void | Deactivate (bool bMDI) override |
virtual void | Move () override |
virtual void | ShowCursor (bool bOn=true) override |
virtual void | onDocumentCreated (const ScriptDocument &_rDocument) override |
virtual void | onDocumentOpened (const ScriptDocument &_rDocument) override |
virtual void | onDocumentSave (const ScriptDocument &_rDocument) override |
virtual void | onDocumentSaveDone (const ScriptDocument &_rDocument) override |
virtual void | onDocumentSaveAs (const ScriptDocument &_rDocument) override |
virtual void | onDocumentSaveAsDone (const ScriptDocument &_rDocument) override |
virtual void | onDocumentClosed (const ScriptDocument &_rDocument) override |
virtual void | onDocumentTitleChanged (const ScriptDocument &_rDocument) override |
virtual void | onDocumentModeChanged (const ScriptDocument &_rDocument) override |
Static Private Member Functions | |
static void | InvalidateBasicIDESlots () |
static void | InitInterface_Impl () |
SfxInterface initializer. More... | |
Private Attributes | |
WindowTable | aWindowTable |
sal_uInt16 | nCurKey |
VclPtr< BaseWindow > | pCurWin |
ScriptDocument | m_aCurDocument |
OUString | m_aCurLibName |
std::shared_ptr< LocalizationMgr > | m_pCurLocalizationMgr |
sal_uInt16 | m_nCurrentZoomSliderValue |
VclPtr< ScrollAdaptor > | aHScrollBar |
VclPtr< ScrollAdaptor > | aVScrollBar |
VclPtr< TabBar > | pTabBar |
bool | bCreatingWindow |
VclPtr< ModulWindowLayout > | pModulLayout |
VclPtr< DialogWindowLayout > | pDialogLayout |
VclPtr< Layout > | pLayout |
VclPtr< ObjectCatalog > | aObjectCatalog |
bool | m_bAppBasicModified |
bool | mbJustOpened = false |
DocumentEventNotifier | m_aNotifier |
css::uno::Reference< css::container::XContainerListener > | m_xLibListener |
std::unique_ptr< SvxSearchItem > | mpSearchItem |
Static Private Attributes | |
static unsigned | nShellCount = 0 |
Friends | |
class | JavaDebuggingListenerImpl |
class | LocalizationMgr |
class | ContainerListenerImpl |
bool | implImportDialog (weld::Window *pWin, const ScriptDocument &rDocument, const OUString &rLibName) |
Additional Inherited Members | |
Protected Member Functions inherited from SfxViewShell | |
virtual void | Activate (bool IsMDIActivate) override |
virtual void | Deactivate (bool IsMDIActivate) override |
virtual void | InnerResizePixel (const Point &rOfs, const Size &rSize, bool inplaceEditModeChange) |
virtual void | OuterResizePixel (const Point &rOfs, const Size &rSize) |
virtual void | SetZoomFactor (const Fraction &rZoomX, const Fraction &rZoomY) |
virtual void | Move () |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
Protected Member Functions inherited from SfxShell | |
SfxShell () | |
SfxShell (SfxViewShell *pViewSh) | |
void | SetViewShell_Impl (SfxViewShell *pView) |
SAL_DLLPRIVATE void | Invalidate_Impl (SfxBindings &rBindings, sal_uInt16 nId) |
Static Protected Member Functions inherited from SfxShell | |
static void | HandleOpenXmlFilterSettings (SfxRequest &) |
Definition at line 58 of file basidesh.hxx.
typedef std::map<sal_uInt16, VclPtr<BaseWindow> > basctl::Shell::WindowTable |
Definition at line 63 of file basidesh.hxx.
basctl::Shell::Shell | ( | SfxViewFrame & | rFrame, |
SfxViewShell * | pOldSh | ||
) |
Definition at line 164 of file basidesh.cxx.
References ContainerListenerImpl, Create(), Init(), m_xLibListener, NO_NEWWINDOW, and nShellCount.
|
overridevirtual |
Definition at line 227 of file basidesh.cxx.
References aHScrollBar, Any, aObjectCatalog, aVScrollBar, aWindowTable, basctl::BASIC_IDE_CURRENT_ZOOM, basctl::BASIC_IDE_EDITOR_WINDOW, basctl::DocumentEventNotifier::dispose(), VclPtr< class reference_type >::disposeAndClear(), basctl::GetExtraData(), m_aCurDocument, m_aCurLibName, m_aNotifier, m_nCurrentZoomSliderValue, m_xLibListener, nShellCount, pDialogLayout, pModulLayout, pTabBar, SetCurWindow(), SvtViewOptions::SetUserItem(), SfxViewShell::SetWindow(), basctl::ShellDestroyed(), and basctl::ExtraData::ShellInCriticalSection().
|
overrideprivatevirtual |
Reimplemented from SfxViewShell.
Definition at line 1523 of file basides1.cxx.
References SfxViewShell::Activate(), and pCurWin.
Definition at line 1478 of file basides1.cxx.
References Size::AdjustHeight(), Size::AdjustWidth(), aHScrollBar, aVScrollBar, GetFont(), GetFontHeight(), Application::GetSettings(), SfxViewShell::GetViewFrame(), SfxViewShell::GetWindow(), Height, Size::Height(), pCurWin, pLayout, pTabBar, Size::setHeight(), Size::setWidth(), TAB_HEIGHT_MARGIN, Size::Width(), Point::X(), and Point::Y().
Referenced by OuterResizePixel(), and SetCurWindow().
BasicDebugFlags basctl::Shell::CallBasicBreakHdl | ( | StarBASIC const * | pBasic | ) |
Definition at line 1414 of file basides1.cxx.
References basctl::BasicStopped(), vcl::Window::EnterWait(), Application::GetDefDialogParent(), basctl::GetShell(), SfxViewShell::GetViewFrame(), SfxViewFrame::GetWindow(), StarBASIC::IsRunning(), n, weld::Widget::set_sensitive(), and ShowActiveModuleWindow().
bool basctl::Shell::CallBasicErrorHdl | ( | StarBASIC const * | pBasic | ) |
Definition at line 1406 of file basides1.cxx.
References ShowActiveModuleWindow().
Referenced by basctl::HandleBasicError().
|
private |
Definition at line 582 of file basidesh.cxx.
References aWindowTable, basctl::BASWIN_TOBEKILLED, FindApplicationWindow(), basctl::BaseWindow::GetStatus(), pCurWin, RemoveWindow(), SetCurWindow(), and basctl::BaseWindow::StoreData().
Referenced by ExecuteBasic().
|
static |
Definition at line 131 of file moduldlg.cxx.
References basctl::LocalizationMgr::copyResourceForDroppedDialog(), basctl::E_DIALOGS, basctl::ScriptDocument::getDocument(), basctl::ScriptDocument::getLibrary(), comphelper::getProcessComponentContext(), basctl::LocalizationMgr::getStringResourceFromDialogLibrary(), basctl::ScriptDocument::isDocument(), basctl::LocalizationMgr::resetResourceForDialog(), and basctl::LocalizationMgr::setResourceIDsForDialog().
Referenced by basctl::SbTreeListBoxDropTarget::NotifyCopyingMoving().
|
private |
Definition at line 131 of file basides2.cxx.
References aHScrollBar, aObjectCatalog, aVScrollBar, basctl::BASWIN_SUSPENDED, bCreatingWindow, VclPtr< class reference_type >::Create(), basctl::ScriptDocument::createModule(), basctl::ScriptDocument::createObjectName(), DBG_ASSERT, basctl::E_SCRIPTS, FindBasWin(), VclPtr< class reference_type >::get(), basctl::ScriptDocument::getModule(), basctl::ModuleInfoHelper::getObjectName(), basctl::ScriptDocument::getOrCreateLibrary(), SfxViewShell::GetViewFrame(), SfxViewShell::GetWindow(), GetWindowId(), basctl::ScriptDocument::hasModule(), InsertWindowInTable(), basctl::ScriptDocument::isInVBAMode(), pCurWin, pModulLayout, pTabBar, and SetCurWindow().
Referenced by ExecuteGlobal(), FindBasWin(), and UpdateWindows().
|
private |
Definition at line 42 of file basides3.cxx.
References aHScrollBar, aObjectCatalog, aVScrollBar, basctl::BASWIN_SUSPENDED, bCreatingWindow, VclPtr< class reference_type >::Create(), basctl::ScriptDocument::createDialog(), basctl::ScriptDocument::createObjectName(), DBG_ASSERT, DBG_UNHANDLED_EXCEPTION, basctl::E_DIALOGS, FindDlgWin(), VclPtr< class reference_type >::get(), basctl::ScriptDocument::getDialog(), basctl::ScriptDocument::getDocument(), basctl::ScriptDocument::getOrCreateLibrary(), comphelper::getProcessComponentContext(), SfxViewShell::GetViewFrame(), SfxViewShell::GetWindow(), GetWindowId(), basctl::ScriptDocument::hasDialog(), InsertWindowInTable(), basctl::ScriptDocument::isDocument(), pCurWin, pDialogLayout, pTabBar, SetCurWindow(), and basctl::LocalizationMgr::setStringResourceAtDialog().
Referenced by ExecuteGlobal(), FindDlgWin(), and UpdateWindows().
|
overrideprivatevirtual |
Reimplemented from SfxViewShell.
Definition at line 1534 of file basides1.cxx.
References basctl::MarkDocumentModified(), and pCurWin.
|
private |
void basctl::Shell::ExecuteBasic | ( | SfxRequest & | rReq | ) |
Definition at line 227 of file basides2.cxx.
References CheckWindows(), nShellCount, and pCurWin.
void basctl::Shell::ExecuteCurrent | ( | SfxRequest & | rReq | ) |
Definition at line 254 of file basides1.cxx.
References SfxShell::ExecuteSlot(), SfxRequest::GetSlot(), GetUndoManager(), SfxViewShell::GetViewFrame(), pCurWin, pTabBar, and RemoveWindow().
void basctl::Shell::ExecuteDialog | ( | SfxRequest & | rReq | ) |
Definition at line 142 of file basides3.cxx.
References SfxRequest::GetSlot(), and pCurWin.
void basctl::Shell::ExecuteGlobal | ( | SfxRequest & | rReq | ) |
Definition at line 283 of file basides1.cxx.
References aDocument, aName, aObjectCatalog, SfxRequest::AppendItem(), aWindowTable, basctl::ChooseMacro(), CreateBasWin(), CreateDlgWin(), basctl::CreateMacro(), DBG_ASSERT, SfxRequest::Done(), basctl::E_DIALOGS, basctl::E_SCRIPTS, SfxShell::ExecuteSlot(), FindBasWin(), FindDlgWin(), StarBASIC::FindModule(), FindWindow(), VclPtr< class reference_type >::get(), SfxItemSet::Get(), basctl::ScriptDocument::getApplicationScriptDocument(), SfxRequest::GetArg(), SfxRequest::GetArgs(), basctl::GetBindingsPtr(), TextEngine::GetCharHeight(), GetCurrentZoomSliderValue(), basctl::SbxItem::GetDocument(), basctl::ScriptDocument::getDocumentForBasicManager(), basctl::ScriptDocument::getDocumentWithURLOrCaption(), SfxShell::GetFrame(), SfxViewFrame::GetFrame(), SfxFrame::GetFrameInterface(), SfxRequest::GetFrameWeld(), SfxItemSet::GetItemState(), BasicManager::GetLib(), basctl::SbxItem::GetLibName(), TextEngine::GetLineCount(), GetMaxZoom(), SbModule::GetMethod(), basctl::SbxItem::GetMethodName(), SbModule::GetMethods(), GetMinZoom(), StarBASIC::GetModules(), basctl::SbxItem::GetName(), TextEngine::GetParagraphCount(), SfxRequest::GetSlot(), TextView::GetStartDocPos(), TextView::GetTextEngine(), TextEngine::GetTextHeight(), basctl::SbxItem::GetType(), SfxUnoAnyItem::GetValue(), CntUInt16Item::GetValue(), CntUInt32Item::GetValue(), CntUnencodedStringItem::GetValue(), GetValue, SfxViewShell::GetViewFrame(), TextView::GetWindow(), GetWindowId(), vcl::Window::GrabFocus(), i, SfxRequest::Ignore(), basctl::BaseWindow::IsSuspended(), basctl::lcl_InvalidateZoomSlots(), m_aCurDocument, m_aCurLibName, m_pCurLocalizationMgr, basctl::MarkDocumentModified(), nCount, nId, basctl::Organize(), pCurWin, pLayout, pModulLayout, pTabBar, basctl::QueryPassword(), RemoveWindow(), RemoveWindows(), basctl::RenameModule(), weld::DialogController::runAsync(), TextView::Scroll(), SetCurLib(), SetCurWindow(), SetGlobalEditorZoomLevel(), TextView::SetSelection(), SfxGetpApp(), TextView::ShowCursor(), StartListening, basctl::StopBasic(), StoreAllWindowData(), basctl::BaseWindow::StoreData(), SfxViewFrame::ToTop(), basctl::TYPE_DIALOG, basctl::TYPE_METHOD, basctl::TYPE_MODULE, basctl::BaseWindow::UpdateData(), UpdateWindows(), xModel, Point::Y(), basegfx::zoomtools::zoomIn(), and basegfx::zoomtools::zoomOut().
void basctl::Shell::ExecuteSearch | ( | SfxRequest & | rReq | ) |
Definition at line 83 of file basides1.cxx.
References aWindowTable, SfxPoolItem::Clone(), Application::CreateMessageDialog(), SfxRequest::Done(), SfxItemSet::Get(), SfxRequest::GetArgs(), SfxViewFrame::GetBindings(), SfxViewFrame::GetChildWindow(), SfxChildWindow::GetController(), SfxRequest::GetSlot(), SfxViewShell::GetViewFrame(), basctl::BaseWindow::HasActiveEditor(), basctl::IDEResId(), SfxBindings::Invalidate(), mbJustOpened, mpSearchItem, pCurWin, RET_YES, SetCurWindow(), SfxRequest::SetReturnValue(), vcl::Window::SetSizePixel(), and basctl::BaseWindow::StartSearchAndReplace().
VclPtr< BaseWindow > basctl::Shell::FindApplicationWindow | ( | ) |
Definition at line 1386 of file basides1.cxx.
References FindWindow(), basctl::ScriptDocument::getApplicationScriptDocument(), basctl::TYPE_UNKNOWN, and u.
Referenced by CheckWindows(), onDocumentClosed(), RemoveWindow(), RemoveWindows(), and UpdateWindows().
VclPtr< ModulWindow > basctl::Shell::FindBasWin | ( | const ScriptDocument & | rDocument, |
const OUString & | rLibName, | ||
const OUString & | rModName, | ||
bool | bCreateIfNotExist = false , |
||
bool | bFindSuspended = false |
||
) |
Definition at line 205 of file basides2.cxx.
References CreateBasWin(), FindWindow(), and basctl::TYPE_MODULE.
Referenced by CreateBasWin(), basctl::ContainerListenerImpl::elementInserted(), basctl::ContainerListenerImpl::elementRemoved(), ExecuteGlobal(), basctl::RenameModule(), ShowActiveModuleWindow(), and UpdateWindows().
VclPtr< DialogWindow > basctl::Shell::FindDlgWin | ( | const ScriptDocument & | rDocument, |
const OUString & | rLibName, | ||
const OUString & | rName, | ||
bool | bCreateIfNotExist = false , |
||
bool | bFindSuspended = false |
||
) |
Definition at line 114 of file basides3.cxx.
References CreateDlgWin(), FindWindow(), and basctl::TYPE_DIALOG.
Referenced by CreateDlgWin(), ExecuteGlobal(), basctl::LocalizationMgr::implEnableDisableResourceForAllLibraryDialogs(), basctl::RenameDialog(), and UpdateWindows().
VclPtr< BaseWindow > basctl::Shell::FindWindow | ( | const ScriptDocument & | rDocument, |
std::u16string_view | rLibName, | ||
std::u16string_view | rName, | ||
ItemType | nType, | ||
bool | bFindSuspended = false |
||
) |
Definition at line 1391 of file basides1.cxx.
References aWindowTable, eType, and basctl::BaseWindow::Is().
Referenced by ExecuteGlobal(), FindApplicationWindow(), FindBasWin(), and FindDlgWin().
SdrView * basctl::Shell::GetCurDlgView | ( | ) | const |
Definition at line 133 of file basides3.cxx.
References pCurWin.
Referenced by basctl::PropBrw::Update().
|
inline |
Definition at line 163 of file basidesh.hxx.
References m_aCurLibName.
Referenced by GetState(), and basctl::ManageLanguageDialog::Init().
|
inline |
Definition at line 164 of file basidesh.hxx.
References m_pCurLocalizationMgr.
Referenced by GetState(), and basctl::LanguageBox::SetLanguage().
|
overridevirtual |
Reimplemented from SfxViewShell.
Definition at line 1515 of file basides1.cxx.
References pCurWin.
Referenced by basctl::PropBrw::Update().
|
inline |
Definition at line 175 of file basidesh.hxx.
References m_nCurrentZoomSliderValue.
Referenced by basctl::EditorWindow::EditorWindow(), ExecuteGlobal(), and GetState().
|
inline |
Definition at line 162 of file basidesh.hxx.
References pCurWin.
Referenced by basctl::LocalizationMgr::handleSetCurrentLocale().
|
inlinestatic |
Definition at line 177 of file basidesh.hxx.
References basctl::MAX_ZOOM_LEVEL.
Referenced by basctl::EditorWindow::Command(), ExecuteGlobal(), and GetState().
|
inlinestatic |
Definition at line 176 of file basidesh.hxx.
References basctl::MIN_ZOOM_LEVEL.
Referenced by basctl::EditorWindow::Command(), ExecuteGlobal(), and GetState().
|
overridevirtual |
Reimplemented from SfxViewShell.
Definition at line 81 of file basides2.cxx.
References SfxViewFrame::GetObjectShell(), basctl::DocShell::GetPrinter(), SfxViewShell::GetViewFrame(), and pCurWin.
|
overridevirtual |
|
overridevirtual |
Reimplemented from SfxViewShell.
Definition at line 59 of file basides2.cxx.
References TextSelection::GetEnd(), TextPaM::GetPara(), TextSelection::GetStart(), and pCurWin.
Referenced by GetState().
void basctl::Shell::GetState | ( | SfxItemSet & | rSet | ) |
Definition at line 838 of file basides1.cxx.
References SvxZoomSliderItem::AddSnappingPoint(), aDocument, aName, aObjectCatalog, basctl::CreateMgrAndLibStr(), SfxItemSet::DisableItem(), basctl::E_DIALOGS, basctl::E_SCRIPTS, StarBASIC::FindModule(), SfxWhichIter::FirstWhich(), basctl::ScriptDocument::getBasicManager(), GetCurLibName(), GetCurLocalizationMgr(), GetCurrentZoomSliderValue(), BasicManager::GetLib(), basctl::ScriptDocument::getLibraryContainer(), basctl::ScriptDocument::getLibraryLocation(), GetMaxZoom(), GetMinZoom(), SbModule::GetModuleType(), basctl::DocumentSignature::getScriptingSignatureState(), GetSelectionText(), SfxShell::GetSlotState(), basctl::ScriptDocument::getTitle(), GetUndoManager(), SfxViewShell::GetViewFrame(), HasSelection(), i, basctl::IDEResId(), IsAppBasicModified(), basctl::ScriptDocument::isInVBAMode(), StarBASIC::IsRunning(), m_aCurDocument, m_aCurLibName, m_nCurrentZoomSliderValue, mbJustOpened, mpSearchItem, nCount, SfxWhichIter::NextWhich(), nState, pCurWin, pLayout, pLocale, pModulLayout, pTabBar, SfxItemSet::Put(), rSet, and SfxGetpApp().
|
inline |
Definition at line 166 of file basidesh.hxx.
References pTabBar.
Referenced by basctl::RenameDialog(), and basctl::RenameModule().
|
overridevirtual |
Reimplemented from SfxShell.
Definition at line 502 of file basidesh.cxx.
References pCurWin.
Referenced by ExecuteCurrent(), and GetState().
sal_uInt16 basctl::Shell::GetWindowId | ( | BaseWindow const * | pWin | ) | const |
Definition at line 125 of file basides3.cxx.
References aWindowTable.
Referenced by CreateBasWin(), CreateDlgWin(), ExecuteGlobal(), RemoveWindow(), basctl::RenameDialog(), basctl::RenameModule(), and SetCurWindow().
|
inline |
Definition at line 167 of file basidesh.hxx.
References aWindowTable.
Referenced by basctl::FindDialogWindowForEditor(), and basctl::TabBar::Sort().
|
overridevirtual |
Reimplemented from SfxViewShell.
Definition at line 48 of file basides2.cxx.
References TextView::HasSelection(), and pCurWin.
Referenced by GetState().
|
overridevirtual |
|
private |
Definition at line 179 of file basidesh.cxx.
References bCreatingWindow, basctl::ScriptDocument::getApplicationScriptDocument(), basctl::GetExtraData(), SfxViewShell::GetViewFrame(), SfxViewFrame::GetWindow(), SfxViewShell::GetWindow(), InitScrollBars(), InitTabBar(), InitZoomLevel(), m_aCurDocument, nCurKey, pCurWin, pTabBar, VclPtr< class reference_type >::reset(), vcl::Window::SetBackground(), SetCurLib(), SetMDITitle(), SfxShell::SetName(), basctl::ShellCreated(), basctl::ExtraData::ShellInCriticalSection(), and UpdateWindows().
Referenced by Shell().
|
staticprivate |
SfxInterface initializer.
|
private |
Definition at line 453 of file basidesh.cxx.
References aHScrollBar, and aVScrollBar.
Referenced by Init().
|
private |
|
private |
Definition at line 369 of file basidesh.cxx.
References basctl::BASIC_IDE_CURRENT_ZOOM, basctl::BASIC_IDE_EDITOR_WINDOW, basctl::DEFAULT_ZOOM_LEVEL, SvtViewOptions::Exists(), SvtViewOptions::GetUserItem(), m_nCurrentZoomSliderValue, and TOOLS_WARN_EXCEPTION.
Referenced by Init().
|
private |
Definition at line 841 of file basidesh.cxx.
References aWindowTable, and nCurKey.
Referenced by CreateBasWin(), and CreateDlgWin().
|
staticprivate |
Definition at line 849 of file basidesh.cxx.
References basctl::GetBindingsPtr(), basctl::GetShell(), and SfxBindings::Invalidate().
Referenced by SetCurWindow().
|
static |
Definition at line 896 of file basidesh.cxx.
References basctl::GetBindingsPtr(), basctl::GetShell(), and SfxBindings::Invalidate().
Referenced by basctl::DialogWindow::ExecuteCommand(), basctl::DialogWindow::MouseButtonUp(), and SetCurWindow().
|
inline |
Definition at line 205 of file basidesh.hxx.
References m_bAppBasicModified.
Referenced by GetState(), and basctl::IMPL_LINK().
|
private |
Definition at line 1343 of file basides1.cxx.
References a, SfxShell::GetFrame(), SfxViewShell::GetViewFrame(), pCurWin, and u.
Referenced by SetCurWindow().
|
overrideprivatevirtual |
Reimplemented from SfxViewShell.
Definition at line 216 of file basides2.cxx.
bool basctl::Shell::NextPage | ( | bool | bPrev | ) |
Definition at line 482 of file basidesh.cxx.
References aWindowTable, nPos, pTabBar, and SetCurWindow().
|
overrideprivatevirtual |
Reimplemented from SfxViewShell.
Definition at line 512 of file basidesh.cxx.
References aObjectCatalog, aWindowTable, basctl::BaseWindow::BasicStarted(), basctl::BaseWindow::BasicStopped(), basctl::BasicStopped(), basctl::GetBindingsPtr(), SfxHint::GetId(), basctl::GetShell(), m_pCurLocalizationMgr, and pLayout.
|
overrideprivatevirtual |
Implements basctl::DocumentEventListener.
Definition at line 306 of file basidesh.cxx.
References basctl::BaseWindow::AddStatus(), aWindowTable, basctl::BaseWindow::BasicStopped(), basctl::BASWIN_INRESCHEDULE, basctl::BASWIN_RUNNINGBASIC, basctl::BASWIN_TOBEKILLED, FindApplicationWindow(), basctl::ScriptDocument::getApplicationScriptDocument(), basctl::GetExtraData(), basctl::BaseWindow::GetStatus(), vcl::Window::Hide(), basctl::BaseWindow::IsDocument(), basctl::ScriptDocument::isValid(), m_aCurDocument, pCurWin, pData, RemoveWindow(), SetCurLib(), SetCurWindow(), and StarBASIC::Stop().
|
overrideprivatevirtual |
Implements basctl::DocumentEventListener.
Definition at line 269 of file basidesh.cxx.
References pCurWin, and UpdateWindows().
|
overrideprivatevirtual |
Implements basctl::DocumentEventListener.
Definition at line 359 of file basidesh.cxx.
References aWindowTable, basctl::ScriptDocument::isDocument(), basctl::BaseWindow::IsDocument(), basctl::ScriptDocument::isReadOnly(), and basctl::BaseWindow::SetReadOnly().
|
overrideprivatevirtual |
Implements basctl::DocumentEventListener.
Definition at line 277 of file basidesh.cxx.
References pCurWin, and UpdateWindows().
|
overrideprivatevirtual |
Implements basctl::DocumentEventListener.
Definition at line 284 of file basidesh.cxx.
References StoreAllWindowData().
|
overrideprivatevirtual |
Implements basctl::DocumentEventListener.
Definition at line 296 of file basidesh.cxx.
References StoreAllWindowData().
|
overrideprivatevirtual |
Implements basctl::DocumentEventListener.
Definition at line 301 of file basidesh.cxx.
|
overrideprivatevirtual |
Implements basctl::DocumentEventListener.
Definition at line 289 of file basidesh.cxx.
References basctl::GetBindingsPtr().
|
overrideprivatevirtual |
Implements basctl::DocumentEventListener.
Definition at line 352 of file basidesh.cxx.
References basctl::GetBindingsPtr(), and SetMDITitle().
|
overrideprivatevirtual |
Reimplemented from SfxViewShell.
Definition at line 468 of file basidesh.cxx.
References AdjustPosSizePixel().
|
overrideprivatevirtual |
Reimplemented from SfxViewShell.
Definition at line 430 of file basidesh.cxx.
References Application::CreateMessageDialog(), SfxViewShell::GetFrameWeld(), SfxViewFrame::GetObjectShell(), SfxViewShell::GetViewFrame(), basctl::IDEResId(), StarBASIC::IsRunning(), SfxObjectShell::SetModified(), and StoreAllWindowData().
void basctl::Shell::RemoveWindow | ( | BaseWindow * | pWindow, |
bool | bDestroy, | ||
bool | bAllowChangeCurWindow = true |
||
) |
Definition at line 781 of file basidesh.cxx.
References basctl::BaseWindow::AddStatus(), aWindowTable, basctl::BaseWindow::BasicStopped(), basctl::BASWIN_INRESCHEDULE, basctl::BASWIN_SUSPENDED, basctl::BASWIN_TOBEKILLED, DBG_ASSERT, basctl::BaseWindow::Deactivating(), VclPtr< class reference_type >::disposeAndClear(), FindApplicationWindow(), StarBASIC::GetActiveModule(), basctl::BaseWindow::GetDocument(), basctl::BaseWindow::GetName(), SbxVariable::GetName(), basctl::BaseWindow::GetStatus(), GetWindowId(), vcl::Window::Hide(), basctl::ScriptDocument::isInVBAMode(), pCurWin, pTabBar, SetCurWindow(), and StarBASIC::Stop().
Referenced by CheckWindows(), basctl::ContainerListenerImpl::elementRemoved(), basctl::DialogWindow::ExecuteCommand(), ExecuteCurrent(), ExecuteGlobal(), onDocumentClosed(), RemoveWindows(), and UpdateWindows().
|
private |
Definition at line 604 of file basidesh.cxx.
References aWindowTable, FindApplicationWindow(), basctl::BaseWindow::GetLibName(), basctl::BaseWindow::IsDocument(), pCurWin, RemoveWindow(), SetCurWindow(), and basctl::BaseWindow::StoreData().
Referenced by ExecuteGlobal().
|
inline |
Definition at line 206 of file basidesh.hxx.
References m_bAppBasicModified.
Referenced by basctl::MarkDocumentModified(), and StoreAllWindowData().
|
private |
Definition at line 942 of file basidesh.cxx.
References basctl::ContainerListenerImpl::addContainerListener(), basctl::GetBindingsPtr(), m_aCurDocument, m_aCurLibName, m_xLibListener, basctl::ContainerListenerImpl::removeContainerListener(), SetCurLibForLocalization(), SetMDITitle(), and UpdateWindows().
Referenced by ExecuteGlobal(), Init(), onDocumentClosed(), and ShowActiveModuleWindow().
|
private |
Definition at line 973 of file basidesh.cxx.
References basctl::E_DIALOGS, basctl::ScriptDocument::getLibrary(), basctl::LocalizationMgr::getStringResourceFromDialogLibrary(), and m_pCurLocalizationMgr.
Referenced by SetCurLib().
|
private |
Definition at line 1271 of file basides1.cxx.
References AdjustPosSizePixel(), aObjectCatalog, basctl::BASWIN_SUSPENDED, basctl::GetExtraData(), Application::GetFocusWindow(), vcl::Window::GetParent(), SfxViewShell::GetViewFrame(), SfxViewFrame::GetWindow(), SfxViewShell::GetWindow(), GetWindowId(), HID_BASICIDE_MODULWINDOW, InvalidateBasicIDESlots(), InvalidateControlSlots(), m_pCurLocalizationMgr, ManageToolbars(), TabBar::PAGE_NOT_FOUND, pCurWin, pDialogLayout, pLayout, pModulLayout, pTabBar, SfxObjectShell::SetCurrentComponent(), vcl::Window::SetHelpId(), SfxShell::SetUndoManager(), SfxViewShell::SetWindow(), basctl::TYPE_MODULE, and SfxShell::UIFeatureChanged().
Referenced by CheckWindows(), CreateBasWin(), CreateDlgWin(), ExecuteGlobal(), ExecuteSearch(), NextPage(), onDocumentClosed(), RemoveWindow(), RemoveWindows(), ShowActiveModuleWindow(), UpdateWindows(), and ~Shell().
void basctl::Shell::SetGlobalEditorZoomLevel | ( | sal_uInt16 | nNewZoomLevel | ) |
Definition at line 385 of file basidesh.cxx.
References aWindowTable, basctl::GetBindingsPtr(), basctl::ModulWindow::GetEditorWindow(), m_nCurrentZoomSliderValue, and basctl::EditorWindow::SetEditorZoomLevel().
Referenced by basctl::EditorWindow::Command(), and ExecuteGlobal().
|
private |
Definition at line 100 of file basides2.cxx.
References SfxViewShell::GetController(), basctl::ScriptDocument::getLibraryLocation(), SfxViewFrame::GetObjectShell(), basctl::DocumentSignature::getScriptingSignatureState(), basctl::ScriptDocument::getTitle(), SfxObjectShell::GetTitle(), SfxViewShell::GetViewFrame(), basctl::IDEResId(), m_aCurDocument, m_aCurLibName, SfxObjectShell::SetModified(), SfxObjectShell::SetTitle(), SFX_TITLE_CAPTION, and xController.
Referenced by Init(), onDocumentTitleChanged(), and SetCurLib().
|
overridevirtual |
Reimplemented from SfxViewShell.
Definition at line 92 of file basides2.cxx.
References SfxViewFrame::GetObjectShell(), SfxViewShell::GetViewFrame(), and basctl::DocShell::SetPrinter().
basctl::Shell::SFX_DECL_VIEWFACTORY | ( | Shell | ) |
|
private |
Definition at line 1444 of file basides1.cxx.
References aDocument, DBG_ASSERT, basctl::FindBasicManager(), FindBasWin(), StarBASIC::GetActiveModule(), basctl::ScriptDocument::getApplicationScriptDocument(), basctl::ScriptDocument::getDocumentForBasicManager(), SbxVariable::GetName(), SbxVariable::GetParent(), pLib, SAL_WARN, SetCurLib(), SetCurWindow(), and StartListening.
Referenced by CallBasicBreakHdl(), and CallBasicErrorHdl().
|
overrideprivatevirtual |
|
private |
Definition at line 407 of file basidesh.cxx.
References aWindowTable, DBG_ASSERT, basctl::GetBindingsPtr(), basctl::BaseWindow::IsSuspended(), SfxApplication::SaveBasicAndDialogContainer(), SetAppBasicModified(), SfxGetpApp(), and basctl::BaseWindow::StoreData().
Referenced by ExecuteGlobal(), onDocumentSave(), onDocumentSaveAs(), and PrepareClose().
|
inline |
Definition at line 220 of file basidesh.hxx.
References aObjectCatalog.
Referenced by basctl::MarkDocumentModified().
|
private |
Definition at line 626 of file basidesh.cxx.
References basctl::ScriptDocument::AllWithApplication, aWindowTable, basctl::BASWIN_RUNNINGBASIC, basctl::BASWIN_SUSPENDED, basctl::BASWIN_TOBEKILLED, bCreatingWindow, CreateBasWin(), CreateDlgWin(), DBG_UNHANDLED_EXCEPTION, basctl::E_DIALOGS, basctl::E_SCRIPTS, FindApplicationWindow(), FindBasWin(), FindDlgWin(), basctl::ScriptDocument::getAllScriptDocuments(), basctl::LibInfo::Item::GetCurrentName(), basctl::LibInfo::Item::GetCurrentType(), basctl::GetExtraData(), basctl::BaseWindow::GetLibName(), basctl::BaseWindow::GetStatus(), i, basctl::BaseWindow::IsDocument(), m_aCurDocument, m_aCurLibName, pCurWin, pData, pLib, RemoveWindow(), SetCurWindow(), StartListening, basctl::BaseWindow::StoreData(), basctl::TYPE_DIALOG, and basctl::TYPE_MODULE.
Referenced by ExecuteGlobal(), Init(), onDocumentCreated(), onDocumentOpened(), and SetCurLib().
|
friend |
Definition at line 96 of file basidesh.hxx.
Referenced by Shell().
|
friend |
Definition at line 784 of file baside3.cxx.
|
friend |
Definition at line 66 of file basidesh.hxx.
|
friend |
Definition at line 67 of file basidesh.hxx.
|
private |
Definition at line 79 of file basidesh.hxx.
Referenced by AdjustPosSizePixel(), CreateBasWin(), CreateDlgWin(), InitScrollBars(), and ~Shell().
|
private |
Definition at line 89 of file basidesh.hxx.
Referenced by CreateBasWin(), CreateDlgWin(), ExecuteGlobal(), GetState(), Notify(), SetCurWindow(), UpdateObjectCatalog(), and ~Shell().
|
private |
Definition at line 80 of file basidesh.hxx.
Referenced by AdjustPosSizePixel(), CreateBasWin(), CreateDlgWin(), InitScrollBars(), and ~Shell().
|
private |
Definition at line 70 of file basidesh.hxx.
Referenced by CheckWindows(), ExecuteGlobal(), ExecuteSearch(), FindWindow(), GetWindowId(), GetWindowTable(), InsertWindowInTable(), NextPage(), Notify(), onDocumentClosed(), onDocumentModeChanged(), RemoveWindow(), RemoveWindows(), SetGlobalEditorZoomLevel(), StoreAllWindowData(), UpdateWindows(), and ~Shell().
|
private |
Definition at line 82 of file basidesh.hxx.
Referenced by CreateBasWin(), CreateDlgWin(), Init(), and UpdateWindows().
|
private |
Definition at line 73 of file basidesh.hxx.
Referenced by basctl::ContainerListenerImpl::elementInserted(), basctl::ContainerListenerImpl::elementRemoved(), ExecuteGlobal(), GetState(), Init(), onDocumentClosed(), SetCurLib(), SetMDITitle(), UpdateWindows(), and ~Shell().
|
private |
Definition at line 74 of file basidesh.hxx.
Referenced by basctl::ContainerListenerImpl::elementInserted(), basctl::ContainerListenerImpl::elementRemoved(), ExecuteGlobal(), GetCurLibName(), GetState(), SetCurLib(), SetMDITitle(), UpdateWindows(), and ~Shell().
|
private |
Definition at line 94 of file basidesh.hxx.
Referenced by ~Shell().
|
private |
Definition at line 91 of file basidesh.hxx.
Referenced by IsAppBasicModified(), and SetAppBasicModified().
|
private |
Definition at line 78 of file basidesh.hxx.
Referenced by GetCurrentZoomSliderValue(), GetState(), InitZoomLevel(), SetGlobalEditorZoomLevel(), and ~Shell().
|
private |
Definition at line 75 of file basidesh.hxx.
Referenced by ExecuteGlobal(), GetCurLocalizationMgr(), Notify(), SetCurLibForLocalization(), and SetCurWindow().
|
private |
Definition at line 97 of file basidesh.hxx.
Referenced by SetCurLib(), Shell(), and ~Shell().
|
private |
Definition at line 92 of file basidesh.hxx.
Referenced by ExecuteSearch(), and GetState().
|
private |
Definition at line 98 of file basidesh.hxx.
Referenced by ExecuteSearch(), and GetState().
|
private |
Definition at line 71 of file basidesh.hxx.
Referenced by Init(), and InsertWindowInTable().
|
staticprivate |
Definition at line 115 of file basidesh.hxx.
Referenced by ExecuteBasic(), Shell(), and ~Shell().
|
private |
Definition at line 72 of file basidesh.hxx.
Referenced by Activate(), AdjustPosSizePixel(), CheckWindows(), CreateBasWin(), CreateDlgWin(), Deactivate(), ExecuteBasic(), ExecuteCurrent(), ExecuteDialog(), ExecuteGlobal(), ExecuteSearch(), GetCurDlgView(), GetCurrentDocument(), GetCurWindow(), GetPrinter(), GetRenderable(), GetSelectionText(), GetState(), GetUndoManager(), HasSelection(), HasUIFeature(), Init(), ManageToolbars(), onDocumentClosed(), onDocumentCreated(), onDocumentOpened(), RemoveWindow(), RemoveWindows(), SetCurWindow(), ShowCursor(), and UpdateWindows().
|
private |
Definition at line 86 of file basidesh.hxx.
Referenced by CreateDlgWin(), SetCurWindow(), and ~Shell().
Definition at line 87 of file basidesh.hxx.
Referenced by AdjustPosSizePixel(), ExecuteGlobal(), GetState(), Notify(), and SetCurWindow().
|
private |
Definition at line 85 of file basidesh.hxx.
Referenced by CreateBasWin(), ExecuteGlobal(), GetState(), SetCurWindow(), and ~Shell().
Definition at line 81 of file basidesh.hxx.
Referenced by AdjustPosSizePixel(), CreateBasWin(), CreateDlgWin(), ExecuteCurrent(), ExecuteGlobal(), GetState(), GetTabBar(), Init(), InitTabBar(), NextPage(), RemoveWindow(), SetCurWindow(), and ~Shell().