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

#include <viewimp.hxx>

Collaboration diagram for SwViewShellImp:
[legend]

Public Member Functions

 SwViewShellImp (SwViewShell *)
 CTor for the core internals. More...
 
 ~SwViewShellImp ()
 
void Init (const SwViewOption *)
 
const SwViewShellGetShell () const
 Only for SwViewShell::Init() More...
 
SwViewShellGetShell ()
 
Color GetRetoucheColor () const
 
const SwPageFrameGetFirstVisPage (OutputDevice const *pRenderContext) const
 Management of the first visible Page. More...
 
SwPageFrameGetFirstVisPage (OutputDevice const *pRenderContext)
 
void SetFirstVisPageInvalid ()
 
const SwPageFrameGetLastVisPage (const OutputDevice *pRenderContext) const
 
bool AddPaintRect (const SwRect &rRect)
 
bool HasPaintRegion ()
 
std::optional< SwRegionRectsTakePaintRegion ()
 
const std::optional< SwRegionRects > & GetPaintRegion ()
 
void DeletePaintRegion ()
 
void AddPendingLOKInvalidation (const SwRect &rRect)
 
std::vector< SwRectTakePendingLOKInvalidations ()
 
bool HasDrawView () const
 New Interface for StarView Drawing. More...
 
SwDrawViewGetDrawView ()
 
const SwDrawViewGetDrawView () const
 
SdrPageViewGetPageView ()
 
const SdrPageViewGetPageView () const
 
void MakeDrawView ()
 
void PaintLayer (const SdrLayerID _nLayerID, SwPrintData const *const pPrintData, SwPageFrame const &rPageFrame, const SwRect &_rRect, const Color *_pPageBackgrdColor, const bool _bIsPageRightToLeft, sdr::contact::ViewObjectContactRedirector *pRedirector)
 
bool IsDragPossible (const Point &rPoint)
 Is passed to the DrawEngine as a Link and decides what is painted or not and in what way. More...
 
void NotifySizeChg (const Size &rNewSz)
 
bool IsAction () const
 SS for the Lay-/IdleAction and relatives. More...
 
bool IsIdleAction () const
 
SwLayActionGetLayAction ()
 
const SwLayActionGetLayAction () const
 
void CheckWaitCursor ()
 If an Action is running we ask it to check whether it's time to enable the WaitCursor. More...
 
bool IsCalcLayoutProgress () const
 Asks the LayAction if present. More...
 
bool IsUpdateExpFields ()
 
void SetRestoreActions (sal_uInt16 nSet)
 
sal_uInt16 GetRestoreActions () const
 
void InitPagePreviewLayout ()
 
SwPagePreviewLayoutPagePreviewLayout ()
 
bool IsAccessible () const
 Is this view accessible? More...
 
SwAccessibleMapGetAccessibleMap ()
 
void UpdateAccessible ()
 Update (this) accessible view. More...
 
void DisposeAccessible (const SwFrame *pFrame, const SdrObject *pObj, bool bRecursive, bool bCanSkipInvisible)
 Remove a frame from the accessible view. More...
 
void DisposeAccessibleFrame (const SwFrame *pFrame, bool bRecursive=false)
 
void DisposeAccessibleObj (const SdrObject *pObj, bool bCanSkipInvisible)
 
void MoveAccessible (const SwFrame *pFrame, const SdrObject *pObj, const SwRect &rOldFrame)
 Move a frame's position in the accessible view. More...
 
void MoveAccessibleFrame (const SwFrame *pFrame, const SwRect &rOldFrame)
 
void AddAccessibleFrame (const SwFrame *pFrame)
 Add a frame in the accessible view. More...
 
void AddAccessibleObj (const SdrObject *pObj)
 
void InvalidateAccessibleFrameContent (const SwFrame *pFrame)
 Invalidate accessible frame's content. More...
 
void InvalidateAccessibleCursorPosition (const SwFrame *pFrame)
 Invalidate accessible frame's cursor position. More...
 
void InvalidateAccessibleEditableState (bool bAllShells, const SwFrame *pFrame=nullptr)
 Invalidate editable state for all accessible frames. More...
 
void InvalidateAccessibleRelationSet (const SwFlyFrame *pMaster, const SwFlyFrame *pFollow)
 Invalidate frame's relation set (for chained frames) More...
 
void UpdateAccessiblePreview (const std::vector< std::unique_ptr< PreviewPage > > &_rPreviewPages, const Fraction &_rScale, const SwPageFrame *_pSelectedPageFrame, const Size &_rPreviewWinSize)
 update data for accessible preview change method signature due to new page preview functionality More...
 
void InvalidateAccessiblePreviewSelection (sal_uInt16 nSelPage)
 
void FireAccessibleEvents ()
 Fire all accessible events that have been collected so far. More...
 

Private Member Functions

void SetFirstVisPage (OutputDevice const *pRenderContext)
 
void StartAction ()
 
void EndAction ()
 
void LockPaint ()
 
void UnlockPaint ()
 
SwAccessibleMapCreateAccessibleMap ()
 
void InvalidateAccessibleParaFlowRelation_ (const SwTextFrame *_pFromTextFrame, const SwTextFrame *_pToTextFrame)
 invalidate CONTENT_FLOWS_FROM/_TO relation for paragraphs More...
 
void InvalidateAccessibleParaTextSelection_ ()
 invalidate text selection for paragraphs More...
 
void InvalidateAccessibleParaAttrs_ (const SwTextFrame &rTextFrame)
 invalidate attributes for paragraphs and paragraph's characters More...
 

Private Attributes

SwViewShellm_pShell
 
std::unique_ptr< SwDrawViewm_pDrawView
 
SdrPageViewm_pSdrPageView
 
SwPageFramem_pFirstVisiblePage
 
std::optional< SwRegionRectsm_oPaintRegion
 
std::vector< SwRectm_pendingLOKInvalidations
 
SwLayActionm_pLayAction
 
SwLayIdlem_pIdleAct
 
std::shared_ptr< SwAccessibleMapm_pAccessibleMap
 note: the map is uniquely owned here - the shared_ptr is only used so that SwAccessibleContext can check via weak_ptr that it's alive More...
 
bool m_bFirstPageInvalid: 1
 
bool m_bResetHdlHiddenPaint: 1
 
bool m_bSmoothUpdate: 1
 
bool m_bStopSmooth: 1
 
sal_uInt16 m_nRestoreActions
 
SwRect m_aSmoothRect
 
std::unique_ptr< SwPagePreviewLayoutm_pPagePreviewLayout
 

Friends

class SwViewShell
 
class SwLayAction
 
class SwLayIdle
 
class SwPagePreviewLayout
 

Detailed Description

Definition at line 51 of file viewimp.hxx.

Constructor & Destructor Documentation

◆ SwViewShellImp()

SwViewShellImp::SwViewShellImp ( SwViewShell pParent)

CTor for the core internals.

Definition at line 86 of file viewimp.cxx.

References m_pShell.

◆ ~SwViewShellImp()

SwViewShellImp::~SwViewShellImp ( )

Member Function Documentation

◆ AddAccessibleFrame()

void SwViewShellImp::AddAccessibleFrame ( const SwFrame pFrame)
inline

Add a frame in the accessible view.

Definition at line 304 of file viewimp.hxx.

References MoveAccessible().

Referenced by SwDrawView::MoveRepeatedObjs(), SwDrawView::ObjOrderChanged(), and SwFlyFrame::UpdateAttr_().

◆ AddAccessibleObj()

void SwViewShellImp::AddAccessibleObj ( const SdrObject pObj)
inline

◆ AddPaintRect()

bool SwViewShellImp::AddPaintRect ( const SwRect rRect)

◆ AddPendingLOKInvalidation()

