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

#include <view.hxx>

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

Public Types

enum  CachedStringID {
  OldGrfCat,
  OldTabCat,
  OldFrameCat,
  OldDrwCat,
  CachedStrings
}
 

Public Member Functions

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 () const
 
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 () const
 
void FlipDrawRotate ()
 
bool IsDrawSelMode () const
 
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 () const
 
bool IsFormMode () const
 
bool IsBezierEditMode () const
 
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 () const
 
bool isSignatureLineSigned () const
 
bool isQRCodeSelected () const
 
void StateTabWin (SfxItemSet &)
 
 DECL_LINK (AttrChangedNotify, LinkParamNone *, 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 ApplyAccessibilityOptions (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 std::unique_ptr< SfxTabPageCreatePrintOptionsPage (weld::Container *pPage, weld::DialogController *pController, 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 () const
 
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 () const
 
bool isContentExtractionLocked ()
 
bool isExportLocked ()
 
bool isPrintLocked ()
 
bool isSaveLocked ()
 
bool isEditDocLocked ()
 
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 () const
 
SAL_DLLPRIVATE bool HasMouseClickListeners_Impl () const
 
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)
 

Static Public Member Functions

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 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

OUString m_StringCache [CachedStrings]
 

Protected Member Functions

SwView_ImplGetViewImpl ()
 
void ImpSetVerb (SelectionType nSelType)
 
SelectionType GetSelectionType () const
 
void SetSelectionType (SelectionType nSet)
 
void SetShell (SfxShell *pS)
 
void SetFormShell (FmFormShell *pSh)
 
virtual void SelectShell ()
 
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)
 

Private Member Functions

SAL_DLLPRIVATE bool SearchAndWrap (bool bApi)
 
SAL_DLLPRIVATE bool SearchAll ()
 
SAL_DLLPRIVATE sal_uLong FUNC_Search (const SwSearchOptions &rOptions)
 
SAL_DLLPRIVATE void Replace ()
 
bool IsDocumentBorder ()
 
SAL_DLLPRIVATE bool IsTextTool () const
 
 DECL_DLLPRIVATE_LINK (TimeoutHdl, Timer *, void)
 
long GetXScroll () const
 
long GetYScroll () const
 
SAL_DLLPRIVATE Point AlignToPixel (const Point &rPt) const
 
SAL_DLLPRIVATE void CalcPt (Point *pPt, const tools::Rectangle &rRect, sal_uInt16 nRangeX, sal_uInt16 nRangeY)
 Calculate the visible range. More...
 
SAL_DLLPRIVATE bool GetPageScrollUpOffset (SwTwips &rOff) const
 Scroll page by page. More...
 
SAL_DLLPRIVATE bool GetPageScrollDownOffset (SwTwips &rOff) const
 
SAL_DLLPRIVATE bool PageUp ()
 
SAL_DLLPRIVATE bool PageDown ()
 
SAL_DLLPRIVATE bool PageUpCursor (bool bSelect)
 
SAL_DLLPRIVATE bool PageDownCursor (bool bSelect)
 
SAL_DLLPRIVATE void PhyPageUp ()
 
SAL_DLLPRIVATE void PhyPageDown ()
 
SAL_DLLPRIVATE void CreateScrollbar (bool bHori)
 
 DECL_DLLPRIVATE_LINK (ScrollHdl, ScrollBar *, void)
 
 DECL_DLLPRIVATE_LINK (EndScrollHdl, ScrollBar *, void)
 
SAL_DLLPRIVATE bool UpdateScrollbars ()
 
 DECL_DLLPRIVATE_LINK (WindowChildEventListener, VclWindowEvent &, void)
 
SAL_DLLPRIVATE void CalcVisArea (const Size &rPixelSz)
 
SAL_DLLPRIVATE void HyphenateDocument ()
 
SAL_DLLPRIVATE bool IsDrawTextHyphenate ()
 
SAL_DLLPRIVATE void HyphenateDrawText ()
 
SAL_DLLPRIVATE void StartThesaurus ()
 
SAL_DLLPRIVATE void StartTextConversion (LanguageType nSourceLang, LanguageType nTargetLang, const vcl::Font *pTargetFont, sal_Int32 nOptions, bool bIsInteractive)
 
SAL_DLLPRIVATE void SpellStart (SvxSpellArea eSpell, bool bStartDone, bool bEndDone, SwConversionArgs *pConvArgs)
 
SAL_DLLPRIVATE void SpellEnd (SwConversionArgs const *pConvArgs)
 
SAL_DLLPRIVATE void HyphStart (SvxSpellArea eSpell)
 
SAL_DLLPRIVATE void SpellContext (bool bOn=true)
 
virtual SAL_DLLPRIVATE void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 
SAL_DLLPRIVATE void CheckReadonlyState ()
 
SAL_DLLPRIVATE void CheckReadonlySelection ()
 
SAL_DLLPRIVATE void SwapPageMargin (const SwPageDesc &, SvxLRSpaceItem &rLR)
 
SAL_DLLPRIVATE void SetZoom_ (const Size &rEditSz, SvxZoomType eZoomType, short nFactor, bool bViewOnly)
 
SAL_DLLPRIVATE void CalcAndSetBorderPixel (SvBorder &rToFill)
 
SAL_DLLPRIVATE void ShowAtResize ()
 
virtual SAL_DLLPRIVATE void Move () override
 

Static Private Member Functions

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

Private Attributes

Timer m_aTimer
 
OUString m_sSwViewData
 
OUString m_sNewCursorPos
 
sal_uInt16 m_nNewPage
 
sal_uInt16 m_nOldPageNum
 
OUString m_sOldSectionName
 
Point m_aTabColFromDocPos
 
SwTextNodem_pNumRuleNodeFromDoc
 
Size m_aDocSz
 
tools::Rectangle m_aVisArea
 
VclPtr< SwEditWinm_pEditWin
 
std::unique_ptr< SwWrtShellm_pWrtShell
 
std::unique_ptr< SwViewGlueDocShellm_xGlueDocShell
 
SfxShellm_pShell
 
FmFormShellm_pFormShell
 
std::unique_ptr< SwView_Implm_pViewImpl
 
VclPtr< SwScrollbarm_pHScrollbar
 
VclPtr< SwScrollbarm_pVScrollbar
 
bool m_bHScrollbarEnabled
 
bool m_bVScrollbarEnabled
 
VclPtr< vcl::Windowm_pScrollFill
 
VclPtr< SvxRulerm_pHRuler
 
VclPtr< SvxRulerm_pVRuler
 
std::unique_ptr< SwGlossaryHdlm_pGlosHdl
 
std::unique_ptr< SwDrawBasem_pDrawActual
 
const SwFrameFormatm_pLastTableFormat
 
std::unique_ptr< SwFormatClipboardm_pFormatClipboard
 
std::unique_ptr< SwPostItMgrm_pPostItMgr
 
SelectionType m_nSelectionType
 
sal_uInt16 m_nPageCnt
 
sal_uInt16 m_nDrawSfxId
 
OUString m_sDrawCustom
 
sal_uInt16 m_nFormSfxId
 
SotExchangeDest m_nLastPasteDestination
 
sal_uInt16 m_nLeftBorderDistance
 
sal_uInt16 m_nRightBorderDistance
 
SvxSearchCmd m_eLastSearchCommand
 
bool m_bWheelScrollInProgress
 
bool m_bCenterCursor: 1
 
bool m_bTopCursor: 1
 
bool m_bTabColFromDoc: 1
 
bool m_bTabRowFromDoc: 1
 
bool m_bSetTabColFromDoc: 1
 
bool m_bSetTabRowFromDoc: 1
 
bool m_bAttrChgNotified: 1
 
bool m_bAttrChgNotifiedWithRegistrations: 1
 
bool m_bVerbsActive: 1
 
bool m_bDrawRotate: 1
 
bool m_bDrawSelMode: 1
 
bool m_bShowAtResize: 1
 
bool m_bInOuterResizePixel: 1
 
bool m_bInInnerResizePixel: 1
 
bool m_bPasteState: 1
 
bool m_bPasteSpecialState: 1
 
bool m_bInMailMerge: 1
 
bool m_bInDtor: 1
 
bool m_bOldShellWasPagePreview: 1
 
bool m_bIsPreviewDoubleClick: 1
 
bool m_bMakeSelectionVisible: 1
 
bool m_bInitOnceCompleted = false
 
SwTwips m_nLOKPageUpDownOffset
 LibreOfficeKit has to force the page size for PgUp/PgDown functionality based on the user's view, instead of using the m_aVisArea. More...
 

Static Private Attributes

static SvxSearchItems_pSrchItem = nullptr
 
static sal_uInt16 m_nMoveType = NID_PGE
 
static sal_Int32 m_nActMark = 0
 
static bool s_bExtra = false
 
static bool s_bFound = false
 
static bool s_bJustOpened = false
 
static SearchAttrItemLists_pSearchList = nullptr
 
static SearchAttrItemLists_pReplaceList = nullptr
 

Friends

class SwHHCWrapper
 
class SwHyphWrapper
 
class SwView_Impl
 
class SwClipboardChangeListener
 

Additional Inherited Members

- Static Protected Member Functions inherited from SfxShell
static void HandleOpenXmlFilterSettings (SfxRequest &)
 

Detailed Description

Definition at line 146 of file view.hxx.

Member Enumeration Documentation

Enumerator
OldGrfCat 
OldTabCat 
OldFrameCat 
OldDrwCat 
CachedStrings 

Definition at line 647 of file view.hxx.

Constructor & Destructor Documentation

SwView::SwView ( SfxViewFrame pFrame,
SfxViewShell pOldSh 
)

get lingu options without loading lingu DLL

Definition at line 721 of file view.cxx.

References aData, vcl::Window::AddChildEventListener(), All, SwViewShell::ApplyViewOptions(), ASPECT_CONTENT, bDocSzUpdated, SvtLinguOptions::bIsSpellAuto, BORDERS, BROWSE_MODE, VclPtr< reference_type >::Create(), CreateScrollbar(), CreateTab(), CreateVRuler(), DocSzChgd(), EMBED_FONTS, SfxObjectShell::EnableSetModified(), Execute(), SfxDispatcher::ExecuteList(), FN_UPDATE_TOX, g_bNoInterrupt, sw::proofreadingiterator::get(), IDocumentSettingAccess::get(), SfxViewFrame::GetBindings(), SwViewOption::getBrowseMode(), SfxViewFrame::GetChildWindow(), SfxObjectShell::GetCreateMode(), IDocumentLayoutAccess::GetCurrentViewShell(), GetDispatcher(), SwDocShell::GetDoc(), SfxViewFrame::GetFirst(), SfxViewFrame::GetFrame(), SfxFrame::GetFrameInterface(), SwMasterUsrPref::GetHScrollMetric(), SwDoc::getIDocumentLayoutAccess(), SwDoc::getIDocumentSettingAccess(), SfxViewShell::GetMargin(), SfxViewFrame::GetObjectShell(), SvtLinguConfig::GetOptions(), SfxShell::GetPool(), SfxViewShell::GetViewFrame(), SwViewShell::GetViewOptions(), SfxShell::GetViewShell(), SwDocShell::GetVisArea(), SwMasterUsrPref::GetVScrollMetric(), SfxViewFrame::GetWindow(), SwViewOption::GetZoom(), SwViewOption::GetZoomType(), SfxViewShell::InvalidateBorder(), Task::IsActive(), SwViewOption::IsCursorInProtectedArea(), tools::Rectangle::IsEmpty(), SfxObjectShell::IsEnableSetModified(), SwViewOption::IsFieldName(), utl::ConfigManager::IsFuzzing(), SfxObjectShell::IsPreview(), SwViewOption::IsShowHiddenChar(), SwViewOption::IsShowHiddenField(), SwViewOption::IsShowHiddenPara(), SwViewOption::IsViewHRuler(), SwViewOption::IsViewHScrollBar(), SwViewOption::IsViewVRuler(), SwViewOption::IsViewVScrollBar(), SwScrollbar::IsVisible(), LINK, m_aTimer, m_bAttrChgNotified, m_bAttrChgNotifiedWithRegistrations, m_bHScrollbarEnabled, m_bIsPreviewDoubleClick, m_bOldShellWasPagePreview, m_bVScrollbarEnabled, m_nNewPage, m_pEditWin, m_pHRuler, m_pHScrollbar, m_pPostItMgr, m_pShell, m_pViewImpl, m_pVRuler, m_pVScrollbar, m_pWrtShell, m_sNewCursorPos, m_sSwViewData, m_xGlueDocShell, PARAGRAPH_MARGINS_VERTICAL, REDUCED_METRIC, vcl::Window::RequestDoubleBuffering(), SAL_INFO, SAL_WARN_IF, SET_CURR_SHELL, SvxRuler::SetActive(), SwScrollbar::SetAuto(), SwViewOption::setBrowseMode(), Task::SetDebugName(), SdrMarkView::SetDesignMode(), Timer::SetInvokeHandler(), SfxShell::SetName(), SfxViewShell::SetNewWindowAllowed(), SwViewOption::SetOnlineSpell(), SwViewOption::SetReadonly(), Timer::SetTimeout(), SwViewOption::SetViewLayoutBookMode(), SwViewOption::SetViewLayoutColumns(), SetVisArea(), SfxViewShell::SetWindow(), SwViewOption::SetZoom(), SwViewOption::SetZoomType(), SwModule::ShowDBObj(), ShowHScrollbar(), ShowVScrollbar(), StartListening, Task::Stop(), SW_MOD, SwView_Impl, TABS, SwDocShell::UpdateFontList(), USHRT_MAX, WB_BORDER, WB_EXTRAFIELD, WB_SIZEABLE, WB_STDRULER, WB_VSCROLL, and xFrame.

SwView::~SwView ( )
overridevirtual

Member Function Documentation

void SwView::Activate ( bool  bMDIActivate)
overrideprotectedvirtual
void SwView::AddTransferable ( SwTransferable rTransferable)

Definition at line 1864 of file view.cxx.

References SwView_Impl::AddTransferable(), and GetViewImpl().

Referenced by SwTransferable::SwTransferable().

Point SwView::AlignToPixel ( const Point rPt) const
private

Definition at line 158 of file viewport.cxx.

References GetEditWin(), and OutputDevice::PixelToLogic().

Referenced by PhyPageDown(), PhyPageUp(), and UpdateScrollbars().

void SwView::ApplyAccessibilityOptions ( SvtAccessibilityOptions const &  rAccessibilityOptions)

Definition at line 124 of file view0.cxx.

References GetDocShell(), IsReadOnly(), and m_pWrtShell.

bool SwView::AreOnlyFormsSelected ( ) const
void SwView::AutoCaption ( const sal_uInt16  nType,
const SvGlobalName pOleId = nullptr 
)
bool SwView::BeginTextEdit ( SdrObject pObj,
SdrPageView pPV = nullptr,
vcl::Window pWin = nullptr,
bool  bIsNewObj = false,
bool  bSetSelectionToStart = false 
)
void SwView::CalcAndSetBorderPixel ( SvBorder rToFill)
private
void SwView::CalcPt ( Point pPt,
const tools::Rectangle rRect,
sal_uInt16  nRangeX,
sal_uInt16  nRangeY 
)
private
void SwView::CalcVisArea ( const Size rPixelSz)
private
void SwView::ChangeTabMetric ( FieldUnit  eUnit)
void SwView::ChangeVRulerMetric ( FieldUnit  eUnit)
void SwView::CheckReadonlySelection ( )
private
void SwView::CheckReadonlyState ( )
private
void SwView::CheckVisArea ( )
std::unique_ptr< SfxTabPage > SwView::CreatePrintOptionsPage ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rSet 
)
overridevirtual

