LibreOffice Module sw (master)  1
Public Member Functions | Protected Member Functions | Static Private Member Functions | List of all members
SwWebView Class Reference

#include <wview.hxx>

Inheritance diagram for SwWebView:
[legend]
Collaboration diagram for SwWebView:
[legend]

Public Member Functions

 SFX_DECL_VIEWFACTORY (SwWebView)
 
 SwWebView (SfxViewFrame *pFrame, SfxViewShell *)
 
virtual ~SwWebView () override
 
- Public Member Functions inherited from SwView
SAL_DLLPRIVATE bool InsertGraphicDlg (SfxRequest &)
 
 SFX_DECL_VIEWFACTORY (SwView)
 
SfxDispatcherGetDispatcher ()
 
void GotFocus () const
 
virtual SdrViewGetDrawView () const override
 
virtual bool HasUIFeature (SfxShellFeature nFeature) const override
 
virtual void ShowCursor (bool bOn=true) override
 
virtual ErrCode DoVerb (long nVerb) override
 
virtual sal_uInt16 SetPrinter (SfxPrinter *pNew, SfxPrinterChangeFlags nDiff=SFX_PRINTER_ALL) override
 
ShellMode GetShellMode ()
 
css::view::XSelectionSupplier * GetUNOObject ()
 
OUString GetSelectionTextParam (bool bCompleteWords, bool bEraseTrail)
 
virtual bool HasSelection (bool bText=true) const override
 
virtual OUString GetSelectionText (bool bCompleteWords=false) override
 
virtual bool PrepareClose (bool bUI=true) override
 
virtual void MarginChanged () override
 
void InsertThesaurusSynonym (const OUString &rSynonmText, const OUString &rLookUpText, bool bValidSelection)
 
bool IsValidSelectionForThesaurus () const
 
OUString GetThesaurusLookUpText (bool bSelection) const
 
void StopShellTimer ()
 
SwWrtShellGetWrtShell () const
 
SwWrtShellGetWrtShellPtr () const
 
SwEditWinGetEditWin ()
 
const SwEditWinGetEditWin () const
 
void ScannerEventHdl ()
 
SwGlossaryHdlGetGlosHdl ()
 
const tools::RectangleGetVisArea () const
 
bool IsScroll (const tools::Rectangle &rRect) const
 
void Scroll (const tools::Rectangle &rRect, sal_uInt16 nRangeX=USHRT_MAX, sal_uInt16 nRangeY=USHRT_MAX)
 
long SetVScrollMax (long lMax)
 
long SetHScrollMax (long lMax)
 
void SpellError (LanguageType eLang)
 
bool ExecSpellPopup (const Point &rPt)
 ! End of extra code for context menu modifying extensions More...
 
void ExecSmartTagPopup (const Point &rPt)
 Function: ExecSmartTagPopup. More...
 
 DECL_LINK (OnlineSpellCallback, SpellCallbackInfo &, void)
 
bool ExecDrwTextSpellPopup (const Point &rPt)
 
void SetTabColFromDocPos (const Point &rPt)
 
void SetTabColFromDoc (bool b)
 
bool IsTabColFromDoc () const
 
void SetTabRowFromDoc (bool b)
 
bool IsTabRowFromDoc () const
 
void SetNumRuleNodeFromDoc (SwTextNode *pNumRuleNode)
 
void DocSzChgd (const Size &rNewSize)
 
const SizeGetDocSz () const
 
void SetVisArea (const tools::Rectangle &, bool bUpdateScrollbar=true)
 
void SetVisArea (const Point &, bool bUpdateScrollbar=true)
 
void CheckVisArea ()
 
void RecheckBrowseMode ()
 
 DECL_LINK (MoveNavigationHdl, void *, void)
 
bool HandleWheelCommands (const CommandEvent &)
 
void InsFrameMode (sal_uInt16 nCols)
 
void SetZoom (SvxZoomType eZoomType, short nFactor=100, bool bViewOnly=false)
 
virtual void SetZoomFactor (const Fraction &rX, const Fraction &) override
 
void SetViewLayout (sal_uInt16 nColumns, bool bBookMode, bool bViewOnly=false)
 
void ShowHScrollbar (bool bShow)
 