void SwViewShellImp::AddPendingLOKInvalidation ( const SwRect rRect)

◆ CheckWaitCursor()

void SwViewShellImp::CheckWaitCursor ( )

If an Action is running we ask it to check whether it's time to enable the WaitCursor.

Definition at line 183 of file viewimp.cxx.

References SwLayAction::CheckWaitCursor(), and m_pLayAction.

Referenced by SwFrame::CheckPageDescs(), and SwLayoutFrame::FormatWidthCols().

◆ CreateAccessibleMap()

SwAccessibleMap * SwViewShellImp::CreateAccessibleMap ( )
private

Definition at line 514 of file viewimp.cxx.

References GetShell(), and m_pAccessibleMap.

Referenced by GetAccessibleMap().

◆ DeletePaintRegion()

void SwViewShellImp::DeletePaintRegion ( )
inline

◆ DisposeAccessible()

void SwViewShellImp::DisposeAccessible ( const SwFrame pFrame,
const SdrObject pObj,
bool  bRecursive,
bool  bCanSkipInvisible 
)

Remove a frame from the accessible view.

Definition at line 377 of file viewimp.cxx.

References GetShell(), and SwFrame::IsAccessibleFrame().

Referenced by DisposeAccessibleFrame(), and DisposeAccessibleObj().

◆ DisposeAccessibleFrame()

void SwViewShellImp::DisposeAccessibleFrame ( const SwFrame pFrame,
bool  bRecursive = false 
)
inline

◆ DisposeAccessibleObj()

void SwViewShellImp::DisposeAccessibleObj ( const SdrObject pObj,
bool  bCanSkipInvisible 
)
inline

◆ EndAction()

void SwViewShellImp::EndAction ( )
private

Definition at line 59 of file vdraw.cxx.

References GetShell(), HasDrawView(), and m_pShell.

◆ FireAccessibleEvents()

void SwViewShellImp::FireAccessibleEvents ( )

Fire all accessible events that have been collected so far.

Definition at line 521 of file viewimp.cxx.

References SwAccessibleMap::FireEvents(), GetAccessibleMap(), and IsAccessible().

Referenced by SwViewShell::ImplEndAction(), and SwLayIdle::SwLayIdle().

◆ GetAccessibleMap()

SwAccessibleMap & SwViewShellImp::GetAccessibleMap ( )
inline

◆ GetDrawView() [1/2]

SwDrawView * SwViewShellImp::GetDrawView ( )
inline

Definition at line 164 of file viewimp.hxx.

References m_pDrawView.

Referenced by SwFEShell::BeginCreate(), SwFEShell::BeginDrag(), SwFEShell::BeginMark(), SwFEShell::BreakCreate(), SwFEShell::BreakDrag(), SwFEShell::Chain(), SwFEShell::Chainable(), SwFEShell::ChangeOpaque(), SwFEShell::CheckUnboundObjects(), SwFEShell::ChgAnchor(), SwFEShell::Copy(), SwFEShell::CopyDrawSel(), SwFEShell::DelSelectedObj(), SwViewShell::DLPostPaint2(), SwViewShell::DLPrePaint2(), SwFEShell::Drag(), SwFEShell::EndCreate(), SwFEShell::EndDrag(), SwFEShell::EndMark(), SwFEShell::EndTextEdit(), SwFEShell::FindAnchorPos(), SwFEShell::GetAnchorId(), SwFEShell::GetAnchorObjDiff(), SwFEShell::GetBestObject(), SwFEShell::GetDragMode(), SwFEShell::GetDrawObjGraphic(), SwViewShell::GetDrawView(), SwViewShell::GetDrawViewWithValidMarkList(), SwAccessibleDocument::getExtendedAttributes(), GetFlyFromMarked(), SwFEShell::GetFormatFromObj(), SwFEShell::GetGrfAtPos(), SwFEShell::GetLayerId(), SwFEShell::GetMarkList_(), SwFEShell::GetObjAbsPos(), SwFEShell::GetObjAt(), SwFEShell::GetObjAttr(), SwFEShell::GetObjCntType(), SwFEShell::GetObjCntTypeOfSelection(), SwFEShell::GetObjDescription(), SwFEShell::GetObjSize(), SwFEShell::GetObjTitle(), SwFEShell::GetSelectedFlyFrame(), SwFEShell::GetShapeBackground(), SwViewShell::HasDrawViewDrag(), SwFEShell::ImpEndCreate(), SwViewShell::ImplApplyViewOptions(), SwFEShell::InsertDrawObj(), SwFEShell::InsertLabel(), SwFEShell::IsAlignPossible(), IsDragPossible(), SwFEShell::IsDrawCreate(), SwFEShell::IsFlyInFly(), SwFEShell::IsFrameVertical(), SwFEShell::IsGroupAllowed(), SwFEShell::IsGroupSelected(), SwFEShell::IsInsideSelectedObj(), SwFEShell::IsObjSameLevelWithMarked(), SwFEShell::IsObjSelectable(), SwFEShell::IsObjSelected(), SwFEShell::IsRotationOfSwGrfNodePossible(), SwFEShell::IsSelObjProtected(), SwFEShell::IsShapeDefaultHoriTextDirR2L(), SwFlyFrame::IsShowUnfloatButton(), SwFEShell::IsUnGroupAllowed(), SwFEShell::IsURLGrfAtPos(), lcl_GrabCursor(), LockPaint(), MakeDrawView(), SwFEShell::MirrorSelection(), SwFEShell::MoveAnchor(), SwFEShell::MoveCreate(), SwFEShell::MoveMark(), NotifySizeChg(), PaintLayer(), SwRootFrame::PaintSwFrame(), SwFEShell::Paste(), SwFEShell::PastePages(), SwViewShell::PrePaint(), SwFEShell::SelectFlyFrame(), SwFEShell::SelectionToBottom(), SwFEShell::SelectionToTop(), SwFEShell::SelectObj(), SwFEShell::SelFlyGrabCursor(), SwFEShell::SetDragMode(), SwFEShell::SetDrawingAttr(), SwFEShell::SetObjAttr(), SwFEShell::SetObjDescription(), SwFEShell::SetObjRect(), SwFEShell::SetObjTitle(), SwFEShell::ShellGetFocus(), SwFEShell::ShellLoseFocus(), SwFEShell::ShouldObjectBeSelected(), SwViewShell::SmoothScroll(), SwFEShell::StartCropImage(), SwFEShell::ToggleHeaderFooterEdit(), UnlockPaint(), and SwViewShell::VisPortChgd().

◆ GetDrawView() [2/2]

const SwDrawView * SwViewShellImp::GetDrawView ( ) const
inline

Definition at line 165 of file viewimp.hxx.

References m_pDrawView.

◆ GetFirstVisPage() [1/2]

SwPageFrame * SwViewShellImp::GetFirstVisPage ( OutputDevice const *  pRenderContext)

Definition at line 308 of file viewimp.cxx.

References m_bFirstPageInvalid, m_pFirstVisiblePage, and SetFirstVisPage().

◆ GetFirstVisPage() [2/2]

const SwPageFrame * SwViewShellImp::GetFirstVisPage ( OutputDevice const *  pRenderContext) const

◆ GetLastVisPage()

const SwPageFrame * SwViewShellImp::GetLastVisPage ( const OutputDevice pRenderContext) const

◆ GetLayAction() [1/2]

SwLayAction & SwViewShellImp::GetLayAction ( )
inline

◆ GetLayAction() [2/2]

const SwLayAction & SwViewShellImp::GetLayAction ( ) const
inline

Definition at line 199 of file viewimp.hxx.

References m_pLayAction.

◆ GetPageView() [1/2]

SdrPageView * SwViewShellImp::GetPageView ( )
inline

◆ GetPageView() [2/2]

const SdrPageView * SwViewShellImp::GetPageView ( ) const
inline

Definition at line 167 of file viewimp.hxx.

References m_pSdrPageView.

◆ GetPaintRegion()

const std::optional< SwRegionRects > & SwViewShellImp::GetPaintRegion ( )
inline

Definition at line 156 of file viewimp.hxx.

References m_oPaintRegion.

Referenced by SwViewShell::CheckInvalidForPaint().

◆ GetRestoreActions()

sal_uInt16 SwViewShellImp::GetRestoreActions ( ) const
inline

Definition at line 218 of file viewimp.hxx.

References m_nRestoreActions.

Referenced by SwViewShell::GetRestoreActions().

◆ GetRetoucheColor()

Color SwViewShellImp::GetRetoucheColor ( ) const

◆ GetShell() [1/2]

SwViewShell * SwViewShellImp::GetShell ( )
inline

Definition at line 142 of file viewimp.hxx.

References m_pShell.

◆ GetShell() [2/2]

const SwViewShell * SwViewShellImp::GetShell ( ) const
inline

◆ HasDrawView()

bool SwViewShellImp::HasDrawView ( ) const
inline

◆ HasPaintRegion()

bool SwViewShellImp::HasPaintRegion ( )
inline

Definition at line 154 of file viewimp.hxx.

References m_oPaintRegion.

Referenced by SwViewShell::CheckInvalidForPaint(), and SwLayIdle::SwLayIdle().

◆ Init()

void SwViewShellImp::Init ( const SwViewOption pNewOpt)

◆ InitPagePreviewLayout()

void SwViewShellImp::InitPagePreviewLayout ( )

◆ InvalidateAccessibleCursorPosition()

void SwViewShellImp::InvalidateAccessibleCursorPosition ( const SwFrame pFrame)

Invalidate accessible frame's cursor position.

Definition at line 412 of file viewimp.cxx.

References GetAccessibleMap(), SwAccessibleMap::InvalidateCursorPosition(), and IsAccessible().

Referenced by SwCursorShell::UpdateCursor().

◆ InvalidateAccessibleEditableState()

void SwViewShellImp::InvalidateAccessibleEditableState ( bool  bAllShells,
const SwFrame pFrame = nullptr 
)

◆ InvalidateAccessibleFrameContent()

void SwViewShellImp::InvalidateAccessibleFrameContent ( const SwFrame pFrame)

Invalidate accessible frame's content.

Definition at line 402 of file viewimp.cxx.

References GetShell(), and SwFrame::IsAccessibleFrame().

Referenced by SwFrameNotify::ImplDestroy().

◆ InvalidateAccessibleParaAttrs_()

void SwViewShellImp::InvalidateAccessibleParaAttrs_ ( const SwTextFrame rTextFrame)
private

invalidate attributes for paragraphs and paragraph's characters

invalidate attributes for paragraphs

#i88069# implementation for wrapper method <SwViewShell::InvalidateAccessibleParaAttrs(..)>

Definition at line 487 of file viewimp.cxx.

References GetShell().

Referenced by SwViewShell::InvalidateAccessibleParaAttrs().

◆ InvalidateAccessibleParaFlowRelation_()

void SwViewShellImp::InvalidateAccessibleParaFlowRelation_ ( const SwTextFrame _pFromTextFrame,
const SwTextFrame _pToTextFrame 
)
private

invalidate CONTENT_FLOWS_FROM/_TO relation for paragraphs

#i27138# implementation for wrapper method <SwViewShell::InvalidateAccessibleParaFlowRelation(..)>

Parameters
_pFromTextFrameinput parameter - paragraph frame, for which the relation CONTENT_FLOWS_FROM has to be invalidated. If NULL, no CONTENT_FLOWS_FROM relation has to be invalidated
_pToTextFrameinput parameter - paragraph frame, for which the relation CONTENT_FLOWS_TO has to be invalidated. If NULL, no CONTENT_FLOWS_TO relation has to be invalidated

