LibreOffice Module sc (master) 1
|
Public Member Functions | |
ScShapeChildren (ScPreviewShell *pViewShell, ScAccessibleDocumentPagePreview *pAccDoc) | |
virtual bool | ReplaceChild (::accessibility::AccessibleShape *pCurrentChild, const css::uno::Reference< css::drawing::XShape > &_rxShape, const tools::Long _nIndex, const ::accessibility::AccessibleShapeTreeInfo &_rShapeTreeInfo) override |
===== IAccessibleParent ============================================== More... | |
void | Init () |
===== Internal ======================================================== More... | |
sal_Int32 | GetBackShapeCount () const |
uno::Reference< XAccessible > | GetBackShape (sal_Int32 nIndex) const |
sal_Int32 | GetForeShapeCount () const |
uno::Reference< XAccessible > | GetForeShape (sal_Int32 nIndex) const |
sal_Int32 | GetControlCount () const |
uno::Reference< XAccessible > | GetControl (sal_Int32 nIndex) const |
uno::Reference< XAccessible > | GetForegroundShapeAt (const awt::Point &rPoint) const |
uno::Reference< XAccessible > | GetBackgroundShapeAt (const awt::Point &rPoint) const |
void | DataChanged () |
void | VisAreaChanged () const |
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 () |
Private Member Functions | |
void | FindChanged (ScShapeChildVec &aOld, ScShapeChildVec &aNew) const |
void | FindChanged (ScShapeRange &aOld, ScShapeRange &aNew) const |
::accessibility::AccessibleShape * | GetAccShape (const ScShapeChild &rShape) const |
::accessibility::AccessibleShape * | GetAccShape (const ScShapeChildVec &rShapes, sal_Int32 nIndex) const |
void | FillShapes (const tools::Rectangle &aPixelPaintRect, const MapMode &aMapMode, sal_uInt8 nRangeId) |
SdrPage * | GetDrawPage () const |
Private Attributes | |
ScAccessibleDocumentPagePreview * | mpAccDoc |
ScPreviewShell * | mpViewShell |
ScShapeRangeVec | maShapeRanges |
Definition at line 648 of file AccessibleDocumentPagePreview.cxx.
ScShapeChildren::ScShapeChildren | ( | ScPreviewShell * | pViewShell, |
ScAccessibleDocumentPagePreview * | pAccDoc | ||
) |
Definition at line 694 of file AccessibleDocumentPagePreview.cxx.
void ScShapeChildren::DataChanged | ( | ) |
Definition at line 770 of file AccessibleDocumentPagePreview.cxx.
References FindChanged(), i, Init(), maShapeRanges, and SC_PREVIEW_MAXRANGES.
Referenced by ScAccessibleDocumentPagePreview::Notify().
|
private |
Definition at line 1002 of file AccessibleDocumentPagePreview.cxx.
References o3tl::strong_int< typename UNDERLYING_TYPE, typename PHANTOM_TYPE >::anyOf(), ScAccessibleDocumentPagePreview::GetBoundingBoxOnScreen(), GetDrawPage(), tools::Rectangle::GetIntersection(), SdrObject::GetLayer(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), tools::Rectangle::GetSize(), SdrObject::getUnoShape(), SfxViewShell::GetWindow(), i, tools::Rectangle::IsEmpty(), vcl::Window::LogicToPixel(), maShapeRanges, mpAccDoc, mpViewShell, nCount, SC_LAYER_BACK(), SC_LAYER_CONTROLS(), SC_LAYER_FRONT(), SC_LAYER_INTERN(), VCLPoint(), and VCLSize().
Referenced by Init().
|
private |
Definition at line 702 of file AccessibleDocumentPagePreview.cxx.
References aEvent, ScAccessibleContextBase::CommitChange(), GetAccShape(), and mpAccDoc.
Referenced by DataChanged(), and FindChanged().
|
private |
Definition at line 763 of file AccessibleDocumentPagePreview.cxx.
References FindChanged().
|
private |
Definition at line 973 of file AccessibleDocumentPagePreview.cxx.
References accessibility::ShapeTypeHandler::CreateAccessibleObject(), ScPreview::GetDrawView(), ScPreviewShell::GetPreview(), SfxViewShell::GetWindow(), accessibility::ShapeTypeHandler::Instance(), maShapeRanges, mpAccDoc, mpViewShell, accessibility::AccessibleShapeTreeInfo::SetController(), accessibility::AccessibleShapeTreeInfo::SetSdrView(), accessibility::AccessibleShapeTreeInfo::SetViewForwarder(), and accessibility::AccessibleShapeTreeInfo::SetWindow().
Referenced by FindChanged(), GetAccShape(), GetBackgroundShapeAt(), GetBackShape(), GetControl(), and GetForeShape().
|
private |
Definition at line 997 of file AccessibleDocumentPagePreview.cxx.
References GetAccShape(), and nIndex.
uno::Reference< XAccessible > ScShapeChildren::GetBackgroundShapeAt | ( | const awt::Point & | rPoint | ) | const |
Definition at line 957 of file AccessibleDocumentPagePreview.cxx.
References GetAccShape(), and maShapeRanges.
Referenced by ScAccessibleDocumentPagePreview::getAccessibleAtPoint().
uno::Reference< XAccessible > ScShapeChildren::GetBackShape | ( | sal_Int32 | nIndex | ) | const |
Definition at line 844 of file AccessibleDocumentPagePreview.cxx.
References GetAccShape(), maShapeRanges, nCount, and nIndex.
Referenced by ScAccessibleDocumentPagePreview::getAccessibleChild().
sal_Int32 ScShapeChildren::GetBackShapeCount | ( | ) | const |
Definition at line 836 of file AccessibleDocumentPagePreview.cxx.
References maShapeRanges, and nCount.
uno::Reference< XAccessible > ScShapeChildren::GetControl | ( | sal_Int32 | nIndex | ) | const |
Definition at line 898 of file AccessibleDocumentPagePreview.cxx.
References GetAccShape(), maShapeRanges, nCount, and nIndex.
Referenced by ScAccessibleDocumentPagePreview::getAccessibleChild().
sal_Int32 ScShapeChildren::GetControlCount | ( | ) | const |
Definition at line 890 of file AccessibleDocumentPagePreview.cxx.
References maShapeRanges, and nCount.
|
private |
Definition at line 1068 of file AccessibleDocumentPagePreview.cxx.
References ScPreviewShell::GetDocument(), ScDocument::GetDrawLayer(), ScPreviewShell::GetLocationData(), SdrModel::GetPage(), SdrModel::GetPageCount(), ScPreviewLocationData::GetPrintTab(), ScDrawLayer::HasObjects(), and mpViewShell.
Referenced by FillShapes().
uno::Reference< XAccessible > ScShapeChildren::GetForegroundShapeAt | ( | const awt::Point & | rPoint | ) | const |
Definition at line 934 of file AccessibleDocumentPagePreview.cxx.
Referenced by ScAccessibleDocumentPagePreview::getAccessibleAtPoint().
uno::Reference< XAccessible > ScShapeChildren::GetForeShape | ( | sal_Int32 | nIndex | ) | const |
Definition at line 871 of file AccessibleDocumentPagePreview.cxx.
References GetAccShape(), maShapeRanges, nCount, and nIndex.
Referenced by ScAccessibleDocumentPagePreview::getAccessibleChild().
sal_Int32 ScShapeChildren::GetForeShapeCount | ( | ) | const |
Definition at line 863 of file AccessibleDocumentPagePreview.cxx.
References maShapeRanges, and nCount.
void ScShapeChildren::Init | ( | void | ) |
===== Internal ========================================================
Definition at line 819 of file AccessibleDocumentPagePreview.cxx.
References FillShapes(), ScPreviewLocationData::GetDrawRange(), ScPreviewLocationData::GetDrawRanges(), ScPreviewShell::GetLocationData(), i, mpViewShell, and nCount.
Referenced by DataChanged().
|
overridevirtual |
===== IAccessibleParent ==============================================
Definition at line 809 of file AccessibleDocumentPagePreview.cxx.
void ScShapeChildren::VisAreaChanged | ( | ) | const |
Definition at line 796 of file AccessibleDocumentPagePreview.cxx.
References maShapeRanges.
Referenced by ScAccessibleDocumentPagePreview::Notify().
|
private |
Definition at line 681 of file AccessibleDocumentPagePreview.cxx.
Referenced by DataChanged(), FillShapes(), GetAccShape(), GetBackgroundShapeAt(), GetBackShape(), GetBackShapeCount(), GetControl(), GetControlCount(), GetForeShape(), GetForeShapeCount(), and VisAreaChanged().
|
private |
Definition at line 679 of file AccessibleDocumentPagePreview.cxx.
Referenced by FillShapes(), FindChanged(), and GetAccShape().
|
private |
Definition at line 680 of file AccessibleDocumentPagePreview.cxx.
Referenced by FillShapes(), GetAccShape(), GetDrawPage(), and Init().