LibreOffice Module sw (master) 1
|
#include <accmap.hxx>
Public Member Functions | |
SwAccessibleMap (SwViewShell *pSh) | |
virtual | ~SwAccessibleMap () override |
css::uno::Reference< css::accessibility::XAccessible > | GetDocumentView () |
css::uno::Reference< css::accessibility::XAccessible > | GetDocumentPreview (const std::vector< std::unique_ptr< PreviewPage > > &_rPreviewPages, const Fraction &_rScale, const SwPageFrame *_pSelectedPageFrame, const Size &_rPreviewWinSize) |
::rtl::Reference< SwAccessibleContext > | GetContextImpl (const SwFrame *pFrame, bool bCreate=true) |
css::uno::Reference< css::accessibility::XAccessible > | GetContext (const SwFrame *pFrame, bool bCreate=true) |
::rtl::Reference< ::accessibility::AccessibleShape > | GetContextImpl (const SdrObject *pObj, SwAccessibleContext *pParentImpl, bool bCreate=true) |
css::uno::Reference< css::accessibility::XAccessible > | GetContext (const SdrObject *pObj, SwAccessibleContext *pParentImpl, bool bCreate=true) |
SwViewShell * | GetShell () const |
void | AddShapeContext (const SdrObject *pObj, css::uno::Reference< css::accessibility::XAccessible > const &xAccShape) |
void | AddGroupContext (const SdrObject *pParentObj, css::uno::Reference< css::accessibility::XAccessible > const &xAccParent) |
void | RemoveGroupContext (const SdrObject *pParentObj) |
const SwRect & | GetVisArea () const |
Size | GetPreviewPageSize (sal_uInt16 _nPreviewPageNum) const |
get size of a dedicated preview page More... | |
void | RemoveContext (const SwFrame *pFrame) |
void | RemoveContext (const SdrObject *pObj) |
void | A11yDispose (const SwFrame *pFrame, const SdrObject *pObj, vcl::Window *pWindow, bool bRecursive=false, bool bCanSkipInvisible=true) |
void | InvalidatePosOrSize (const SwFrame *pFrame, const SdrObject *pObj, vcl::Window *pWindow, const SwRect &rOldFrame) |
void | InvalidateContent (const SwFrame *pFrame) |
void | InvalidateAttr (const SwTextFrame &rTextFrame) |
void | InvalidateCursorPosition (const SwFrame *pFrame) |
void | InvalidateFocus () |
void | SetCursorContext (const ::rtl::Reference< SwAccessibleContext > &rCursorContext) |
void | InvalidateEditableStates (const SwFrame *_pFrame) |
void | InvalidateRelationSet (const SwFrame *pMaster, const SwFrame *pFollow) |
void | InvalidateParaFlowRelation (const SwTextFrame &_rTextFrame, const bool _bFrom) |
invalidation CONTENT_FLOWS_FROM/_TO relation of a paragraph More... | |
void | InvalidateParaTextSelection (const SwTextFrame &_rTextFrame) |
invalidation of text selection of a paragraph More... | |
void | InvalidateTextSelectionOfAllParas () |
invalidation of text selection of all paragraphs More... | |
sal_Int32 | GetChildIndex (const SwFrame &rParentFrame, vcl::Window &rChild) const |
void | UpdatePreview (const std::vector< std::unique_ptr< PreviewPage > > &_rPreviewPages, const Fraction &_rScale, const SwPageFrame *_pSelectedPageFrame, const Size &_rPreviewWinSize) |
void | InvalidatePreviewSelection (sal_uInt16 nSelPage) |
bool | IsPageSelected (const SwPageFrame *pPageFrame) const |
void | FireEvents () |
const OUString & | GetDocName () const |
virtual tools::Rectangle | GetVisibleArea () const override |
virtual Point | LogicToPixel (const Point &rPoint) const override |
virtual Size | LogicToPixel (const Size &rSize) const override |
virtual bool | ReplaceChild (::accessibility::AccessibleShape *pCurrentChild, const css::uno::Reference< css::drawing::XShape > &_rxShape, const tools::Long _nIndex, const ::accessibility::AccessibleShapeTreeInfo &_rShapeTreeInfo) override |
virtual ::accessibility::AccessibleControlShape * | GetAccControlShapeFromModel (css::beans::XPropertySet *pSet) override |
virtual css::uno::Reference< css::accessibility::XAccessible > | GetAccessibleCaption (const css::uno::Reference< css::drawing::XShape > &xShape) override |
Point | PixelToCore (const Point &rPoint) const |
tools::Rectangle | CoreToPixel (const SwRect &rRect) const |
bool | Contains (const SwFrame *pFrame) const |
virtual bool | IsDocumentSelAll () override |
Public Member Functions inherited from accessibility::IAccessibleViewForwarder | |
IAccessibleViewForwarder ()=default | |
IAccessibleViewForwarder (IAccessibleViewForwarder const &)=default | |
IAccessibleViewForwarder (IAccessibleViewForwarder &&)=default | |
IAccessibleViewForwarder & | operator= (IAccessibleViewForwarder const &)=default |
IAccessibleViewForwarder & | operator= (IAccessibleViewForwarder &&)=default |
virtual | ~IAccessibleViewForwarder () |
virtual tools::Rectangle | GetVisibleArea () const=0 |
virtual Point | LogicToPixel (const Point &rPoint) const=0 |
virtual Size | LogicToPixel (const Size &rSize) const=0 |
Public Member Functions inherited from accessibility::IAccessibleParent | |
virtual | ~IAccessibleParent () |
virtual bool | ReplaceChild (AccessibleShape *pCurrentChild, const css::uno::Reference< css::drawing::XShape > &_rxShape, const tools::Long _nIndex, const AccessibleShapeTreeInfo &_rShapeTreeInfo)=0 |
virtual AccessibleControlShape * | GetAccControlShapeFromModel (css::beans::XPropertySet *) |
virtual css::uno::Reference< css::accessibility::XAccessible > | GetAccessibleCaption (const css::uno::Reference< css::drawing::XShape > &) |
virtual bool | IsDocumentSelAll () |
Static Public Member Functions | |
static bool | IsInSameLevel (const SdrObject *pObj, const SwFEShell *pFESh) |
Private Member Functions | |
void | FireEvent (const SwAccessibleEvent_Impl &rEvent) |
void | AppendEvent (const SwAccessibleEvent_Impl &rEvent) |
void | InvalidateCursorPosition (const css::uno::Reference< css::accessibility::XAccessible > &rAcc) |
void | DoInvalidateShapeSelection (bool bInvalidateFocusMode=false) |
void | InvalidateShapeSelection () |
void | InvalidateShapeInParaSelection () |
void | InvalidateRelationSet_ (const SwFrame *pFrame, bool bFrom) |
css::uno::Reference< css::accessibility::XAccessible > | GetDocumentView_ (bool bPagePreview) |
std::unique_ptr< SwAccessibleSelectedParas_Impl > | BuildSelectedParas () |
method to build up a new data structure of the accessible paragraphs, which have a selection More... | |
void | GetMapMode (const Point &_rPoint, MapMode &_orMapMode) const |
get mapping mode for LogicToPixel and PixelToLogic conversions More... | |
Private Attributes | |
::osl::Mutex | maEventMutex |
std::unique_ptr< SwAccessibleContextMap_Impl > | mpFrameMap |
std::unique_ptr< SwAccessibleShapeMap_Impl > | mpShapeMap |
SwShapeList_Impl | mvShapes |
std::unique_ptr< SwAccessibleEventList_Impl > | mpEvents |
std::unique_ptr< SwAccessibleEventMap_Impl > | mpEventMap |
o3tl::sorted_vector< SwAccessibleParagraph * > | m_setParaAdd |
o3tl::sorted_vector< SwAccessibleParagraph * > | m_setParaRemove |
std::unique_ptr< SwAccessibleSelectedParas_Impl > | mpSelectedParas |
SwViewShell * | mpVSh |
std::unique_ptr< SwAccPreviewData > | mpPreview |
for page preview: store preview data, VisArea, and mapping of preview-to-display coordinates More... | |
css::uno::WeakReference< css::accessibility::XAccessible > | mxCursorContext |
bool | mbShapeSelected |
std::unique_ptr< SwAccessibleContextMap_Impl > | mpSelectedFrameMap |
OUString | maDocName |
Definition at line 88 of file accmap.hxx.
SwAccessibleMap::SwAccessibleMap | ( | SwViewShell * | pSh | ) |
Definition at line 1642 of file accmap.cxx.
References SwRootFrame::AddAccessibleShell(), and SwViewShell::GetLayout().
|
overridevirtual |
Definition at line 1650 of file accmap.cxx.
References DBG_TESTSOLARMUTEX, SwAccessibleContext::Dispose(), SwViewShell::GetLayout(), SwAccessibleContext::GetMap(), GetShell(), maEventMutex, mpEventMap, mpEvents, mpFrameMap, mpPreview, mpSelectedParas, mpShapeMap, mpVSh, mvShapes, and SwRootFrame::RemoveAccessibleShell().
void SwAccessibleMap::A11yDispose | ( | const SwFrame * | pFrame, |
const SdrObject * | pObj, | ||
vcl::Window * | pWindow, | ||
bool | bRecursive = false , |
||
bool | bCanSkipInvisible = true |
||
) |
Definition at line 2154 of file accmap.cxx.
References SwViewShell::ActionPend(), aEvent, AppendEvent(), Contains(), DBG_TESTSOLARMUTEX, SwAccessibleEvent_Impl::DISPOSE, SwAccessibleFrame::GetParent(), GetShell(), SwFrame::IsPageFrame(), maEventMutex, mpEventMap, mpEvents, mpFrameMap, mpPreview, mpShapeMap, mvShapes, and RemoveContext().
Referenced by SwPostItMgr::DisconnectSidebarWinFromFrame(), and ReplaceChild().
void SwAccessibleMap::AddGroupContext | ( | const SdrObject * | pParentObj, |
css::uno::Reference< css::accessibility::XAccessible > const & | xAccParent | ||
) |
Definition at line 2025 of file accmap.cxx.
References AddGroupContext(), AddShapeContext(), DBG_TESTSOLARMUTEX, SdrObject::getSdrObjectFromXShape(), accessibility::AccessibleShape::GetXShape(), i, SdrObject::IsGroupObject(), and mpShapeMap.
Referenced by AddGroupContext(), and GetContext().
void SwAccessibleMap::AddShapeContext | ( | const SdrObject * | pObj, |
css::uno::Reference< css::accessibility::XAccessible > const & | xAccShape | ||
) |
Definition at line 1991 of file accmap.cxx.
References DBG_TESTSOLARMUTEX, and mpShapeMap.
Referenced by AddGroupContext().
|
private |
Definition at line 980 of file accmap.cxx.
References aEvent, SwAccessibleEvent_Impl::CARET_OR_STATES, SwAccessibleEvent_Impl::CHILD_POS_CHANGED, SwAccessibleEvent_Impl::DISPOSE, FireEvent(), SwAccessibleEvent_Impl::GetAllStates(), SwAccessibleEvent_Impl::GetFrameOrObj(), SwAccessibleEvent_Impl::GetOldBox(), SwAccessibleEvent_Impl::GetType(), SwAccessibleEvent_Impl::INVALID_ATTR, SwAccessibleEvent_Impl::INVALID_CONTENT, maEventMutex, mpEventMap, mpEvents, SwAccessibleEvent_Impl::POS_CHANGED, and SwAccessibleEvent_Impl::SHAPE_SELECTION.
Referenced by A11yDispose(), InvalidateAttr(), InvalidateContent(), InvalidateEditableStates(), InvalidateParaTextSelection(), InvalidatePosOrSize(), InvalidateRelationSet_(), and InvalidateShapeSelection().
|
private |
method to build up a new data structure of the accessible paragraphs, which have a selection
method to build up a new data structure of the accessible paragraphs, which have a selection Important note: method has to be used inside a mutual exclusive section
Important note: method has to used inside a mutual exclusive section
Definition at line 3221 of file accmap.cxx.
References COMPLETE_STRING, SwIterator< TElementType, TSource, eMode >::First(), sw::FrameContainsNode(), SwCursorShell::GetCursor(), SwNodeIndex::GetIndex(), SwPaM::GetMark(), SwPaM::GetNext(), SwNodeIndex::GetNode(), SwPosition::GetNode(), SwPaM::GetPoint(), GetShell(), SwNode::GetTextNode(), SwPaM::HasMark(), SwFEShell::IsFrameSelected(), SwFEShell::IsObjSelected(), SwNode::IsTextNode(), mpFrameMap, SwIterator< TElementType, TSource, eMode >::Next(), and SwPaM::StartEnd().
Referenced by InvalidateTextSelectionOfAllParas().
bool SwAccessibleMap::Contains | ( | const SwFrame * | pFrame | ) | const |
tools::Rectangle SwAccessibleMap::CoreToPixel | ( | const SwRect & | rRect | ) | const |
Definition at line 3174 of file accmap.cxx.
References GetMapMode(), GetShell(), lcl_CorrectRectangle(), SwRect::SVRect(), and SwRect::TopLeft().
Referenced by SwAccessibleContext::getBoundsImpl(), and SwAccessibleFrame::GetChildAtPixel().
|
private |
Definition at line 1480 of file accmap.cxx.
References aEvent, o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::count(), DBG_TESTSOLARMUTEX, FindFrameFormat(), SwAccessibleContext::FireAccessibleEvent(), SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), GetDocumentView(), SdrObject::getSdrObjectFromXShape(), GetShell(), SwViewShell::GetWin(), accessibility::AccessibleShape::GetXShape(), vcl::Window::HasFocus(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::insert(), IsInSameLevel(), SwFEShell::IsObjSelected(), m_setParaAdd, m_setParaRemove, mpShapeMap, SELECTION_WITH_NUM, and accessibility::AccessibleShape::SetState().
Referenced by FireEvent(), InvalidateFocus(), and InvalidateShapeSelection().
|
private |
Definition at line 898 of file accmap.cxx.
References SwAccessibleEvent_Impl::CHILD_POS_CHANGED, SwAccessibleEvent_Impl::DISPOSE, DoInvalidateShapeSelection(), SwAccessibleEvent_Impl::GetAllStates(), SwAccessibleEvent_Impl::GetContext(), SwAccessibleEvent_Impl::GetFrameOrObj(), SwAccessibleEvent_Impl::GetOldBox(), SwAccessibleEvent_Impl::GetStates(), SwAccessibleEvent_Impl::GetType(), SwAccessibleEvent_Impl::INVALID_ATTR, SwAccessibleEvent_Impl::INVALID_CONTENT, SwAccessibleEvent_Impl::IsInvalidateRelation(), SwAccessibleEvent_Impl::IsInvalidateStates(), SwAccessibleEvent_Impl::IsInvalidateTextAttrs(), SwAccessibleEvent_Impl::IsInvalidateTextSelection(), SwAccessibleEvent_Impl::IsUpdateCursorPos(), mpFrameMap, SwAccessibleEvent_Impl::mpParentFrame, SwAccessibleEvent_Impl::POS_CHANGED, RELATION_FROM, RELATION_TO, and SwAccessibleEvent_Impl::SHAPE_SELECTION.
Referenced by AppendEvent(), and FireEvents().
void SwAccessibleMap::FireEvents | ( | ) |
Definition at line 2970 of file accmap.cxx.
References aEvent, DBG_TESTSOLARMUTEX, FireEvent(), maEventMutex, mpEventMap, mpEvents, and mvShapes.
Referenced by SwViewShellImp::FireAccessibleEvents(), InvalidateAttr(), InvalidateContent(), InvalidateEditableStates(), InvalidateParaTextSelection(), InvalidatePosOrSize(), InvalidateRelationSet_(), and InvalidateShapeSelection().
|
overridevirtual |
Reimplemented from accessibility::IAccessibleParent.
Definition at line 3100 of file accmap.cxx.
References accessibility::AccessibleControlShape::GetControlModel(), accessibility::ShapeTypeHandler::GetTypeId(), accessibility::AccessibleShape::GetXShape(), accessibility::ShapeTypeHandler::Instance(), and mpShapeMap.
|
overridevirtual |
Reimplemented from accessibility::IAccessibleParent.
Definition at line 3124 of file accmap.cxx.
sal_Int32 SwAccessibleMap::GetChildIndex | ( | const SwFrame & | rParentFrame, |
vcl::Window & | rChild | ||
) | const |
Definition at line 2869 of file accmap.cxx.
References DBG_TESTSOLARMUTEX, SwAccessibleFrame::GetChildIndex(), GetShell(), mpFrameMap, and nIndex.
uno::Reference< XAccessible > SwAccessibleMap::GetContext | ( | const SdrObject * | pObj, |
SwAccessibleContext * | pParentImpl, | ||
bool | bCreate = true |
||
) |
Definition at line 1926 of file accmap.cxx.
References AddGroupContext(), accessibility::ShapeTypeHandler::CreateAccessibleObject(), DBG_TESTSOLARMUTEX, accessibility::ShapeTypeHandler::Instance(), InvalidateCursorPosition(), and mpShapeMap.
uno::Reference< XAccessible > SwAccessibleMap::GetContext | ( | const SwFrame * | pFrame, |
bool | bCreate = true |
||
) |
Definition at line 1789 of file accmap.cxx.
References AreInSameTable(), Cell, DBG_TESTSOLARMUTEX, Fly, Footer, Ftn, SwAccessibleFrameBase::GetNodeType(), GetShell(), SwFrame::GetType(), Grf, Header, InvalidateCursorPosition(), InvalidateShapeSelection(), SwAccessibleFootnote::IsEndnote(), mbShapeSelected, mpFrameMap, mxCursorContext, Ole, Page, Tab, and Txt.
Referenced by SwAccessibleContext::getAccessibleAtPoint(), SwAccessibleTable::getAccessibleCellAt(), SwAccessibleContext::getAccessibleParentImpl(), SwAccessibleParagraph::getAccessibleRelationSet(), GetContextImpl(), InvalidateCursorPosition(), InvalidateEditableStates(), lcl_getSelectedState(), and SwAccessibleTextFrame::makeRelation().
rtl::Reference<::accessibility::AccessibleShape > SwAccessibleMap::GetContextImpl | ( | const SdrObject * | pObj, |
SwAccessibleContext * | pParentImpl, | ||
bool | bCreate = true |
||
) |
Definition at line 2069 of file accmap.cxx.
References GetContext().
rtl::Reference< SwAccessibleContext > SwAccessibleMap::GetContextImpl | ( | const SwFrame * | pFrame, |
bool | bCreate = true |
||
) |
Definition at line 1914 of file accmap.cxx.
References GetContext().
Referenced by SwAccessibleContext::ChildrenScrolled(), SwAccessibleContext::DisposeChild(), SwAccessibleContext::DisposeChildren(), SwAccessibleContext::DisposeShape(), SwAccessibleSelectionHelper::getSelectedAccessibleChild(), SwAccessibleContext::InvalidateChildPosOrSize(), SwAccessibleContext::InvalidateChildrenStates(), InvalidateCursorPosition(), SwAccessibleChildSList_const_iterator::next(), SwAccessibleChildMap::SwAccessibleChildMap(), SwAccessibleChildSList_const_iterator::SwAccessibleChildSList_const_iterator(), and UpdatePreview().
|
inline |
Definition at line 259 of file accmap.hxx.
References maDocName.
uno::Reference< XAccessible > SwAccessibleMap::GetDocumentPreview | ( | const std::vector< std::unique_ptr< PreviewPage > > & | _rPreviewPages, |
const Fraction & | _rScale, | ||
const SwPageFrame * | _pSelectedPageFrame, | ||
const Size & | _rPreviewWinSize | ||
) |
Definition at line 1774 of file accmap.cxx.
References GetDocumentView_(), and mpPreview.
Referenced by SwViewShell::CreateAccessiblePreview().
uno::Reference< XAccessible > SwAccessibleMap::GetDocumentView | ( | ) |
Definition at line 1769 of file accmap.cxx.
References GetDocumentView_().
Referenced by SwViewShell::CreateAccessible(), DoInvalidateShapeSelection(), and SwViewShellImp::UpdateAccessible().
|
private |
Definition at line 1709 of file accmap.cxx.
References DBG_TESTSOLARMUTEX, SwViewShell::GetLayout(), GetShell(), mpFrameMap, and SwAccessibleDocumentBase::SetVisArea().
Referenced by GetDocumentPreview(), GetDocumentView(), and InvalidateFocus().
get mapping mode for LogicToPixel and PixelToLogic conversions
Replacement method <PreviewAdjust(..)> by new method <GetMapMode>. Method returns mapping mode of current output device and adjusts it, if the shell is in page/print preview. Necessary, because <PreviewAdjust(..)> changes mapping mode at current output device for mapping logic document positions to page preview window positions and vice versa and doesn't take care to recover its changes.
_rPoint | input parameter - constant reference to point to determine the mapping mode adjustments for page/print preview. |
_orMapMode | output parameter - reference to the mapping mode, which is determined by the method |
Method returns mapping mode of current output device and adjusts it, if the shell is in page/print preview. Necessary, because <PreviewAdjust(..)> changes mapping mode at current output device for mapping logic document positions to page preview window positions and vice versa and doesn't take care to recover its changes.
Definition at line 3198 of file accmap.cxx.
References vcl::Window::GetMapMode(), GetShell(), SwViewShell::GetWin(), and mpPreview.
Referenced by CoreToPixel(), LogicToPixel(), and PixelToCore().
Size SwAccessibleMap::GetPreviewPageSize | ( | sal_uInt16 | _nPreviewPageNum | ) | const |
get size of a dedicated preview page
_nPreviewPageNum | input parameter - physical page number of page visible in the page preview |
Definition at line 3210 of file accmap.cxx.
References SwPagePreviewLayout::GetPreviewPageSizeByPageNum(), SwViewShell::IsPreview(), mpPreview, mpVSh, and SwViewShell::PagePreviewLayout().
Referenced by SwAccessibleContext::getBoundsImpl().
|
inline |
Definition at line 173 of file accmap.hxx.
References mpVSh.
Referenced by A11yDispose(), BuildSelectedParas(), CoreToPixel(), SwAccessibleDocument::Dispose(), DoInvalidateShapeSelection(), SwAccessibleParagraph::ExecuteAtViewShell(), SwAccessibleFootnote::getAccessibleDescription(), SwAccessibleContext::GetAdditionalAccessibleChild(), SwAccessibleContext::GetAdditionalAccessibleChildren(), sw::access::SwAccessibleChild::GetBox(), GetChildIndex(), GetContext(), SwAccessibleContext::GetCursorShell(), GetDocumentView_(), SwAccessibleSelectionHelper::GetFEShell(), GetMapMode(), SwAccessibleContext::GetShell(), SwAccessibleCell::GetStates(), SwAccessibleFrameBase::GetStates(), GetVisArea(), SwAccessibleContext::GetWindow(), SwAccessibleContext::HasAdditionalAccessibleChildren(), SwAccessibleContext::InitStates(), InvalidateAttr(), InvalidateContent(), InvalidateCursorPosition(), InvalidateEditableStates(), InvalidateFocus(), InvalidateParaTextSelection(), InvalidatePosOrSize(), InvalidatePreviewSelection(), InvalidateRelationSet_(), InvalidateShapeInParaSelection(), InvalidateShapeSelection(), SwAccessibleContext::InvalidateStates(), IsDocumentSelAll(), SwAccessibleCell::IsSelected(), SwAccessibleFrameBase::IsSelected(), LogicToPixel(), PixelToCore(), SwAccessibleParagraph::scrollSubstringTo(), SwAccessibleShapeMap_Impl::SwAccessibleShapeMap_Impl(), UpdatePreview(), SwAccessibleDocument::~SwAccessibleDocument(), and ~SwAccessibleMap().
const SwRect & SwAccessibleMap::GetVisArea | ( | ) | const |
Definition at line 3408 of file accmap.cxx.
References GetShell(), SwViewShell::IsPreview(), mpPreview, and SwViewShell::VisArea().
Referenced by GetVisibleArea(), and SwAccessibleDocumentBase::SetVisArea().
|
overridevirtual |
Implements accessibility::IAccessibleViewForwarder.
Definition at line 2994 of file accmap.cxx.
References o3tl::convert(), GetVisArea(), o3tl::mm100, and o3tl::twip.
void SwAccessibleMap::InvalidateAttr | ( | const SwTextFrame & | rTextFrame | ) |
Definition at line 2451 of file accmap.cxx.
References SwViewShell::ActionPend(), aEvent, AppendEvent(), DBG_TESTSOLARMUTEX, FireEvents(), GetShell(), SwAccessibleEvent_Impl::INVALID_ATTR, SwAccessibleContext::InvalidateAttr(), mpFrameMap, and TEXT_ATTRIBUTE_CHANGED.
void SwAccessibleMap::InvalidateContent | ( | const SwFrame * | pFrame | ) |
Definition at line 2415 of file accmap.cxx.
References SwViewShell::ActionPend(), aEvent, AppendEvent(), DBG_TESTSOLARMUTEX, FireEvents(), GetShell(), SwAccessibleEvent_Impl::INVALID_CONTENT, SwAccessibleContext::InvalidateContent(), and mpFrameMap.
|
private |
void SwAccessibleMap::InvalidateCursorPosition | ( | const SwFrame * | pFrame | ) |
Definition at line 2487 of file accmap.cxx.
References aEvent, AreInSameTable(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::clear(), DBG_TESTSOLARMUTEX, SwFrame::FindFlyFrame(), SwFrame::FindTabFrame(), GetContext(), GetContextImpl(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMark::GetMarkedSdrObj(), SwFEShell::GetMarkList(), SwAccessibleFrame::GetParent(), SdrObject::getParentSdrObjectFromSdrObject(), GetShell(), InvalidateCursorPosition(), InvalidatePosOrSize(), InvalidateShapeInParaSelection(), InvalidateShapeSelection(), m_setParaAdd, m_setParaRemove, mbShapeSelected, mpFrameMap, and mxCursorContext.
void SwAccessibleMap::InvalidateEditableStates | ( | const SwFrame * | _pFrame | ) |
Definition at line 2740 of file accmap.cxx.
References SwViewShell::ActionPend(), aEvent, AppendEvent(), SwAccessibleEvent_Impl::CARET_OR_STATES, EDITABLE, FireEvents(), GetContext(), SwAccessibleFrame::GetFrame(), SwViewShell::GetLayout(), GetShell(), and SwAccessibleContext::InvalidateStates().
Referenced by SwViewShellImp::InvalidateAccessibleEditableState().
void SwAccessibleMap::InvalidateFocus | ( | ) |
Definition at line 2702 of file accmap.cxx.
References DBG_TESTSOLARMUTEX, DoInvalidateShapeSelection(), GetDocumentView_(), GetShell(), SwAccessibleContext::InvalidateFocus(), and mxCursorContext.
Referenced by SwViewShell::InvalidateAccessibleFocus().
void SwAccessibleMap::InvalidateParaFlowRelation | ( | const SwTextFrame & | _rTextFrame, |
const bool | _bFrom | ||
) |
invalidation CONTENT_FLOWS_FROM/_TO relation of a paragraph
_rTextFrame | input parameter - reference to paragraph, whose CONTENT_FLOWS_FROM/_TO has to be invalidated. |
_bFrom | input parameter - boolean indicating, if relation CONTENT_FLOWS_FROM (value <true>) or CONTENT_FLOWS_TO (value <false>) has to be invalidated. |
Definition at line 2820 of file accmap.cxx.
References InvalidateRelationSet_().
void SwAccessibleMap::InvalidateParaTextSelection | ( | const SwTextFrame & | _rTextFrame | ) |
invalidation of text selection of a paragraph
Definition at line 2827 of file accmap.cxx.
References SwViewShell::ActionPend(), aEvent, AppendEvent(), SwAccessibleEvent_Impl::CARET_OR_STATES, DBG_TESTSOLARMUTEX, FireEvents(), GetShell(), SwAccessibleContext::InvalidateTextSelection(), mpFrameMap, and TEXT_SELECTION_CHANGED.
Referenced by InvalidateTextSelectionOfAllParas().
void SwAccessibleMap::InvalidatePosOrSize | ( | const SwFrame * | pFrame, |
const SdrObject * | pObj, | ||
vcl::Window * | pWindow, | ||
const SwRect & | rOldFrame | ||
) |
Definition at line 2280 of file accmap.cxx.
References SwViewShell::ActionPend(), aEvent, AppendEvent(), SwAccessibleEvent_Impl::CHILD_POS_CHANGED, DBG_TESTSOLARMUTEX, FireEvents(), Fly, SwAccessibleFrame::GetParent(), GetShell(), SwFrame::GetType(), mpFrameMap, SwAccessibleEvent_Impl::POS_CHANGED, and Txt.
Referenced by SwPostItMgr::ConnectSidebarWinToFrame(), InvalidateCursorPosition(), and ReplaceChild().
void SwAccessibleMap::InvalidatePreviewSelection | ( | sal_uInt16 | nSelPage | ) |
Definition at line 2940 of file accmap.cxx.
References DBG_TESTSOLARMUTEX, GetShell(), InvalidateCursorPosition(), mpFrameMap, mpPreview, and mxCursorContext.
Referenced by SwViewShellImp::InvalidateAccessiblePreviewSelection().
Definition at line 2812 of file accmap.cxx.
References InvalidateRelationSet_().
|
private |
Definition at line 2767 of file accmap.cxx.
References SwViewShell::ActionPend(), aEvent, AppendEvent(), SwAccessibleEvent_Impl::CARET_OR_STATES, DBG_TESTSOLARMUTEX, FireEvents(), GetShell(), SwAccessibleContext::InvalidateRelation(), mpFrameMap, RELATION_FROM, and RELATION_TO.
Referenced by InvalidateParaFlowRelation(), and InvalidateRelationSet().
|
private |
Definition at line 1145 of file accmap.cxx.
References aEvent, SwAccessibleContextMap_Impl::begin(), SwAccessibleContextMap_Impl::clear(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::count(), DBG_TESTSOLARMUTEX, SwAccessibleContextMap_Impl::emplace(), SwAccessibleContextMap_Impl::end(), SwAccessibleContextMap_Impl::find(), FindFrameFormat(), SwIterator< TElementType, TSource, eMode >::First(), SwAccessibleContext::getAccessibleParent(), SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorContentOffset(), SwFormatAnchor::GetAnchorId(), SwFormatAnchor::GetAnchorNode(), SwFormatAnchor::GetContentAnchor(), SwPosition::GetContentIndex(), SwCursorShell::GetCursor(), SwFlyFrame::GetFormat(), SwTable::GetFrameFormat(), SwNode::GetIndex(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwTextFrame::GetMergedPara(), SwNodeIndex::GetNode(), SwPosition::GetNodeIndex(), sw::Ring< value_type >::GetRingContainer(), GetShell(), SwTableNode::GetTable(), SwNode::GetTextNode(), SwTextFrame::GetTextNodeFirst(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::insert(), SwNode::IsContentNode(), IsDestroyFrameAnchoredAtChar(), IsDocumentSelAll(), SwFrame::IsFlyFrame(), SwAccessibleContext::IsSelectedInDoc(), IsSelectFrameAnchoredAtPara(), SwNode::IsTableNode(), m_setParaAdd, m_setParaRemove, mpFrameMap, mpSelectedFrameMap, mpShapeMap, nIndex, and SwAccessibleFrameBase::SetSelectedState().
Referenced by InvalidateCursorPosition().
|
private |
Definition at line 1126 of file accmap.cxx.
References aEvent, AppendEvent(), DoInvalidateShapeSelection(), FireEvents(), GetShell(), and SwAccessibleEvent_Impl::SHAPE_SELECTION.
Referenced by GetContext(), and InvalidateCursorPosition().
void SwAccessibleMap::InvalidateTextSelectionOfAllParas | ( | ) |
invalidation of text selection of all paragraphs
Definition at line 3309 of file accmap.cxx.
References BuildSelectedParas(), DBG_TESTSOLARMUTEX, InvalidateParaTextSelection(), and mpSelectedParas.
|
overridevirtual |
Reimplemented from accessibility::IAccessibleParent.
Definition at line 3417 of file accmap.cxx.
References SwViewShell::GetDoc(), GetShell(), and SwDoc::IsPrepareSelAll().
Referenced by InvalidateShapeInParaSelection().
Definition at line 1984 of file accmap.cxx.
References SwFEShell::IsObjSameLevelWithMarked().
Referenced by DoInvalidateShapeSelection().
bool SwAccessibleMap::IsPageSelected | ( | const SwPageFrame * | pPageFrame | ) | const |
Definition at line 2965 of file accmap.cxx.
References mpPreview.
Referenced by SwAccessiblePage::IsSelected().
Implements accessibility::IAccessibleViewForwarder.
Definition at line 3001 of file accmap.cxx.
References GetMapMode(), GetShell(), o3tl::mm100, and o3tl::toTwips().
Referenced by SwAccessibleParagraph::getDefaultAttributes().
Implements accessibility::IAccessibleViewForwarder.
Definition at line 3015 of file accmap.cxx.
References GetMapMode(), GetShell(), o3tl::mm100, and o3tl::toTwips().
Definition at line 3129 of file accmap.cxx.
References GetMapMode(), and GetShell().
void SwAccessibleMap::RemoveContext | ( | const SdrObject * | pObj | ) |
Definition at line 2125 of file accmap.cxx.
References DBG_TESTSOLARMUTEX, mpShapeMap, and RemoveGroupContext().
void SwAccessibleMap::RemoveContext | ( | const SwFrame * | pFrame | ) |
Definition at line 2082 of file accmap.cxx.
References DBG_TESTSOLARMUTEX, SwAccessibleFrame::GetFrame(), mpFrameMap, mpSelectedFrameMap, and mxCursorContext.
Referenced by A11yDispose(), SwAccessibleContext::DisposeChildren(), SwAccessibleContext::DisposeShape(), SwAccessibleContext::RemoveFrameFromAccessibleMap(), and RemoveGroupContext().
void SwAccessibleMap::RemoveGroupContext | ( | const SdrObject * | pParentObj | ) |
Definition at line 2002 of file accmap.cxx.
References DBG_TESTSOLARMUTEX, SdrObjList::GetObj(), SdrObjList::GetObjCount(), SdrObject::GetSubList(), i, SdrObject::IsGroupObject(), mpShapeMap, and RemoveContext().
Referenced by RemoveContext().
|
overridevirtual |
Definition at line 3028 of file accmap.cxx.
References A11yDispose(), accessibility::ShapeTypeHandler::CreateAccessibleObject(), DBG_TESTSOLARMUTEX, accessibility::ShapeTypeHandler::Instance(), InvalidatePosOrSize(), and mpShapeMap.
void SwAccessibleMap::SetCursorContext | ( | const ::rtl::Reference< SwAccessibleContext > & | rCursorContext | ) |
Definition at line 2732 of file accmap.cxx.
References DBG_TESTSOLARMUTEX, and mxCursorContext.
Referenced by SwAccessibleParagraph::getCaretPosition(), SwAccessibleCell::GetStates(), SwAccessibleFrameBase::GetStates(), SwAccessiblePage::GetStates(), SwAccessibleParagraph::GetStates(), SwAccessibleFrameBase::InvalidateCursorPos_(), SwAccessiblePage::InvalidateCursorPos_(), SwAccessibleParagraph::InvalidateCursorPos_(), and SwAccessibleCell::InvalidateMyCursorPos().
void SwAccessibleMap::UpdatePreview | ( | const std::vector< std::unique_ptr< PreviewPage > > & | _rPreviewPages, |
const Fraction & | _rScale, | ||
const SwPageFrame * | _pSelectedPageFrame, | ||
const Size & | _rPreviewWinSize | ||
) |
Definition at line 2904 of file accmap.cxx.
References DBG_TESTSOLARMUTEX, GetContextImpl(), GetShell(), InvalidateCursorPosition(), mpFrameMap, mpPreview, and mxCursorContext.
Referenced by SwViewShellImp::UpdateAccessiblePreview().
|
private |
Definition at line 100 of file accmap.hxx.
Referenced by DoInvalidateShapeSelection(), InvalidateCursorPosition(), and InvalidateShapeInParaSelection().
|
private |
Definition at line 101 of file accmap.hxx.
Referenced by DoInvalidateShapeSelection(), InvalidateCursorPosition(), and InvalidateShapeInParaSelection().
|
private |
Definition at line 127 of file accmap.hxx.
Referenced by GetDocName().
|
private |
Definition at line 92 of file accmap.hxx.
Referenced by A11yDispose(), AppendEvent(), FireEvents(), and ~SwAccessibleMap().
|
private |
Definition at line 113 of file accmap.hxx.
Referenced by GetContext(), and InvalidateCursorPosition().
|
private |
Definition at line 97 of file accmap.hxx.
Referenced by A11yDispose(), AppendEvent(), FireEvents(), and ~SwAccessibleMap().
|
private |
Definition at line 96 of file accmap.hxx.
Referenced by A11yDispose(), AppendEvent(), FireEvents(), and ~SwAccessibleMap().
|
private |
Definition at line 93 of file accmap.hxx.
Referenced by A11yDispose(), BuildSelectedParas(), Contains(), FireEvent(), GetChildIndex(), GetContext(), GetDocumentView_(), InvalidateAttr(), InvalidateContent(), InvalidateCursorPosition(), InvalidateParaTextSelection(), InvalidatePosOrSize(), InvalidatePreviewSelection(), InvalidateRelationSet_(), InvalidateShapeInParaSelection(), RemoveContext(), UpdatePreview(), and ~SwAccessibleMap().
|
private |
for page preview: store preview data, VisArea, and mapping of preview-to-display coordinates
Definition at line 109 of file accmap.hxx.
Referenced by A11yDispose(), GetDocumentPreview(), GetMapMode(), GetPreviewPageSize(), GetVisArea(), InvalidatePreviewSelection(), IsPageSelected(), UpdatePreview(), and ~SwAccessibleMap().
|
private |
Definition at line 125 of file accmap.hxx.
Referenced by InvalidateShapeInParaSelection(), and RemoveContext().
|
private |
Definition at line 105 of file accmap.hxx.
Referenced by InvalidateTextSelectionOfAllParas(), and ~SwAccessibleMap().
|
private |
Definition at line 94 of file accmap.hxx.
Referenced by A11yDispose(), AddGroupContext(), AddShapeContext(), DoInvalidateShapeSelection(), GetAccControlShapeFromModel(), GetContext(), InvalidateShapeInParaSelection(), RemoveContext(), RemoveGroupContext(), ReplaceChild(), and ~SwAccessibleMap().
|
private |
Definition at line 106 of file accmap.hxx.
Referenced by GetPreviewPageSize(), GetShell(), and ~SwAccessibleMap().
|
private |
Definition at line 95 of file accmap.hxx.
Referenced by A11yDispose(), FireEvents(), and ~SwAccessibleMap().
|
private |
Definition at line 111 of file accmap.hxx.
Referenced by GetContext(), InvalidateCursorPosition(), InvalidateFocus(), InvalidatePreviewSelection(), RemoveContext(), SetCursorContext(), and UpdatePreview().