LibreOffice Module sw (master)  1
viewimp.cxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
11  * Licensed to the Apache Software Foundation (ASF) under one or more
12  * contributor license agreements. See the NOTICE file distributed
13  * with this work for additional information regarding copyright
14  * ownership. The ASF licenses this file to you under the Apache
15  * License, Version 2.0 (the "License"); you may not use this file
16  * except in compliance with the License. You may obtain a copy of
17  * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18  */
19 
20 #include <rootfrm.hxx>
21 #include <pagefrm.hxx>
22 #include <viewimp.hxx>
23 #include <viewopt.hxx>
24 #include <flyfrm.hxx>
25 #include <layact.hxx>
26 #include <dview.hxx>
27 #include <swmodule.hxx>
28 #include <svx/svdpage.hxx>
29 #include <accmap.hxx>
30 
31 #include <officecfg/Office/Common.hxx>
32 #include <pagepreviewlayout.hxx>
33 #include <comphelper/lok.hxx>
34 #include <tools/diagnose_ex.h>
37 #include <drawdoc.hxx>
38 #include <prevwpage.hxx>
39 
40 void SwViewShellImp::Init( const SwViewOption *pNewOpt )
41 {
42  OSL_ENSURE( m_pDrawView, "SwViewShellImp::Init without DrawView" );
43  //Create PageView if it doesn't exist
44  SwRootFrame *pRoot = m_pShell->GetLayout();
45  if ( !m_pSdrPageView )
46  {
48  if ( !pRoot->GetDrawPage() )
49  pRoot->SetDrawPage( rIDDMA.GetDrawModel()->GetPage( 0 ) );
50 
51  if ( pRoot->GetDrawPage()->GetSize() != pRoot->getFrameArea().SSize() )
52  pRoot->GetDrawPage()->SetSize( pRoot->getFrameArea().SSize() );
53 
54  m_pSdrPageView = m_pDrawView->ShowSdrPage( pRoot->GetDrawPage());
55  // Notify drawing page view about invisible layers
57  }
58  m_pDrawView->SetDragStripes( pNewOpt->IsCrossHair() );
59  m_pDrawView->SetGridSnap( pNewOpt->IsSnap() );
60  m_pDrawView->SetGridVisible( pNewOpt->IsGridVisible() );
61  const Size &rSz = pNewOpt->GetSnapSize();
62  m_pDrawView->SetGridCoarse( rSz );
63  const Size aFSize
64  ( rSz.Width() ? rSz.Width() /std::max(short(1),pNewOpt->GetDivisionX()):0,
65  rSz.Height()? rSz.Height()/std::max(short(1),pNewOpt->GetDivisionY()):0);
66  m_pDrawView->SetGridFine( aFSize );
67  Fraction aSnGrWdtX(rSz.Width(), pNewOpt->GetDivisionX() + 1);
68  Fraction aSnGrWdtY(rSz.Height(), pNewOpt->GetDivisionY() + 1);
69  m_pDrawView->SetSnapGridWidth( aSnGrWdtX, aSnGrWdtY );
70 
71  if ( pRoot->getFrameArea().HasArea() )
72  m_pDrawView->SetWorkArea( pRoot->getFrameArea().SVRect() );
73 
74  if ( GetShell()->IsPreview() )
75  m_pDrawView->SetAnimationEnabled( false );
76 
77  m_pDrawView->SetUseIncompatiblePathCreateInterface( false );
78 
79  // set handle size to 9 pixels, always
80  m_pDrawView->SetMarkHdlSizePixel(9);
81 }
82 
85  m_pShell( pParent ),
86  m_pSdrPageView( nullptr ),
87  m_pFirstVisiblePage( nullptr ),
88  m_pLayAction( nullptr ),
89  m_pIdleAct( nullptr ),
90  m_bFirstPageInvalid( true ),
91  m_bResetHdlHiddenPaint( false ),
92  m_bSmoothUpdate( false ),
93  m_bStopSmooth( false ),
94  m_nRestoreActions( 0 )
95 {
96 }
97 
99 {
100  m_pAccessibleMap.reset();
101 
102  m_pPagePreviewLayout.reset();
103 
104  // Make sure HideSdrPage is also executed after ShowSdrPage.
105  if( m_pDrawView )
106  m_pDrawView->HideSdrPage();
107 
108  m_pDrawView.reset();
109 
111 
112  OSL_ENSURE( !m_pLayAction, "Have action for the rest of your life." );
113  OSL_ENSURE( !m_pIdleAct,"Be idle for the rest of your life." );
114 }
115 
117 {
118  // In case of tiled rendering the visual area is the last painted tile -> not interesting.
120  {
121  if ( !m_pPaintRegion )
122  {
123  // In case of normal rendering, this makes sure only visible rectangles are painted.
124  // Otherwise get the rectangle of the full document, so all paint rectangles are invalidated.
126  m_pPaintRegion.reset(new SwRegionRects);
127  m_pPaintRegion->ChangeOrigin(rArea);
128  }
129  (*m_pPaintRegion) += rRect;
130  return true;
131  }
132  return false;
133 }
134 
136 {
137  if ( m_pLayAction )
139 }
140 
142 {
144 }
145 
147 {
149  {
151  return true;
152  }
153  return false;
154 }
155 
156 void SwViewShellImp::SetFirstVisPage(OutputDevice const * pRenderContext)
157 {
159  {
160  //We are in an action and because of erase actions the VisArea is
161  //after the first visible page.
162  //To avoid excessive formatting, hand back the last page.
163  m_pFirstVisiblePage = static_cast<SwPageFrame*>(m_pShell->GetLayout()->Lower());
165  m_pFirstVisiblePage = static_cast<SwPageFrame*>(m_pFirstVisiblePage->GetNext());
166  }
167  else
168  {
169  const SwViewOption* pSwViewOption = GetShell()->GetViewOptions();
170  const bool bBookMode = pSwViewOption->IsViewLayoutBookMode();
171 
172  SwPageFrame *pPage = static_cast<SwPageFrame*>(m_pShell->GetLayout()->Lower());
173  SwRect aPageRect = pPage->GetBoundRect(pRenderContext);
174  while ( pPage && !aPageRect.Overlaps( m_pShell->VisArea() ) )
175  {
176  pPage = static_cast<SwPageFrame*>(pPage->GetNext());
177  if ( pPage )
178  {
179  aPageRect = pPage->GetBoundRect(pRenderContext);
180  if ( bBookMode && pPage->IsEmptyPage() )
181  {
182  const SwPageFrame& rFormatPage = pPage->GetFormatPage();
183  aPageRect.SSize( rFormatPage.GetBoundRect(pRenderContext).SSize() );
184  }
185  }
186  }
187  m_pFirstVisiblePage = pPage ? pPage : static_cast<SwPageFrame*>(m_pShell->GetLayout()->Lower());
188  }
189  m_bFirstPageInvalid = false;
190 }
191 
193 {
195 
196  // the else here is not an error, MakeDrawModel_() calls this method again
197  // after the DrawModel is created to create DrawViews for all shells...
198  if( !rIDDMA.GetDrawModel() )
199  {
200  rIDDMA.MakeDrawModel_();
201  }
202  else
203  {
204  if ( !m_pDrawView )
205  {
206  // #i72809#
207  // Discussed with FME, he also thinks that the getPrinter is old and not correct. When i got
208  // him right, it anyways returns GetOut() when it's a printer, but NULL when not. He suggested
209  // to use GetOut() and check the existing cases.
210  // Check worked well. Took a look at viewing, printing, PDF export and print preview with a test
211  // document which has an empty 2nd page (right page, see bug)
212  auto pWin = GetShell()->GetWin();
213  OutputDevice* pOutDevForDrawView = pWin ? pWin->GetOutDev() : nullptr;
214 
215  if(!pOutDevForDrawView)
216  {
217  pOutDevForDrawView = GetShell()->GetOut();
218  }
219 
220  m_pDrawView.reset( new SwDrawView(
221  *this,
222  *rIDDMA.GetOrCreateDrawModel(),
223  pOutDevForDrawView) );
224  }
225 
226  GetDrawView()->SetActiveLayer("Heaven");
227  const SwViewOption* pSwViewOption = GetShell()->GetViewOptions();
228  Init(pSwViewOption);
229 
230  // #i68597# If document is read-only, we will not profit from overlay,
231  // so switch it off.
232  if (m_pDrawView->IsBufferedOverlayAllowed())
233  {
234  if(pSwViewOption->IsReadonly())
235  {
236  m_pDrawView->SetBufferedOverlayAllowed(false);
237  }
238  }
239  }
240 }
241 
243 {
244  Color aRet( COL_TRANSPARENT );
245  const SwViewShell &rSh = *GetShell();
246  if ( rSh.GetWin() )
247  {
248  if ( rSh.GetViewOptions()->getBrowseMode() &&
250  aRet = rSh.GetViewOptions()->GetRetoucheColor();
251  else if(rSh.GetViewOptions()->IsPagePreview() &&
253  aRet = COL_WHITE;
254  else
255  aRet = SwViewOption::GetDocColor();
256  }
257  return aRet;
258 }
259 
261 {
262  if ( m_bFirstPageInvalid )
263  SetFirstVisPage(pRenderContext);
264  return m_pFirstVisiblePage;
265 }
266 
267 const SwPageFrame *SwViewShellImp::GetFirstVisPage(OutputDevice const * pRenderContext) const
268 {
269  if ( m_bFirstPageInvalid )
270  const_cast<SwViewShellImp*>(this)->SetFirstVisPage(pRenderContext);
271  return m_pFirstVisiblePage;
272 }
273 
274 // create page preview layout
276 {
277  OSL_ENSURE( m_pShell->GetLayout(), "no layout - page preview layout can not be created.");
278  if ( m_pShell->GetLayout() )
280 }
281 
283 {
284  // We require a layout and an XModel to be accessible.
286  vcl::Window *pWin = GetShell()->GetWin();
287  OSL_ENSURE( GetShell()->GetLayout(), "no layout, no access" );
288  OSL_ENSURE( pWin, "no window, no access" );
289 
290  if( IsAccessible() && rIDLA.GetCurrentViewShell() && pWin )
291  {
292  try
293  {
295  }
296  catch (uno::Exception const&)
297  {
298  TOOLS_WARN_EXCEPTION("sw.a11y", "");
299  assert(!"SwViewShellImp::UpdateAccessible: unhandled exception");
300  }
301  }
302 }
303 
305  const SdrObject *pObj,
306  bool bRecursive,
307  bool bCanSkipInvisible)
308 {
309  OSL_ENSURE( !pFrame || pFrame->IsAccessibleFrame(), "frame is not accessible" );
310  for(SwViewShell& rTmp : GetShell()->GetRingContainer())
311  {
312  if( rTmp.Imp()->IsAccessible() )
313  rTmp.Imp()->GetAccessibleMap().A11yDispose( pFrame, pObj, nullptr, bRecursive, bCanSkipInvisible );
314  }
315 }
316 
317 void SwViewShellImp::MoveAccessible( const SwFrame *pFrame, const SdrObject *pObj,
318  const SwRect& rOldFrame )
319 {
320  OSL_ENSURE( !pFrame || pFrame->IsAccessibleFrame(), "frame is not accessible" );
321  for(SwViewShell& rTmp : GetShell()->GetRingContainer())
322  {
323  if( rTmp.Imp()->IsAccessible() )
324  rTmp.Imp()->GetAccessibleMap().InvalidatePosOrSize( pFrame, pObj, nullptr,
325  rOldFrame );
326  }
327 }
328 
330 {
331  OSL_ENSURE( pFrame->IsAccessibleFrame(), "frame is not accessible" );
332  for(SwViewShell& rTmp : GetShell()->GetRingContainer())
333  {
334  if( rTmp.Imp()->IsAccessible() )
335  rTmp.Imp()->GetAccessibleMap().InvalidateContent( pFrame );
336  }
337 }
338 
340 {
341  if( IsAccessible() )
343 }
344 
346  const SwFrame *pFrame )
347 {
348  if( bAllShells )
349  {
350  for(SwViewShell& rTmp : GetShell()->GetRingContainer())
351  {
352  if( rTmp.Imp()->IsAccessible() )
353  rTmp.Imp()->GetAccessibleMap().InvalidateEditableStates( pFrame );
354  }
355  }
356  else if( IsAccessible() )
357  {
359  }
360 }
361 
363  const SwFlyFrame *pFollow )
364 {
365  for(SwViewShell& rTmp : GetShell()->GetRingContainer())
366  {
367  if( rTmp.Imp()->IsAccessible() )
368  rTmp.Imp()->GetAccessibleMap().InvalidateRelationSet( pMaster,
369  pFollow );
370  }
371 }
372 
375  const SwTextFrame* _pToTextFrame )
376 {
377  if ( !_pFromTextFrame && !_pToTextFrame )
378  {
379  // No text frame provided. Thus, nothing to do.
380  return;
381  }
382 
383  for(SwViewShell& rTmp : GetShell()->GetRingContainer())
384  {
385  if ( rTmp.Imp()->IsAccessible() )
386  {
387  if ( _pFromTextFrame )
388  {
389  rTmp.Imp()->GetAccessibleMap().
390  InvalidateParaFlowRelation( *_pFromTextFrame, true );
391  }
392  if ( _pToTextFrame )
393  {
394  rTmp.Imp()->GetAccessibleMap().
395  InvalidateParaFlowRelation( *_pToTextFrame, false );
396  }
397  }
398  }
399 }
400 
403 {
404  for(SwViewShell& rTmp : GetShell()->GetRingContainer())
405  {
406  if ( rTmp.Imp()->IsAccessible() )
407  {
408  rTmp.Imp()->GetAccessibleMap().InvalidateTextSelectionOfAllParas();
409  }
410  }
411 }
412 
415 {
416  for(SwViewShell& rTmp : GetShell()->GetRingContainer())
417  {
418  if ( rTmp.Imp()->IsAccessible() )
419  {
420  rTmp.Imp()->GetAccessibleMap().InvalidateAttr( rTextFrame );
421  }
422  }
423 }
424 
425 void SwViewShellImp::UpdateAccessiblePreview( const std::vector<std::unique_ptr<PreviewPage>>& _rPreviewPages,
426  const Fraction& _rScale,
427  const SwPageFrame* _pSelectedPageFrame,
428  const Size& _rPreviewWinSize )
429 {
430  if( IsAccessible() )
431  GetAccessibleMap().UpdatePreview( _rPreviewPages, _rScale,
432  _pSelectedPageFrame, _rPreviewWinSize );
433 }
434 
436 {
437  if( IsAccessible() )
439 }
440 
442 {
443  assert(!m_pAccessibleMap);
444  m_pAccessibleMap = std::make_shared<SwAccessibleMap>(GetShell());
445  return m_pAccessibleMap.get();
446 }
447 
449 {
450  if( IsAccessible() )
452 }
453 
454 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
css::uno::Reference< css::linguistic2::XProofreadingIterator > get(css::uno::Reference< css::uno::XComponentContext > const &context)
vcl::RenderContext * GetOut() const
Definition: viewsh.hxx:338
bool m_bFirstPageInvalid
Definition: viewimp.hxx:77
Base class of the Writer layout elements.
Definition: frame.hxx:315
Represents the visualization of a paragraph.
Definition: txtfrm.hxx:158
void InvalidateAccessibleFrameContent(const SwFrame *pFrame)
Invalidate accessible frame's content.
Definition: viewimp.cxx:329
void FireAccessibleEvents()
Fire all accessible events that have been collected so far.
Definition: viewimp.cxx:448
void InvalidateAccessibleCursorPosition(const SwFrame *pFrame)
Invalidate accessible frame's cursor position.
Definition: viewimp.cxx:339
const Color & GetRetoucheColor() const
Definition: viewopt.hxx:578
void InvalidateAccessibleRelationSet(const SwFlyFrame *pMaster, const SwFlyFrame *pFollow)
Invalidate frame's relation set (for chained frames)
Definition: viewimp.cxx:362
virtual void SetSize(const Size &aSiz)
bool IsPagePreview() const
Definition: viewopt.hxx:635
void DisposeAccessible(const SwFrame *pFrame, const SdrObject *pObj, bool bRecursive, bool bCanSkipInvisible)
Remove a frame from the accessible view.
Definition: viewimp.cxx:304
void InvalidateAccessibleParaAttrs_(const SwTextFrame &rTextFrame)
invalidate attributes for paragraphs and paragraph's characters
Definition: viewimp.cxx:414
const SdrPage * GetDrawPage() const
Definition: rootfrm.hxx:227
constexpr::Color COL_TRANSPARENT(ColorTransparency, 0xFF, 0xFF, 0xFF, 0xFF)
SwAccessibleMap & GetAccessibleMap()
Definition: viewimp.hxx:271
const SwPageFrame & GetFormatPage() const
Definition: pagechg.cxx:2443
SwViewShellImp(SwViewShell *)
CTor for the core internals.
Definition: viewimp.cxx:84
SwLayAction * m_pLayAction
Definition: viewimp.hxx:69
bool IsAccessible() const
Is this view accessible?
Definition: viewimp.hxx:220
void FireEvents()
Definition: accmap.cxx:3007
void SetDrawPage(SdrPage *pNew)
Definition: rootfrm.hxx:229
Of course Writer needs its own rectangles.
Definition: swrect.hxx:34
The root element of a Writer document layout.
Definition: rootfrm.hxx:82
void InvalidatePreviewSelection(sal_uInt16 nSelPage)
Definition: accmap.cxx:2973
bool IsCalcLayout() const
Definition: layact.hxx:170
virtual SwDrawModel * MakeDrawModel_()=0
const SwPageFrame * GetFirstVisPage(OutputDevice const *pRenderContext) const
Management of the first visible Page.
Definition: viewimp.cxx:267
void MakeDrawView()
Definition: viewimp.cxx:192
void DeletePaintRegion()
Definition: viewimp.hxx:152
constexpr tools::Long Width() const
virtual void NotifyInvisibleLayers(SdrPageView &_rSdrPageView)=0
method to notify drawing page view about the invisible layers
bool IsReadonly() const
Definition: viewopt.hxx:463
short GetDivisionX() const
Definition: viewopt.hxx:444
const SwRect & getFrameArea() const
Definition: frame.hxx:180
bool getBrowseMode() const
Definition: viewopt.hxx:472
bool IsEmptyPage() const
Definition: pagefrm.hxx:157
short GetDivisionY() const
Definition: viewopt.hxx:446
std::unique_ptr< SwRegionRects > m_pPaintRegion
Definition: viewimp.hxx:67
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 ...
Definition: viewimp.cxx:425
const IDocumentDrawModelAccess & getIDocumentDrawModelAccess() const
Provides access to the document draw model interface.
Definition: viewsh.cxx:2667
void CheckWaitCursor()
If an Action is running we ask it to check whether it's time to enable the WaitCursor.
Definition: viewimp.cxx:135
const SwViewShell * GetShell() const
Only for SwViewShell::Init()
Definition: viewimp.hxx:138
SdrPageView * m_pSdrPageView
Definition: viewimp.hxx:64
page preview functionality in the writer
#define TOOLS_WARN_EXCEPTION(area, stream)
bool IsCrossHair() const
Definition: viewopt.hxx:385
void CheckWaitCursor()
Definition: layact.cxx:70
void Init(const SwViewOption *)
Definition: viewimp.cxx:40
css::uno::Reference< css::accessibility::XAccessible > GetDocumentView()
Definition: accmap.cxx:1792
const SwRect & VisArea() const
Definition: viewsh.cxx:568
void InvalidateCursorPosition(const css::uno::Reference< css::accessibility::XAccessible > &rAcc)
bool IsViewLayoutBookMode() const
Definition: viewopt.hxx:479
SwRect GetBoundRect(OutputDevice const *pOutputDevice) const
Definition: paintfrm.cxx:6205
bool IsCalcLayoutProgress() const
Asks the LayAction if present.
Definition: viewimp.cxx:141
Size GetSize() const
const SwFrame * Lower() const
Definition: layfrm.hxx:101
bool IsPreview() const
Definition: viewsh.hxx:488
std::shared_ptr< SwAccessibleMap > m_pAccessibleMap
note: the map is uniquely owned here - the shared_ptr is only used so that SwAccessibleContext can ch...
Definition: viewimp.hxx:75
const SdrPage * GetPage(sal_uInt16 nPgNum) const
virtual const SwDrawModel * GetDrawModel() const =0
Draw Model and id accessors.
bool HasArea() const
Definition: swrect.hxx:280
void SetUpdateExpFields()
Definition: layact.hxx:159
ring_container GetRingContainer()
Definition: ring.hxx:240
Shell * m_pShell
bool IsUpdateExpFields()
Definition: viewimp.cxx:146
void SSize(const Size &rNew)
Definition: swrect.hxx:177
A page of the document layout.
Definition: pagefrm.hxx:57
const IDocumentLayoutAccess & getIDocumentLayoutAccess() const
Provides access to the document layout interface.
Definition: viewsh.cxx:2671
SwAccessibleMap * CreateAccessibleMap()
Definition: viewimp.cxx:441
void UpdateAccessible()
Update (this) accessible view.
Definition: viewimp.cxx:282
std::unique_ptr< SwDrawView > m_pDrawView
Definition: viewimp.hxx:63
bool mbDocSizeChgd
Definition: viewsh.hxx:120
SwPageFrame * m_pFirstVisiblePage
Definition: viewimp.hxx:66
tools::Rectangle SVRect() const
Definition: swrect.hxx:272
SwDrawView * GetDrawView()
Definition: viewimp.hxx:156
general base class for all free-flowing frames
Definition: flyfrm.hxx:78
SwViewShell * m_pShell
Definition: viewimp.hxx:60
Color GetRetoucheColor() const
Definition: viewimp.cxx:242
constexpr tools::Long Height() const
virtual const SwViewShell * GetCurrentViewShell() const =0
Returns the layout set at the document.
const SwViewOption * GetViewOptions() const
Definition: viewsh.hxx:423
vcl::Window * GetWin() const
Definition: viewsh.hxx:337
const ::std::vector< Color > ImpSvNumberformatScan::StandardColor COL_WHITE
const Size & GetSnapSize() const
Definition: viewopt.hxx:364
virtual SwDrawModel * GetOrCreateDrawModel()=0
void InvalidateEditableStates(const SwFrame *_pFrame)
Definition: accmap.cxx:2764
void UpdatePreview(const std::vector< std::unique_ptr< PreviewPage >> &_rPreviewPages, const Fraction &_rScale, const SwPageFrame *_pSelectedPageFrame, const Size &_rPreviewWinSize)
Definition: accmap.cxx:2933
void Top(const tools::Long nTop)
Definition: swrect.hxx:203
static Color & GetDocColor()
Definition: viewopt.cxx:391
void SetActiveLayer(const OUString &rName)
void InvalidateAccessibleParaFlowRelation_(const SwTextFrame *_pFromTextFrame, const SwTextFrame *_pToTextFrame)
invalidate CONTENT_FLOWS_FROM/_TO relation for paragraphs
Definition: viewimp.cxx:374
std::unique_ptr< SwPagePreviewLayout > m_pPagePreviewLayout
Definition: viewimp.hxx:85
void InvalidateAccessibleEditableState(bool bAllShells, const SwFrame *pFrame=nullptr)
Invalidate editable state for all accessible frames.
Definition: viewimp.cxx:345
bool IsGridVisible() const
Definition: viewopt.hxx:366
Provides access to the layout of a document.
bool IsAccessibleFrame() const
Definition: frame.hxx:1251
SwLayIdle * m_pIdleAct
Definition: viewimp.hxx:71
bool AddPaintRect(const SwRect &rRect)
Definition: viewimp.cxx:116
void SetFirstVisPage(OutputDevice const *pRenderContext)
Definition: viewimp.cxx:156
bool IsSnap() const
Definition: viewopt.hxx:358
SwRootFrame * GetLayout() const
Definition: viewsh.cxx:2067
void Height(tools::Long nNew)
Definition: swrect.hxx:190
bool Overlaps(const SwRect &rRect) const
Definition: swrect.cxx:123
void InvalidateAccessiblePreviewSelection(sal_uInt16 nSelPage)
Definition: viewimp.cxx:435
void MoveAccessible(const SwFrame *pFrame, const SdrObject *pObj, const SwRect &rOldFrame)
Move a frame's position in the accessible view.
Definition: viewimp.cxx:317
void InitPagePreviewLayout()
Definition: viewimp.cxx:275
SwFrame * GetNext()
Definition: frame.hxx:677
void InvalidateAccessibleParaTextSelection_()
invalidate text selection for paragraphs
Definition: viewimp.cxx:402