LibreOffice Module sw (master) 1
|
#include <viewimp.hxx>
Public Member Functions | |
SwViewShellImp (SwViewShell *) | |
CTor for the core internals. More... | |
~SwViewShellImp () | |
void | Init (const SwViewOption *) |
const SwViewShell * | GetShell () const |
Only for SwViewShell::Init() More... | |
SwViewShell * | GetShell () |
Color | GetRetoucheColor () const |
const SwPageFrame * | GetFirstVisPage (OutputDevice const *pRenderContext) const |
Management of the first visible Page. More... | |
SwPageFrame * | GetFirstVisPage (OutputDevice const *pRenderContext) |
void | SetFirstVisPageInvalid () |
const SwPageFrame * | GetLastVisPage (const OutputDevice *pRenderContext) const |
bool | AddPaintRect (const SwRect &rRect) |
bool | HasPaintRegion () |
std::optional< SwRegionRects > | TakePaintRegion () |
const std::optional< SwRegionRects > & | GetPaintRegion () |
void | DeletePaintRegion () |
void | AddPendingLOKInvalidation (const SwRect &rRect) |
std::vector< SwRect > | TakePendingLOKInvalidations () |
bool | HasDrawView () const |
New Interface for StarView Drawing. More... | |
SwDrawView * | GetDrawView () |
const SwDrawView * | GetDrawView () const |
SdrPageView * | GetPageView () |
const SdrPageView * | GetPageView () 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 |
SwLayAction & | GetLayAction () |
const SwLayAction & | GetLayAction () 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 () |
SwPagePreviewLayout * | PagePreviewLayout () |
bool | IsAccessible () const |
Is this view accessible? More... | |
SwAccessibleMap & | GetAccessibleMap () |
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 () |
SwAccessibleMap * | CreateAccessibleMap () |
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 | |
SwViewShell * | m_pShell |
std::unique_ptr< SwDrawView > | m_pDrawView |
SdrPageView * | m_pSdrPageView |
SwPageFrame * | m_pFirstVisiblePage |
std::optional< SwRegionRects > | m_oPaintRegion |
std::vector< SwRect > | m_pendingLOKInvalidations |
SwLayAction * | m_pLayAction |
SwLayIdle * | m_pIdleAct |
std::shared_ptr< SwAccessibleMap > | m_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< SwPagePreviewLayout > | m_pPagePreviewLayout |
Friends | |
class | SwViewShell |
class | SwLayAction |
class | SwLayIdle |
class | SwPagePreviewLayout |
Definition at line 51 of file viewimp.hxx.
SwViewShellImp::SwViewShellImp | ( | SwViewShell * | pParent | ) |
SwViewShellImp::~SwViewShellImp | ( | ) |
Definition at line 100 of file viewimp.cxx.
References DeletePaintRegion(), m_pAccessibleMap, m_pDrawView, m_pIdleAct, m_pLayAction, and m_pPagePreviewLayout.
|
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_().
|
inline |
Definition at line 310 of file viewimp.hxx.
References MoveAccessible().
Referenced by SwFrame::AppendDrawObj(), SwDrawView::MoveRepeatedObjs(), and SwDrawView::ObjOrderChanged().
bool SwViewShellImp::AddPaintRect | ( | const SwRect & | rRect | ) |
Definition at line 120 of file viewimp.cxx.
References SwRect::Bottom(), SwFrameAreaDefinition::getFrameArea(), SwViewShell::GetLayout(), SwRect::Height(), comphelper::LibreOfficeKit::isActive(), last, SwRect::Left(), m_oPaintRegion, m_pShell, SwRect::Overlaps(), SwRect::Right(), SwRect::Top(), SwRect::Union(), SwViewShell::VisArea(), and SwRect::Width().
Referenced by SwViewShell::ImplEndAction(), and SwViewShell::Paint().
void SwViewShellImp::AddPendingLOKInvalidation | ( | const SwRect & | rRect | ) |
Definition at line 166 of file viewimp.cxx.
References SwViewShell::GetSfxViewShell(), SfxViewShell::libreOfficeKitViewAddPendingInvalidateTiles(), m_pendingLOKInvalidations, and m_pShell.
Referenced by SwViewShell::InvalidateWindows().
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().
|
private |
Definition at line 514 of file viewimp.cxx.
References GetShell(), and m_pAccessibleMap.
Referenced by GetAccessibleMap().
|
inline |
Definition at line 157 of file viewimp.hxx.
References m_oPaintRegion.
Referenced by SwViewShell::CheckInvalidForPaint(), SwViewShell::ImplEndAction(), SwRootFrame::PaintSwFrame(), SwLayIdle::SwLayIdle(), SwViewShell::VisPortChgd(), and ~SwViewShellImp().
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().
|
inline |
Definition at line 287 of file viewimp.hxx.
References DisposeAccessible().
Referenced by SwCellFrame::Cut(), SwFrame::DestroyImpl(), SwCellFrame::DestroyImpl(), SwFlyFrame::DestroyImpl(), SwDrawView::MoveRepeatedObjs(), SwDrawView::ObjOrderChanged(), SwFrame::RemoveFly(), and SwFlyFrame::UpdateAttr_().
|
inline |
Definition at line 293 of file viewimp.hxx.
References DisposeAccessible().
Referenced by SwDrawView::MoveRepeatedObjs(), SwDrawView::ObjOrderChanged(), and SwFrame::RemoveDrawObj().
|
private |
Definition at line 59 of file vdraw.cxx.
References GetShell(), HasDrawView(), and m_pShell.
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().
|
inline |
Definition at line 279 of file viewimp.hxx.
References CreateAccessibleMap(), and m_pAccessibleMap.
Referenced by SwViewShell::CreateAccessible(), SwViewShell::CreateAccessiblePreview(), FireAccessibleEvents(), SwViewShell::GetAccessibleMap(), InvalidateAccessibleCursorPosition(), InvalidateAccessibleEditableState(), SwViewShell::InvalidateAccessibleFocus(), InvalidateAccessiblePreviewSelection(), UpdateAccessible(), and UpdateAccessiblePreview().
|
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().
|
inline |
Definition at line 165 of file viewimp.hxx.
References m_pDrawView.
SwPageFrame * SwViewShellImp::GetFirstVisPage | ( | OutputDevice const * | pRenderContext | ) |
Definition at line 308 of file viewimp.cxx.
References m_bFirstPageInvalid, m_pFirstVisiblePage, and SetFirstVisPage().
const SwPageFrame * SwViewShellImp::GetFirstVisPage | ( | OutputDevice const * | pRenderContext | ) | const |
Management of the first visible Page.
Definition at line 315 of file viewimp.cxx.
References m_bFirstPageInvalid, m_pFirstVisiblePage, and SetFirstVisPage().
Referenced by SwViewShell::CheckInvalidForPaint(), SwLayIdle::DoIdleJob(), SwViewShell::GetFirstLastVisPageNumbers(), SwDPage::GetGridFrameList(), GetLastVisPage(), SwXFlatParagraphIterator::getNextPara(), SwCursorShell::GetNextPrevPageNum(), SwCursorShell::GetPageNum(), SwFEShell::GetPageNumber(), SwCursorShell::GetPageNumSeqNonEmpty(), SwLayAction::InternalAction(), SwViewShell::PaintDesktop(), SwRootFrame::PaintSwFrame(), and SwViewShell::VisPortChgd().
const SwPageFrame * SwViewShellImp::GetLastVisPage | ( | const OutputDevice * | pRenderContext | ) | const |
Definition at line 322 of file viewimp.cxx.
References SwPageFrame::GetBoundRect(), GetFirstVisPage(), SwPageFrame::GetFormatPage(), SwFrame::GetNext(), SwViewShell::GetViewOptions(), SwPageFrame::IsEmptyPage(), SwViewOption::IsViewLayoutBookMode(), m_pShell, SwRect::Overlaps(), SwRect::SSize(), and SwViewShell::VisArea().
Referenced by SwViewShell::GetFirstLastVisPageNumbers().
|
inline |
Definition at line 198 of file viewimp.hxx.
References m_pLayAction.
Referenced by SwFrame::CheckPageDescs(), SwContentFrame::Cut(), SwPageFrame::DestroyImpl(), SwFlyNotify::ImplDestroy(), and SwFrame::InsertPage().
|
inline |
Definition at line 199 of file viewimp.hxx.
References m_pLayAction.
|
inline |
Definition at line 166 of file viewimp.hxx.
References m_pSdrPageView.
Referenced by SwFEShell::CopyDrawSel(), SwFrame::CreateProcessor2D(), SwDrawView::DeleteMarked(), SwDoc::DeleteSelection(), SwNoTextFrame::ImplPaintPictureGraphic(), NotifySizeChg(), PaintLayer(), SwFEShell::SelectFlyFrame(), SwFEShell::SelectObj(), and SwFEShell::StartCropImage().
|
inline |
Definition at line 167 of file viewimp.hxx.
References m_pSdrPageView.
|
inline |
Definition at line 156 of file viewimp.hxx.
References m_oPaintRegion.
Referenced by SwViewShell::CheckInvalidForPaint().
|
inline |
Definition at line 218 of file viewimp.hxx.
References m_nRestoreActions.
Referenced by SwViewShell::GetRestoreActions().
Color SwViewShellImp::GetRetoucheColor | ( | ) | const |
Definition at line 290 of file viewimp.cxx.
References COL_TRANSPARENT(), COL_WHITE(), sw::proofreadingiterator::get(), SwViewOption::getBrowseMode(), SwViewOption::GetDocColor(), SwViewOption::GetRetoucheColor(), GetShell(), SwViewShell::GetViewOptions(), SwViewShell::GetWin(), SwViewShell::isOutputToWindow(), and SwViewOption::IsPagePreview().
Referenced by lcl_ClearArea(), lcl_GetBackgroundColor(), SwPagePreviewLayout::Paint(), and SwRootFrame::PaintSwFrame().
|
inline |
Definition at line 142 of file viewimp.hxx.
References m_pShell.
|
inline |
Only for SwViewShell::Init()
Definition at line 141 of file viewimp.hxx.
References m_pShell.
Referenced by SwDrawView::CheckPossibilities(), SwLayAction::CheckWaitCursor(), CreateAccessibleMap(), SwDrawView::DeleteMarked(), DisposeAccessible(), SwLayIdle::DoIdleJob(), SwLayIdle::DoIdleJob_(), EndAction(), SwLayAction::FormatFlyContent(), SwLayAction::FormatLayout(), SwLayAction::FormatLayoutFly(), SwLayAction::FormatLayoutTab(), GetRetoucheColor(), SwDrawView::GetSfxViewShell(), Init(), SwLayAction::InternalAction(), InvalidateAccessibleEditableState(), InvalidateAccessibleFrameContent(), InvalidateAccessibleParaAttrs_(), InvalidateAccessibleParaFlowRelation_(), InvalidateAccessibleParaTextSelection_(), InvalidateAccessibleRelationSet(), IsDragPossible(), SwLayAction::IsShortCut(), MakeDrawView(), SwDrawView::MakeVisible(), SwDrawView::MarkListHasChanged(), MoveAccessible(), SwLayAction::PaintContent_(), PaintLayer(), SwLayAction::PaintWithoutFlys(), SetFirstVisPage(), StartAction(), SwDrawView::SwDrawView(), SwLayAction::SwLayAction(), SwLayIdle::SwLayIdle(), SwLayAction::TurboAction_(), and UpdateAccessible().
|
inline |
New Interface for StarView Drawing.
Definition at line 163 of file viewimp.hxx.
References m_pDrawView.
Referenced by EndAction(), SwFEShell::GetAnyCurRect(), SwViewShell::HasDrawView(), SwViewShell::HasDrawViewDrag(), IsDragPossible(), SwFEShell::IsDrawCreate(), LockPaint(), NotifySizeChg(), PaintLayer(), SwRootFrame::PaintSwFrame(), and StartAction().
|
inline |
Definition at line 154 of file viewimp.hxx.
References m_oPaintRegion.
Referenced by SwViewShell::CheckInvalidForPaint(), and SwLayIdle::SwLayIdle().
void SwViewShellImp::Init | ( | const SwViewOption * | pNewOpt | ) |
Definition at line 42 of file viewimp.cxx.
References SwViewOption::GetDivisionX(), SwViewOption::GetDivisionY(), IDocumentDrawModelAccess::GetDrawModel(), SwRootFrame::GetDrawPage(), SwFrameAreaDefinition::getFrameArea(), SwViewShell::getIDocumentDrawModelAccess(), SwViewShell::GetLayout(), SdrModel::GetPage(), GetShell(), SdrPage::GetSize(), SwViewOption::GetSnapSize(), SwRect::HasArea(), Size::Height(), SwViewOption::IsCrossHair(), SwViewOption::IsGridVisible(), SwViewOption::IsSnap(), m_pDrawView, m_pSdrPageView, m_pShell, IDocumentDrawModelAccess::NotifyInvisibleLayers(), SwRootFrame::SetDrawPage(), SdrPage::SetSize(), SwRect::SSize(), SwRect::SVRect(), and Size::Width().
Referenced by MakeDrawView().
void SwViewShellImp::InitPagePreviewLayout | ( | ) |
Definition at line 347 of file viewimp.cxx.
References SwViewShell::GetLayout(), m_pPagePreviewLayout, m_pShell, and SwPagePreviewLayout.
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().
void SwViewShellImp::InvalidateAccessibleEditableState | ( | bool | bAllShells, |
const SwFrame * | pFrame = nullptr |
||
) |
Invalidate editable state for all accessible frames.
Definition at line 418 of file viewimp.cxx.
References GetAccessibleMap(), GetShell(), SwAccessibleMap::InvalidateEditableStates(), and IsAccessible().
Referenced by SwViewShell::SetReadonlyOption(), SwCellFrame::SwClientNotify(), SwFlyFrame::UpdateAttr_(), and SwSectionFrame::UpdateAttr_().
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().
|
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().
|
private |
invalidate CONTENT_FLOWS_FROM/_TO relation for paragraphs
#i27138# implementation for wrapper method <SwViewShell::InvalidateAccessibleParaFlowRelation(..)>
_pFromTextFrame | input 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 |
_pToTextFrame | input 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().
|
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().
void SwViewShellImp::InvalidateAccessiblePreviewSelection | ( | sal_uInt16 | nSelPage | ) |
Definition at line 508 of file viewimp.cxx.
References GetAccessibleMap(), SwAccessibleMap::InvalidatePreviewSelection(), and IsAccessible().
Referenced by SwViewShell::ShowPreviewSelection().
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().
|
inline |
Is this view accessible?
Definition at line 228 of file viewimp.hxx.
References m_pAccessibleMap.
Referenced by FireAccessibleEvents(), InvalidateAccessibleCursorPosition(), InvalidateAccessibleEditableState(), InvalidateAccessiblePreviewSelection(), SwLayIdle::SwLayIdle(), UpdateAccessible(), and UpdateAccessiblePreview().
|
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().
bool SwViewShellImp::IsCalcLayoutProgress | ( | ) | const |
Asks the LayAction if present.
Definition at line 189 of file viewimp.cxx.
References SwLayAction::IsCalcLayout(), and m_pLayAction.
bool SwViewShellImp::IsDragPossible | ( | const Point & | rPoint | ) |
Is passed to the DrawEngine as a Link and decides what is painted or not and in what way.
Definition at line 163 of file vdraw.cxx.
References SwRect::AddBottom(), SwRect::AddLeft(), SwRect::AddRight(), SwRect::AddTop(), CalcClipRect(), SwRect::Contains(), FUZZY_EDGE, GetDrawView(), SwFrameAreaDefinition::getFrameArea(), SwViewShell::GetLayout(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), GetShell(), HasDrawView(), and SwRect::Union().
|
inline |
Definition at line 197 of file viewimp.hxx.
References m_pIdleAct.
bool SwViewShellImp::IsUpdateExpFields | ( | ) |
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().
|
private |
Definition at line 69 of file vdraw.cxx.
References SdrMarkView::areMarkHandlesHidden(), GetDrawView(), HasDrawView(), SdrMarkView::hideMarkHandles(), and m_bResetHdlHiddenPaint.
Referenced by SwViewShell::ImplLockPaint().
void SwViewShellImp::MakeDrawView | ( | ) |
Definition at line 240 of file viewimp.cxx.
References IDocumentDrawModelAccess::GetDrawModel(), GetDrawView(), SwViewShell::getIDocumentDrawModelAccess(), IDocumentDrawModelAccess::GetOrCreateDrawModel(), SwViewShell::GetOut(), GetShell(), SwViewShell::GetViewOptions(), SwViewShell::GetWin(), Init(), SwViewOption::IsReadonly(), m_pDrawView, IDocumentDrawModelAccess::MakeDrawModel_(), and SdrPaintView::SetActiveLayer().
Referenced by SwFEShell::BeginCreate(), SwFEShell::BeginMark(), SwViewShell::MakeDrawView(), SwFEShell::Paste(), and SwViewShell::SwViewShell().
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().
|
inline |
Definition at line 298 of file viewimp.hxx.
References MoveAccessible().
Referenced by SwRowFrame::AdjustCells(), SwLayoutFrame::GrowFrame(), SwTabFrame::GrowFrame(), SwFrameNotify::ImplDestroy(), lcl_MoveAllLowers(), and SwLayoutFrame::ShrinkFrame().
void SwViewShellImp::NotifySizeChg | ( | const Size & | rNewSz | ) |
Definition at line 192 of file vdraw.cxx.
References tools::Rectangle::Bottom(), tools::Rectangle::Contains(), DOCUMENTBORDER, SwFrame::FindFooterOrHeader(), SwFrame::FindPageFrame(), SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SdrObject::GetCurrentBoundRect(), IDocumentDrawModelAccess::GetDrawModel(), GetDrawView(), SwContact::GetFormat(), SwViewShell::getIDocumentDrawModelAccess(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), SdrPageView::GetPage(), SdrModel::GetPage(), GetPageView(), SwFrame::GetUpper(), GetUserCall(), SdrDragView::GetWorkArea(), HasDrawView(), Size::Height(), SwFrameAreaDefinition::isFrameAreaDefinitionValid(), SwFrame::IsInFly(), SwPageFrame::IsInvalid(), tools::Rectangle::Left(), m_pShell, MINFLY, SdrObject::Move(), tools::Rectangle::Right(), SAL_WARN, Size::setHeight(), SdrPage::SetSize(), Size::setWidth(), SdrDragView::SetWorkArea(), tools::Rectangle::Top(), and Size::Width().
|
inline |
Definition at line 222 of file viewimp.hxx.
References m_pPagePreviewLayout.
Referenced by SwViewShell::PagePreviewLayout().
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 | ||
) |
_pPageBackgrdColor | for setting this color as the background color at the outliner of the draw view for painting layers "hell" and "heaven" |
_bIsPageRightToLeft | for 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().
|
private |
Definition at line 204 of file viewimp.cxx.
References SwPageFrame::GetBoundRect(), SwPageFrame::GetFormatPage(), SwFrameAreaDefinition::getFrameArea(), SwViewShell::GetLayout(), SwFrame::GetNext(), GetShell(), SwViewShell::GetViewOptions(), SwRect::Height(), SwPageFrame::IsEmptyPage(), SwViewOption::IsViewLayoutBookMode(), SwLayoutFrame::Lower(), m_bFirstPageInvalid, m_pFirstVisiblePage, m_pShell, SwViewShell::mbDocSizeChgd, SwRect::Overlaps(), SwRect::SSize(), SwRect::Top(), and SwViewShell::VisArea().
Referenced by GetFirstVisPage().
|
inline |
Definition at line 149 of file viewimp.hxx.
References m_bFirstPageInvalid.
Referenced by SwFrame::AdjustNeighbourhood(), SwViewShell::CalcPagesForPrint(), SwPageFrame::DestroyImpl(), SwLayAction::InternalAction(), and SwViewShell::PrintProspect().
|
inline |
Definition at line 217 of file viewimp.hxx.
References m_nRestoreActions.
Referenced by SwViewShell::SetRestoreActions().
|
private |
Definition at line 49 of file vdraw.cxx.
References GetShell(), HasDrawView(), and m_pShell.
Referenced by SwViewShell::ImplEndAction(), and SwViewShell::ImplStartAction().
|
inline |
Definition at line 155 of file viewimp.hxx.
References m_oPaintRegion.
Referenced by SwViewShell::CheckInvalidForPaint(), and SwViewShell::ImplEndAction().
std::vector< SwRect > SwViewShellImp::TakePendingLOKInvalidations | ( | ) |
Definition at line 176 of file viewimp.cxx.
References m_pendingLOKInvalidations.
|
private |
Definition at line 82 of file vdraw.cxx.
References GetDrawView(), m_bResetHdlHiddenPaint, and SdrMarkView::showMarkHandles().
Referenced by SwViewShell::ImplUnlockPaint().
void SwViewShellImp::UpdateAccessible | ( | ) |
Update (this) accessible view.
Definition at line 355 of file viewimp.cxx.
References GetAccessibleMap(), IDocumentLayoutAccess::GetCurrentViewShell(), SwAccessibleMap::GetDocumentView(), SwViewShell::getIDocumentLayoutAccess(), GetShell(), SwViewShell::GetWin(), IsAccessible(), and TOOLS_WARN_EXCEPTION.
Referenced by SwViewShell::VisPortChgd().
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().
|
friend |
Definition at line 55 of file viewimp.hxx.
|
friend |
Definition at line 56 of file viewimp.hxx.
|
friend |
Definition at line 59 of file viewimp.hxx.
Referenced by InitPagePreviewLayout().
|
friend |
Definition at line 53 of file viewimp.hxx.
|
private |
Definition at line 86 of file viewimp.hxx.
Referenced by SwViewShell::Paint(), and SwViewShell::SmoothScroll().
|
private |
Definition at line 80 of file viewimp.hxx.
Referenced by GetFirstVisPage(), SwPagePreviewLayout::Paint(), SwPagePreviewLayout::Repaint(), SetFirstVisPage(), and SetFirstVisPageInvalid().
|
private |
Definition at line 81 of file viewimp.hxx.
Referenced by LockPaint(), and UnlockPaint().
|
private |
Definition at line 82 of file viewimp.hxx.
Referenced by SwViewShell::SmoothScroll().
|
private |
Definition at line 83 of file viewimp.hxx.
Referenced by SwViewShell::Paint(), and SwViewShell::SmoothScroll().
|
private |
Definition at line 85 of file viewimp.hxx.
Referenced by GetRestoreActions(), and SetRestoreActions().
|
private |
Definition at line 68 of file viewimp.hxx.
Referenced by AddPaintRect(), DeletePaintRegion(), GetPaintRegion(), HasPaintRegion(), and TakePaintRegion().
|
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().
|
private |
Definition at line 64 of file viewimp.hxx.
Referenced by GetDrawView(), HasDrawView(), Init(), MakeDrawView(), and ~SwViewShellImp().
|
private |
Definition at line 70 of file viewimp.hxx.
Referenced by AddPendingLOKInvalidation(), and TakePendingLOKInvalidations().
|
private |
Definition at line 67 of file viewimp.hxx.
Referenced by GetFirstVisPage(), SwPagePreviewLayout::Paint(), SwPagePreviewLayout::Repaint(), and SetFirstVisPage().
|
private |
Definition at line 74 of file viewimp.hxx.
Referenced by IsIdleAction(), SwLayIdle::SwLayIdle(), SwLayIdle::~SwLayIdle(), and ~SwViewShellImp().
|
private |
Definition at line 72 of file viewimp.hxx.
Referenced by CheckWaitCursor(), GetLayAction(), IsAction(), IsCalcLayoutProgress(), IsUpdateExpFields(), SwLayAction::SwLayAction(), SwLayAction::~SwLayAction(), and ~SwViewShellImp().
|
private |
Definition at line 88 of file viewimp.hxx.
Referenced by InitPagePreviewLayout(), PagePreviewLayout(), and ~SwViewShellImp().
|
private |
Definition at line 65 of file viewimp.hxx.
Referenced by GetPageView(), and Init().
|
private |
Definition at line 61 of file viewimp.hxx.
Referenced by AddPaintRect(), AddPendingLOKInvalidation(), EndAction(), GetLastVisPage(), GetShell(), Init(), InitPagePreviewLayout(), NotifySizeChg(), SetFirstVisPage(), and StartAction().