Reimplemented from SfxViewShell.

Definition at line 177 of file viewprt.cxx.

References CreatePrintOptionsPage().

void SwView::CreateScrollbar ( bool  bHori)
private
void SwView::CreateTab ( )
SfxObjectShellLock SwView::CreateTmpSelectionDoc ( )
void SwView::CreateVRuler ( )
void SwView::Deactivate ( bool  bMDIActivate)
overrideprotectedvirtual
SwView::DECL_DLLPRIVATE_LINK ( TimeoutHdl  ,
Timer ,
void   
)
private
SwView::DECL_DLLPRIVATE_LINK ( ScrollHdl  ,
ScrollBar ,
void   
)
private
SwView::DECL_DLLPRIVATE_LINK ( EndScrollHdl  ,
ScrollBar ,
void   
)
private
SwView::DECL_DLLPRIVATE_LINK ( WindowChildEventListener  ,
VclWindowEvent ,
void   
)
private
SwView::DECL_LINK ( OnlineSpellCallback  ,
SpellCallbackInfo ,
void   
)
SwView::DECL_LINK ( MoveNavigationHdl  ,
void ,
void   
)
SwView::DECL_LINK ( ExecRulerClick  ,
Ruler ,
void   
)
SwView::DECL_LINK ( AttrChangedNotify  ,
LinkParamNone ,
void   
)
SwView::DECL_LINK ( FormControlActivated  ,
LinkParamNone ,
void   
)
SwView::DECL_LINK ( DialogClosedHdl  ,
sfx2::FileDialogHelper ,
void   
)
void SwView::DocSzChgd ( const Size rNewSize)
ErrCode SwView::DoVerb ( long  nVerb)
overridevirtual
void SwView::dumpAsXml ( xmlTextWriterPtr  pWriter) const
overridevirtual

See SfxViewShell::dumpAsXml().

Reimplemented from SfxViewShell.

Definition at line 284 of file viewprt.cxx.

References SfxViewShell::dumpAsXml(), and m_pWrtShell.

Referenced by SwFrame::dumpAsXml().

void SwView::EditLinkDlg ( )

show "edit link" dialog

Definition at line 1950 of file view2.cxx.

References SvxAbstractDialogFactory::Create(), and GetFrameWeld().

void SwView::EnableHScrollbar ( bool  bEnable)

Definition at line 691 of file viewmdi.cxx.

References SfxViewShell::InvalidateBorder(), and m_bHScrollbarEnabled.

Referenced by lcl_SetUIPrefs().

void SwView::EnableMailMerge ( )
void SwView::EnableVScrollbar ( bool  bEnable)

Definition at line 700 of file viewmdi.cxx.

References SfxViewShell::InvalidateBorder(), and m_bVScrollbarEnabled.

Referenced by lcl_SetUIPrefs().

std::shared_ptr< SwMailMergeConfigItem > SwView::EnsureMailMergeConfigItem ( const SfxItemSet pArgs = nullptr)
bool SwView::EnterDrawTextMode ( const Point aDocPos)
bool SwView::EnterShapeDrawTextMode ( SdrObject pObject)

Same as EnterDrawTextMode(), but takes an SdrObject instead of guessing it by document position.

Definition at line 498 of file viewdraw.cxx.

References BeginTextEdit(), SwViewShell::GetDrawView(), SdrPaintView::GetSdrPageView(), GetWrtShell(), and m_pEditWin.

Referenced by sw::DocumentDrawModelManager::Search().

void SwView::ExecColl ( SfxRequest const &  rReq)
void SwView::ExecDlg ( SfxRequest const &  rReq)
void SwView::ExecDlgExt ( SfxRequest const &  rReq)
void SwView::ExecDraw ( SfxRequest rReq)
bool SwView::ExecDrwTextSpellPopup ( const Point rPt)
void SwView::ExecFormatFootnote ( )
void SwView::ExecFormatPaintbrush ( SfxRequest const &  rReq)
void SwView::ExecLingu ( SfxRequest rReq)
void SwView::ExecNumberingOutline ( SfxItemPool rPool)
void SwView::ExecSearch ( SfxRequest rReq)
void SwView::ExecSmartTagPopup ( const Point rPt)

Function: ExecSmartTagPopup.

This function shows the popup menu for smarttag actions.

Definition at line 793 of file viewling.cxx.

References VCLUnoHelper::ConvertToAWTRect(), SwCursorShell::DeleteCurrent, GetDispatcher(), comphelper::getProcessComponentContext(), SwRect::HasArea(), comphelper::makePropertyValue(), SwRect::SVRect(), and xComponent.

bool SwView::ExecSpellPopup ( const Point rPt)
void SwView::ExecTabWin ( SfxRequest const &  rReq)

Definition at line 235 of file viewtab.cxx.

References aData, ATT_FIX_SIZE, SwWrtShell::AutoUpdatePara(), SwRect::Bottom(), SvxColumnDescription::bVisible, SwFEShell::CalcBoundRect(), SwPageDesc::ChgFirstShare(), SwPageDesc::ChgFooterShare(), SwPageDesc::ChgHeaderShare(), SwFEShell::ChgPageDesc(), SvxTabStopItem::Clone(), COLSECT, COLUMN, SvxColumnItem::Count(), SvxTabStopItem::Count(), SwTabCols::Count(), DEFAULT, DRAWOBJ, SwCursorShell::EndAction(), SwEditShell::EndAllAction(), FLY_ANY, FlyEmbedded, FlyEmbeddedPrt, FOOTER, SfxItemSet::Get(), SfxViewShell::Get(), SwFEShell::GetAnyCurRect(), SwEditShell::GetAnySection(), SfxRequest::GetArgs(), SwViewShell::GetAttrPool(), SfxViewFrame::GetBindings(), SwViewOption::getBrowseMode(), SwFormat::GetCol(), SwEditShell::GetCurAttr(), SwFEShell::GetCurPageDesc(), SwEditShell::GetCurrSection(), SwEditShell::GetCurTextFormatColl(), SwEditShell::GetDefault(), SwTabCols::GetEntry(), SwFEShell::GetFlyFrameAttr(), SwFEShell::GetFlyFrameFormat(), SwFormat::GetFooter(), SwFormatFooter::GetFooterFormat(), SwSection::GetFormat(), SwFormat::GetFrameSize(), SwFEShell::GetFrameType(), SwFormat::GetHeader(), SwFormatHeader::GetHeaderFormat(), SvxSizeItem::GetHeight(), SwFormat::GetHoriOrient(), GetHRuler(), SfxItemSet::GetItemState(), SvxColumnItem::GetLeft(), SvxLongLRSpaceItem::GetLeft(), SvxLRSpaceItem::GetLeft(), SwTabCols::GetLeft(), SwTabCols::GetLeftMin(), SvxLongULSpaceItem::GetLower(), SvxULSpaceItem::GetLower(), SwFormat::GetLRSpace(), SwPageDesc::GetMaster(), SwFEShell::GetMouseTabCols(), SwFEShell::GetMouseTabRows(), SwFEShell::GetObjRect(), SwFEShell::GetPageDesc(), SfxShell::GetPool(), SvxLongLRSpaceItem::GetRight(), SvxColumnItem::GetRight(), SvxLRSpaceItem::GetRight(), SwTabCols::GetRight(), SwEditShell::GetSectionFormatPos(), SfxRequest::GetSlot(), SwFEShell::GetTabCols(), GetTabDist(), SwEditShell::GetTableFormat(), SwFEShell::GetTabRows(), SvxLRSpaceItem::GetTextFirstLineOfst(), SvxLRSpaceItem::GetTextLeft(), SwFormat::GetULSpace(), SvxLongULSpaceItem::GetUpper(), SvxULSpaceItem::GetUpper(), SfxInt16Item::GetValue(), GetValue, SwFormat::GetVertOrient(), SfxViewShell::GetViewFrame(), SwViewShell::GetViewOptions(), SfxItemPool::GetWhich(), SvxSizeItem::GetWidth(), GetWrtShell(), HEADER, SwRect::Height(), i, SwFormatCol::Init(), SvxTabStopItem::Insert(), SwFormatHeader::IsActive(), SwFormatFooter::IsActive(), SwFormat::IsAutoUpdateFormat(), SwFEShell::IsDirectlyInSection(), SwFEShell::IsFrameSelected(), SwFEShell::IsFrameVertical(), SwCursorShell::IsInVerticalText(), SwFEShell::IsMouseTableRightToLeft(), SwFEShell::IsObjSelected(), IsTabColFromDoc(), SwFEShell::IsTableRightToLeft(), SwViewShell::IsViewLocked(), lcl_ConvertToCols(), lcl_EraseDefTabs(), SwWrtShell::LeaveSelFrameMode(), SwRect::Left(), SwViewShell::LockView(), m_aTabColFromDocPos, m_bSetTabColFromDoc, m_bSetTabRowFromDoc, m_bTabColFromDoc, m_bTabRowFromDoc, m_nLeftBorderDistance, m_nRightBorderDistance, m_pNumRuleNodeFromDoc, MakeDefTabs(), nBorder, nColCount, SvxColumnDescription::nEnd, SwPostItHelper::NONE, SwTabColsEntry::nPos, SvxColumnDescription::nStart, Page, PagePrt, SwWrtShell::Pop(), SwRect::Pos(), SwCursorShell::Push(), RES_COL, RES_FRM_SIZE, RES_HORI_ORIENT, RES_LR_SPACE, RES_PARATR_TABSTOP, RES_UL_SPACE, RES_VERT_ORIENT, ResizeFrameCols(), SwRect::Right(), Section, SectionPrt, SwEditShell::SetAttrItem(), SwFEShell::SetFlyFrameAttr(), SwFormat::SetFormatAttr(), SwFormatFrameSize::SetHeightSizeType(), SwTabCols::SetHidden(), SwFormatHoriOrient::SetHoriOrient(), SwEditShell::SetIndent(), SvxLongLRSpaceItem::SetLeft(), SvxLRSpaceItem::SetLeft(), SwTabCols::SetLeft(), SvxULSpaceItem::SetLower(), SwFEShell::SetMouseTabCols(), SwFEShell::SetMouseTabRows(), SetNumRuleNodeFromDoc(), SwFEShell::SetObjRect(), SvxLRSpaceItem::SetRight(), SvxLongLRSpaceItem::SetRight(), SwTabCols::SetRight(), SwEditShell::SetSectionAttr(), SfxBindings::SetState(), SwFEShell::SetTabCols(), SwFEShell::SetTabRows(), SvxLRSpaceItem::SetTextLeft(), SvxULSpaceItem::SetUpper(), SvxRuler::SetValues(), SwFormatVertOrient::SetVertOrient(), SID_ATTR_PAGE_COLUMN, SID_ATTR_PAGE_FOOTER, SID_ATTR_PAGE_FOOTER_LAYOUT, SID_ATTR_PAGE_FOOTER_LRMARGIN, SID_ATTR_PAGE_FOOTER_SPACING, SID_ATTR_PAGE_HEADER, SID_ATTR_PAGE_HEADER_LAYOUT, SID_ATTR_PAGE_HEADER_LRMARGIN, SID_ATTR_PAGE_HEADER_SPACING, SwCursorShell::StartAction(), SwEditShell::StartAllAction(), SwapPageMargin(), SwRect::Top(), SwWrtShell::UnSelectFrame(), SwEditShell::UpdateSection(), SwRect::Width(), XATTR_FILLBITMAP, XATTR_FILLCOLOR, XATTR_FILLGRADIENT, XATTR_FILLHATCH, and XATTR_FILLSTYLE.

