LibreOffice Module sc (master)
1
|
#include <AccessibleCellBase.hxx>
Public Member Functions | |
ScAccessibleCellBase (const css::uno::Reference< css::accessibility::XAccessible > &rxParent, ScDocument *pDoc, const ScAddress &rCellAddress, sal_Int32 nIndex) | |
virtual bool | isVisible () override |
virtual css::uno::Any SAL_CALL | queryInterface (css::uno::Type const &rType) override |
===== XInterface ===================================================== More... | |
virtual void SAL_CALL | acquire () override throw () |
virtual void SAL_CALL | release () override throw () |
virtual sal_Int32 SAL_CALL | getForeground () override |
===== XAccessibleComponent ============================================ More... | |
virtual sal_Int32 SAL_CALL | getBackground () override |
virtual sal_Int32 SAL_CALL | getAccessibleIndexInParent () override |
===== XAccessibleContext ============================================== More... | |
virtual css::uno::Any SAL_CALL | getCurrentValue () override |
===== XAccessibleValue ================================================ More... | |
virtual sal_Bool SAL_CALL | setCurrentValue (const css::uno::Any &aNumber) override |
virtual css::uno::Any SAL_CALL | getMaximumValue () override |
virtual css::uno::Any SAL_CALL | getMinimumValue () override |
virtual OUString SAL_CALL | getImplementationName () override |
===== XServiceInfo ==================================================== 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... | |
const ScAddress & | GetCellAddress () const |
![]() | |
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 void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
===== SfxListener ===================================================== More... | |
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 | 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_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 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... | |
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) | |
virtual css::uno::Any SAL_CALL | queryAggregation (css::uno::Type const &rType) 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 |
void | RemoveBroadcaster_Impl (SfxBroadcaster &rBC) |
Protected Member Functions | |
virtual | ~ScAccessibleCellBase () override |
virtual OUString | createAccessibleDescription () override |
Return this object's description. More... | |
virtual OUString | createAccessibleName () override |
Return the object's current name. More... | |
OUString | GetNote () const |
OUString | GetAllDisplayNote () const |
OUString | getShadowAttrs () const |
OUString | getBorderAttrs () |
![]() | |
virtual | ~ScAccessibleContextBase () override |
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 () | |
Protected Attributes | |
ScAddress | maCellAddress |
ScDocument * | mpDoc |
sal_Int32 | mnIndex |
![]() | |
css::uno::Reference< css::accessibility::XAccessible > | mxParent |
Reference to the parent object. More... | |
![]() | |
mutable::osl::Mutex | m_aMutex |
Private Member Functions | |
virtual bool | IsEditable (const css::uno::Reference< css::accessibility::XAccessibleStateSet > &rxParentStates) |
Definition at line 31 of file AccessibleCellBase.hxx.
ScAccessibleCellBase::ScAccessibleCellBase | ( | const css::uno::Reference< css::accessibility::XAccessible > & | rxParent, |
ScDocument * | pDoc, | ||
const ScAddress & | rCellAddress, | ||
sal_Int32 | nIndex | ||
) |
Definition at line 49 of file AccessibleCellBase.cxx.
References mnIndex, and TABLE_CELL.
|
overrideprotectedvirtual |
Definition at line 62 of file AccessibleCellBase.cxx.
|
overridevirtual |
Reimplemented from ScAccessibleContextBase.
Definition at line 175 of file AccessibleCellBase.cxx.
References ScAccessibleContextBase::acquire().
|
overrideprotectedvirtual |
Return this object's description.
Reimplemented from ScAccessibleContextBase.
Definition at line 198 of file AccessibleCellBase.cxx.
References STR_ACC_CELL_DESCR.
|
overrideprotectedvirtual |
Return the object's current name.
Reimplemented from ScAccessibleContextBase.
Definition at line 204 of file AccessibleCellBase.cxx.
References ScAddress::Format(), maCellAddress, and VALID.
|
overridevirtual |
===== XAccessibleContext ==============================================
Return this objects index among the parents children.
Reimplemented from ScAccessibleContextBase.
Definition at line 190 of file AccessibleCellBase.cxx.
References ScAccessibleContextBase::IsObjectValid(), and mnIndex.
|
protected |
css::uno::RuntimeException |
Definition at line 566 of file AccessibleCellBase.cxx.
References ScDetectiveFunc::AppendChangTrackNoteSeparator(), ScDocument::GetCellChangeTrackNote(), GetNote(), maCellAddress, and mpDoc.
Referenced by ScAccessibleCell::getExtendedAttributes().
|
overridevirtual |
Reimplemented from ScAccessibleContextBase.
Definition at line 126 of file AccessibleCellBase.cxx.
References ScAddress::Col(), ScDocument::GetDocumentShell(), SfxObjectShell::GetModel(), ScAccessibleContextBase::IsObjectValid(), maCellAddress, mpDoc, ScAddress::Row(), SC_UNONAME_CELLBACK, and ScAddress::Tab().
|
protected |
css::uno::RuntimeException |
Definition at line 417 of file AccessibleCellBase.cxx.
References ScAddress::Col(), DEFAULT_LINE_WIDTH, ScDocument::GetDocumentShell(), SfxObjectShell::GetModel(), ScDocument::IsCellInChangeTrack(), ScAccessibleContextBase::IsObjectValid(), maCellAddress, mpDoc, ScAddress::Row(), SC_UNONAME_BOTTBORDER, SC_UNONAME_LEFTBORDER, SC_UNONAME_RIGHTBORDER, SC_UNONAME_TOPBORDER, and ScAddress::Tab().
Referenced by ScAccessibleCell::getExtendedAttributes().
|
inline |
Definition at line 132 of file AccessibleCellBase.hxx.
References maCellAddress.
|
overridevirtual |
===== XAccessibleValue ================================================
Definition at line 214 of file AccessibleCellBase.cxx.
References ScDocument::GetValue(), ScAccessibleContextBase::IsObjectValid(), maCellAddress, and mpDoc.
|
overridevirtual |
===== XAccessibleComponent ============================================
Reimplemented from ScAccessibleContextBase.
Definition at line 87 of file AccessibleCellBase.cxx.
References ScAddress::Col(), ScDocument::GetDocumentShell(), SfxObjectShell::GetModel(), ScAccessibleContextBase::IsObjectValid(), maCellAddress, mpDoc, ScAddress::Row(), SC_UNONAME_CCOLOR, and ScAddress::Tab().
|
overridevirtual |
Returns an implementation id.
Reimplemented from cppu::ImplHelper1< class >.
Reimplemented in ScAccessiblePreviewCell.
Definition at line 277 of file AccessibleCellBase.cxx.
|
overridevirtual |
===== XServiceInfo ====================================================
Returns an identifier for the implementation of this object.
Reimplemented from ScAccessibleContextBase.
Reimplemented in ScAccessibleCell, and ScAccessiblePreviewCell.
Definition at line 264 of file AccessibleCellBase.cxx.
|
overridevirtual |
Definition at line 251 of file AccessibleCellBase.cxx.
|
overridevirtual |
Definition at line 257 of file AccessibleCellBase.cxx.
|
protected |
css::uno::RuntimeException |
Definition at line 291 of file AccessibleCellBase.cxx.
References ScAddress::Col(), ScDocument::GetDocumentShell(), SfxObjectShell::GetModel(), ScAccessibleContextBase::IsObjectValid(), maCellAddress, mpDoc, ScAddress::Row(), and ScAddress::Tab().
Referenced by GetAllDisplayNote().
|
protected |
css::uno::RuntimeException |
Definition at line 337 of file AccessibleCellBase.cxx.
References ScAddress::Col(), ScDocument::GetDocumentShell(), SfxObjectShell::GetModel(), ScAccessibleContextBase::IsObjectValid(), maCellAddress, mpDoc, ScAddress::Row(), SC_UNONAME_SHADOW, and ScAddress::Tab().
Referenced by ScAccessibleCell::getExtendedAttributes().
|
overridevirtual |
===== XTypeProvider ===================================================
returns the possible types
Reimplemented from cppu::ImplHelper1< class >.
Definition at line 271 of file AccessibleCellBase.cxx.
References comphelper::concatSequences(), cppu::ImplHelper1< class >::getTypes(), and ScAccessibleContextBase::getTypes().
|
privatevirtual |
Reimplemented in ScAccessibleCell, and ScAccessiblePreviewCell.
Definition at line 282 of file AccessibleCellBase.cxx.
Referenced by setCurrentValue().
|
overridevirtual |
css::uno::RuntimeException |
Reimplemented from ScAccessibleContextBase.
Definition at line 68 of file AccessibleCellBase.cxx.
References bVisible, ScAddress::Col(), ScDocument::ColFiltered(), ScDocument::ColHidden(), ScAccessibleContextBase::IsObjectValid(), maCellAddress, mpDoc, ScAddress::Row(), ScDocument::RowFiltered(), ScDocument::RowHidden(), and ScAddress::Tab().
Referenced by ScAccessiblePreviewCell::getAccessibleStateSet(), and ScAccessibleCell::getAccessibleStateSet().
|
overridevirtual |
===== XInterface =====================================================
Reimplemented from cppu::ImplHelper1< class >.
Definition at line 169 of file AccessibleCellBase.cxx.
References uno::Any::hasValue(), cppu::ImplHelper1< class >::queryInterface(), and ScAccessibleContextBase::queryInterface().
|
overridevirtual |
Reimplemented from ScAccessibleContextBase.
Definition at line 181 of file AccessibleCellBase.cxx.
References ScAccessibleContextBase::release().
|
overridevirtual |
Definition at line 227 of file AccessibleCellBase.cxx.
References ScAccessibleContextBase::getAccessibleParent(), ScDocShell::GetDocFunc(), ScDocument::GetDocumentShell(), IsEditable(), ScAccessibleContextBase::IsObjectValid(), maCellAddress, mpDoc, and ScDocFunc::SetValueCell().
|
protected |
Definition at line 112 of file AccessibleCellBase.hxx.
Referenced by createAccessibleName(), ScAccessiblePreviewCell::CreateTextHelper(), ScAccessibleCell::FillDependents(), ScAccessibleCell::FillPrecedents(), ScAccessibleCell::getAccessibleRelationSet(), GetAllDisplayNote(), getBackground(), getBorderAttrs(), ScAccessiblePreviewCell::GetBoundingBox(), ScAccessibleCell::GetBoundingBox(), ScAccessiblePreviewCell::GetBoundingBoxOnScreen(), GetCellAddress(), ScAccessibleCell::getCharacterAttributes(), getCurrentValue(), ScAccessibleCell::getExtendedAttributes(), getForeground(), GetNote(), getShadowAttrs(), ScAccessibleCell::grabFocus(), ScAccessibleCell::IsDropdown(), ScAccessibleCell::IsEditable(), ScAccessiblePreviewCell::IsOpaque(), ScAccessibleCell::IsOpaque(), ScAccessibleCell::IsSelected(), isVisible(), and setCurrentValue().
|
protected |
Definition at line 116 of file AccessibleCellBase.hxx.
Referenced by getAccessibleIndexInParent().
|
protected |
Definition at line 114 of file AccessibleCellBase.hxx.
Referenced by ScAccessibleCell::FillDependents(), ScAccessibleCell::FillPrecedents(), GetAllDisplayNote(), getBackground(), getBorderAttrs(), ScAccessibleCell::GetBoundingBox(), ScAccessibleCell::getCharacterAttributes(), getCurrentValue(), ScAccessibleCell::getExtendedAttributes(), getForeground(), GetNote(), getShadowAttrs(), ScAccessiblePreviewCell::IsDefunc(), ScAccessibleCell::IsDefunc(), ScAccessibleCell::IsDropdown(), ScAccessibleCell::IsEditable(), ScAccessiblePreviewCell::IsOpaque(), ScAccessibleCell::IsOpaque(), isVisible(), and setCurrentValue().