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 |
![]() | |
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 |
![]() | |
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 | |
mutable::osl::Mutex | maMutex |
::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, maMutex, 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 2165 of file accmap.cxx.
References SwViewShell::ActionPend(), aEvent, AppendEvent(), Contains(), SwAccessibleEvent_Impl::DISPOSE, SwAccessibleFrame::GetParent(), GetShell(), SwFrame::IsPageFrame(), maEventMutex, maMutex, 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 2037 of file accmap.cxx.
References AddGroupContext(), AddShapeContext(), SdrObject::getSdrObjectFromXShape(), accessibility::AccessibleShape::GetXShape(), i, SdrObject::IsGroupObject(), maMutex, and mpShapeMap.
Referenced by AddGroupContext(), and GetContext().
void SwAccessibleMap::AddShapeContext | ( | const SdrObject * | pObj, |
css::uno::Reference< css::accessibility::XAccessible > const & | xAccShape | ||
) |
Definition at line 2003 of file accmap.cxx.
References maMutex, and mpShapeMap.
Referenced by AddGroupContext().
|
private |
Definition at line 978 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 3257 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 3210 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 1479 of file accmap.cxx.
References aEvent, o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::count(), 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, maMutex, mpShapeMap, SELECTION_WITH_NUM, and accessibility::AccessibleShape::SetState().
Referenced by FireEvent(), InvalidateFocus(), and InvalidateShapeSelection().
|
private |
Definition at line 896 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 2998 of file accmap.cxx.
References aEvent, FireEvent(), maEventMutex, maMutex, mpEventMap, mpEvents, and mvShapes.
Referenced by SwViewShellImp::FireAccessibleEvents(), InvalidateAttr(), InvalidateContent(), InvalidateEditableStates(), InvalidateParaTextSelection(), InvalidatePosOrSize(), InvalidateRelationSet_(), and InvalidateShapeSelection().
|
overridevirtual |
Reimplemented from accessibility::IAccessibleParent.
Definition at line 3136 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 3160 of file accmap.cxx.
sal_Int32 SwAccessibleMap::GetChildIndex | ( | const SwFrame & | rParentFrame, |
vcl::Window & | rChild | ||
) | const |
Definition at line 2888 of file accmap.cxx.
References SwAccessibleFrame::GetChildIndex(), GetShell(), maMutex, mpFrameMap, and nIndex.
uno::Reference< XAccessible > SwAccessibleMap::GetContext | ( | const SdrObject * | pObj, |
SwAccessibleContext * | pParentImpl, | ||
bool | bCreate = true |
||
) |
Definition at line 1936 of file accmap.cxx.
References AddGroupContext(), accessibility::ShapeTypeHandler::CreateAccessibleObject(), accessibility::ShapeTypeHandler::Instance(), InvalidateCursorPosition(), maMutex, and mpShapeMap.
uno::Reference< XAccessible > SwAccessibleMap::GetContext | ( | const SwFrame * | pFrame, |
bool | bCreate = true |
||
) |
Definition at line 1796 of file accmap.cxx.
References AreInSameTable(), Cell, DBG_TESTSOLARMUTEX, Fly, Footer, Ftn, SwAccessibleFrameBase::GetNodeType(), GetShell(), SwFrame::GetType(), Grf, Header, InvalidateCursorPosition(), InvalidateShapeSelection(), SwAccessibleFootnote::IsEndnote(), maMutex, 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 2080 of file accmap.cxx.
References GetContext().
rtl::Reference< SwAccessibleContext > SwAccessibleMap::GetContextImpl | ( | const SwFrame * | pFrame, |
bool | bCreate = true |
||
) |
Definition at line 1924 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 260 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 1781 of file accmap.cxx.
References GetDocumentView_(), and mpPreview.
Referenced by SwViewShell::CreateAccessiblePreview().
uno::Reference< XAccessible > SwAccessibleMap::GetDocumentView | ( | ) |
Definition at line 1776 of file accmap.cxx.
References GetDocumentView_().
Referenced by SwViewShell::CreateAccessible(), DoInvalidateShapeSelection(), and SwViewShellImp::UpdateAccessible().
|
private |
Definition at line 1714 of file accmap.cxx.
References SwViewShell::GetLayout(), GetShell(), maMutex, 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 3234 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 3246 of file accmap.cxx.
References SwPagePreviewLayout::GetPreviewPageSizeByPageNum(), SwViewShell::IsPreview(), mpPreview, mpVSh, and SwViewShell::PagePreviewLayout().
Referenced by SwAccessibleContext::getBoundsImpl().
|
inline |
Definition at line 174 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 3444 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 3025 of file accmap.cxx.
References o3tl::convert(), GetVisArea(), o3tl::mm100, and o3tl::twip.
void SwAccessibleMap::InvalidateAttr | ( | const SwTextFrame & | rTextFrame | ) |
Definition at line 2466 of file accmap.cxx.
References SwViewShell::ActionPend(), aEvent, AppendEvent(), FireEvents(), GetShell(), SwAccessibleEvent_Impl::INVALID_ATTR, SwAccessibleContext::InvalidateAttr(), maMutex, mpFrameMap, and TEXT_ATTRIBUTE_CHANGED.
void SwAccessibleMap::InvalidateContent | ( | const SwFrame * | pFrame | ) |
Definition at line 2428 of file accmap.cxx.
References SwViewShell::ActionPend(), aEvent, AppendEvent(), FireEvents(), GetShell(), SwAccessibleEvent_Impl::INVALID_CONTENT, SwAccessibleContext::InvalidateContent(), maMutex, and mpFrameMap.
|
private |
void SwAccessibleMap::InvalidateCursorPosition | ( | const SwFrame * | pFrame | ) |
Definition at line 2504 of file accmap.cxx.
References aEvent, AreInSameTable(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::clear(), 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, maMutex, mbShapeSelected, mpFrameMap, and mxCursorContext.
void SwAccessibleMap::InvalidateEditableStates | ( | const SwFrame * | _pFrame | ) |
Definition at line 2755 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 2714 of file accmap.cxx.
References DoInvalidateShapeSelection(), GetDocumentView_(), GetShell(), SwAccessibleContext::InvalidateFocus(), maMutex, 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 2837 of file accmap.cxx.
References InvalidateRelationSet_().
void SwAccessibleMap::InvalidateParaTextSelection | ( | const SwTextFrame & | _rTextFrame | ) |
invalidation of text selection of a paragraph
Definition at line 2844 of file accmap.cxx.
References SwViewShell::ActionPend(), aEvent, AppendEvent(), SwAccessibleEvent_Impl::CARET_OR_STATES, FireEvents(), GetShell(), SwAccessibleContext::InvalidateTextSelection(), maMutex, 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 2291 of file accmap.cxx.
References SwViewShell::ActionPend(), aEvent, AppendEvent(), SwAccessibleEvent_Impl::CHILD_POS_CHANGED, FireEvents(), Fly, SwAccessibleFrame::GetParent(), GetShell(), SwFrame::GetType(), maMutex, mpFrameMap, SwAccessibleEvent_Impl::POS_CHANGED, and Txt.
Referenced by SwPostItMgr::ConnectSidebarWinToFrame(), InvalidateCursorPosition(), and ReplaceChild().
void SwAccessibleMap::InvalidatePreviewSelection | ( | sal_uInt16 | nSelPage | ) |
Definition at line 2964 of file accmap.cxx.
References GetShell(), InvalidateCursorPosition(), maMutex, mpFrameMap, mpPreview, and mxCursorContext.
Referenced by SwViewShellImp::InvalidateAccessiblePreviewSelection().
Definition at line 2829 of file accmap.cxx.
References InvalidateRelationSet_().
|
private |
Definition at line 2782 of file accmap.cxx.
References SwViewShell::ActionPend(), aEvent, AppendEvent(), SwAccessibleEvent_Impl::CARET_OR_STATES, FireEvents(), GetShell(), SwAccessibleContext::InvalidateRelation(), maMutex, mpFrameMap, RELATION_FROM, and RELATION_TO.
Referenced by InvalidateParaFlowRelation(), and InvalidateRelationSet().
|
private |
Definition at line 1143 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(), 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, maMutex, mpFrameMap, mpSelectedFrameMap, mpShapeMap, nIndex, and SwAccessibleFrameBase::SetSelectedState().
Referenced by InvalidateCursorPosition().
|
private |
Definition at line 1124 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 3345 of file accmap.cxx.
References BuildSelectedParas(), InvalidateParaTextSelection(), maMutex, and mpSelectedParas.
|
overridevirtual |
Reimplemented from accessibility::IAccessibleParent.
Definition at line 3453 of file accmap.cxx.
References SwViewShell::GetDoc(), GetShell(), and SwDoc::IsPrepareSelAll().
Referenced by InvalidateShapeInParaSelection().
Definition at line 1996 of file accmap.cxx.
References SwFEShell::IsObjSameLevelWithMarked().
Referenced by DoInvalidateShapeSelection().
bool SwAccessibleMap::IsPageSelected | ( | const SwPageFrame * | pPageFrame | ) | const |
Definition at line 2993 of file accmap.cxx.
References mpPreview.
Referenced by SwAccessiblePage::IsSelected().
Implements accessibility::IAccessibleViewForwarder.
Definition at line 3032 of file accmap.cxx.
References GetMapMode(), GetShell(), o3tl::mm100, Point, and o3tl::toTwips().
Referenced by SwAccessibleParagraph::getDefaultAttributes().
Implements accessibility::IAccessibleViewForwarder.
Definition at line 3046 of file accmap.cxx.
References GetMapMode(), GetShell(), o3tl::mm100, Point, and o3tl::toTwips().
Definition at line 3165 of file accmap.cxx.
References GetMapMode(), GetShell(), and Point.
void SwAccessibleMap::RemoveContext | ( | const SdrObject * | pObj | ) |
Definition at line 2136 of file accmap.cxx.
References maMutex, mpShapeMap, and RemoveGroupContext().
void SwAccessibleMap::RemoveContext | ( | const SwFrame * | pFrame | ) |
Definition at line 2093 of file accmap.cxx.
References SwAccessibleFrame::GetFrame(), maMutex, mpFrameMap, mpSelectedFrameMap, and mxCursorContext.
Referenced by A11yDispose(), SwAccessibleContext::DisposeChildren(), SwAccessibleContext::DisposeShape(), SwAccessibleContext::RemoveFrameFromAccessibleMap(), and RemoveGroupContext().
void SwAccessibleMap::RemoveGroupContext | ( | const SdrObject * | pParentObj | ) |
Definition at line 2015 of file accmap.cxx.
References SdrObjList::GetObj(), SdrObjList::GetObjCount(), SdrObject::GetSubList(), i, SdrObject::IsGroupObject(), maMutex, mpShapeMap, and RemoveContext().
Referenced by RemoveContext().
|
overridevirtual |
Definition at line 3059 of file accmap.cxx.
References A11yDispose(), accessibility::ShapeTypeHandler::CreateAccessibleObject(), accessibility::ShapeTypeHandler::Instance(), InvalidatePosOrSize(), maMutex, and mpShapeMap.
void SwAccessibleMap::SetCursorContext | ( | const ::rtl::Reference< SwAccessibleContext > & | rCursorContext | ) |
Definition at line 2747 of file accmap.cxx.
References maMutex, 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 2924 of file accmap.cxx.
References GetContextImpl(), GetShell(), InvalidateCursorPosition(), maMutex, mpFrameMap, mpPreview, and mxCursorContext.
Referenced by SwViewShellImp::UpdateAccessiblePreview().
|
private |
Definition at line 101 of file accmap.hxx.
Referenced by DoInvalidateShapeSelection(), InvalidateCursorPosition(), and InvalidateShapeInParaSelection().
|
private |
Definition at line 102 of file accmap.hxx.
Referenced by DoInvalidateShapeSelection(), InvalidateCursorPosition(), and InvalidateShapeInParaSelection().
|
private |
Definition at line 128 of file accmap.hxx.
Referenced by GetDocName().
|
private |
Definition at line 93 of file accmap.hxx.
Referenced by A11yDispose(), AppendEvent(), FireEvents(), and ~SwAccessibleMap().
|
private |
Definition at line 92 of file accmap.hxx.
Referenced by A11yDispose(), AddGroupContext(), AddShapeContext(), DoInvalidateShapeSelection(), FireEvents(), GetChildIndex(), GetContext(), GetDocumentView_(), InvalidateAttr(), InvalidateContent(), InvalidateCursorPosition(), InvalidateFocus(), InvalidateParaTextSelection(), InvalidatePosOrSize(), InvalidatePreviewSelection(), InvalidateRelationSet_(), InvalidateShapeInParaSelection(), InvalidateTextSelectionOfAllParas(), RemoveContext(), RemoveGroupContext(), ReplaceChild(), SetCursorContext(), UpdatePreview(), and ~SwAccessibleMap().
|
private |
Definition at line 114 of file accmap.hxx.
Referenced by GetContext(), and InvalidateCursorPosition().
|
private |
Definition at line 98 of file accmap.hxx.
Referenced by A11yDispose(), AppendEvent(), FireEvents(), and ~SwAccessibleMap().
|
private |
Definition at line 97 of file accmap.hxx.
Referenced by A11yDispose(), AppendEvent(), FireEvents(), and ~SwAccessibleMap().
|
private |
Definition at line 94 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 110 of file accmap.hxx.
Referenced by A11yDispose(), GetDocumentPreview(), GetMapMode(), GetPreviewPageSize(), GetVisArea(), InvalidatePreviewSelection(), IsPageSelected(), UpdatePreview(), and ~SwAccessibleMap().
|
private |
Definition at line 126 of file accmap.hxx.
Referenced by InvalidateShapeInParaSelection(), and RemoveContext().
|
private |
Definition at line 106 of file accmap.hxx.
Referenced by InvalidateTextSelectionOfAllParas(), and ~SwAccessibleMap().
|
private |
Definition at line 95 of file accmap.hxx.
Referenced by A11yDispose(), AddGroupContext(), AddShapeContext(), DoInvalidateShapeSelection(), GetAccControlShapeFromModel(), GetContext(), InvalidateShapeInParaSelection(), RemoveContext(), RemoveGroupContext(), ReplaceChild(), and ~SwAccessibleMap().
|
private |
Definition at line 107 of file accmap.hxx.
Referenced by GetPreviewPageSize(), GetShell(), and ~SwAccessibleMap().
|
private |
Definition at line 96 of file accmap.hxx.
Referenced by A11yDispose(), FireEvents(), and ~SwAccessibleMap().
|
private |
Definition at line 112 of file accmap.hxx.
Referenced by GetContext(), InvalidateCursorPosition(), InvalidateFocus(), InvalidatePreviewSelection(), RemoveContext(), SetCursorContext(), and UpdatePreview().