LibreOffice Module sc (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ScShapeChildren Class Reference
Inheritance diagram for ScShapeChildren:
[legend]
Collaboration diagram for ScShapeChildren:
[legend]

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 AccessibleControlShapeGetAccControlShapeFromModel (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::AccessibleShapeGetAccShape (const ScShapeChild &rShape) const
 
::accessibility::AccessibleShapeGetAccShape (const ScShapeChildVec &rShapes, sal_Int32 nIndex) const
 
void FillShapes (const tools::Rectangle &aPixelPaintRect, const MapMode &aMapMode, sal_uInt8 nRangeId)
 
SdrPageGetDrawPage () const
 

Private Attributes

ScAccessibleDocumentPagePreviewmpAccDoc
 
ScPreviewShellmpViewShell
 
ScShapeRangeVec maShapeRanges
 

Detailed Description

Definition at line 648 of file AccessibleDocumentPagePreview.cxx.

Constructor & Destructor Documentation

◆ ScShapeChildren()

ScShapeChildren::ScShapeChildren ( ScPreviewShell pViewShell,
ScAccessibleDocumentPagePreview pAccDoc 
)

Definition at line 694 of file AccessibleDocumentPagePreview.cxx.

Member Function Documentation

◆ DataChanged()

void ScShapeChildren::DataChanged ( )

◆ FillShapes()

void ScShapeChildren::FillShapes ( const tools::Rectangle aPixelPaintRect,
const MapMode aMapMode,
sal_uInt8  nRangeId 
)
private

◆ FindChanged() [1/2]

void ScShapeChildren::FindChanged ( ScShapeChildVec aOld,
ScShapeChildVec aNew 
) const
private

◆ FindChanged() [2/2]

void ScShapeChildren::FindChanged ( ScShapeRange &  aOld,
ScShapeRange &  aNew 
) const
private

Definition at line 763 of file AccessibleDocumentPagePreview.cxx.

References FindChanged().

◆ GetAccShape() [1/2]

accessibility::AccessibleShape * ScShapeChildren::GetAccShape ( const ScShapeChild &  rShape) const
private

◆ GetAccShape() [2/2]

accessibility::AccessibleShape * ScShapeChildren::GetAccShape ( const ScShapeChildVec rShapes,
sal_Int32  nIndex 
) const
private

Definition at line 997 of file AccessibleDocumentPagePreview.cxx.

References GetAccShape(), and nIndex.

◆ GetBackgroundShapeAt()

uno::Reference< XAccessible > ScShapeChildren::GetBackgroundShapeAt ( const awt::Point &  rPoint) const

◆ GetBackShape()

uno::Reference< XAccessible > ScShapeChildren::GetBackShape ( sal_Int32  nIndex) const

◆ GetBackShapeCount()

sal_Int32 ScShapeChildren::GetBackShapeCount ( ) const

Definition at line 836 of file AccessibleDocumentPagePreview.cxx.

References maShapeRanges, and nCount.

◆ GetControl()

uno::Reference< XAccessible > ScShapeChildren::GetControl ( sal_Int32  nIndex) const

◆ GetControlCount()

sal_Int32 ScShapeChildren::GetControlCount ( ) const

Definition at line 890 of file AccessibleDocumentPagePreview.cxx.

References maShapeRanges, and nCount.

◆ GetDrawPage()

SdrPage * ScShapeChildren::GetDrawPage ( ) const
private

◆ GetForegroundShapeAt()

uno::Reference< XAccessible > ScShapeChildren::GetForegroundShapeAt ( const awt::Point &  rPoint) const

◆ GetForeShape()

uno::Reference< XAccessible > ScShapeChildren::GetForeShape ( sal_Int32  nIndex) const

◆ GetForeShapeCount()

sal_Int32 ScShapeChildren::GetForeShapeCount ( ) const

Definition at line 863 of file AccessibleDocumentPagePreview.cxx.

References maShapeRanges, and nCount.

◆ Init()

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().

◆ ReplaceChild()

bool ScShapeChildren::ReplaceChild ( ::accessibility::AccessibleShape pCurrentChild,
const css::uno::Reference< css::drawing::XShape > &  _rxShape,
const tools::Long  _nIndex,
const ::accessibility::AccessibleShapeTreeInfo _rShapeTreeInfo 
)
overridevirtual

===== IAccessibleParent ==============================================

Definition at line 809 of file AccessibleDocumentPagePreview.cxx.

◆ VisAreaChanged()

void ScShapeChildren::VisAreaChanged ( ) const

Definition at line 796 of file AccessibleDocumentPagePreview.cxx.

References maShapeRanges.

Referenced by ScAccessibleDocumentPagePreview::Notify().

Member Data Documentation

◆ maShapeRanges

ScShapeRangeVec ScShapeChildren::maShapeRanges
private

◆ mpAccDoc

ScAccessibleDocumentPagePreview* ScShapeChildren::mpAccDoc
private

Definition at line 679 of file AccessibleDocumentPagePreview.cxx.

Referenced by FillShapes(), FindChanged(), and GetAccShape().

◆ mpViewShell

ScPreviewShell* ScShapeChildren::mpViewShell
private

Definition at line 680 of file AccessibleDocumentPagePreview.cxx.

Referenced by FillShapes(), GetAccShape(), GetDrawPage(), and Init().


The documentation for this class was generated from the following file: