LibreOffice Module sc (master) 1
|
#include <AccessibleDocumentPagePreview.hxx>
Public Member Functions | |
ScAccessibleDocumentPagePreview (const css::uno::Reference< css::accessibility::XAccessible > &rxParent, ScPreviewShell *pViewShell) | |
virtual void SAL_CALL | disposing () override |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
===== SfxListener ===================================================== More... | |
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL | getAccessibleAtPoint (const css::awt::Point &rPoint) override |
===== XAccessibleComponent ============================================ More... | |
virtual void SAL_CALL | grabFocus () override |
virtual sal_Int32 SAL_CALL | getAccessibleChildCount () override |
===== XAccessibleContext ============================================== More... | |
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL | getAccessibleChild (sal_Int32 nIndex) override |
Return the specified child or NULL if index is invalid. More... | |
virtual css::uno::Reference< css::accessibility::XAccessibleStateSet > SAL_CALL | getAccessibleStateSet () override |
Return the set of current states. More... | |
virtual OUString SAL_CALL | getAccessibleName () override |
Return the object's current name. More... | |
virtual OUString SAL_CALL | getImplementationName () override |
===== XServiceInfo ==================================================== More... | |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
Returns a list of all supported services. More... | |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () override |
===== XTypeProvider =================================================== More... | |
virtual tools::Rectangle | GetBoundingBoxOnScreen () const override |
Return the object's current bounding box relative to the desktop. More... | |
virtual void SAL_CALL | disposing () override |
virtual void SAL_CALL | disposing (const css::lang::EventObject &Source) override |
===== XAccessibleEventListener ======================================== More... | |
![]() | |
ScAccessibleDocumentBase (const css::uno::Reference< css::accessibility::XAccessible > &rxParent) | |
![]() | |
ScAccessibleContextBase (const css::uno::Reference< css::accessibility::XAccessible > &rxParent, const sal_Int16 aRole) | |
virtual void | Init () |
virtual void SAL_CALL | disposing () override |
bool | isShowing () |
virtual bool | isVisible () |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
===== SfxListener ===================================================== More... | |
virtual css::uno::Any SAL_CALL | queryInterface (css::uno::Type const &rType) override |
===== XInterface ===================================================== More... | |
virtual void SAL_CALL | acquire () noexcept override |
virtual void SAL_CALL | release () noexcept override |
virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL | getAccessibleContext () override |
===== XAccessible ===================================================== More... | |
virtual sal_Bool SAL_CALL | containsPoint (const css::awt::Point &rPoint) override |
===== XAccessibleComponent ============================================ More... | |
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL | getAccessibleAtPoint (const css::awt::Point &rPoint) override |
virtual css::awt::Rectangle SAL_CALL | getBounds () override |
virtual css::awt::Point SAL_CALL | getLocation () override |
virtual css::awt::Point SAL_CALL | getLocationOnScreen () override |
virtual css::awt::Size SAL_CALL | getSize () override |
virtual void SAL_CALL | grabFocus () override |
virtual sal_Int32 SAL_CALL | getForeground () override |
virtual sal_Int32 SAL_CALL | getBackground () override |
virtual sal_Int32 SAL_CALL | getAccessibleChildCount () override |
===== XAccessibleContext ============================================== More... | |
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL | getAccessibleChild (sal_Int32 nIndex) override |
Return the specified child or NULL if index is invalid. More... | |
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL | getAccessibleParent () override |
Return a reference to the parent. More... | |
virtual sal_Int32 SAL_CALL | getAccessibleIndexInParent () override |
Return this objects index among the parents children. More... | |
virtual sal_Int16 SAL_CALL | getAccessibleRole () override |
Return this object's role. More... | |
virtual OUString SAL_CALL | getAccessibleDescription () override |
Return this object's description. More... | |
virtual OUString SAL_CALL | getAccessibleName () override |
Return the object's current name. More... | |
virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL | getAccessibleRelationSet () override |
Return NULL to indicate that an empty relation set. More... | |
virtual css::uno::Reference< css::accessibility::XAccessibleStateSet > SAL_CALL | getAccessibleStateSet () override |
Return the set of current states. More... | |
virtual css::lang::Locale SAL_CALL | getLocale () override |
Return the parents locale or throw exception if this object has no parent yet/anymore. More... | |
virtual void SAL_CALL | addAccessibleEventListener (const css::uno::Reference< css::accessibility::XAccessibleEventListener > &xListener) override |
===== XAccessibleEventBroadcaster ===================================== More... | |
virtual void SAL_CALL | removeAccessibleEventListener (const css::uno::Reference< css::accessibility::XAccessibleEventListener > &xListener) override |
virtual void SAL_CALL | disposing (const css::lang::EventObject &Source) override |
===== XAccessibleEventListener ======================================== More... | |
virtual void SAL_CALL | notifyEvent (const css::accessibility::AccessibleEventObject &aEvent) override |
virtual OUString SAL_CALL | getImplementationName () override |
===== XServiceInfo ==================================================== More... | |
virtual sal_Bool SAL_CALL | supportsService (const OUString &sServiceName) override |
Return whether the specified service is supported by this class. More... | |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
Returns a list of all supported services. More... | |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () override |
===== XTypeProvider =================================================== More... | |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () override |
Returns an implementation id. More... | |
void | CommitChange (const css::accessibility::AccessibleEventObject &rEvent) const |
Calls all Listener to tell they the change. More... | |
void | SetName (const OUString &rName) |
Use this method to set initial Name without notification. More... | |
void | SetDescription (const OUString &rDesc) |
Use this method to set initial Description without notification. More... | |
void | SetParent (const css::uno::Reference< css::accessibility::XAccessible > &rParent) |
![]() | |
WeakAggComponentImplHelper5 (::osl::Mutex &rMutex) SAL_NOEXCEPT | |
virtual css::uno::Any SAL_CALL | queryInterface (css::uno::Type const &rType) SAL_OVERRIDE |
virtual css::uno::Any SAL_CALL | queryAggregation (css::uno::Type const &rType) SAL_OVERRIDE |
virtual void SAL_CALL | acquire () SAL_NOEXCEPT SAL_OVERRIDE |
virtual void SAL_CALL | release () SAL_NOEXCEPT SAL_OVERRIDE |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () SAL_OVERRIDE |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () SAL_OVERRIDE |
virtual css::uno::Any SAL_CALL | queryInterface (css::uno::Type const &rType) SAL_OVERRIDE |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () SAL_OVERRIDE |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () SAL_OVERRIDE |
![]() | |
SfxListener () | |
SfxListener (const SfxListener &rCopy) | |
virtual | ~SfxListener () COVERITY_NOEXCEPT_FALSE |
void | StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected) |
void | EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false) |
void | EndListeningAll () |
bool | IsListening (SfxBroadcaster &rBroadcaster) const |
sal_uInt16 | GetBroadcasterCount () const |
SfxBroadcaster * | GetBroadcasterJOE (sal_uInt16 nNo) const |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) |
void | RemoveBroadcaster_Impl (SfxBroadcaster &rBC) |
Protected Member Functions | |
virtual | ~ScAccessibleDocumentPagePreview () override |
virtual OUString | createAccessibleDescription () override |
===== internal ======================================================== More... | |
virtual OUString | createAccessibleName () override |
Return the object's current name. More... | |
virtual tools::Rectangle | GetBoundingBox () const override |
Return the object's current bounding box relative to the parent object. More... | |
![]() | |
virtual | ~ScAccessibleDocumentBase () override |
![]() | |
virtual | ~ScAccessibleContextBase () override |
virtual OUString | createAccessibleDescription () |
Return this object's description. More... | |
virtual OUString | createAccessibleName () |
Return the object's current name. More... | |
virtual tools::Rectangle | GetBoundingBoxOnScreen () const |
Return the object's current bounding box relative to the desktop. More... | |
virtual tools::Rectangle | GetBoundingBox () const |
Return the object's current bounding box relative to the parent object. More... | |
void | CommitFocusGained () const |
Calls all FocusListener to tell they that the focus is gained. More... | |
void | CommitFocusLost () const |
Calls all FocusListener to tell they that the focus is lost. More... | |
bool | IsDefunc () const |
void | IsObjectValid () const |
![]() | |
~ImplHelper1 () SAL_NOEXCEPT | |
Private Member Functions | |
bool | IsDefunc (const css::uno::Reference< css::accessibility::XAccessibleStateSet > &rxParentStates) |
ScNotesChildren * | GetNotesChildren () |
ScShapeChildren * | GetShapeChildren () |
Private Attributes | |
ScPreviewShell * | mpViewShell |
std::unique_ptr< ScNotesChildren > | mpNotesChildren |
std::unique_ptr< ScShapeChildren > | mpShapeChildren |
rtl::Reference< ScAccessiblePreviewTable > | mpTable |
rtl::Reference< ScAccessiblePageHeader > | mpHeader |
rtl::Reference< ScAccessiblePageHeader > | mpFooter |
Additional Inherited Members | |
![]() | |
css::uno::Reference< css::accessibility::XAccessible > | mxParent |
Reference to the parent object. More... | |
![]() | |
mutable::osl::Mutex | m_aMutex |
Definition at line 34 of file AccessibleDocumentPagePreview.hxx.
ScAccessibleDocumentPagePreview::ScAccessibleDocumentPagePreview | ( | const css::uno::Reference< css::accessibility::XAccessible > & | rxParent, |
ScPreviewShell * | pViewShell | ||
) |
Definition at line 1141 of file AccessibleDocumentPagePreview.cxx.
References ScPreviewShell::AddAccessibilityObject().
|
overrideprotectedvirtual |
Definition at line 1151 of file AccessibleDocumentPagePreview.cxx.
References dispose(), ScAccessibleContextBase::IsDefunc(), and m_refCount.
|
overrideprotectedvirtual |
===== internal ========================================================
Return this object's description.
Reimplemented from ScAccessibleContextBase.
Definition at line 1471 of file AccessibleDocumentPagePreview.cxx.
References STR_ACC_PREVIEWDOC_DESCR.
|
overrideprotectedvirtual |
Return the object's current name.
Reimplemented from ScAccessibleContextBase.
Definition at line 1476 of file AccessibleDocumentPagePreview.cxx.
|
overridevirtual |
Reimplemented from ScAccessibleContextBase.
Definition at line 67 of file AccessibleContextBase.cxx.
|
overridevirtual |
Reimplemented from ScAccessibleContextBase.
Definition at line 1162 of file AccessibleDocumentPagePreview.cxx.
References ScAccessibleContextBase::disposing(), mpFooter, mpHeader, mpNotesChildren, mpShapeChildren, mpTable, mpViewShell, and ScPreviewShell::RemoveAccessibilityObject().
|
overridevirtual |
===== XAccessibleEventListener ========================================
Reimplemented from ScAccessibleContextBase.
|
overridevirtual |
===== XAccessibleComponent ============================================
order is background shapes, header, table or notes, footer, foreground shapes, controls
Reimplemented from ScAccessibleContextBase.
Definition at line 1268 of file AccessibleDocumentPagePreview.cxx.
References tools::Rectangle::Contains(), ScAccessibleContextBase::containsPoint(), ScNotesChildren::GetAt(), ScShapeChildren::GetBackgroundShapeAt(), ScShapeChildren::GetForegroundShapeAt(), ScPreviewShell::GetLocationData(), GetNotesChildren(), GetShapeChildren(), SfxViewShell::GetWindow(), ScAccessibleContextBase::IsObjectValid(), mpFooter, mpHeader, mpTable, mpViewShell, nIndex, Point, rData, VCLPoint(), and VCLRectangle().
|
overridevirtual |
Return the specified child or NULL if index is invalid.
Reimplemented from ScAccessibleContextBase.
Definition at line 1361 of file AccessibleDocumentPagePreview.cxx.
References ScShapeChildren::GetBackShape(), ScNotesChildren::GetChild(), ScShapeChildren::GetControl(), ScShapeChildren::GetForeShape(), ScPreviewShell::GetLocationData(), GetNotesChildren(), GetShapeChildren(), SfxViewShell::GetWindow(), ScAccessibleContextBase::IsObjectValid(), mpFooter, mpHeader, mpTable, mpViewShell, nIndex, and rData.
|
overridevirtual |
===== XAccessibleContext ==============================================
Return the number of currently visible children.
Reimplemented from ScAccessibleContextBase.
Definition at line 1346 of file AccessibleDocumentPagePreview.cxx.
References ScPreviewShell::GetLocationData(), GetNotesChildren(), GetShapeChildren(), SfxViewShell::GetWindow(), ScAccessibleContextBase::IsObjectValid(), and mpViewShell.
|
overridevirtual |
Return the object's current name.
Reimplemented from ScAccessibleContextBase.
Definition at line 1539 of file AccessibleDocumentPagePreview.cxx.
References aName, ScPreviewShell::GetDocument(), ScDocument::GetDocumentShell(), SfxObjectShell::GetMedium(), SfxMedium::GetName(), SfxObjectShell::GetTitle(), mpViewShell, ScResId(), and SFX_TITLE_APINAME.
|
overridevirtual |
Return the set of current states.
Reimplemented from ScAccessibleContextBase.
Definition at line 1423 of file AccessibleDocumentPagePreview.cxx.
References ScAccessibleContextBase::getAccessibleParent(), ScAccessibleContextBase::IsDefunc(), ScAccessibleContextBase::isShowing(), and ScAccessibleContextBase::isVisible().
|
overrideprotectedvirtual |
Return the object's current bounding box relative to the parent object.
Reimplemented from ScAccessibleContextBase.
Definition at line 1494 of file AccessibleDocumentPagePreview.cxx.
References vcl::Window::GetAccessibleParentWindow(), SfxViewShell::GetWindow(), vcl::Window::GetWindowExtentsRelative(), and mpViewShell.
|
overridevirtual |
Return the object's current bounding box relative to the desktop.
Reimplemented from ScAccessibleContextBase.
Definition at line 1482 of file AccessibleDocumentPagePreview.cxx.
References SfxViewShell::GetWindow(), vcl::Window::GetWindowExtentsRelative(), and mpViewShell.
Referenced by ScShapeChildren::FillShapes().
|
overridevirtual |
===== XTypeProvider ===================================================
Returns an implementation id.
Reimplemented from ScAccessibleContextBase.
Definition at line 1464 of file AccessibleDocumentPagePreview.cxx.
|
overridevirtual |
===== XServiceInfo ====================================================
Returns an identifier for the implementation of this object.
Reimplemented from ScAccessibleContextBase.
Definition at line 1450 of file AccessibleDocumentPagePreview.cxx.
|
private |
order is background shapes, header, table or notes, footer, foreground shapes, controls
Definition at line 1513 of file AccessibleDocumentPagePreview.cxx.
References ScPreviewShell::GetLocationData(), GetNotesChildren(), GetShapeChildren(), SfxViewShell::GetWindow(), mpNotesChildren, mpViewShell, and rData.
Referenced by getAccessibleAtPoint(), getAccessibleChild(), getAccessibleChildCount(), GetNotesChildren(), and Notify().
|
private |
Definition at line 1528 of file AccessibleDocumentPagePreview.cxx.
References mpShapeChildren, and mpViewShell.
Referenced by getAccessibleAtPoint(), getAccessibleChild(), getAccessibleChildCount(), GetNotesChildren(), and Notify().
|
overridevirtual |
Returns a list of all supported services.
Reimplemented from ScAccessibleContextBase.
Definition at line 1455 of file AccessibleDocumentPagePreview.cxx.
References comphelper::concatSequences(), and ScAccessibleContextBase::getSupportedServiceNames().
|
overridevirtual |
Reimplemented from ScAccessibleContextBase.
Definition at line 1329 of file AccessibleDocumentPagePreview.cxx.
References ScAccessibleContextBase::getAccessibleContext(), ScAccessibleContextBase::getAccessibleParent(), and ScAccessibleContextBase::IsObjectValid().
|
private |
Definition at line 1506 of file AccessibleDocumentPagePreview.cxx.
References ScAccessibleContextBase::getAccessibleParent(), and ScAccessibleContextBase::IsDefunc().
|
overridevirtual |
===== SfxListener =====================================================
order is background shapes, header, table or notes, footer, foreground shapes, controls
Reimplemented from ScAccessibleContextBase.
Definition at line 1186 of file AccessibleDocumentPagePreview.cxx.
References aEvent, ScAccessibleContextBase::CommitChange(), ScAccessibleContextBase::CommitFocusGained(), ScAccessibleContextBase::CommitFocusLost(), ScShapeChildren::DataChanged(), ScNotesChildren::DataChanged(), SfxHint::GetId(), ScPreviewShell::GetLocationData(), GetNotesChildren(), vcl::Window::GetOutputSizePixel(), GetShapeChildren(), SfxViewShell::GetWindow(), mpTable, mpViewShell, nIndex, ScAccessibleContextBase::Notify(), Point, rData, and ScShapeChildren::VisAreaChanged().
|
private |
Definition at line 123 of file AccessibleDocumentPagePreview.hxx.
Referenced by disposing(), getAccessibleAtPoint(), and getAccessibleChild().
|
private |
Definition at line 122 of file AccessibleDocumentPagePreview.hxx.
Referenced by disposing(), getAccessibleAtPoint(), and getAccessibleChild().
|
private |
Definition at line 119 of file AccessibleDocumentPagePreview.hxx.
Referenced by disposing(), and GetNotesChildren().
|
private |
Definition at line 120 of file AccessibleDocumentPagePreview.hxx.
Referenced by disposing(), and GetShapeChildren().
|
private |
Definition at line 121 of file AccessibleDocumentPagePreview.hxx.
Referenced by disposing(), getAccessibleAtPoint(), getAccessibleChild(), and Notify().
|
private |
Definition at line 118 of file AccessibleDocumentPagePreview.hxx.
Referenced by disposing(), getAccessibleAtPoint(), getAccessibleChild(), getAccessibleChildCount(), getAccessibleName(), GetBoundingBox(), GetBoundingBoxOnScreen(), GetNotesChildren(), GetShapeChildren(), and Notify().