bool IsHScrollbarVisible () const
 
void ShowVScrollbar (bool bShow)
 
bool IsVScrollbarVisible () const
 
void EnableHScrollbar (bool bEnable)
 
void EnableVScrollbar (bool bEnable)
 
void CreateVRuler ()
 
void KillVRuler ()
 
void CreateTab ()
 
void KillTab ()
 
bool StatVRuler () const
 
void ChangeVRulerMetric (FieldUnit eUnit)
 
void GetVRulerMetric (FieldUnit &rToFill) const
 
SvxRulerGetHRuler ()
 
SvxRulerGetVRuler ()
 
void InvalidateRulerPos ()
 
void ChangeTabMetric (FieldUnit eUnit)
 
void GetHRulerMetric (FieldUnit &rToFill) const
 
void Execute (SfxRequest &)
 
void ExecLingu (SfxRequest &)
 
void ExecDlg (SfxRequest const &)
 
void ExecDlgExt (SfxRequest const &)
 
void ExecColl (SfxRequest const &)
 
void ExecutePrint (SfxRequest &)
 
void ExecDraw (SfxRequest &)
 
void ExecTabWin (SfxRequest const &)
 
void ExecuteStatusLine (SfxRequest &)
 execute method for the status line More...
 
 DECL_LINK (ExecRulerClick, Ruler *, void)
 
void ExecSearch (SfxRequest &)
 
void ExecViewOptions (SfxRequest &)
 
virtual bool IsConditionalFastCall (const SfxRequest &rReq) override
 
void StateViewOptions (SfxItemSet &)
 
void StateSearch (SfxItemSet &)
 
void GetState (SfxItemSet &)
 
void StateStatusLine (SfxItemSet &)
 get status of the status line More...
 
void UpdateWordCount (SfxShell *, sal_uInt16)
 
void ExecFormatFootnote ()
 
void ExecNumberingOutline (SfxItemPool &)
 
void SetDrawFuncPtr (std::unique_ptr< SwDrawBase > pFuncPtr)
 
SwDrawBaseGetDrawFuncPtr () const
 
void GetDrawState (SfxItemSet &rSet)
 
void ExitDraw ()
 
bool IsDrawRotate ()
 
void FlipDrawRotate ()
 
bool IsDrawSelMode ()
 
void SetSelDrawSlot ()
 
void FlipDrawSelMode ()
 
void NoRotate ()
 
bool EnterDrawTextMode (const Point &aDocPos)
 
bool EnterShapeDrawTextMode (SdrObject *pObject)
 Same as EnterDrawTextMode(), but takes an SdrObject instead of guessing it by document position. More...
 
void LeaveDrawCreate ()
 
bool IsDrawMode ()
 
bool IsFormMode () const
 
bool IsBezierEditMode ()
 
bool AreOnlyFormsSelected () const
 
bool HasOnlyObj (SdrObject const *pSdrObj, SdrInventor eObjInventor) const
 
bool BeginTextEdit (SdrObject *pObj, SdrPageView *pPV=nullptr, vcl::Window *pWin=nullptr, bool bIsNewObj=false, bool bSetSelectionToStart=false)
 
bool isSignatureLineSelected ()
 
bool isSignatureLineSigned ()
 
void StateTabWin (SfxItemSet &)
 
 DECL_LINK (AttrChangedNotify, SwCursorShell *, void)
 
 DECL_LINK (FormControlActivated, LinkParamNone *, void)
 
void EditLinkDlg ()
 show "edit link" dialog More...
 
void AutoCaption (const sal_uInt16 nType, const SvGlobalName *pOleId=nullptr)
 
void InsertCaption (const InsCaptionOpt *pOpt)
 
void UpdatePageNums (sal_uInt16 nPhyNum, sal_uInt16 nVirtNum, const OUString &rPgStr)
 invalidate page numbering field More...
 
OUString GetPageStr (sal_uInt16 nPhyNum, sal_uInt16 nVirtNum, const OUString &rPgStr)
 Create string for showing the page number in the statusbar. More...
 
void ForcePageUpDownOffset (SwTwips nTwips)
 Force page size for PgUp/PgDown to overwrite the computation based on m_aVisArea. More...
 
SfxShellGetCurShell ()
 
SwDocShellGetDocShell ()
 
const SwDocShellGetDocShell () const
 
virtual FmFormShellGetFormShell () override
 
virtual const FmFormShellGetFormShell () const override
 
void ResetSubShell ()
 
virtual void WriteUserData (OUString &, bool bBrowse=false) override
 
virtual void ReadUserData (const OUString &, bool bBrowse=false) override
 
virtual void ReadUserDataSequence (const css::uno::Sequence< css::beans::PropertyValue > &) override
 
virtual void WriteUserDataSequence (css::uno::Sequence< css::beans::PropertyValue > &) override
 
void SetCursorAtTop (bool bFlag, bool bCenter=false)
 
bool JumpToSwMark (const OUString &rMark)
 
long InsertDoc (sal_uInt16 nSlotId, const OUString &rFileName, const OUString &rFilterName, sal_Int16 nVersion=0)
 
void ExecuteInsertDoc (SfxRequest &rRequest, const SfxPoolItem *pItem)
 
long InsertMedium (sal_uInt16 nSlotId, std::unique_ptr< SfxMedium > pMedium, sal_Int16 nVersion)
 
 DECL_LINK (DialogClosedHdl, sfx2::FileDialogHelper *, void)
 
bool IsPasteAllowed ()
 
bool IsPasteSpecialAllowed ()
 
void EnableMailMerge ()
 
void ApplyAccessiblityOptions (SvtAccessibilityOptions const &rAccessibilityOptions)
 
 SwView (SfxViewFrame *pFrame, SfxViewShell *)
 
virtual ~SwView () override
 
void NotifyDBChanged ()
 
SfxObjectShellLock CreateTmpSelectionDoc ()
 
void AddTransferable (SwTransferable &rTransferable)
 
void SetMailMergeConfigItem (std::shared_ptr< SwMailMergeConfigItem > const &rConfigItem)
 
std::shared_ptr< SwMailMergeConfigItem > const & GetMailMergeConfigItem () const
 
std::shared_ptr< SwMailMergeConfigItemEnsureMailMergeConfigItem (const SfxItemSet *pArgs=nullptr)
 
void ExecFormatPaintbrush (SfxRequest const &)
 
void StateFormatPaintbrush (SfxItemSet &)
 
ErrCode InsertGraphic (const OUString &rPath, const OUString &rFilter, bool bLink, GraphicFilter *pFlt)
 
void ExecuteScan (SfxRequest &rReq)
 
SwPostItMgrGetPostItMgr ()
 
const SwPostItMgrGetPostItMgr () const
 
void SelectShellForDrop ()
 
void UpdateDocStats ()
 
virtual SAL_DLLPRIVATE SfxPrinterGetPrinter (bool bCreate=false) override
 
virtual SAL_DLLPRIVATE bool HasPrintOptionsPage () const override
 
virtual SAL_DLLPRIVATE VclPtr< SfxTabPageCreatePrintOptionsPage (TabPageParent pParent, const SfxItemSet &rSet) override
 
int getPart () const override
 See SfxViewShell::getPart(). More...
 
void dumpAsXml (xmlTextWriterPtr pWriter) const override
 See SfxViewShell::dumpAsXml(). More...
 
void SetRedlineAuthor (const OUString &rAuthor)
 
const OUString & GetRedlineAuthor ()
 
void NotifyCursor (SfxViewShell *pViewShell) const override
 See SfxViewShell::NotifyCursor(). More...
 
void ShowUIElement (const OUString &sElementURL) const
 
const OUString & GetCachedString (CachedStringID id)
 
void SetCachedString (CachedStringID id, const OUString &sStr)
 
const OUString & GetOldGrfCat ()
 
void SetOldGrfCat (const OUString &sStr)
 
const OUString & GetOldTabCat ()
 
void SetOldTabCat (const OUString &sStr)
 
const OUString & GetOldFrameCat ()
 
void SetOldFrameCat (const OUString &sStr)
 
const OUString & GetOldDrwCat ()
 
void SetOldDrwCat (const OUString &sStr)
 
- Public Member Functions inherited from SfxViewShell
 SfxViewShell (SfxViewFrame *pFrame, SfxViewShellFlags nFlags)
 
virtual ~SfxViewShell () override
 
SfxInPlaceClientGetIPClient () const
 
SfxInPlaceClientGetUIActiveClient () const
 
SfxInPlaceClientFindIPClient (const css::uno::Reference< css::embed::XEmbeddedObject > &xObj, vcl::Window *pObjParentWin) const
 
void OutplaceActivated (bool bActive)
 
virtual void UIActivating (SfxInPlaceClient *pClient)
 
virtual void UIDeactivated (SfxInPlaceClient *pClient)
 
void JumpToMark (const OUString &rMark)
 
void VisAreaChanged ()
 
void AddSubShell (SfxShell &rShell)
 
void RemoveSubShell (SfxShell *pShell=nullptr)
 
SfxShellGetSubShell (sal_uInt16)
 
virtual void notifyWindow (vcl::LOKWindowId nLOKWindowId, const OUString &rAction, const std::vector< vcl::LOKPayloadItem > &rPayload=std::vector< vcl::LOKPayloadItem >()) const override
 
virtual bool KeyInput (const KeyEvent &rKeyEvent)
 
bool Escape ()
 
vcl::WindowGetWindow () const
 
weld::WindowGetFrameWeld () const
 
void SetWindow (vcl::Window *pViewPort)
 
const SvBorderGetBorderPixel () const
 
void SetBorderPixel (const SvBorder &rBorder)
 
void InvalidateBorder ()
 
SfxViewFrameGetViewFrame () const
 
PrinterGetActivePrinter () const
 
virtual void QueryObjAreaPixel (tools::Rectangle &rRect) const
 
virtual SfxObjectShellGetObjectShell () override
 
virtual css::uno::Reference< css::frame::XModel > GetCurrentDocument () const
 
void SetCurrentDocument () const
 
virtual css::uno::Reference< css::view::XRenderable > GetRenderable ()
 
const SizeGetMargin () 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 (Menu &rIn, const OUString &rMenuIdentifier, VclPtr< Menu > &rpOut, css::ui::ContextMenuExecuteEvent aEvent)
 