void SwView::Execute ( SfxRequest rReq)

Definition at line 546 of file view2.cxx.

References aData, SfxRequest::AppendItem(), SdrMarkView::AreObjectsMarked(), SfxViewFrame::ChildWindowExecute(), SvPasswordHelper::CompareHashPassword(), SwAbstractDialogFactory::Create(), SwAbstractDialogFactory::CreateMailMergeCreateFromDlg(), Application::CreateMessageDialog(), SwAbstractDialogFactory::CreateVclSwViewDialog(), SfxRequest::Done(), DrawObjectEditMode, SwWrtShell::EnterStdMode(), VclAbstractDialog::Execute(), SwDBManager::ExecuteFormLetter(), FLYCNTTYPE_FRM, FN_EDIT_CURRENT_TOX, FN_EDIT_LINK_DLG, FN_ESCAPE, FN_GOTO_PAGE, FN_INSERT_FIELD, FN_INSERT_FIELD_DATA_ONLY, FN_INSERT_MULTI_TOX, FN_LINE_NUMBERING_DLG, FN_MAILMERGE_SENDMAIL_CHILDWINDOW, FN_NAV_ELEMENT, FN_PAGEDOWN, FN_PAGEUP, FN_PARAM_FTN_INFO, FN_QRY_MERGE, FN_REDLINE_ACCEPT, FN_REDLINE_ACCEPT_DIRECT, FN_REDLINE_ACCEPT_TONEXT, FN_REDLINE_NEXT_CHANGE, FN_REDLINE_PREV_CHANGE, FN_REDLINE_REJECT_DIRECT, FN_REDLINE_REJECT_TONEXT, FN_REDLINE_SHOW, FN_REFRESH_VIEW, FN_SCROLL_NEXT, FN_SCROLL_PREV, FN_SPELL_GRAMMAR_DIALOG, FN_SYNC_LABELS, FN_UPDATE_CUR_TOX, FN_UPDATE_TOX, Get(), SfxRequest::GetArgs(), SfxViewFrame::GetBindings(), SfxViewFrame::GetChildWindow(), SwEditShell::GetDBData(), SwEditShell::GetDBManager(), SwDocShell::GetDoc(), SfxViewFrame::GetFirst(), SdrHdlList::GetFocusHdl(), vcl::Window::GetFrameWeld(), GetFrameWeld(), SwDoc::GetGCIterator(), SvPasswordHelper::GetHashPassword(), SdrMarkView::GetHdlList(), SwDoc::getIDocumentRedlineAccess(), LinguMgr::GetIgnoreAllList(), SfxItemSet::GetItemState(), SwLangHelper::GetLanguage(), SwFormat::GetName(), SfxViewFrame::GetNext(), SwGotoPageDlg::GetPageSelection(), SfxPasswordDialog::GetPassword(), IDocumentRedlineAccess::GetRedline(), IDocumentRedlineAccess::GetRedlineFlags(), IDocumentRedlineAccess::GetRedlinePassword(), IDocumentRedlineAccess::GetRedlineTable(), SfxRequest::GetSlot(), SwTOXBase::GetType(), GetValue, SfxViewFrame::GetWindow(), SfxViewFrame::HasChildWindow(), SwPaM::HasMark(), i, SfxRequest::Ignore(), SfxBindings::Invalidate(), SwEditShell::IsAnyDatabaseFieldInDoc(), AbstractMailMergeCreateFromDlg::IsThisDocument(), ItemSetToPageDesc(), JumpToSwMark(), lcl_SetAllTextToDefaultLanguage(), LINK, m_pShell, MakeDefTabs(), SwDBData::nCommandType, nId, NONE, SwRedlineTable::npos, On, Application::PostUserEvent(), SwRedlineAcceptChild::ReInitDlg(), RES_BACKGROUND, RES_CHRATR_CJK_LANGUAGE, RES_CHRATR_CTL_LANGUAGE, RES_CHRATR_LANGUAGE, RES_PARATR_TABSTOP, RET_NO, RET_OK, RET_YES, weld::DialogController::run(), SfxPasswordDialog::run(), SwDBData::sCommand, SwDBData::sDataSource, SfxViewFrame::SetChildWindow(), SwFormat::SetFormatAttr(), SfxPasswordDialog::SetMinLen(), IDocumentRedlineAccess::SetRedlinePassword(), SfxRequest::SetReturnValue(), SwEditWin::SetUseInputLanguage(), SfxResId(), SfxViewFrame::ShowChildWindow(), SwModule::ShowDBObj(), SfxPasswordDialog::ShowExtras(), sfx2::sidebar::Sidebar::ShowPanel(), SwRedlineTable::size(), SwDoc::SpellItAgainSam(), SwPaM::Start(), SW_LEAVE_FRAME, Text, SfxViewFrame::ToggleChildWindow(), TOX_INDEX, and void().

Referenced by SwSpellPopup::Execute(), SwXTextViewCursor::screenDown(), SwXTextViewCursor::screenUp(), and SwView().

void SwView::ExecuteInsertDoc ( SfxRequest rRequest,
const SfxPoolItem pItem 
)
void SwView::ExecutePrint ( SfxRequest rReq)
void SwView::ExecuteScan ( SfxRequest rReq)

Definition at line 2526 of file view2.cxx.

Referenced by SwGrfShell::Execute().

void SwView::ExecuteStatusLine ( SfxRequest rReq)

execute method for the status line

Parameters
rReq???

Definition at line 1674 of file view2.cxx.

References SfxRequest::AppendItem(), BROWSE_MODE, SvxAbstractDialogFactory::Create(), SvxAbstractDialogFactory::CreateSvxZoomDialog(), ScopedVclPtr< reference_type >::disposeAndReset(), SfxRequest::Done(), SwWrtShell::EnterAddMode(), SwWrtShell::EnterBlockMode(), SwWrtShell::EnterExtMode(), SwWrtShell::EnterStdMode(), eType, FN_EDIT_REGION, FN_FORMAT_FRAME_DLG, FN_FORMAT_PAGE_DLG, FN_FORMAT_TABLE_DLG, FN_GOTO_PAGE, FN_INSERT_MULTI_TOX, FN_NUMBER_BULLETS, FN_SET_ADD_MODE, FN_SET_BLOCK_MODE, FN_SET_EXT_MODE, FN_STAT_BOOKMARK, FN_STAT_PAGE, FN_STAT_SELMODE, FN_STAT_TEMPLATE, FN_STAT_WORDCOUNT, FN_WORDCOUNT_DIALOG, IDocumentSettingAccess::get(), SfxRequest::GetArgs(), IDocumentMarkAccess::getBookmarksBegin(), SwViewOption::getBrowseMode(), SwEditShell::GetCurrSection(), SwEditShell::GetCurTOX(), GetFrameWeld(), SwViewShell::getIDocumentMarkAccess(), SwViewShell::getIDocumentSettingAccess(), SfxItemSet::GetItemState(), SwEditShell::GetNumRuleAtCurrCursorPos(), AbstractSvxZoomDialog::GetOutputItemSet(), SfxRequest::GetSlot(), GetValue, SwViewOption::GetViewLayoutColumns(), SwViewShell::GetViewOptions(), SwViewOption::GetZoom(), SwViewOption::GetZoomType(), SwWrtShell::GotoMark(), SwPostItMgr::HasActiveSidebarWin(), SfxBindings::Invalidate(), SwWrtShell::IsAddMode(), SwNumRule::IsAutoRule(), SwWrtShell::IsBlockMode(), SwCursorShell::IsCursorInTable(), SwWrtShell::IsExtMode(), SwFEShell::IsFrameSelected(), SwFEShell::IsObjSelected(), SwViewOption::IsViewLayoutBookMode(), m_pShell, MAXZOOM, MINZOOM, nId, RET_CANCEL, AbstractSvxZoomDialog::SetLimits(), SwWrtShell::ToggleAddMode(), SwWrtShell::ToggleBlockMode(), SwWrtShell::ToggleExtMode(), SwWrtShell::ToggleInsMode(), SwPostItMgr::ToggleInsModeOnActiveSidebarWin(), and SfxBindings::Update().

void SwView::ExecViewOptions ( SfxRequest rReq)

Definition at line 356 of file view0.cxx.

References SfxRequest::AppendItem(), SwModule::ApplyUsrPref(), SwWrtShell::ApplyViewOptions(), CalcVisArea(), SwPostItMgr::CheckMetaText(), SwModule::CheckSpellChanges(), DestText, DestWeb, DocBoundaries, SfxRequest::Done(), SwCursorShell::EndAction(), FieldShadings, FN_HSCROLLBAR, FN_PRINT_LAYOUT, FN_RULER, FN_SHADOWCURSOR, FN_SHOW_INLINETOOLTIPS, FN_USE_HEADERFOOTERMENU, FN_VIEW_BOUNDS, FN_VIEW_FIELDNAME, FN_VIEW_FIELDS, FN_VIEW_GRAPHIC, FN_VIEW_HIDDEN_PARA, FN_VIEW_HIDE_WHITESPACE, FN_VIEW_MARKS, FN_VIEW_META_CHARS, FN_VIEW_SMOOTH_SCROLL, FN_VIEW_TABLEGRID, FN_VLINEAL, FN_VSCROLLBAR, SfxRequest::GetArgs(), SwDocShell::GetDoc(), GetDocShell(), GetEditWin(), SfxItemSet::GetItemState(), GetLinguPropertySet(), GetPostItMgr(), SvtLinguConfig::GetProperty(), SfxRequest::GetSlot(), SwModule::GetUsrPref(), GetValue, SwViewShell::GetViewOptions(), GetWrtShell(), SfxShell::Invalidate(), SwViewOption::IsDocBoundaries(), SwViewOption::IsFieldShadings(), SwEditShell::IsModified(), SwViewOption::IsTableBoundaries(), SwViewShell::IsViewLocked(), lcl_IsViewMarks(), lcl_SetViewMarks(), lcl_SetViewMetaChars(), SwViewShell::LockView(), SwEditShell::ResetModified(), SwViewOption::SetAppearanceFlag(), SwPostItMgr::SetLayout(), SvtLinguConfig::SetProperty(), SwPostItMgr::SetSpellChecking(), SwPostItMgr::ShowHideResolvedNotes(), SwCursorShell::StartAction(), SwDoc::StartGrammarChecking(), STATE_OFF, STATE_ON, STATE_TOGGLE, SW_MOD, TableBoundaries, SwDocShell::ToggleLayoutMode(), UPN_IS_GRAMMAR_AUTO, and UPN_IS_SPELL_AUTO.

Referenced by SwPostItMgr::Focus(), and SwCommentRuler::MouseButtonDown().

void SwView::ExitDraw ( )
void SwView::FlipDrawRotate ( )
inline
void SwView::FlipDrawSelMode ( )
inline

Definition at line 520 of file view.hxx.

Referenced by SwDrawShell::Execute(), and ConstRectangle::MouseButtonDown().

void SwView::ForcePageUpDownOffset ( SwTwips  nTwips)
inline

Force page size for PgUp/PgDown to overwrite the computation based on m_aVisArea.

Definition at line 556 of file view.hxx.

sal_uLong SwView::FUNC_Search ( const SwSearchOptions rOptions)
private
void SwView::GenerateFormLetter ( bool  bUseCurrentDocument)
protected
const OUString& SwView::GetCachedString ( CachedStringID  id)
inline

Definition at line 658 of file view.hxx.

SfxShell* SwView::GetCurShell ( )
inline
SfxDispatcher & SwView::GetDispatcher ( )
SwDocShell * SwView::GetDocShell ( )

Definition at line 1128 of file view.cxx.

References SfxViewFrame::GetObjectShell(), and SfxViewShell::GetViewFrame().

Referenced by SwXViewSettings::_setSingleValue(), SwEditWin::AcceptDrop(), SwRedlineAcceptDlg::Activate(), SwModelessRedlineAcceptDlg::Activate(), Activate(), SwPostItMgr::AddPostIts(), SwSortDlg::Apply(), ApplyAccessibilityOptions(), SwModule::ApplyUsrPref(), SwTransferable::CalculateAndCopy(), SwRedlineAcceptDlg::CallAcceptReject(), SwNumFormatBase::CallSelectHdl(), SwTemplateControl::Command(), SwEditWin::Command(), SwHHCWrapper::Convert(), SdrHHCWrapper::ConvertNextDocument(), SwTransferable::CopyGlossary(), SwContentTree::CreateContextMenu(), SwGlobalTree::CreateContextMenu(), SwTbxAutoTextCtrl::CreatePopupWindow(), SwEditWin::DataChanged(), SwInsertDBColAutoPilot::DataToDoc(), SwPostItMgr::Delete(), SwContentTree::Display(), SwNavigationPI::dispose(), SwContentTree::EditEntry(), SwBaseShell::ExecDlg(), SwTextShell::ExecEnterNum(), SwFrameShell::Execute(), SwDrawFormShell::Execute(), SwTableShell::Execute(), SwGrfShell::Execute(), SwDrawBaseShell::Execute(), SwBaseShell::Execute(), SwXMailMerge::execute(), SwDocShell::Execute(), SwHeaderFooterWin::ExecuteCommand(), ExecViewOptions(), SwMMResultEmailDialog::FillInEmailSettings(), SwInsertSectionTabPage::FillItemSet(), SwContentTree::FillTransferData(), SwSpellDialogChildWindow::FindNextDrawTextError_Impl(), SwTextShell::GetAttrState(), SwTransferable::GetData(), GetDocShell(), GetDrawState(), SwEditWin::GetDropDestination(), SwXTextViewCursor::getEnd(), SwTransferable::GetSotDestination(), SwXTextViewCursor::getStart(), SwFrameShell::GetState(), GetState(), SwXTextViewCursor::getText(), SwMailMergeDlg::GetURLfromPath(), sw::annotation::SwAnnotationWin::GotoPos(), SwXTextViewCursor::gotoRange(), IMPL_LINK(), sw::IMPL_LINK(), IMPL_LINK_NOARG(), SwDBManager::ImportFromConnection(), sw::annotation::SwAnnotationWin::InitAnswer(), SwCompatibilityOptPage::InitControls(), SwTableFUNC::InsertChart(), SwModule::InsertLab(), SwBaseShell::InsertTable(), SwBaseShell::InsertURLButton(), IsDocumentBorder(), sw::sidebarwindows::SidebarTextControl::KeyInput(), SwContentTree::KeyInput(), lcl_GetCharFormat(), lcl_getDocStyleSheet(), lcl_IsOwnDocument(), LoadURL(), SwDBManager::Merge(), SwDBManager::MergeMailFiles(), SwWrtShell::NavigatorPaste(), SwPostItMgr::Notify(), SwContentTree::Notify(), Notify(), SwGlobalTree::OpenDoc(), OuterResizePixel(), SwParaDlg::PageCreated(), SwCharDlg::PageCreated(), SwTemplateDlgController::PageCreated(), SwSvxNumBulletTabDialog::PageCreated(), SwTransferable::PasteData(), SwTransferable::PasteFileName(), SwTransferable::PasteFormat(), SwTransferable::PasteGrf(), SwTransferable::PrepareForCopy(), ReadUserDataSequence(), SwEditWin::RequestHelp(), SwCondCollPage::Reset(), SwEndNoteOptionPage::Reset(), SwDropCapsPage::Reset(), SwFramePage::Reset(), SdrHHCWrapper::SdrHHCWrapper(), SwXTextView::select(), SwCondCollPage::SelectHdl(), SwGlobalTree::SelectHdl(), SwWebView::SelectShell(), SelectShell(), SwContentTree::SetActiveShell(), SwContentTree::SetConstantShell(), SwJavaEditDialog::SetField(), SwXTextView::setRubyList(), SwEndNoteOptionPage::SetShell(), SwTextFlowPage::SetShell(), SetVisArea(), SwOutlineSettingsTabPage::SetWrtShell(), SwInsertSectionTabPage::SetWrtShell(), SwTOXEntryTabPage::SetWrtShell(), SwHyphWrapper::SpellContinue(), SwHyphWrapper::SpellStart(), SwEditWin::StartDrag(), SwTransferable::StartDrag(), SwAnnotationShell::StateInsert(), SwTextShell::StateInsert(), SwBaseShell::StateStyle(), StateViewOptions(), sw_CharDialog(), SwCaptionDialog::SwCaptionDialog(), SwCaptionOptPage::SwCaptionOptPage(), SwCharURLPage::SwCharURLPage(), SwConvertTableDlg::SwConvertTableDlg(), SwEditRegionDlg::SwEditRegionDlg(), SwEditWin::SwEditWin(), SwFlyFrameAttrMgr::SwFlyFrameAttrMgr(), SwFrameDlg::SwFrameDlg(), SwGlossaryDlg::SwGlossaryDlg(), SwInsertChart(), SwInsertDBColAutoPilot::SwInsertDBColAutoPilot(), SwInsertSectionTabDialog::SwInsertSectionTabDialog(), SwInsTableDlg::SwInsTableDlg(), SwLineNumberingDlg::SwLineNumberingDlg(), SwMailMergeLayoutPage::SwMailMergeLayoutPage(), SwParaDlg::SwParaDlg(), SwPostItMgr::SwPostItMgr(), SwReadOnlyPopup::SwReadOnlyPopup(), SwSectionPropertyTabDialog::SwSectionPropertyTabDialog(), SwSequenceOptionDialog::SwSequenceOptionDialog(), SwTableHeightDlg::SwTableHeightDlg(), SwTableWidthDlg::SwTableWidthDlg(), SwTemplateDlgController::SwTemplateDlgController(), SwPostItMgr::ToggleResolvedForThread(), sw::annotation::SwAnnotationWin::UpdateData(), SwNavigationPI::UpdateListBox(), SwTOXMgr::UpdateOrInsertTOX(), WriteUserDataSequence(), SwHHCWrapper::~SwHHCWrapper(), SwHyphWrapper::~SwHyphWrapper(), SwPostItMgr::~SwPostItMgr(), ~SwView(), and SwViewGlueDocShell::~SwViewGlueDocShell().

const SwDocShell * SwView::GetDocShell ( ) const
inline

Definition at line 688 of file view.hxx.

References GetDocShell().

const Size& SwView::GetDocSz ( ) const
inline

Definition at line 440 of file view.hxx.

Referenced by SetHScrollMax(), SwDocShell::SetVisArea(), and SetVScrollMax().

SwDrawBase* SwView::GetDrawFuncPtr ( ) const
inline
void SwView::GetDrawState ( SfxItemSet rSet)
SdrView * SwView::GetDrawView ( ) const
overridevirtual
SwEditWin& SwView::GetEditWin ( )
inline

Definition at line 403 of file view.hxx.

Referenced by SwXViewSettings::_getSingleValue(), SwXViewSettings::_setSingleValue(), SwFlyFrame::ActiveUnfloatButton(), AlignToPixel(), SwInputWindow::ApplyFormula(), CalcAndSetBorderPixel(), SwTransferable::CalculateAndCopy(), CalcVisArea(), SwInputWindow::CancelFormula(), CheckReadonlySelection(), SwEditWin::Command(), SdrHHCWrapper::ConvertNextDocument(), SwDocShell::ConvertTo(), SwTransferable::Copy(), SwTransferable::CopyGlossary(), SwTransferDdeLink::DataChanged(), Deactivate(), SwPageFrame::DestroyImpl(), SwDocShell::DoWaterCan(), SwTransferable::DragFinished(), SwGlobalTree::EditContent(), SwTextShell::ExecBasicMove(), SwAnnotationShell::ExecClpbrd(), SwBaseShell::ExecClpbrd(), SwBaseShell::ExecDelete(), ExecDrwTextSpellPopup(), ExecFormatPaintbrush(), SwTextShell::ExecInsert(), SwTextShell::ExecMove(), SwTextShell::ExecMoveLingu(), SwTextShell::ExecMovePage(), SwBaseShell::ExecTextCtrl(), SwBezierShell::Execute(), SwFrameShell::Execute(), SwDrawBaseShell::Execute(), SwDrawTextShell::Execute(), SwBaseShell::Execute(), SwGlobalTree::ExecuteContextMenuAction(), ExecutePrint(), ExecViewOptions(), ExitDraw(), SwSpellDialogChildWindow::FindNextDrawTextError_Impl(), SwXTextDocument::getDocWindow(), SwDocShell::GetIPClient(), SwXTextDocument::getPointer(), SwWrtShell::GetSelectionType(), SwBezierShell::GetState(), SwFrameShell::GetState(), SwBaseShell::GetTextFontCtrlState(), SwContentTree::GotoContent(), IMPL_LINK(), SwXTextDocument::initializeForTiledRendering(), InnerResizePixel(), SwTableFUNC::InsertChart(), SwWrtShell::InsertPostIt(), SwEditWin::IsInHeaderFooter(), SwXTextDocument::isMimeTypeSupported(), IsPasteAllowed(), IsPasteSpecialAllowed(), SwContentTree::KeyInput(), SwPostItMgr::LayoutPostIts(), SwDBManager::MergeMailFiles(), sw::mark::MarkManager::NotifyCursorUpdate(), OuterResizePixel(), SwPageFrame::PaintBreak(), SwPageFrame::PaintDecorators(), SwRootFrame::PaintSwFrame(), PhyPageDown(), PhyPageUp(), SwXTextDocument::postMouseEvent(), ReadUserDataSequence(), SwDocShell::Save(), SwDocShell::SaveAs(), Scroll(), SdrHHCWrapper::SdrHHCWrapper(), SwWebView::SelectShell(), SelectShell(), SwXTextDocument::setClipboard(), SwXTextDocument::setGraphicSelection(), SwWrtShell::SetReadonlyOption(), SwTransferable::SetSelInShell(), SwWrtShell::SetShowHeaderFooterSeparator(), SwXTextDocument::setTextSelection(), SetVisArea(), SetZoom(), SetZoom_(), SwInputWindow::ShowWin(), QuickHelpData::Start(), SwAnnotationShell::StateClpbrd(), SwBaseShell::StateClpbrd(), SwDocShell::StateStyleSheet(), QuickHelpData::Stop(), SwDrawBaseShell::SwDrawBaseShell(), SwInsertChart(), SwSyncChildWin::SwSyncChildWin(), SwFlyFrame::UpdateUnfloatButton(), and SwHyphWrapper::~SwHyphWrapper().

const SwEditWin& SwView::GetEditWin ( ) const
inline

Definition at line 404 of file view.hxx.

virtual FmFormShell* SwView::GetFormShell ( )
inlineoverridevirtual
virtual const FmFormShell* SwView::GetFormShell ( ) const
inlineoverridevirtual

Reimplemented from SfxViewShell.

Definition at line 566 of file view.hxx.

SwGlossaryHdl * SwView::GetGlosHdl ( )
SvxRuler& SwView::GetHRuler ( )
inline
void SwView::GetHRulerMetric ( FieldUnit rToFill) const

Definition at line 602 of file viewmdi.cxx.

References m_pHRuler.

Referenced by SwXViewSettings::_getSingleValue(), and SwModule::CreateItemSet().

const SwFrameFormat* SwView::GetLastTableFrameFormat ( ) const
inlineprotected

Definition at line 353 of file view.hxx.

Referenced by SwWebView::SelectShell().

std::shared_ptr< SwMailMergeConfigItem > const & SwView::GetMailMergeConfigItem ( ) const
sal_uInt16 SwView::GetMoveType ( )
static
const OUString & SwView::GetOldDrwCat ( )

Definition at line 2562 of file view2.cxx.

Referenced by SwCaptionDialog::SwCaptionDialog().

const OUString & SwView::GetOldFrameCat ( )

Definition at line 2552 of file view2.cxx.

Referenced by SwCaptionDialog::SwCaptionDialog().

const OUString & SwView::GetOldGrfCat ( )

Definition at line 2532 of file view2.cxx.

Referenced by SwCaptionDialog::SwCaptionDialog().

const OUString & SwView::GetOldTabCat ( )

Definition at line 2542 of file view2.cxx.

Referenced by SwCaptionDialog::SwCaptionDialog().

bool SwView::GetPageScrollDownOffset ( SwTwips rOff) const
private
bool SwView::GetPageScrollUpOffset ( SwTwips rOff) const
private
OUString SwView::GetPageStr ( sal_uInt16  nPhyNum,
sal_uInt16  nVirtNum,
const OUString &  rPgStr 
)

Create string for showing the page number in the statusbar.

Parameters
nPhyNumThe physical page number
nVirtNumThe logical page number (user-assigned)
rPgStrUser-defined page name (will be shown if different from logical page number)
Returns
OUString Formatted string: Page 1 of 10 (Page 1 of 8 to print OR Page nVirtNumv/rPgStr)

Definition at line 203 of file view2.cxx.

References aStr, SwDoc::CalculateNonBlankPages(), and SwResId().

int SwView::getPart ( ) const
overridevirtual

See SfxViewShell::getPart().

Reimplemented from SfxViewShell.

Definition at line 279 of file viewprt.cxx.

Referenced by SwXTextDocument::getPart().

SwPostItMgr* SwView::GetPostItMgr ( )
inline
const SwPostItMgr* SwView::GetPostItMgr ( ) const
inline

Definition at line 623 of file view.hxx.

SfxPrinter * SwView::GetPrinter ( bool  bCreate = false)
overridevirtual
const OUString & SwView::GetRedlineAuthor ( ) const

Definition at line 298 of file viewprt.cxx.

References m_pViewImpl.

Referenced by SwDocShell::SetView().

SvxSearchDialog * SwView::GetSearchDialog ( )
static
static SvxSearchItem* SwView::GetSearchItem ( )
inlinestatic

Definition at line 635 of file view.hxx.

Referenced by sw::FindTextImpl().

OUString SwView::GetSelectionText ( bool  bCompleteWords = false)
overridevirtual

Reimplemented from SfxViewShell.

Definition at line 1608 of file view.cxx.

References GetSelectionTextParam().

Referenced by SwEditWinUIObject::get_state().

OUString SwView::GetSelectionTextParam ( bool  bCompleteWords,
bool  bEraseTrail 
)
SelectionType SwView::GetSelectionType ( ) const
inlineprotected

Definition at line 339 of file view.hxx.

Referenced by SwWebView::SelectShell(), and StateFormatPaintbrush().

ShellMode SwView::GetShellMode ( ) const
void SwView::GetState ( SfxItemSet rSet)

Definition at line 71 of file viewstat.cxx.

References tools::Rectangle::Bottom(), SfxPoolItem::CloneSetWhich(), Content, LanguageTag::convertToLocale(), SvtModuleOptions::DATABASE, SfxItemSet::DisableItem(), DOCUMENTBORDER, DRAWOBJ, DrawObject, DrawObjectEditMode, SwPaM::End(), SwRedlineTable::FindAtPosition(), SfxWhichIter::FirstWhich(), FLY_ANY, FN_CHANGE_PAGENUM, FN_EDIT_CURRENT_TOX, FN_EDIT_FOOTNOTE, FN_EDIT_LINK_DLG, FN_INSERT_CAPTION, FN_INSERT_FIELD_DATA_ONLY, FN_INSERT_OBJ_CTRL, FN_MAILMERGE_SENDMAIL_CHILDWINDOW, FN_NAV_ELEMENT, FN_PARAM_FTN_INFO, FN_REDLINE_ACCEPT, FN_REDLINE_ACCEPT_DIRECT, FN_REDLINE_ACCEPT_TONEXT, FN_REDLINE_NEXT_CHANGE, FN_REDLINE_PREV_CHANGE, FN_REDLINE_REJECT_DIRECT, FN_REDLINE_REJECT_TONEXT, FN_REDLINE_SHOW, FN_UPDATE_CUR_TOX, FN_UPDATE_TOX, FOOTER, FOOTNOTE, SwFormat::GetAttrSet(), SfxViewFrame::GetBindings(), SwEditShell::GetCurLang(), SwCursorShell::GetCursorCnt(), SwDoc::GetDfltFrameFormat(), SfxViewFrame::GetDispatcher(), SwFormat::GetDoc(), GetDocShell(), SwFormat::GetFormatAttr(), SwDoc::getIDocumentRedlineAccess(), SfxShell::GetInterface(), SwPageDesc::GetMaster(), SfxItemSet::GetParent(), comphelper::getProcessComponentContext(), IDocumentRedlineAccess::GetRedline(), IDocumentRedlineAccess::GetRedlineTable(), SfxShell::GetSlotState(), GetTabDist(), GetThesaurus(), SfxViewShell::GetViewFrame(), GetVisArea(), GetWrtShell(), SfxViewFrame::HasChildWindow(), SwPaM::HasMark(), HEADER, index, SfxItemSet::InvalidateItem(), comphelper::LibreOfficeKit::isActive(), isQRCodeSelected(), SfxObjectShell::IsReadOnly(), isSignatureLineSelected(), isSignatureLineSigned(), SwTOXBase::IsTOXBaseInReadonly(), SwRangeRedline::IsVisible(), SfxViewFrame::KnowsChildWindow(), LANGUAGE_NONE, SfxViewShell::libreOfficeKitViewCallback(), m_bInMailMerge, m_nSelectionType, m_pShell, m_pWrtShell, SfxWhichIter::NextWhich(), nLang, NONE, nType, NumberList, PageDescToItemSet(), Parent, SfxItemSet::Put(), SfxDispatcher::QueryState(), RES_BACKGROUND, RES_CHRATR_CJK_LANGUAGE, RES_CHRATR_CTL_LANGUAGE, RES_CHRATR_LANGUAGE, RES_PAPER_BIN, RES_PARATR_TABSTOP, SelectShell(), SfxImageItem::SetMirrored(), SfxItemSet::SetParent(), SfxImageItem::SetRotation(), SfxBindings::SetVisibleState(), SwRedlineTable::size(), SwPaM::Start(), SW_MOD, Table, and Text.

Referenced by SwSpellPopup::checkRedline().

OUString SwView::GetThesaurusLookUpText ( bool  bSelection) const

Definition at line 491 of file viewling.cxx.

Referenced by SwTextShell::Execute().

view::XSelectionSupplier * SwView::GetUNOObject ( )
SwView_Impl* SwView::GetViewImpl ( )
inlineprotected
const tools::Rectangle& SwView::GetVisArea ( ) const
inline
SvxRuler& SwView::GetVRuler ( )
inline
void SwView::GetVRulerMetric ( FieldUnit rToFill) const

Definition at line 597 of file viewmdi.cxx.

References m_pVRuler.

Referenced by SwXViewSettings::_getSingleValue(), and SwModule::CreateItemSet().

SwWrtShell& SwView::GetWrtShell ( ) const
inline

Definition at line 400 of file view.hxx.

Referenced by SwXViewSettings::_getSingleValue(), SwXViewSettings::_preGetValues(), SwXViewSettings::_preSetValues(), SwXViewSettings::_setSingleValue(), SwEditWin::AcceptDrop(), SwFieldDlg::Activate(), SwXDispatch::addStatusListener(), SwSequenceOptionDialog::Apply(), SwModule::ApplyItemSet(), SwModule::ApplyUsrPref(), AreOnlyFormsSelected(), BeginTextEdit(), SwXTextView::BuildTmpSelectionDoc(), CalcVisArea(), SwNumFormatBase::CallSelectHdl(), SwClipboardChangeListener::changedContents(), SwXTextViewCursor::collapseToEnd(), SwXTextViewCursor::collapseToStart(), SwEditWin::Command(), SwHHCWrapper::ConvContinue_impl(), SwHHCWrapper::Convert(), SdrHHCWrapper::ConvertNextDocument(), SwContentTree::CreateContextMenu(), SwModule::CreateItemSet(), SwTbxAutoTextCtrl::CreatePopupWindow(), SwInsertDBColAutoPilot::DataToDoc(), SwXDispatch::dispatch(), SwNavigationPI::dispose(), SwEditWin::dispose(), DoVerb(), SwCaptionDialog::DrawSample(), SwEditWin::DropCleanup(), SwFieldDlg::EnableInsert(), EnsureMailMergeConfigItem(), SwEditWin::EnterDrawMode(), EnterDrawTextMode(), EnterShapeDrawTextMode(), SwAnnotationShell::Exec(), ExecColl(), ExecFormatFootnote(), ExecFormatPaintbrush(), SwAnnotationShell::ExecLingu(), SwTextShell::ExecMoveMisc(), ExecNumberingOutline(), SwModule::ExecOther(), ExecTabWin(), SwAnnotationShell::ExecUndo(), SwReadOnlyPopup::Execute(), SwDocShell::Execute(), SwHeaderFooterWin::ExecuteCommand(), SwContentTree::ExecuteContextMenuAction(), SwEditWin::ExecuteDrop(), ExecutePrint(), ExecViewOptions(), SwMMResultPrintDialog::FillInPrinterSettings(), SwOleClient::FormatChanged(), GetActiveWrtShell(), SwAnnotationShell::GetAnnotationPool(), SwXTextView::GetControl(), SwXTextViewCursor::GetDoc(), GetDrawView(), SwEditWin::GetDropDestination(), SwXTextViewCursor::getEnd(), SwEditWin::GetFocus(), SwXTextView::getFormController(), GetLeftMargin(), SwAnnotationShell::GetLinguState(), SwXTextViewCursor::getPage(), SwGotoPageDlg::GetPageInfo(), GetPageScrollDownOffset(), GetPageScrollUpOffset(), SwXTextViewCursor::GetPaM(), SwXTextViewCursor::getPosition(), GetPrinter(), SwXTextViewCursor::getPropertyDefault(), SwXTextViewCursor::getPropertyState(), SwXTextViewCursor::getPropertyStates(), SwXTextView::getPropertyValue(), SwXTextViewCursor::getPropertyValue(), SwXTextView::getRubyList(), SwXTextView::getSelection(), GetSelectionTextParam(), SwDrawTextShell::GetShell(), SwBaseShell::GetShell(), SwXTextViewCursor::getStart(), GetState(), SwXTextViewCursor::getString(), SwEditWin::GetSurroundingText(), SwEditWin::GetSurroundingTextSelection(), SwXTextViewCursor::getText(), SwXTextDocument::getTrackedChanges(), SwXTextView::getTransferable(), SwXTextViewCursor::goDown(), SwXTextViewCursor::goLeft(), SwXTextViewCursor::goRight(), GotFocus(), SwXTextViewCursor::gotoEnd(), SwXTextViewCursor::gotoEndOfLine(), SwXTextViewCursor::gotoRange(), SwXTextViewCursor::gotoStart(), SwXTextViewCursor::gotoStartOfLine(), SwXTextViewCursor::goUp(), HasSelection(), IMPL_LINK(), IMPL_LINK_NOARG(), SwInsertDBColAutoPilot::ImplCommit(), ImpSetVerb(), SwNumFormatBase::Init(), SwMailMergeLayoutPage::InsertAddressAndGreeting(), SwDrawTextShell::InsertSymbol(), SwAnnotationShell::InsertSymbol(), SwXTextView::insertTransferable(), SwXTextViewCursor::isAtEndOfLine(), SwXTextViewCursor::isAtStartOfLine(), IsBezierEditMode(), SwXTextViewCursor::isCollapsed(), SwFieldMgr::IsDBNumeric(), SwNavigationPI::IsGlobalDoc(), SwEditWin::IsInHeaderFooter(), SwEditWin::IsOverHeaderFooterFly(), SwXTextViewCursor::IsTextSelection(), IsTextTool(), SwXTextViewCursor::jumpToEndOfPage(), SwXTextViewCursor::jumpToFirstPage(), SwXTextViewCursor::jumpToLastPage(), SwXTextViewCursor::jumpToNextPage(), SwXTextViewCursor::jumpToPage(), SwXTextViewCursor::jumpToPreviousPage(), SwXTextViewCursor::jumpToStartOfPage(), lcl_GetPos(), lcl_isNonDefaultLanguage(), SwInsertDBColAutoPilot::Load(), sw::sidebarwindows::SidebarScrollBar::LogicInvalidate(), sw::sidebarwindows::SidebarTextControl::LogicInvalidate(), SwRedlineTable::LOKRedlineNotification(), SwEditWin::LoseFocus(), SwNavigationPI::MakeMark(), MarginChanged(), SwDBManager::MergeMailFiles(), SwCaptionDialog::ModifyHdl(), SwHeaderFooterWin::MouseButtonDown(), sw::sidebarwindows::SidebarTextControl::MouseButtonDown(), Move(), SwNavigationPI::MoveOutline(), Notify(), SwParaDlg::PageCreated(), SwDBManager::PerformMailMerge(), SwLinguServiceEventListener::processLinguServiceEvent(), RecheckBrowseMode(), SwFieldDlg::ReInitDlg(), SwDocShell::ReloadFromHtml(), sw::sidebarwindows::SidebarTextControl::RequestHelp(), SwEditWin::RequestHelp(), Scroll(), SdrHHCWrapper::SdrHHCWrapper(), SwPageBreakWin::Select(), SwXTextView::select(), SwWebView::SelectShell(), SelectShell(), SwEditWin::SetCursorTwipPosition(), SwNumFormatBase::SetDefFormat(), SwNumFormatBase::SetFormatType(), SwFrameControlsManager::SetHeaderFooterControl(), SwFrameControlsManager::SetPageBreakControl(), SetPrinter(), SwXTextViewCursor::setPropertyToDefault(), SwXTextView::setPropertyValue(), SwXTextViewCursor::setPropertyValue(), SwXTextView::setRubyList(), SwMailMergeConfigItem::SetSourceView(), SwXTextViewCursor::setString(), SwInsertDBColAutoPilot::SetTabSet(), SwFrameControlsManager::SetUnfloatTableButton(), SwDocShell::SetView(), SetVisArea(), SwEditWin::ShowAutoCorrectQuickHelp(), SwEditWin::ShowAutoText(), SwInsertDBColAutoPilot::SplitTextToColArr(), SwEditWin::StartDrag(), SwEditWin::StartExecuteDrag(), StateFormatPaintbrush(), SwModule::StateOther(), StateTabWin(), SwAnnotationShell::StateUndo(), StateViewOptions(), SwEditWin::StopQuickHelp(), SwapPageMargin(), SwBaseShell::SwBaseShell(), SwCaptionDialog::SwCaptionDialog(), SwFrameShell::SwFrameShell(), SwGetChartDialogPos(), SwInsertChart(), SwInsertDBColAutoPilot::SwInsertDBColAutoPilot(), SwPostItMgr::SwPostItMgr(), SwReadOnlyPopup::SwReadOnlyPopup(), SwSequenceOptionDialog::SwSequenceOptionDialog(), SwDocShell::ToggleLayoutMode(), SwWordCountFloatDlg::UpdateCounts(), SwMailMergeConfigItem::updateCurrentDBDataFromDocument(), sw::SwDocIdle::UpdateMinPeriod(), SwPageBreakWin::UpdatePosition(), SwNavigationPI::UsePage(), SdrHHCWrapper::~SdrHHCWrapper(), SwBaseShell::~SwBaseShell(), SwHHCWrapper::~SwHHCWrapper(), and ~SwView().

SwWrtShell* SwView::GetWrtShellPtr ( ) const
inline
long SwView::GetXScroll ( ) const
inlineprivate

Definition at line 678 of file view.hxx.

References tools::Rectangle::GetWidth(), m_aVisArea, and nScrollX.

Referenced by CalcPt(), and Scroll().

long SwView::GetYScroll ( ) const
inlineprivate
void SwView::GotFocus ( ) const
bool SwView::HandleWheelCommands ( const CommandEvent rCEvt)
bool SwView::HasOnlyObj ( SdrObject const *  pSdrObj,
SdrInventor  eObjInventor 
) const
bool SwView::HasPrintOptionsPage ( ) const
overridevirtual

Reimplemented from SfxViewShell.

Definition at line 149 of file viewprt.cxx.

bool SwView::HasSelection ( bool  bText = true) const
overridevirtual

Reimplemented from SfxViewShell.

Definition at line 1602 of file view.cxx.

References GetWrtShell(), and SwWrtShell::HasSelection().

Referenced by GetSelectionTextParam(), and lcl_GetPrintUIOptions().

bool SwView::HasUIFeature ( SfxShellFeature  nFeature) const
overridevirtual

Reimplemented from SfxShell.

Definition at line 589 of file viewstat.cxx.

References m_pWrtShell.

void SwView::HyphenateDocument ( )
private
void SwView::HyphenateDrawText ( )
private
void SwView::HyphStart ( SvxSpellArea  eSpell)
private

Definition at line 386 of file viewling.cxx.

References Curr, End, OtherEnd, OtherStart, and Start.

Referenced by SwHyphWrapper::SpellStart().

void SwView::ImpSetVerb ( SelectionType  nSelType)
protected
void SwView::InitInterface_Impl ( )
staticprivate
void SwView::InnerResizePixel ( const Point rOfs,
const Size rSize,
bool  inplaceEditModeChange 
)
overrideprotectedvirtual
void SwView::InsertCaption ( const InsCaptionOpt pOpt)
long SwView::InsertDoc ( sal_uInt16  nSlotId,
const OUString &  rFileName,
const OUString &  rFilterName,
sal_Int16  nVersion = 0 
)
ErrCode SwView::InsertGraphic ( const OUString &  rPath,
const OUString &  rFilter,
bool  bLink,
GraphicFilter pFlt 
)
bool SwView::InsertGraphicDlg ( SfxRequest rReq)
long SwView::InsertMedium ( sal_uInt16  nSlotId,
std::unique_ptr< SfxMedium pMedium,
sal_Int16  nVersion 
)
void SwView::InsertThesaurusSynonym ( const OUString &  rSynonmText,
const OUString &  rLookUpText,
bool  bValidSelection 
)
void SwView::InsFrameMode ( sal_uInt16  nCols)
void SwView::InvalidateRulerPos ( )
bool SwView::IsBezierEditMode ( ) const

Definition at line 627 of file viewdraw.cxx.

References GetDrawView(), GetWrtShell(), and IsDrawSelMode().

Referenced by SwWrtShell::GetSelectionType().

bool SwView::IsConditionalFastCall ( const SfxRequest rReq)
overridevirtual
bool SwView::IsDocumentBorder ( )
private
bool SwView::IsDrawMode ( ) const
inline
bool SwView::IsDrawRotate ( ) const
inline
bool SwView::IsDrawSelMode ( ) const
inline

Definition at line 518 of file view.hxx.

Referenced by IsBezierEditMode(), and ConstRectangle::MouseButtonDown().

bool SwView::IsDrawTextHyphenate ( )
private
bool SwView::IsFormMode ( ) const
bool SwView::IsHScrollbarVisible ( ) const

Definition at line 673 of file viewmdi.cxx.

References SwScrollbar::IsAuto(), SwScrollbar::IsVisible(), and m_pHScrollbar.

Referenced by StateViewOptions().

bool SwView::IsPasteAllowed ( )
bool SwView::IsPasteSpecialAllowed ( )
bool SwView::isQRCodeSelected ( ) const
bool SwView::IsScroll ( const tools::Rectangle rRect) const

Definition at line 396 of file viewport.cxx.

References tools::Rectangle::IsInside(), m_aVisArea, m_bCenterCursor, and m_bTopCursor.

bool SwView::isSignatureLineSelected ( ) const
bool SwView::isSignatureLineSigned ( ) const
bool SwView::IsTabColFromDoc ( ) const
inline

Definition at line 432 of file view.hxx.

Referenced by ExecTabWin(), and StateTabWin().

bool SwView::IsTabRowFromDoc ( ) const
inline

Definition at line 434 of file view.hxx.

Referenced by StateTabWin().

bool SwView::IsTextTool ( ) const
private
bool SwView::IsValidSelectionForThesaurus ( ) const

Definition at line 481 of file viewling.cxx.

bool SwView::IsVScrollbarVisible ( ) const

Definition at line 685 of file viewmdi.cxx.

References SwScrollbar::IsVisible(), and m_pVScrollbar.

Referenced by StateViewOptions().

bool SwView::JumpToSwMark ( const OUString &  rMark)
void SwView::KillTab ( )

Definition at line 573 of file viewmdi.cxx.

References SfxViewShell::InvalidateBorder(), and m_pHRuler.

Referenced by lcl_SetUIPrefs(), and Notify().

void SwView::KillVRuler ( )

Definition at line 616 of file viewmdi.cxx.

References SfxViewShell::InvalidateBorder(), m_pHRuler, and m_pVRuler.

Referenced by lcl_SetUIPrefs(), and Notify().

void SwView::LeaveDrawCreate ( )
inline
void SwView::MarginChanged ( )
overridevirtual

Reimplemented from SfxViewShell.

Definition at line 157 of file view1.cxx.

References SfxViewShell::GetMargin(), GetWrtShell(), and SwViewShell::SetBrowseBorder().

void SwView::Move ( )
overrideprivatevirtual

Reimplemented from SfxViewShell.

Definition at line 1202 of file viewport.cxx.

References SwWrtShell::EndSelect(), GetWrtShell(), and SfxViewShell::Move().

void SwView::NoRotate ( )
void SwView::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
overrideprivatevirtual
void SwView::NotifyCursor ( SfxViewShell pViewShell) const
overridevirtual

See SfxViewShell::NotifyCursor().

Reimplemented from SfxViewShell.

Definition at line 303 of file viewprt.cxx.

References m_pWrtShell.

void SwView::NotifyDBChanged ( )
void SwView::OuterResizePixel ( const Point rOfs,
const Size rSize 
)
overrideprotectedvirtual
bool SwView::PageDown ( )
private
bool SwView::PageDownCursor ( bool  bSelect)
private

Definition at line 665 of file viewport.cxx.

References GetPageScrollDownOffset(), m_pWrtShell, and PageDown().

bool SwView::PageUp ( )
private
bool SwView::PageUpCursor ( bool  bSelect)
private

Definition at line 639 of file viewport.cxx.

References CRSR_SKIP_CHARS, eType, FOOTNOTE, GetPageScrollUpOffset(), m_pWrtShell, and PageUp().

void SwView::PhyPageDown ( )
private
void SwView::PhyPageUp ( )
private
bool SwView::PrepareClose ( bool  bUI = true)
overridevirtual
void SwView::ReadUserData ( const OUString &  rUserData,
bool  bBrowse = false 
)
overridevirtual
void SwView::ReadUserDataSequence ( const css::uno::Sequence< css::beans::PropertyValue > &  )
overridevirtual
void SwView::RecheckBrowseMode ( )
void SwView::Replace ( )
private
void SwView::ResetSubShell ( )
inline

Definition at line 569 of file view.hxx.

Referenced by Notify(), SwBaseShell::~SwBaseShell(), and SwDrawTextShell::~SwDrawTextShell().

void SwView::ScannerEventHdl ( )
void SwView::Scroll ( const tools::Rectangle rRect,
sal_uInt16  nRangeX = USHRT_MAX,
sal_uInt16  nRangeY = USHRT_MAX 
)
bool SwView::SearchAll ( )
private

Definition at line 635 of file viewsrch.cxx.

References Start.

bool SwView::SearchAndWrap ( bool  bApi)
private
void SwView::SelectShell ( )
protectedvirtual
void SwView::SelectShellForDrop ( )

Definition at line 187 of file edtdd.cxx.

References GetCurShell(), and SelectShell().

Referenced by SwEditWin::ExecuteDrop().

void SwView::SetActMark ( sal_Int32  nSet)
static

Definition at line 662 of file viewmdi.cxx.

References m_nActMark.

Referenced by SwNavigationPI::MakeMark().

void SwView::SetCachedString ( CachedStringID  id,
const OUString &  sStr 
)
inline

Definition at line 663 of file view.hxx.

Referenced by SetOldDrwCat().

void SwView::SetCursorAtTop ( bool  bFlag,
bool  bCenter = false 
)
inline

Definition at line 576 of file view.hxx.