Definition at line 447 of file viewimp.cxx.

References GetShell().

Referenced by SwViewShell::InvalidateAccessibleParaFlowRelation().

◆ InvalidateAccessibleParaTextSelection_()

void SwViewShellImp::InvalidateAccessibleParaTextSelection_ ( )
private

invalidate text selection for paragraphs

#i27301# implementation for wrapper method <SwViewShell::InvalidateAccessibleParaTextSelection(..)>

Definition at line 475 of file viewimp.cxx.

References GetShell().

Referenced by SwViewShell::InvalidateAccessibleParaTextSelection().

◆ InvalidateAccessiblePreviewSelection()

void SwViewShellImp::InvalidateAccessiblePreviewSelection ( sal_uInt16  nSelPage)

◆ InvalidateAccessibleRelationSet()

void SwViewShellImp::InvalidateAccessibleRelationSet ( const SwFlyFrame pMaster,
const SwFlyFrame pFollow 
)

Invalidate frame's relation set (for chained frames)

Definition at line 435 of file viewimp.cxx.

References GetShell().

Referenced by SwFlyFrame::ChainFrames(), and SwFlyFrame::UnchainFrames().

◆ IsAccessible()

bool SwViewShellImp::IsAccessible ( ) const
inline

◆ IsAction()

bool SwViewShellImp::IsAction ( ) const
inline

SS for the Lay-/IdleAction and relatives.

Definition at line 196 of file viewimp.hxx.

References m_pLayAction.

Referenced by SwFrame::CheckPageDescs(), SwContentFrame::Cut(), SwPageFrame::DestroyImpl(), SwFlyNotify::ImplDestroy(), and SwFrame::InsertPage().

◆ IsCalcLayoutProgress()

bool SwViewShellImp::IsCalcLayoutProgress ( ) const

Asks the LayAction if present.

Definition at line 189 of file viewimp.cxx.

References SwLayAction::IsCalcLayout(), and m_pLayAction.

◆ IsDragPossible()

bool SwViewShellImp::IsDragPossible ( const Point rPoint)

◆ IsIdleAction()

bool SwViewShellImp::IsIdleAction ( ) const
inline

Definition at line 197 of file viewimp.hxx.

References m_pIdleAct.

◆ IsUpdateExpFields()

bool SwViewShellImp::IsUpdateExpFields ( )
Returns
true if a LayAction is running

There we also set the Flag for ExpressionFields

Definition at line 194 of file viewimp.cxx.

References SwLayAction::IsCalcLayout(), m_pLayAction, and SwLayAction::SetUpdateExpFields().

Referenced by SwFrame::CheckPageDescs(), SwRootFrame::Init(), SwFrame::InsertPage(), SwTextFormatter::NewFieldPortion(), and SwRootFrame::RemoveSuperfluous().

◆ LockPaint()

void SwViewShellImp::LockPaint ( )
private

◆ MakeDrawView()

void SwViewShellImp::MakeDrawView ( )

◆ MoveAccessible()

void SwViewShellImp::MoveAccessible ( const SwFrame pFrame,
const SdrObject pObj,
const SwRect rOldFrame 
)

Move a frame's position in the accessible view.

Definition at line 390 of file viewimp.cxx.

References GetShell(), and SwFrame::IsAccessibleFrame().

Referenced by AddAccessibleFrame(), AddAccessibleObj(), and MoveAccessibleFrame().

◆ MoveAccessibleFrame()

void SwViewShellImp::MoveAccessibleFrame ( const SwFrame pFrame,
const SwRect rOldFrame 
)
inline

◆ NotifySizeChg()

void SwViewShellImp::NotifySizeChg ( const Size rNewSz)

◆ PagePreviewLayout()

SwPagePreviewLayout * SwViewShellImp::PagePreviewLayout ( )
inline