bool TryContextMenuInterception (Menu &rMenu, 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 ()
 
SAL_DLLPRIVATE SfxInPlaceClientGetUIActiveIPClient_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 ()
 
SAL_DLLPRIVATE bool HasMouseClickListeners_Impl ()
 
SAL_DLLPRIVATE SfxBaseControllerGetBaseController_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 registerLibreOfficeKitViewCallback (LibreOfficeKitCallback pCallback, void *pLibreOfficeKitData)
 
void libreOfficeKitViewCallback (int nType, const char *pPayload) const override
 
void setTiledSearching (bool bTiledSearching)
 
ViewShellId GetViewShellId () 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 afterCallbackRegistered ()
 
virtual vcl::WindowGetEditWindowForActiveOLEObj () const override
 
void SetLOKLanguageTag (const OUString &rBcp47LanguageTag)
 
const LanguageTagGetLOKLanguageTag () const
 
- Public Member Functions inherited from SfxShell
virtual ~SfxShell () override
 
virtual SfxInterfaceGetInterface () const
 
void SetName (const OUString &rName)
 
const OUString & GetName () const
 
SfxViewShellGetViewShell () const
 
void CallExec (SfxExecFunc pFunc, SfxRequest &rReq)
 
void CallState (SfxStateFunc pFunc, SfxItemSet &rSet)
 
const SfxPoolItemGetSlotState (sal_uInt16 nSlotId, const SfxInterface *pIF=nullptr, SfxItemSet *pStateSet=nullptr)
 
const SfxPoolItemExecuteSlot (SfxRequest &rReq, const SfxInterface *pIF=nullptr)
 
void ExecuteSlot (SfxRequest &rReq, bool bAsync)
 
SfxItemPoolGetPool () const
 
void SetPool (SfxItemPool *pNewPool)
 
virtual SfxUndoManagerGetUndoManager ()
 
void SetUndoManager (SfxUndoManager *pNewUndoMgr)
 
SfxRepeatTargetGetRepeatTarget () const
 
void SetRepeatTarget (SfxRepeatTarget *pTarget)
 
virtual void Invalidate (sal_uInt16 nId=0)
 
virtual bool IsDesignMode () const
 
bool IsActive () const
 
SfxDispatcherGetDispatcher () const
 
SfxViewFrameGetFrame () const
 
void UIFeatureChanged ()
 
const SfxPoolItemGetItem (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 SfxSlotGetVerbSlot_Impl (sal_uInt16 nId) const
 
void SetDisableFlags (SfxDisableFlags nFlags)
 
SfxDisableFlags GetDisableFlags () const
 
virtual std::unique_ptr< SfxItemSetCreateItemSet (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)
 
SAL_DLLPRIVATE void DoActivate_Impl (SfxViewFrame *pFrame, bool bMDI)
 
SAL_DLLPRIVATE void DoDeactivate_Impl (SfxViewFrame const *pFrame, bool bMDI)
 

Protected Member Functions

virtual void SelectShell () override
 
- Protected Member Functions inherited from SwView
SwView_ImplGetViewImpl ()
 
void ImpSetVerb (SelectionType nSelType)
 
SelectionType GetSelectionType () const
 
void SetSelectionType (SelectionType nSet)
 
void SetShell (SfxShell *pS)
 
void SetFormShell (FmFormShell *pSh)
 
virtual void Activate (bool) override
 
virtual void Deactivate (bool) override
 
virtual void InnerResizePixel (const Point &rOfs, const Size &rSize, bool inplaceEditModeChange) override
 
virtual void OuterResizePixel (const Point &rOfs, const Size &rSize) override
 
const SwFrameFormatGetLastTableFrameFormat () const
 
void SetLastTableFrameFormat (const SwFrameFormat *pSet)
 
void GenerateFormLetter (bool bUseCurrentDocument)
 
- 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 Private Member Functions

static void InitInterface_Impl ()
 SfxInterface initializer. More...
 

Additional Inherited Members

- Public Types inherited from SwView
enum  CachedStringID {
  OldGrfCat,
  OldTabCat,
  OldFrameCat,
  OldDrwCat,
  CachedStrings
}
 
- Static Public Member Functions inherited from SwView
static SvxSearchDialogGetSearchDialog ()
 
static sal_uInt16 GetMoveType ()
 
static void SetMoveType (sal_uInt16 nSet)
 
static void SetActMark (sal_Int32 nSet)
 
static SvxSearchItemGetSearchItem ()
 
- Static Public Member Functions inherited from SfxViewShell
static size_t GetActiveShells (bool bOnlyVisible=true)
 
static SfxViewShellGetFirst (bool bOnlyVisible=true, const std::function< bool(const SfxViewShell *)> &isViewShell=nullptr)
 
static SfxViewShellGetNext (const SfxViewShell &rPrev, bool bOnlyVisible=true, const std::function< bool(const SfxViewShell *)> &isViewShell=nullptr)
 
static SfxViewShellCurrent ()
 
static SfxViewShellGet (const css::uno::Reference< css::frame::XController > &i_rController)
 
- Static Public Member Functions inherited from SfxShell
static SfxInterfaceGetStaticInterface ()
 
static void EmptyExecStub (SfxShell *pShell, SfxRequest &)
 
static void EmptyStateStub (SfxShell *pShell, SfxItemSet &)
 
static void VerbState (SfxItemSet &)
 
- Public Attributes inherited from SwView
OUString m_StringCache [CachedStrings]
 
- Static Protected Member Functions inherited from SfxShell
static void HandleOpenXmlFilterSettings (SfxRequest &)
 

Detailed Description

Definition at line 25 of file wview.hxx.

Constructor & Destructor Documentation

SwWebView::SwWebView ( SfxViewFrame pFrame,
SfxViewShell _pShell 
)

Definition at line 90 of file wview.cxx.

SwWebView::~SwWebView ( )
overridevirtual

Definition at line 95 of file wview.cxx.

Member Function Documentation

void SwWebView::InitInterface_Impl ( )
staticprivate

SfxInterface initializer.

Definition at line 80 of file wview.cxx.

References SFX_OBJECTBAR_TOOLS.

void SwWebView::SelectShell ( )
overrideprotectedvirtual
SwWebView::SFX_DECL_VIEWFACTORY ( SwWebView  )

The documentation for this class was generated from the following files: