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 () |
bool | AddPaintRect (const SwRect &rRect) |
SwRegionRects * | GetRegion () |
void | DelRegion () |
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::unique_ptr< SwRegionRects > | m_pRegion |
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 50 of file viewimp.hxx.
SwViewShellImp::SwViewShellImp | ( | SwViewShell * | pParent | ) |
SwViewShellImp::~SwViewShellImp | ( | ) |
Definition at line 98 of file viewimp.cxx.
References DelRegion(), m_pAccessibleMap, m_pDrawView, m_pIdleAct, m_pLayAction, and m_pPagePreviewLayout.
Add a frame in the accessible view.
Definition at line 294 of file viewimp.hxx.
References MoveAccessible().
Referenced by SwDrawView::MoveRepeatedObjs(), SwDrawView::ObjOrderChanged(), and SwFlyFrame::UpdateAttr_().
Definition at line 300 of file viewimp.hxx.
References MoveAccessible().
Referenced by SwFrame::AppendDrawObj(), SwDrawView::MoveRepeatedObjs(), and SwDrawView::ObjOrderChanged().
bool SwViewShellImp::AddPaintRect | ( | const SwRect & | rRect | ) |
Definition at line 121 of file viewimp.cxx.
References SwFrameAreaDefinition::getFrameArea(), SwViewShell::GetLayout(), comphelper::LibreOfficeKit::isActive(), SwRect::IsOver(), m_pRegion, m_pShell, and SwViewShell::VisArea().
Referenced by SwViewShell::ImplEndAction(), and SwViewShell::Paint().
void SwViewShellImp::CheckWaitCursor | ( | ) |
If an Action is running we ask it to check whether it's time to enable the WaitCursor.
Definition at line 139 of file viewimp.cxx.
References SwLayAction::CheckWaitCursor(), and m_pLayAction.
Referenced by SwFrame::CheckPageDescs(), and SwLayoutFrame::FormatWidthCols().
|
private |
Definition at line 444 of file viewimp.cxx.
References assert(), GetShell(), and m_pAccessibleMap.
Referenced by GetAccessibleMap().
void SwViewShellImp::DelRegion | ( | ) |
Definition at line 116 of file viewimp.cxx.
References m_pRegion.
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 307 of file viewimp.cxx.
References sw::Ring< value_type >::GetRingContainer(), GetShell(), and SwFrame::IsAccessibleFrame().
Referenced by DisposeAccessibleFrame(), and DisposeAccessibleObj().
|
inline |
Definition at line 277 of file viewimp.hxx.
References DisposeAccessible().
Referenced by SwCellFrame::Cut(), SwCellFrame::DestroyImpl(), SwFlyFrame::DestroyImpl(), SwFrame::DestroyImpl(), SwDrawView::MoveRepeatedObjs(), SwDrawView::ObjOrderChanged(), SwFrame::RemoveFly(), and SwFlyFrame::UpdateAttr_().
Definition at line 283 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.
Referenced by SwViewShell::ImplEndAction().
void SwViewShellImp::FireAccessibleEvents | ( | ) |
Fire all accessible events that have been collected so far.
Definition at line 451 of file viewimp.cxx.
References SwAccessibleMap::FireEvents(), GetAccessibleMap(), and IsAccessible().
Referenced by SwViewShell::ImplEndAction(), and SwLayIdle::SwLayIdle().
|
inline |
Definition at line 269 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 154 of file viewimp.hxx.
Referenced by SwFEShell::Copy(), SwFEShell::CopyDrawSel(), SwViewShell::DLPostPaint2(), SwViewShell::DLPrePaint2(), SwFEShell::FindAnchorPos(), SwFEShell::GetDrawObjGraphic(), SwViewShell::GetDrawView(), SwViewShell::GetDrawViewWithValidMarkList(), SwAccessibleDocument::getExtendedAttributes(), GetFlyFromMarked(), SwFEShell::GetFormatFromObj(), SwFEShell::GetGrfAtPos(), SwFEShell::GetObjCntType(), SwFEShell::GetObjCntTypeOfSelection(), SwFEShell::GetObjDescription(), SwFEShell::GetObjRect(), SwFEShell::GetObjTitle(), SwFEShell::GetSelectedFlyFrame(), SwViewShell::HasDrawViewDrag(), SwViewShell::ImplApplyViewOptions(), SwFEShell::InsertDrawObj(), IsDragPossible(), SwFEShell::IsFlyInFly(), SwFEShell::IsFrameVertical(), SwFlyFrame::IsShowUnfloatButton(), SwFEShell::IsURLGrfAtPos(), lcl_GrabCursor(), LockPaint(), MakeDrawView(), NotifySizeChg(), PaintLayer(), SwNoTextFrame::PaintPicture(), SwRootFrame::PaintSwFrame(), SwFEShell::Paste(), SwFEShell::PastePages(), SwViewShell::PrePaint(), SwFEShell::SelectFlyFrame(), SwFEShell::SetDrawingAttr(), SwFEShell::SetObjDescription(), SwFEShell::SetObjRect(), SwFEShell::SetObjTitle(), SwViewShell::SmoothScroll(), SwFEShell::ToggleHeaderFooterEdit(), UnlockPaint(), and SwViewShell::VisPortChgd().
|
inline |
Definition at line 155 of file viewimp.hxx.
const SwPageFrame * SwViewShellImp::GetFirstVisPage | ( | OutputDevice const * | pRenderContext | ) | const |
Management of the first visible Page.
Definition at line 270 of file viewimp.cxx.
References m_bFirstPageInvalid, m_pFirstVisiblePage, and SetFirstVisPage().
Referenced by SwViewShell::CheckInvalidForPaint(), SwLayIdle::DoIdleJob(), SwDPage::GetGridFrameList(), SwXFlatParagraphIterator::getNextPara(), SwLayAction::InternalAction(), SwViewShell::PaintDesktop(), SwRootFrame::PaintSwFrame(), and SwViewShell::VisPortChgd().
SwPageFrame * SwViewShellImp::GetFirstVisPage | ( | OutputDevice const * | pRenderContext | ) |
Definition at line 263 of file viewimp.cxx.
References m_bFirstPageInvalid, m_pFirstVisiblePage, and SetFirstVisPage().
|
inline |
Definition at line 188 of file viewimp.hxx.
References m_pLayAction.
Referenced by SwFrame::CheckPageDescs(), SwContentFrame::Cut(), SwPageFrame::DestroyImpl(), SwFrame::InsertPage(), SwFlowFrame::MoveSubTree(), and SwFlyNotify::~SwFlyNotify().
|
inline |
Definition at line 189 of file viewimp.hxx.
References m_pLayAction.
|
inline |
Definition at line 156 of file viewimp.hxx.
References m_pSdrPageView.
Referenced by SwFEShell::CopyDrawSel(), SwFrame::CreateProcessor2D(), SwDrawView::DeleteMarked(), SwDoc::DeleteSelection(), NotifySizeChg(), PaintLayer(), and SwFEShell::SelectFlyFrame().
|
inline |
Definition at line 157 of file viewimp.hxx.
References m_pSdrPageView.
|
inline |
Definition at line 149 of file viewimp.hxx.
Referenced by SwViewShell::CheckInvalidForPaint(), and SwLayIdle::SwLayIdle().
|
inline |
Definition at line 208 of file viewimp.hxx.
References m_nRestoreActions.
Referenced by SwViewShell::GetRestoreActions().
Color SwViewShellImp::GetRetoucheColor | ( | ) | const |
Definition at line 245 of file viewimp.cxx.
References COL_TRANSPARENT(), COL_WHITE, SwViewOption::getBrowseMode(), SwViewOption::GetDocColor(), SwViewOption::GetRetoucheColor(), GetShell(), SwViewShell::GetViewOptions(), SwViewShell::GetWin(), SwViewOption::IsPagePreview(), and SW_MOD.
Referenced by lcl_ClearArea(), lcl_GetBackgroundColor(), SwPagePreviewLayout::Paint(), and SwRootFrame::PaintSwFrame().
|
inline |
Only for SwViewShell::Init()
Definition at line 138 of file viewimp.hxx.
References m_pShell.
Referenced by SwDrawView::CheckPossibilities(), SwLayAction::CheckWaitCursor(), CreateAccessibleMap(), SwDrawView::DeleteMarked(), DisposeAccessible(), SwLayIdle::DoIdleJob(), SwLayIdle::DoIdleJob_(), EndAction(), SwLayAction::FormatContent(), SwLayAction::FormatFlyContent(), SwLayAction::FormatLayout(), SwLayAction::FormatLayoutFly(), SwLayAction::FormatLayoutTab(), GetRetoucheColor(), SwDrawView::getSdrUndoManagerForEnhancedTextEdit(), 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 |
Definition at line 139 of file viewimp.hxx.
References m_pShell.
|
inline |
New Interface for StarView Drawing.
Definition at line 153 of file viewimp.hxx.
References m_pDrawView.
Referenced by EndAction(), SwViewShell::HasDrawView(), SwViewShell::HasDrawViewDrag(), IsDragPossible(), LockPaint(), NotifySizeChg(), PaintLayer(), SwRootFrame::PaintSwFrame(), SwFEShell::Paste(), SwFEShell::SetDrawingAttr(), and StartAction().
void SwViewShellImp::Init | ( | const SwViewOption * | pNewOpt | ) |
Definition at line 40 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(), SwViewShell::IsPreview(), 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 278 of file viewimp.cxx.
References SwViewShell::GetLayout(), m_pPagePreviewLayout, and m_pShell.
Invalidate accessible frame's cursor position.
Definition at line 342 of file viewimp.cxx.
References GetAccessibleMap(), SwAccessibleMap::InvalidateCursorPosition(), and IsAccessible().
void SwViewShellImp::InvalidateAccessibleEditableState | ( | bool | bAllShells, |
const SwFrame * | pFrame = nullptr |
||
) |
Invalidate editable state for all accessible frames.
Definition at line 348 of file viewimp.cxx.
References GetAccessibleMap(), GetShell(), SwAccessibleMap::InvalidateEditableStates(), and IsAccessible().
Referenced by SwViewShell::SetReadonlyOption(), SwCellFrame::SwClientNotify(), SwSectionFrame::UpdateAttr_(), and SwFlyFrame::UpdateAttr_().
Invalidate accessible frame's content.
Definition at line 332 of file viewimp.cxx.
References sw::Ring< value_type >::GetRingContainer(), GetShell(), and SwFrame::IsAccessibleFrame().
Referenced by SwFrameNotify::~SwFrameNotify().
|
private |
invalidate attributes for paragraphs and paragraph's characters
invalidate attributes for paragraphs
#i88069# implementation for wrapper method <SwViewShell::InvalidateAccessibleParaAttrs(..)>
Definition at line 417 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 377 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 405 of file viewimp.cxx.
References GetShell().
Referenced by SwViewShell::InvalidateAccessibleParaTextSelection().
void SwViewShellImp::InvalidateAccessiblePreviewSelection | ( | sal_uInt16 | nSelPage | ) |
Definition at line 438 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 365 of file viewimp.cxx.
References GetShell().
Referenced by SwFlyFrame::ChainFrames().
|
inline |
Is this view accessible?
Definition at line 218 of file viewimp.hxx.
Referenced by FireAccessibleEvents(), InvalidateAccessibleCursorPosition(), InvalidateAccessibleEditableState(), InvalidateAccessiblePreviewSelection(), SwLayIdle::SwLayIdle(), UpdateAccessible(), and UpdateAccessiblePreview().
|
inline |
SS for the Lay-/IdleAction and relatives.
Definition at line 186 of file viewimp.hxx.
Referenced by SwFrame::CheckPageDescs(), SwContentFrame::Cut(), SwPageFrame::DestroyImpl(), SwFrame::InsertPage(), SwFlowFrame::MoveSubTree(), and SwFlyNotify::~SwFlyNotify().
bool SwViewShellImp::IsCalcLayoutProgress | ( | ) | const |
Asks the LayAction if present.
Definition at line 145 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(), FUZZY_EDGE, GetDrawView(), SwFrameAreaDefinition::getFrameArea(), SwViewShell::GetLayout(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), GetShell(), HasDrawView(), SwRect::IsInside(), and SwRect::Union().
|
inline |
Definition at line 187 of file viewimp.hxx.
bool SwViewShellImp::IsUpdateExpFields | ( | ) |
There we also set the Flag for ExpressionFields
Definition at line 150 of file viewimp.cxx.
References SwLayAction::IsCalcLayout(), m_pLayAction, and SwLayAction::SetUpdateExpFields().
Referenced by SwFrame::CheckPageDescs(), SwRootFrame::Init(), SwFrame::InsertPage(), SwFlowFrame::MoveBwd(), SwFlowFrame::MoveFwd(), 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 196 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 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 320 of file viewimp.cxx.
References sw::Ring< value_type >::GetRingContainer(), GetShell(), and SwFrame::IsAccessibleFrame().
Referenced by AddAccessibleFrame(), AddAccessibleObj(), and MoveAccessibleFrame().
|
inline |
Definition at line 288 of file viewimp.hxx.
References MoveAccessible().
Referenced by SwRowFrame::AdjustCells(), SwLayoutFrame::GrowFrame(), SwTabFrame::GrowFrame(), lcl_MoveAllLowers(), SwLayoutFrame::ShrinkFrame(), and SwFrameNotify::~SwFrameNotify().
Definition at line 192 of file vdraw.cxx.
References tools::Rectangle::Bottom(), DOCUMENTBORDER, SwFrame::FindFooterOrHeader(), SwFrame::FindPageFrame(), SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SdrObject::GetCurrentBoundRect(), IDocumentDrawModelAccess::GetDrawModel(), GetDrawView(), SwContact::GetFormat(), SwViewShell::getIDocumentDrawModelAccess(), SdrObjList::GetObjCount(), SdrPageView::GetPage(), SdrModel::GetPage(), GetPageView(), SwFrame::GetUpper(), GetUserCall(), SdrDragView::GetWorkArea(), HasDrawView(), Size::Height(), SwFrameAreaDefinition::isFrameAreaDefinitionValid(), SwFrame::IsInFly(), tools::Rectangle::IsInside(), SwPageFrame::IsInvalid(), tools::Rectangle::Left(), m_pShell, MINFLY, SdrObject::Move(), Point, tools::Rectangle::Right(), SAL_WARN, Size::setHeight(), SdrPage::SetSize(), Size::setWidth(), SdrDragView::SetWorkArea(), tools::Rectangle::Top(), and Size::Width().
|
inline |
Definition at line 212 of file viewimp.hxx.
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(), 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(), OutputDevice::Pop(), OutputDevice::Push(), OutputDevice::SetDrawMode(), SdrPaintView::setHideDraw(), SwRect::SVRect(), and SW_MOD.
Referenced by SwFlyFrameFormat::MakeGraphic(), SwRootFrame::PaintSwFrame(), and SwFrame::Retouch().
|
private |
Definition at line 160 of file viewimp.cxx.
References SwPageFrame::GetBoundRect(), SwPageFrame::GetFormatPage(), SwFrameAreaDefinition::getFrameArea(), SwViewShell::GetLayout(), SwFrame::GetNext(), GetShell(), SwViewShell::GetViewOptions(), SwRect::Height(), SwPageFrame::IsEmptyPage(), SwRect::IsOver(), SwViewOption::IsViewLayoutBookMode(), SwLayoutFrame::Lower(), m_bFirstPageInvalid, m_pFirstVisiblePage, m_pShell, SwViewShell::mbDocSizeChgd, SwRect::SSize(), SwRect::Top(), and SwViewShell::VisArea().
Referenced by GetFirstVisPage().
|
inline |
Definition at line 146 of file viewimp.hxx.
References m_bFirstPageInvalid.
Referenced by SwFrame::AdjustNeighbourhood(), SwViewShell::CalcPagesForPrint(), SwPageFrame::DestroyImpl(), SwLayAction::InternalAction(), and SetSwVisArea().
|
inline |
Definition at line 207 of file viewimp.hxx.
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().
|
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 285 of file viewimp.cxx.
References assert(), 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 428 of file viewimp.cxx.
References GetAccessibleMap(), IsAccessible(), and SwAccessibleMap::UpdatePreview().
Referenced by SwPagePreviewLayout::Paint().
|
friend |
Definition at line 54 of file viewimp.hxx.
|
friend |
Definition at line 55 of file viewimp.hxx.
|
friend |
Definition at line 58 of file viewimp.hxx.
|
friend |
Definition at line 52 of file viewimp.hxx.
|
private |
Definition at line 83 of file viewimp.hxx.
Referenced by SwViewShell::Paint(), and SwViewShell::SmoothScroll().
|
private |
Definition at line 77 of file viewimp.hxx.
Referenced by GetFirstVisPage(), SwPagePreviewLayout::Paint(), SwPagePreviewLayout::Repaint(), SetFirstVisPage(), and SetFirstVisPageInvalid().
|
private |
Definition at line 78 of file viewimp.hxx.
Referenced by LockPaint(), and UnlockPaint().
|
private |
Definition at line 79 of file viewimp.hxx.
Referenced by SwViewShell::SmoothScroll().
|
private |
Definition at line 80 of file viewimp.hxx.
Referenced by SwViewShell::Paint(), and SwViewShell::SmoothScroll().
|
private |
Definition at line 82 of file viewimp.hxx.
Referenced by GetRestoreActions().
|
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 75 of file viewimp.hxx.
Referenced by CreateAccessibleMap(), GetAccessibleMap(), and ~SwViewShellImp().
|
private |
Definition at line 63 of file viewimp.hxx.
Referenced by HasDrawView(), Init(), MakeDrawView(), and ~SwViewShellImp().
|
private |
Definition at line 66 of file viewimp.hxx.
Referenced by GetFirstVisPage(), SwPagePreviewLayout::Paint(), SwPagePreviewLayout::Repaint(), and SetFirstVisPage().
|
private |
Definition at line 71 of file viewimp.hxx.
Referenced by SwLayIdle::SwLayIdle(), SwLayIdle::~SwLayIdle(), and ~SwViewShellImp().
|
private |
Definition at line 69 of file viewimp.hxx.
Referenced by CheckWaitCursor(), GetLayAction(), IsCalcLayoutProgress(), IsUpdateExpFields(), SwLayAction::SwLayAction(), SwLayAction::~SwLayAction(), and ~SwViewShellImp().
|
private |
Definition at line 85 of file viewimp.hxx.
Referenced by InitPagePreviewLayout(), and ~SwViewShellImp().
|
private |
Definition at line 67 of file viewimp.hxx.
Referenced by AddPaintRect(), and DelRegion().
|
private |
Definition at line 64 of file viewimp.hxx.
Referenced by GetPageView(), and Init().
|
private |
Definition at line 60 of file viewimp.hxx.
Referenced by AddPaintRect(), EndAction(), GetShell(), Init(), InitPagePreviewLayout(), NotifySizeChg(), SetFirstVisPage(), and StartAction().