void SwView::SetDrawFuncPtr ( std::unique_ptr< SwDrawBase pFuncPtr)
void SwView::SetFormShell ( FmFormShell pSh)
inlineprotected

Definition at line 344 of file view.hxx.

Referenced by SwWebView::SelectShell().

long SwView::SetHScrollMax ( long  lMax)
void SwView::SetLastTableFrameFormat ( const SwFrameFormat pSet)
inlineprotected

Definition at line 354 of file view.hxx.

Referenced by SwWebView::SelectShell().

void SwView::SetMailMergeConfigItem ( std::shared_ptr< SwMailMergeConfigItem > const &  rConfigItem)

Definition at line 133 of file view0.cxx.

References m_pViewImpl, and SfxShell::UIFeatureChanged().

Referenced by EnsureMailMergeConfigItem(), and IMPL_LINK_NOARG().

void SwView::SetMoveType ( sal_uInt16  nSet)
static

Definition at line 657 of file viewmdi.cxx.

References m_nMoveType.

Referenced by ExecSearch(), IMPL_LINK(), and NavElementBox_Impl::Select().

void SwView::SetNumRuleNodeFromDoc ( SwTextNode pNumRuleNode)
inline

Definition at line 436 of file view.hxx.

Referenced by ExecTabWin().

void SwView::SetOldDrwCat ( const OUString &  sStr)

Definition at line 2567 of file view2.cxx.

References SetCachedString().

void SwView::SetOldFrameCat ( const OUString &  sStr)

Definition at line 2557 of file view2.cxx.

void SwView::SetOldGrfCat ( const OUString &  sStr)

Definition at line 2537 of file view2.cxx.

void SwView::SetOldTabCat ( const OUString &  sStr)

Definition at line 2547 of file view2.cxx.

sal_uInt16 SwView::SetPrinter ( SfxPrinter pNew,
SfxPrinterChangeFlags  nDiff = SFX_PRINTER_ALL 
)
overridevirtual
void SwView::SetRedlineAuthor ( const OUString &  rAuthor)

Definition at line 293 of file viewprt.cxx.

References m_pViewImpl.

Referenced by SwXTextDocument::initializeForTiledRendering().

void SwView::SetSelDrawSlot ( )

Definition at line 647 of file viewdraw.cxx.

References m_nDrawSfxId, and m_sDrawCustom.

void SwView::SetSelectionType ( SelectionType  nSet)
inlineprotected

Definition at line 340 of file view.hxx.

Referenced by SwWebView::SelectShell().

void SwView::SetShell ( SfxShell pS)
inlineprotected

Definition at line 343 of file view.hxx.

Referenced by SwWebView::SelectShell().

void SwView::SetTabColFromDoc ( bool  b)
inline

Definition at line 431 of file view.hxx.

void SwView::SetTabColFromDocPos ( const Point rPt)
inline

Definition at line 430 of file view.hxx.

void SwView::SetTabRowFromDoc ( bool  b)
inline

Definition at line 433 of file view.hxx.

void SwView::SetViewLayout ( sal_uInt16  nColumns,
bool  bBookMode,
bool  bViewOnly = false 
)
void SwView::SetVisArea ( const tools::Rectangle rRect,
bool  bUpdateScrollbar = true 
)
void SwView::SetVisArea ( const Point rPt,
bool  bUpdateScrollbar = true 
)
long SwView::SetVScrollMax ( long  lMax)
void SwView::SetZoom ( SvxZoomType  eZoomType,
short  nFactor = 100,
bool  bViewOnly = false 
)
void SwView::SetZoom_ ( const Size rEditSz,
SvxZoomType  eZoomType,
short  nFactor,
bool  bViewOnly 
)
private
void SwView::SetZoomFactor ( const Fraction rX,
const Fraction rY 
)
overridevirtual

Reimplemented from SfxViewShell.

Definition at line 1155 of file viewport.cxx.

References SetZoom(), and SfxViewShell::SetZoomFactor().

SwView::SFX_DECL_VIEWFACTORY ( SwView  )
void SwView::ShowAtResize ( )
private

Definition at line 949 of file viewport.cxx.

References m_bShowAtResize, m_pHRuler, and m_pWrtShell.

Referenced by InnerResizePixel(), and OuterResizePixel().

void SwView::ShowCursor ( bool  bOn = true)
overridevirtual

Reimplemented from SfxViewShell.

Definition at line 1573 of file view.cxx.

References m_pWrtShell.

void SwView::ShowHScrollbar ( bool  bShow)

Definition at line 667 of file viewmdi.cxx.

References SwScrollbar::ExtendedShow(), and m_pHScrollbar.

Referenced by OuterResizePixel(), and SwView().

void SwView::ShowUIElement ( const OUString &  sElementURL) const

Definition at line 248 of file view.cxx.

References SfxViewShell::GetViewFrame().

Referenced by SwModule::InsertLab(), and SelectShell().

void SwView::ShowVScrollbar ( bool  bShow)

Definition at line 679 of file viewmdi.cxx.

References SwScrollbar::ExtendedShow(), and m_pVScrollbar.

Referenced by OuterResizePixel(), and SwView().

SAL_DLLPRIVATE void SwView::SpellContext ( bool  bOn = true)
inlineprivate

Definition at line 309 of file view.hxx.

void SwView::SpellEnd ( SwConversionArgs const *  pConvArgs)
private

Definition at line 379 of file viewling.cxx.

Referenced by SwHHCWrapper::ConvEnd_impl().

void SwView::SpellError ( LanguageType  eLang)
void SwView::SpellStart ( SvxSpellArea  eSpell,
bool  bStartDone,
bool  bEndDone,
SwConversionArgs pConvArgs 
)
private

Definition at line 273 of file viewling.cxx.

References Curr, End, GetLinguPropertySet(), OtherEnd, OtherStart, and Start.

Referenced by SwHHCWrapper::ConvStart_impl().

void SwView::StartTextConversion ( LanguageType  nSourceLang,
LanguageType  nTargetLang,
const vcl::Font pTargetFont,
sal_Int32  nOptions,
bool  bIsInteractive 
)
private
void SwView::StartThesaurus ( )
private
void SwView::StateFormatPaintbrush ( SfxItemSet rSet)
void SwView::StateSearch ( SfxItemSet rSet)
void SwView::StateStatusLine ( SfxItemSet rSet)

get status of the status line

Definition at line 1323 of file view2.cxx.

References SvxZoomSliderItem::AddSnappingPoint(), Size::AdjustWidth(), SwCursorShell::bColumnChange(), BROWSE_MODE, SwEditShell::CountWords(), SfxItemSet::DisableItem(), SwCursorShell::FireColumnChangeEvent(), SwCursorShell::FirePageChangeEvent(), SwCursorShell::FireSectionChangeEvent(), SfxWhichIter::FirstWhich(), FLY_DRAG, FLY_DRAG_END, FLY_DRAG_START, FN_STAT_PAGE, FN_STAT_SELMODE, FN_STAT_TEMPLATE, FN_STAT_WORDCOUNT, SwFEShell::GetAnchorObjDiff(), SwCursorShell::GetBoxNms(), SwViewOption::getBrowseMode(), SwEditShell::GetCurAttr(), SwWrtShell::GetCurPageStyle(), SwEditShell::GetCurrentParaOutlineLevel(), SwEditShell::GetCurrSection(), SwViewShell::GetDoc(), SwViewOption::GetDocumentBorder(), SwDocShell::GetEventName(), SwBaseShell::GetFrameMode(), SwViewOption::GetGapBetweenPages(), SwDoc::getIDocumentStatistics(), SwFormat::GetName(), LocaleDataWrapper::getNum(), SwEditShell::GetNumLevel(), SwEditShell::GetNumRuleAtCurrCursorPos(), SwFEShell::GetObjSize(), SwFEShell::GetPageNumber(), SwSection::GetSectionName(), Application::GetSettings(), SwPostItMgr::GetSidebarBorderWidth(), SwPostItMgr::GetSidebarWidth(), SwEditShell::GetTableFormat(), SwTOXBase::GetTOXName(), SwSection::GetType(), AllSettings::GetUILocaleDataWrapper(), IDocumentStatistics::GetUpdatedDocStat(), SwViewOption::GetViewLayoutColumns(), SwViewShell::GetViewOptions(), SwViewOption::GetZoom(), SwViewOption::GetZoomType(), SwPostItMgr::HasNotes(), SwCursorShell::HasReadonlySel(), Size::Height(), SwWrtShell::IsAddMode(), SwNumRule::IsAutoRule(), SwWrtShell::IsBlockMode(), SwCursorShell::IsCursorInTable(), SwCursorShell::IsCursorVisible(), SwFEShell::IsFrameSelected(), SwWrtShell::IsInsMode(), SwFEShell::IsObjSelected(), SwNumRule::IsOutlineRule(), SwEditShell::IsRedlineOn(), SwWrtShell::IsStdMode(), SwViewOption::IsViewLayoutBookMode(), MAXLEVEL, MAXZOOM, MINZOOM, SwDocStat::nChar, SfxWhichIter::NextWhich(), SfxApplication::NotifyEvent(), SwDocStat::nWord, PageCalc, PagesArea, SfxItemSet::Put(), RES_PARATR_NUMRULE, SwWordCountWrapper::SetCounts(), SwBaseShell::SetFrameMode_(), SvxZoomItem::SetValueSet(), SfxGetpApp(), SwPostItMgr::ShowNotes(), sStatusDelim, STR_SW_EVENT_PAGE_COUNT, SwResId(), TOX_CONTENT_SECTION, TOX_HEADER_SECTION, and Size::Width().

void SwView::StateTabWin ( SfxItemSet rSet)

Definition at line 1278 of file viewtab.cxx.

References tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), SvxColumnItem::Append(), SwRect::Bottom(), SwFormatCol::CalcColWidth(), SvxColumnItem::CalcOrtho(), COLSECT, COLSECTOUTTAB, COLUMN, Content, SwTabCols::Count(), SfxItemSet::DisableItem(), DRAWOBJ, SfxWhichIter::FirstWhich(), FLY_ANY, FlyEmbedded, FlyEmbeddedPrt, FOOTER, Frame, SfxItemSet::Get(), IDocumentSettingAccess::get(), SwFEShell::GetAnyCurRect(), SwEditShell::GetAnySection(), SwFormat::GetAttrSet(), SwFormat::GetBox(), SwViewOption::getBrowseMode(), SwFormat::GetCol(), SwFormatCol::GetColumns(), SwEditShell::GetCurAttr(), SwFEShell::GetCurColNum(), SwFEShell::GetCurMouseColNum(), SwFEShell::GetCurMouseTabColNum(), SwFEShell::GetCurOutColNum(), SwFEShell::GetCurPageDesc(), SwFEShell::GetCurTabColNum(), SwEditShell::GetDefault(), SvxBoxItem::GetDistance(), SwTabCols::GetEntry(), SwTextNode::GetFirstLineOfsWithNum(), SwFEShell::GetFlyFrameAttr(), SwFEShell::GetFlyFrameFormat(), SwFormat::GetFooter(), SwFormatFooter::GetFooterFormat(), SwSection::GetFormat(), SwFormat::GetFormatAttr(), SwFormat::GetFrameDir(), SwFEShell::GetFrameType(), XFillBitmapItem::GetGraphicObject(), XFillHatchItem::GetHatchValue(), SwFormat::GetHeader(), SwFormatHeader::GetHeaderFormat(), SwViewShell::getIDocumentSettingAccess(), SfxItemSet::GetItem(), SvxLRSpaceItem::GetLeft(), SwColumn::GetLeft(), SwTabCols::GetLeft(), SwTextNode::GetLeftMarginWithNum(), SwTabCols::GetLeftMin(), SvxULSpaceItem::GetLower(), SwFormat::GetLRSpace(), SwPageDesc::GetMaster(), GetMetricText(), SwFEShell::GetMousePageDesc(), SwFEShell::GetMouseTabCols(), SwFEShell::GetMouseTabRows(), NameOrIndex::GetName(), SwFormatCol::GetNumCols(), SwFEShell::GetObjRect(), SwFEShell::GetPageDesc(), SfxShell::GetPool(), SvxLRSpaceItem::GetRight(), SwColumn::GetRight(), SwTabCols::GetRight(), SwWrtShell::GetSelectionType(), SvxBoxItem::GetSmallestDistance(), SwFEShell::GetTabBorders(), SwFEShell::GetTabCols(), GetTabDist(), SwEditShell::GetTableFormat(), SwFEShell::GetTabRows(), SwFormat::GetULSpace(), SvxULSpaceItem::GetUpper(), SwViewShell::GetViewOptions(), SfxShell::GetViewShell(), GetWrtShell(), Graphic, HEADER, HeaderFooter, SwRect::Height(), i, SfxItemSet::InvalidateItem(), comphelper::LibreOfficeKit::isActive(), SwFormatHeader::IsActive(), SwFormatFooter::IsActive(), SwFEShell::IsColRightToLeft(), SwFEShell::IsDirectlyInSection(), SwPageDesc::IsFirstShared(), SwPageDesc::IsFooterShared(), SwFEShell::IsFrameSelected(), SwFEShell::IsFrameVertical(), SwPageDesc::IsHeaderShared(), SwTabCols::IsHidden(), SwCursorShell::IsInRightToLeftText(), SwCursorShell::IsInVerticalText(), SwFEShell::IsMouseTableRightToLeft(), SwFEShell::IsObjSelected(), IsTabColFromDoc(), SwFEShell::IsTableRightToLeft(), SwFEShell::IsTableVertical(), IsTabRowFromDoc(), lcl_EraseDefTabs(), lcl_FillSvxColumn(), tools::Rectangle::Left(), SwRect::Left(), SfxViewShell::libreOfficeKitViewCallback(), m_aTabColFromDocPos, m_bSetTabColFromDoc, m_bSetTabRowFromDoc, m_bTabRowFromDoc, m_nLeftBorderDistance, m_nRightBorderDistance, m_pHRuler, m_pNumRuleNodeFromDoc, m_pVRuler, m_pWrtShell, MINLAY, nBorder, SfxWhichIter::NextWhich(), SwTabColsEntry::nMax, SwTabColsEntry::nMin, SwTabColsEntry::nPos, Ole, OUStringToOString(), Page, PagePrt, SwRect::Pos(), Pos, SfxItemSet::Put(), RES_BOX, RES_LR_SPACE, RES_PARATR_TABSTOP, RES_UL_SPACE, SwRect::Right(), Section, SectionOutsideTable, SectionPrt, SvxProtectItem::SetContentProtect(), SvxRuler::SetDefTabDist(), tools::Rectangle::SetLeft(), SvxLongLRSpaceItem::SetLeft(), SvxColumnItem::SetLeft(), SvxLRSpaceItem::SetLeft(), SvxColumnItem::SetOrtho(), SvxProtectItem::SetPosProtect(), tools::Rectangle::SetRight(), SvxColumnItem::SetRight(), SvxLRSpaceItem::SetRight(), SvxProtectItem::SetSizeProtect(), SvxRuler::SetTabsRelativeToIndent(), SID_ATTR_PAGE_COLUMN, SID_ATTR_PAGE_FOOTER, SID_ATTR_PAGE_FOOTER_LAYOUT, SID_ATTR_PAGE_FOOTER_LRMARGIN, SID_ATTR_PAGE_FOOTER_SPACING, SID_ATTR_PAGE_HEADER, SID_ATTR_PAGE_HEADER_LAYOUT, SID_ATTR_PAGE_HEADER_LRMARGIN, SID_ATTR_PAGE_HEADER_SPACING, Size, SwapPageMargin(), TABLE, TABS_RELATIVE_TO_INDENT, SwRect::Top(), WB_EXTRAFIELD, SwRect::Width(), XATTR_FILLBITMAP, XATTR_FILLCOLOR, XATTR_FILLGRADIENT, XATTR_FILLHATCH, and XATTR_FILLSTYLE.

void SwView::StateViewOptions ( SfxItemSet rSet)
bool SwView::StatVRuler ( ) const
inline

Definition at line 477 of file view.hxx.

Referenced by StateViewOptions().

void SwView::StopShellTimer ( )
void SwView::SwapPageMargin ( const SwPageDesc rDesc,
SvxLRSpaceItem rLR 
)
private
void SwView::UpdateDocStats ( )

Definition at line 1315 of file view2.cxx.

References FN_STAT_WORDCOUNT, SfxBindings::Invalidate(), and SfxBindings::Update().

Referenced by sw::IMPL_LINK().

void SwView::UpdatePageNums ( sal_uInt16  nPhyNum,
sal_uInt16  nVirtNum,
const OUString &  rPgStr 
)

invalidate page numbering field

Definition at line 1299 of file view2.cxx.

References FN_STAT_PAGE, and SfxBindings::SetState().

bool SwView::UpdateScrollbars ( )
private
void SwView::UpdateWordCount ( SfxShell pShell,
sal_uInt16  nSlot 
)
void SwView::WriteUserData ( OUString &  rUserData,
bool  bBrowse = false 
)
overridevirtual
void SwView::WriteUserDataSequence ( css::uno::Sequence< css::beans::PropertyValue > &  )
overridevirtual

Friends And Related Function Documentation

friend class SwClipboardChangeListener
friend

Definition at line 151 of file view.hxx.

friend class SwHHCWrapper
friend

Definition at line 148 of file view.hxx.

friend class SwHyphWrapper
friend

Definition at line 149 of file view.hxx.

friend class SwView_Impl
friend

Definition at line 150 of file view.hxx.

Referenced by SwView().

Member Data Documentation

Size SwView::m_aDocSz
private
Point SwView::m_aTabColFromDocPos
private

Definition at line 176 of file view.hxx.

Referenced by ExecTabWin(), and StateTabWin().

Timer SwView::m_aTimer
private

Definition at line 166 of file view.hxx.

Referenced by StopShellTimer(), SwView(), and ~SwView().

tools::Rectangle SwView::m_aVisArea
private
bool SwView::m_bAttrChgNotified
private

Definition at line 229 of file view.hxx.

Referenced by StopShellTimer(), and SwView().

bool SwView::m_bAttrChgNotifiedWithRegistrations
private

Definition at line 229 of file view.hxx.

Referenced by StopShellTimer(), SwView(), and ~SwView().

bool SwView::m_bCenterCursor
private

Definition at line 229 of file view.hxx.

Referenced by IsScroll(), and Scroll().

bool SwView::m_bDrawRotate
private

Definition at line 229 of file view.hxx.

bool SwView::m_bDrawSelMode
private

Definition at line 229 of file view.hxx.

bool SwView::m_bHScrollbarEnabled
private

Definition at line 194 of file view.hxx.

Referenced by EnableHScrollbar(), OuterResizePixel(), and SwView().

bool SwView::m_bInDtor
private

Definition at line 229 of file view.hxx.

Referenced by SelectShell(), and ~SwView().

bool SwView::m_bInInnerResizePixel
private

Definition at line 229 of file view.hxx.

Referenced by DocSzChgd(), InnerResizePixel(), and SetVisArea().

bool SwView::m_bInitOnceCompleted = false
private

Definition at line 250 of file view.hxx.

Referenced by SelectShell().

bool SwView::m_bInMailMerge
private

Definition at line 229 of file view.hxx.

Referenced by GetState().

bool SwView::m_bInOuterResizePixel
private

Definition at line 229 of file view.hxx.

Referenced by DocSzChgd(), OuterResizePixel(), and SetVisArea().

bool SwView::m_bIsPreviewDoubleClick
private

Definition at line 229 of file view.hxx.

Referenced by ReadUserDataSequence(), and SwView().

bool SwView::m_bMakeSelectionVisible
private

Definition at line 229 of file view.hxx.

Referenced by Activate().

bool SwView::m_bOldShellWasPagePreview
private

Definition at line 229 of file view.hxx.

Referenced by ReadUserData(), ReadUserDataSequence(), and SwView().

bool SwView::m_bPasteSpecialState
private
bool SwView::m_bPasteState
private
bool SwView::m_bSetTabColFromDoc
private

Definition at line 229 of file view.hxx.

Referenced by ExecTabWin(), and StateTabWin().

bool SwView::m_bSetTabRowFromDoc
private

Definition at line 229 of file view.hxx.

Referenced by ExecTabWin(), and StateTabWin().

bool SwView::m_bShowAtResize
private

Definition at line 229 of file view.hxx.

Referenced by CreateScrollbar(), InnerResizePixel(), OuterResizePixel(), and ShowAtResize().

bool SwView::m_bTabColFromDoc
private

Definition at line 229 of file view.hxx.

Referenced by ExecTabWin().

bool SwView::m_bTabRowFromDoc
private

Definition at line 229 of file view.hxx.

Referenced by ExecTabWin(), and StateTabWin().

bool SwView::m_bTopCursor
private

Definition at line 229 of file view.hxx.

Referenced by IsScroll(), and Scroll().

bool SwView::m_bVerbsActive
private

Definition at line 229 of file view.hxx.

Referenced by ImpSetVerb().

bool SwView::m_bVScrollbarEnabled
private

Definition at line 195 of file view.hxx.

Referenced by EnableVScrollbar(), OuterResizePixel(), and SwView().

bool SwView::m_bWheelScrollInProgress
private

Definition at line 227 of file view.hxx.

Referenced by HandleWheelCommands().

SvxSearchCmd SwView::m_eLastSearchCommand
private

Definition at line 225 of file view.hxx.

sal_Int32 SwView::m_nActMark = 0
staticprivate

Definition at line 157 of file view.hxx.

Referenced by SetActMark().

sal_uInt16 SwView::m_nDrawSfxId
private

Definition at line 216 of file view.hxx.

Referenced by BeginTextEdit(), ExecDraw(), GetDrawState(), and SetSelDrawSlot().

sal_uInt16 SwView::m_nFormSfxId
private

Definition at line 218 of file view.hxx.

Referenced by ExecDraw(), and GetDrawState().

SotExchangeDest SwView::m_nLastPasteDestination
private
sal_uInt16 SwView::m_nLeftBorderDistance
private

Definition at line 222 of file view.hxx.

Referenced by ExecTabWin(), and StateTabWin().

SwTwips SwView::m_nLOKPageUpDownOffset
private

LibreOfficeKit has to force the page size for PgUp/PgDown functionality based on the user's view, instead of using the m_aVisArea.

Definition at line 254 of file view.hxx.

Referenced by GetPageScrollDownOffset(), and GetPageScrollUpOffset().

sal_uInt16 SwView::m_nMoveType = NID_PGE
staticprivate

Definition at line 156 of file view.hxx.

Referenced by GetMoveType(), and SetMoveType().

sal_uInt16 SwView::m_nNewPage
private

Definition at line 171 of file view.hxx.

Referenced by ReadUserData(), and SwView().

sal_uInt16 SwView::m_nOldPageNum
private

Definition at line 173 of file view.hxx.

sal_uInt16 SwView::m_nPageCnt
private

Definition at line 213 of file view.hxx.

sal_uInt16 SwView::m_nRightBorderDistance
private

Definition at line 223 of file view.hxx.

Referenced by ExecTabWin(), and StateTabWin().

SelectionType SwView::m_nSelectionType
private

Definition at line 212 of file view.hxx.

Referenced by GetState(), and SelectShell().

std::unique_ptr<SwDrawBase> SwView::m_pDrawActual
private

Definition at line 204 of file view.hxx.

Referenced by SetDrawFuncPtr().

VclPtr<SwEditWin> SwView::m_pEditWin
private
std::unique_ptr<SwFormatClipboard> SwView::m_pFormatClipboard
private

Definition at line 208 of file view.hxx.

Referenced by ExecFormatPaintbrush(), StateFormatPaintbrush(), and ~SwView().

FmFormShell* SwView::m_pFormShell
private

Definition at line 187 of file view.hxx.

Referenced by IsPasteSpecialAllowed(), PrepareClose(), and SelectShell().

std::unique_ptr<SwGlossaryHdl> SwView::m_pGlosHdl
private

Definition at line 203 of file view.hxx.

Referenced by GetGlosHdl(), and ~SwView().

VclPtr<SvxRuler> SwView::m_pHRuler
private
VclPtr<SwScrollbar> SwView::m_pHScrollbar
private
const SwFrameFormat* SwView::m_pLastTableFormat
private

Definition at line 206 of file view.hxx.

Referenced by SelectShell().

SwTextNode* SwView::m_pNumRuleNodeFromDoc
private

Definition at line 177 of file view.hxx.

Referenced by ExecTabWin(), and StateTabWin().

std::unique_ptr<SwPostItMgr> SwView::m_pPostItMgr
private

Definition at line 210 of file view.hxx.

Referenced by GotFocus(), OuterResizePixel(), SwView(), and ~SwView().

VclPtr<vcl::Window> SwView::m_pScrollFill
private

Definition at line 197 of file view.hxx.

Referenced by InnerResizePixel(), OuterResizePixel(), UpdateScrollbars(), and ~SwView().

SfxShell* SwView::m_pShell
private

Definition at line 186 of file view.hxx.

Referenced by Activate(), ExitDraw(), GetState(), and SelectShell().