19#ifndef INCLUDED_SW_SOURCE_CORE_INC_VIEWIMP_HXX
20#define INCLUDED_SW_SOURCE_CORE_INC_VIEWIMP_HXX
48namespace sdr::contact {
class ViewObjectContactRedirector; }
182 const Color* _pPageBackgrdColor,
183 const bool _bIsPageRightToLeft,
237 bool bRecursive,
bool bCanSkipInvisible );
239 bool bRecursive =
false );
244 const SwRect& rOldFrame );
260 const SwFrame *pFrame=
nullptr );
271 const Size& _rPreviewWinSize );
general base class for all free-flowing frames
Base class of the Writer layout elements.
The usage of LayAction is always the same:
A page of the document layout.
page preview functionality in the writer
Of course Writer needs its own rectangles.
Represents the visualization of a paragraph.
void DisposeAccessibleFrame(const SwFrame *pFrame, bool bRecursive=false)
void InvalidateAccessibleEditableState(bool bAllShells, const SwFrame *pFrame=nullptr)
Invalidate editable state for all accessible frames.
const std::optional< SwRegionRects > & GetPaintRegion()
void UpdateAccessible()
Update (this) accessible view.
void CheckWaitCursor()
If an Action is running we ask it to check whether it's time to enable the WaitCursor.
SwPageFrame * m_pFirstVisiblePage
Color GetRetoucheColor() const
SwLayAction * m_pLayAction
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
const SwPageFrame * GetFirstVisPage(OutputDevice const *pRenderContext) const
Management of the first visible Page.
bool IsIdleAction() const
bool m_bResetHdlHiddenPaint
bool HasDrawView() const
New Interface for StarView Drawing.
bool AddPaintRect(const SwRect &rRect)
void InvalidateAccessibleCursorPosition(const SwFrame *pFrame)
Invalidate accessible frame's cursor position.
void InvalidateAccessiblePreviewSelection(sal_uInt16 nSelPage)
void SetFirstVisPageInvalid()
void SetRestoreActions(sal_uInt16 nSet)
void AddAccessibleObj(const SdrObject *pObj)
void InvalidateAccessibleParaFlowRelation_(const SwTextFrame *_pFromTextFrame, const SwTextFrame *_pToTextFrame)
invalidate CONTENT_FLOWS_FROM/_TO relation for paragraphs
std::optional< SwRegionRects > TakePaintRegion()
SwAccessibleMap & GetAccessibleMap()
bool IsAction() const
SS for the Lay-/IdleAction and relatives.
void AddAccessibleFrame(const SwFrame *pFrame)
Add a frame in the accessible view.
std::unique_ptr< SwDrawView > m_pDrawView
void InitPagePreviewLayout()
const SdrPageView * GetPageView() const
const SwLayAction & GetLayAction() const
void InvalidateAccessibleFrameContent(const SwFrame *pFrame)
Invalidate accessible frame's content.
void DisposeAccessible(const SwFrame *pFrame, const SdrObject *pObj, bool bRecursive, bool bCanSkipInvisible)
Remove a frame from the accessible view.
bool IsDragPossible(const Point &rPoint)
Is passed to the DrawEngine as a Link and decides what is painted or not and in what way.
const SwDrawView * GetDrawView() const
void InvalidateAccessibleRelationSet(const SwFlyFrame *pMaster, const SwFlyFrame *pFollow)
Invalidate frame's relation set (for chained frames)
sal_uInt16 m_nRestoreActions
std::shared_ptr< SwAccessibleMap > m_pAccessibleMap
note: the map is uniquely owned here - the shared_ptr is only used so that SwAccessibleContext can ch...
std::unique_ptr< SwPagePreviewLayout > m_pPagePreviewLayout
void DisposeAccessibleObj(const SdrObject *pObj, bool bCanSkipInvisible)
void InvalidateAccessibleParaTextSelection_()
invalidate text selection for paragraphs
sal_uInt16 GetRestoreActions() const
SwLayAction & GetLayAction()
SdrPageView * m_pSdrPageView
void SetFirstVisPage(OutputDevice const *pRenderContext)
std::optional< SwRegionRects > m_oPaintRegion
void AddPendingLOKInvalidation(const SwRect &rRect)
std::vector< SwRect > TakePendingLOKInvalidations()
SwDrawView * GetDrawView()
void MoveAccessibleFrame(const SwFrame *pFrame, const SwRect &rOldFrame)
void Init(const SwViewOption *)
SdrPageView * GetPageView()
const SwPageFrame * GetLastVisPage(const OutputDevice *pRenderContext) const
SwViewShellImp(SwViewShell *)
CTor for the core internals.
const SwViewShell * GetShell() const
Only for SwViewShell::Init()
bool IsCalcLayoutProgress() const
Asks the LayAction if present.
std::vector< SwRect > m_pendingLOKInvalidations
void InvalidateAccessibleParaAttrs_(const SwTextFrame &rTextFrame)
invalidate attributes for paragraphs and paragraph's characters
void FireAccessibleEvents()
Fire all accessible events that have been collected so far.
SwAccessibleMap * CreateAccessibleMap()
bool IsAccessible() const
Is this view accessible?
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)
void NotifySizeChg(const Size &rNewSz)
void MoveAccessible(const SwFrame *pFrame, const SdrObject *pObj, const SwRect &rOldFrame)
Move a frame's position in the accessible view.
SwPagePreviewLayout * PagePreviewLayout()
data structure for a preview page in the current preview layout