LibreOffice Module sw (master)
1
|
#include <accmap.hxx>
Public Types | |
typedef o3tl::sorted_vector< SwAccessibleParagraph * > | SET_PARA |
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 tools::Rectangle &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 | ~IAccessibleParent () |
virtual bool | ReplaceChild (AccessibleShape *pCurrentChild, const css::uno::Reference< css::drawing::XShape > &_rxShape, const tools::Long _nIndex, const AccessibleShapeTreeInfo &_rShapeTreeInfo)=0 |
Static Public Member Functions | |
static bool | IsInSameLevel (const SdrObject *pObj, const SwFEShell *pFESh) |
Public Attributes | |
SET_PARA | m_setParaAdd |
SET_PARA | m_setParaRemove |
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 |
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 > | mpSeletedFrameMap |
OUString | maDocName |
Definition at line 88 of file accmap.hxx.
Definition at line 307 of file accmap.hxx.
SwAccessibleMap::SwAccessibleMap | ( | SwViewShell * | pSh | ) |
Definition at line 1708 of file accmap.cxx.
References SwRootFrame::AddAccessibleShell(), and SwViewShell::GetLayout().
|
overridevirtual |
Definition at line 1716 of file accmap.cxx.
References assert(), 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 2224 of file accmap.cxx.
References SwViewShell::ActionPend(), 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 2103 of file accmap.cxx.
References AddShapeContext(), GetSdrObjectFromXShape(), accessibility::AccessibleShape::GetXShape(), i, SdrObject::IsGroupObject(), maMutex, and mpShapeMap.
Referenced by GetContext().
void SwAccessibleMap::AddShapeContext | ( | const SdrObject * | pObj, |
css::uno::Reference< css::accessibility::XAccessible > const & | xAccShape | ||
) |
Definition at line 2069 of file accmap.cxx.
References maMutex, and mpShapeMap.
Referenced by AddGroupContext().
|
private |
Definition at line 1002 of file accmap.cxx.
References assert(), 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, SwAccessibleEvent_Impl::SetOldBox(), SwAccessibleEvent_Impl::SetStates(), SwAccessibleEvent_Impl::SetType(), 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 3323 of file accmap.cxx.
References COMPLETE_STRING, SwPaM::End(), SwIterator< TElementType, TSource, eMode >::First(), sw::FrameContainsNode(), SwCursorShell::GetCursor(), SwNodeIndex::GetIndex(), SwPaM::GetMark(), SwPaM::GetNext(), SwNodeIndex::GetNode(), SwPaM::GetPoint(), GetShell(), SwNode::GetTextNode(), SwPaM::HasMark(), SwFEShell::IsFrameSelected(), SwFEShell::IsObjSelected(), SwNode::IsTextNode(), mpFrameMap, SwIterator< TElementType, TSource, eMode >::Next(), SwPosition::nNode, and SwPaM::Start().
Referenced by InvalidateTextSelectionOfAllParas().
bool SwAccessibleMap::Contains | ( | const SwFrame * | pFrame | ) | const |
tools::Rectangle SwAccessibleMap::CoreToPixel | ( | const tools::Rectangle & | rRect | ) | const |
Definition at line 3276 of file accmap.cxx.
References GetMapMode(), GetShell(), lcl_CorrectRectangle(), and tools::Rectangle::TopLeft().
Referenced by SwAccessibleContext::getBoundsImpl(), and SwAccessibleFrame::GetChildAtPixel().
|
private |
Definition at line 1497 of file accmap.cxx.
References o3tl::sorted_vector< Value, Compare, Find, class >::count(), FindFrameFormat(), SwAccessibleContext::FireAccessibleEvent(), SwFormatAnchor::GetAnchorId(), GetDocumentView(), GetSdrObjectFromXShape(), GetShell(), SwViewShell::GetWin(), accessibility::AccessibleShape::GetXShape(), vcl::Window::HasFocus(), o3tl::sorted_vector< Value, Compare, Find, class >::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 920 of file accmap.cxx.
References assert(), 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 3057 of file accmap.cxx.
References 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 3202 of file accmap.cxx.
References accessibility::DRAWING_CONTROL, accessibility::AccessibleControlShape::GetControlModel(), accessibility::ShapeTypeHandler::GetTypeId(), accessibility::AccessibleShape::GetXShape(), accessibility::ShapeTypeHandler::Instance(), and mpShapeMap.
|
overridevirtual |
Reimplemented from accessibility::IAccessibleParent.
Definition at line 3226 of file accmap.cxx.
sal_Int32 SwAccessibleMap::GetChildIndex | ( | const SwFrame & | rParentFrame, |
vcl::Window & | rChild | ||
) | const |
Definition at line 2947 of file accmap.cxx.
References SwAccessibleFrame::GetChildIndex(), GetShell(), maMutex, mpFrameMap, and nIndex.
uno::Reference< XAccessible > SwAccessibleMap::GetContext | ( | const SwFrame * | pFrame, |
bool | bCreate = true |
||
) |
Definition at line 1862 of file accmap.cxx.
References AreInSameTable(), assert(), 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().
uno::Reference< XAccessible > SwAccessibleMap::GetContext | ( | const SdrObject * | pObj, |
SwAccessibleContext * | pParentImpl, | ||
bool | bCreate = true |
||
) |
Definition at line 2002 of file accmap.cxx.
References AddGroupContext(), assert(), accessibility::ShapeTypeHandler::CreateAccessibleObject(), accessibility::ShapeTypeHandler::Instance(), InvalidateCursorPosition(), maMutex, and mpShapeMap.
rtl::Reference< SwAccessibleContext > SwAccessibleMap::GetContextImpl | ( | const SwFrame * | pFrame, |
bool | bCreate = true |
||
) |
Definition at line 1990 of file accmap.cxx.
References GetContext().
Referenced by SwAccessibleContext::DisposeChild(), SwAccessibleContext::DisposeShape(), SwAccessibleSelectionHelper::getSelectedAccessibleChild(), SwAccessibleContext::InvalidateChildPosOrSize(), InvalidateCursorPosition(), SwAccessibleChildSList_const_iterator::next(), SwAccessibleChildMap::SwAccessibleChildMap(), SwAccessibleChildSList_const_iterator::SwAccessibleChildSList_const_iterator(), and UpdatePreview().
rtl::Reference<::accessibility::AccessibleShape > SwAccessibleMap::GetContextImpl | ( | const SdrObject * | pObj, |
SwAccessibleContext * | pParentImpl, | ||
bool | bCreate = true |
||
) |
Definition at line 2146 of file accmap.cxx.
References GetContext().
|
inline |
Definition at line 255 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 1847 of file accmap.cxx.
References GetDocumentView_(), and mpPreview.
Referenced by SwViewShell::CreateAccessiblePreview().
uno::Reference< XAccessible > SwAccessibleMap::GetDocumentView | ( | ) |
Definition at line 1842 of file accmap.cxx.
References GetDocumentView_().
Referenced by SwViewShell::CreateAccessible(), DoInvalidateShapeSelection(), and SwViewShellImp::UpdateAccessible().
|
private |
Definition at line 1780 of file accmap.cxx.
References assert(), 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 3300 of file accmap.cxx.
References assert(), OutputDevice::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 3312 of file accmap.cxx.
References assert(), SwPagePreviewLayout::GetPreviewPageSizeByPageNum(), SwViewShell::IsPreview(), mpPreview, mpVSh, and SwViewShell::PagePreviewLayout().
|
inline |
Definition at line 169 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(), GetDocumentView_(), SwAccessibleSelectionHelper::GetFEShell(), GetMapMode(), SwAccessibleContext::GetShell(), SwAccessibleFrameBase::GetStates(), GetVisArea(), SwAccessibleContext::HasAdditionalAccessibleChildren(), InvalidateAttr(), InvalidateContent(), InvalidateCursorPosition(), InvalidateEditableStates(), InvalidateFocus(), InvalidateParaTextSelection(), InvalidatePosOrSize(), InvalidatePreviewSelection(), InvalidateRelationSet_(), InvalidateShapeInParaSelection(), InvalidateShapeSelection(), SwAccessibleContext::InvalidateStates(), IsDocumentSelAll(), SwAccessibleFrameBase::IsSelected(), LogicToPixel(), PixelToCore(), SwAccessibleParagraph::scrollSubstringTo(), SwAccessibleShapeMap_Impl::SwAccessibleShapeMap_Impl(), UpdatePreview(), SwAccessibleDocument::~SwAccessibleDocument(), and ~SwAccessibleMap().
const SwRect & SwAccessibleMap::GetVisArea | ( | ) | const |
Definition at line 3513 of file accmap.cxx.
References assert(), GetShell(), SwViewShell::IsPreview(), mpPreview, and SwViewShell::VisArea().
Referenced by GetVisibleArea(), and SwAccessibleDocumentBase::SetVisArea().
|
overridevirtual |
Implements accessibility::IAccessibleViewForwarder.
Definition at line 3084 of file accmap.cxx.
References GetVisArea(), and OutputDevice::LogicToLogic().
void SwAccessibleMap::InvalidateAttr | ( | const SwTextFrame & | rTextFrame | ) |
Definition at line 2525 of file accmap.cxx.
References SwViewShell::ActionPend(), AppendEvent(), FireEvents(), GetShell(), SwAccessibleEvent_Impl::INVALID_ATTR, SwAccessibleContext::InvalidateAttr(), maMutex, mpFrameMap, SwAccessibleEvent_Impl::SetStates(), and TEXT_ATTRIBUTE_CHANGED.
Definition at line 2487 of file accmap.cxx.
References SwViewShell::ActionPend(), AppendEvent(), FireEvents(), GetShell(), SwAccessibleEvent_Impl::INVALID_CONTENT, SwAccessibleContext::InvalidateContent(), maMutex, and mpFrameMap.
|
private |
Definition at line 2563 of file accmap.cxx.
References AreInSameTable(), SwFrame::FindFlyFrame(), SwFrame::FindTabFrame(), GetContext(), GetContextImpl(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMark::GetMarkedSdrObj(), SwFEShell::GetMarkList(), SwAccessibleFrame::GetParent(), SdrObject::getParentSdrObjectFromSdrObject(), GetShell(), InvalidatePosOrSize(), maMutex, mbShapeSelected, mpFrameMap, and mxCursorContext.
Definition at line 2814 of file accmap.cxx.
References SwViewShell::ActionPend(), 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 2773 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 2896 of file accmap.cxx.
References InvalidateRelationSet_().
void SwAccessibleMap::InvalidateParaTextSelection | ( | const SwTextFrame & | _rTextFrame | ) |
invalidation of text selection of a paragraph
Definition at line 2903 of file accmap.cxx.
References SwViewShell::ActionPend(), 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 2350 of file accmap.cxx.
References SwViewShell::ActionPend(), AppendEvent(), assert(), 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 3023 of file accmap.cxx.
References assert(), GetShell(), InvalidateCursorPosition(), maMutex, mpFrameMap, mpPreview, and mxCursorContext.
Referenced by SwViewShellImp::InvalidateAccessiblePreviewSelection().
Definition at line 2888 of file accmap.cxx.
References InvalidateRelationSet_().
Definition at line 2841 of file accmap.cxx.
References SwViewShell::ActionPend(), 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 1160 of file accmap.cxx.
References SwAccessibleContextMap_Impl::begin(), SwAccessibleContextMap_Impl::clear(), o3tl::sorted_vector< Value, Compare, Find, class >::count(), SwAccessibleContextMap_Impl::emplace(), SwAccessibleContextMap_Impl::end(), SwAccessibleContextMap_Impl::find(), FindFrameFormat(), SwIterator< TElementType, TSource, eMode >::First(), SwAccessibleContext::getAccessibleParent(), SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SwFormatAnchor::GetContentAnchor(), SwCursorShell::GetCursor(), SwFlyFrame::GetFormat(), SwTable::GetFrameFormat(), SwIndex::GetIndex(), SwNodeIndex::GetIndex(), SwNode::GetIndex(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwNodeIndex::GetNode(), sw::Ring< value_type >::GetRingContainer(), GetShell(), SwTableNode::GetTable(), SwNode::GetTextNode(), o3tl::sorted_vector< Value, Compare, Find, class >::insert(), IsDestroyFrameAnchoredAtChar(), IsDocumentSelAll(), SwFrame::IsFlyFrame(), IsSelectFrameAnchoredAtPara(), SwAccessibleContext::IsSeletedInDoc(), m_setParaAdd, m_setParaRemove, maMutex, mpFrameMap, mpSeletedFrameMap, mpShapeMap, SwPosition::nContent, nIndex, SwPosition::nNode, and SwAccessibleFrameBase::SetSelectedState().
|
private |
Definition at line 1141 of file accmap.cxx.
References AppendEvent(), DoInvalidateShapeSelection(), FireEvents(), GetShell(), and SwAccessibleEvent_Impl::SHAPE_SELECTION.
Referenced by GetContext().
void SwAccessibleMap::InvalidateTextSelectionOfAllParas | ( | ) |
invalidation of text selection of all paragraphs
Definition at line 3412 of file accmap.cxx.
References BuildSelectedParas(), InvalidateParaTextSelection(), maMutex, and mpSelectedParas.
|
overridevirtual |
Reimplemented from accessibility::IAccessibleParent.
Definition at line 3522 of file accmap.cxx.
References SwViewShell::GetDoc(), GetShell(), and SwDoc::IsPrepareSelAll().
Referenced by InvalidateShapeInParaSelection().
Definition at line 2062 of file accmap.cxx.
References SwFEShell::IsObjSameLevelWithMarked().
Referenced by DoInvalidateShapeSelection().
bool SwAccessibleMap::IsPageSelected | ( | const SwPageFrame * | pPageFrame | ) | const |
Definition at line 3052 of file accmap.cxx.
References mpPreview.
Referenced by SwAccessiblePage::IsSelected().
Implements accessibility::IAccessibleViewForwarder.
Definition at line 3093 of file accmap.cxx.
References GetMapMode(), GetShell(), OutputDevice::LogicToLogic(), and Point.
Referenced by SwAccessibleParagraph::getDefaultAttributes().
Implements accessibility::IAccessibleViewForwarder.
Definition at line 3110 of file accmap.cxx.
References GetMapMode(), GetShell(), OutputDevice::LogicToLogic(), and Point.
Definition at line 3231 of file accmap.cxx.
References GetMapMode(), GetShell(), and Point.
Definition at line 2159 of file accmap.cxx.
References SwAccessibleFrame::GetFrame(), maMutex, mpFrameMap, and mxCursorContext.
Referenced by A11yDispose(), SwAccessibleContext::DisposeShape(), SwAccessibleContext::RemoveFrameFromAccessibleMap(), and RemoveGroupContext().
Definition at line 2195 of file accmap.cxx.
References maMutex, mpShapeMap, and RemoveGroupContext().
Definition at line 2081 of file accmap.cxx.
References assert(), SdrObject::GetSubList(), i, SdrObject::IsGroupObject(), maMutex, mpShapeMap, and RemoveContext().
Referenced by RemoveContext().
|
overridevirtual |
Definition at line 3125 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 2806 of file accmap.cxx.
References maMutex, and mxCursorContext.
Referenced by SwAccessibleParagraph::getCaretPosition(), 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 2983 of file accmap.cxx.
References assert(), GetContextImpl(), GetShell(), InvalidateCursorPosition(), maMutex, mpFrameMap, mpPreview, and mxCursorContext.
Referenced by SwViewShellImp::UpdateAccessiblePreview().
SET_PARA SwAccessibleMap::m_setParaAdd |
Definition at line 308 of file accmap.hxx.
Referenced by DoInvalidateShapeSelection(), and InvalidateShapeInParaSelection().
SET_PARA SwAccessibleMap::m_setParaRemove |
Definition at line 309 of file accmap.hxx.
Referenced by DoInvalidateShapeSelection(), and InvalidateShapeInParaSelection().
|
private |
Definition at line 123 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 109 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 105 of file accmap.hxx.
Referenced by A11yDispose(), GetDocumentPreview(), GetMapMode(), GetPreviewPageSize(), GetVisArea(), InvalidatePreviewSelection(), IsPageSelected(), UpdatePreview(), and ~SwAccessibleMap().
|
private |
Definition at line 101 of file accmap.hxx.
Referenced by InvalidateTextSelectionOfAllParas(), and ~SwAccessibleMap().
|
private |
Definition at line 121 of file accmap.hxx.
Referenced by InvalidateShapeInParaSelection().
|
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 102 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 107 of file accmap.hxx.
Referenced by GetContext(), InvalidateCursorPosition(), InvalidateFocus(), InvalidatePreviewSelection(), RemoveContext(), SetCursorContext(), and UpdatePreview().