Definition at line 222 of file viewimp.hxx.

References m_pPagePreviewLayout.

Referenced by SwViewShell::PagePreviewLayout().

◆ PaintLayer()

void SwViewShellImp::PaintLayer ( const SdrLayerID  _nLayerID,
SwPrintData const *const  pPrintData,
SwPageFrame const &  rPageFrame,
const SwRect _rRect,
const Color _pPageBackgrdColor,
const bool  _bIsPageRightToLeft,
sdr::contact::ViewObjectContactRedirector pRedirector 
)
Parameters
_pPageBackgrdColorfor setting this color as the background color at the outliner of the draw view for painting layers "hell" and "heaven"
_bIsPageRightToLeftfor the horizontal text direction of the page in order to set the default horizontal text direction at the outliner of the draw view for painting layers "hell" and "heaven"

Definition at line 88 of file vdraw.cxx.

References vcl::unotools::b2IRectangleFromRectangle(), SdrPageView::DrawLayer(), sw::proofreadingiterator::get(), OutputDevice::GetDrawMode(), SdrModel::GetDrawOutliner(), GetDrawView(), SwFrameAreaDefinition::getFrameArea(), IDocumentDrawModelAccess::GetHeavenId(), IDocumentDrawModelAccess::GetHellId(), SwViewShell::getIDocumentDrawModelAccess(), SdrPaintView::GetModel(), SwViewShell::GetOut(), GetPageView(), Application::GetSettings(), GetShell(), SdrPageView::GetView(), HasDrawView(), SwPrintData::IsPrintDraw(), vcl::LINECOLOR, OutputDevice::Pop(), OutputDevice::Push(), OutputDevice::SetDrawMode(), SdrPaintView::setHideDraw(), and SwRect::SVRect().

Referenced by SwFlyFrameFormat::MakeGraphic(), SwRootFrame::PaintSwFrame(), and SwFrame::Retouch().

◆ SetFirstVisPage()

void SwViewShellImp::SetFirstVisPage ( OutputDevice const *  pRenderContext)
private

◆ SetFirstVisPageInvalid()

void SwViewShellImp::SetFirstVisPageInvalid ( )
inline

◆ SetRestoreActions()

void SwViewShellImp::SetRestoreActions ( sal_uInt16  nSet)
inline

Definition at line 217 of file viewimp.hxx.

References m_nRestoreActions.

Referenced by SwViewShell::SetRestoreActions().

◆ StartAction()

void SwViewShellImp::StartAction ( )
private

Definition at line 49 of file vdraw.cxx.

References GetShell(), HasDrawView(), and m_pShell.

Referenced by SwViewShell::ImplEndAction(), and SwViewShell::ImplStartAction().

◆ TakePaintRegion()

std::optional< SwRegionRects > SwViewShellImp::TakePaintRegion ( )
inline

Definition at line 155 of file viewimp.hxx.

References m_oPaintRegion.

Referenced by SwViewShell::CheckInvalidForPaint(), and SwViewShell::ImplEndAction().

◆ TakePendingLOKInvalidations()

std::vector< SwRect > SwViewShellImp::TakePendingLOKInvalidations ( )

Definition at line 176 of file viewimp.cxx.

References m_pendingLOKInvalidations.

◆ UnlockPaint()

void SwViewShellImp::UnlockPaint ( )
private

◆ UpdateAccessible()

void SwViewShellImp::UpdateAccessible ( )

◆ UpdateAccessiblePreview()

void SwViewShellImp::UpdateAccessiblePreview ( const std::vector< std::unique_ptr< PreviewPage > > &  _rPreviewPages,
const Fraction _rScale,
const SwPageFrame _pSelectedPageFrame,
const Size _rPreviewWinSize 
)

update data for accessible preview change method signature due to new page preview functionality

Definition at line 498 of file viewimp.cxx.

References GetAccessibleMap(), IsAccessible(), and SwAccessibleMap::UpdatePreview().

Referenced by SwPagePreviewLayout::Paint().

Friends And Related Function Documentation

◆ SwLayAction

friend class SwLayAction
friend

Definition at line 55 of file viewimp.hxx.

◆ SwLayIdle

friend class SwLayIdle
friend

Definition at line 56 of file viewimp.hxx.

◆ SwPagePreviewLayout

friend class SwPagePreviewLayout
friend

Definition at line 59 of file viewimp.hxx.

Referenced by InitPagePreviewLayout().

◆ SwViewShell

friend class SwViewShell
friend

Definition at line 53 of file viewimp.hxx.

Member Data Documentation

◆ m_aSmoothRect

SwRect SwViewShellImp::m_aSmoothRect
private

Definition at line 86 of file viewimp.hxx.

Referenced by SwViewShell::Paint(), and SwViewShell::SmoothScroll().

◆ m_bFirstPageInvalid

bool SwViewShellImp::m_bFirstPageInvalid
private

◆ m_bResetHdlHiddenPaint

bool SwViewShellImp::m_bResetHdlHiddenPaint
private

Definition at line 81 of file viewimp.hxx.

Referenced by LockPaint(), and UnlockPaint().

◆ m_bSmoothUpdate

bool SwViewShellImp::m_bSmoothUpdate
private

Definition at line 82 of file viewimp.hxx.

Referenced by SwViewShell::SmoothScroll().

◆ m_bStopSmooth

bool SwViewShellImp::m_bStopSmooth
private

Definition at line 83 of file viewimp.hxx.

Referenced by SwViewShell::Paint(), and SwViewShell::SmoothScroll().

◆ m_nRestoreActions

sal_uInt16 SwViewShellImp::m_nRestoreActions
private

Definition at line 85 of file viewimp.hxx.

Referenced by GetRestoreActions(), and SetRestoreActions().

◆ m_oPaintRegion

std::optional<SwRegionRects> SwViewShellImp::m_oPaintRegion
private

◆ m_pAccessibleMap

std::shared_ptr<SwAccessibleMap> SwViewShellImp::m_pAccessibleMap
private

note: the map is uniquely owned here - the shared_ptr is only used so that SwAccessibleContext can check via weak_ptr that it's alive

Definition at line 78 of file viewimp.hxx.

Referenced by CreateAccessibleMap(), GetAccessibleMap(), IsAccessible(), and ~SwViewShellImp().

◆ m_pDrawView

std::unique_ptr<SwDrawView> SwViewShellImp::m_pDrawView
private

Definition at line 64 of file viewimp.hxx.

Referenced by GetDrawView(), HasDrawView(), Init(), MakeDrawView(), and ~SwViewShellImp().

◆ m_pendingLOKInvalidations

std::vector<SwRect> SwViewShellImp::m_pendingLOKInvalidations
private

Definition at line 70 of file viewimp.hxx.

Referenced by AddPendingLOKInvalidation(), and TakePendingLOKInvalidations().

◆ m_pFirstVisiblePage

SwPageFrame* SwViewShellImp::m_pFirstVisiblePage
private

◆ m_pIdleAct

SwLayIdle* SwViewShellImp::m_pIdleAct
private

◆ m_pLayAction

SwLayAction* SwViewShellImp::m_pLayAction
private

◆ m_pPagePreviewLayout

std::unique_ptr<SwPagePreviewLayout> SwViewShellImp::m_pPagePreviewLayout
private

Definition at line 88 of file viewimp.hxx.

Referenced by InitPagePreviewLayout(), PagePreviewLayout(), and ~SwViewShellImp().

◆ m_pSdrPageView

SdrPageView* SwViewShellImp::m_pSdrPageView
private

Definition at line 65 of file viewimp.hxx.

Referenced by GetPageView(), and Init().

◆ m_pShell

SwViewShell* SwViewShellImp::m_pShell
private

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