LibreOffice Module sw (master)  1
Public Member Functions | Protected Member Functions | Private Attributes | Friends | List of all members
SwAccessibleNoTextFrame Class Reference

#include <accnotextframe.hxx>

Inheritance diagram for SwAccessibleNoTextFrame:
[legend]
Collaboration diagram for SwAccessibleNoTextFrame:
[legend]

Public Member Functions

 SwAccessibleNoTextFrame (std::shared_ptr< SwAccessibleMap > const &pInitMap, sal_Int16 nInitRole, const SwFlyFrame *pFlyFrame)
 
virtual OUString SAL_CALL getAccessibleName () override
 
virtual OUString SAL_CALL getAccessibleDescription () override
 Return this object's description. More...
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &aType) override
 
virtual void SAL_CALL acquire () override throw ()
 
virtual void SAL_CALL release () override throw ()
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual OUString SAL_CALL getAccessibleImageDescription () override
 XAccessibleImage. More...
 
virtual sal_Int32 SAL_CALL getAccessibleImageHeight () override
 
virtual sal_Int32 SAL_CALL getAccessibleImageWidth () override
 
virtual void Dispose (bool bRecursive, bool bCanSkipInvisible=true) override
 
virtual sal_Int32 SAL_CALL getCaretPosition () override
 
virtual sal_Bool SAL_CALL setCaretPosition (sal_Int32 nIndex) override
 
virtual sal_Unicode SAL_CALL getCharacter (sal_Int32 nIndex) override
 
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getCharacterAttributes (sal_Int32 nIndex, const css::uno::Sequence< OUString > &aRequestedAttributes) override
 
virtual css::awt::Rectangle SAL_CALL getCharacterBounds (sal_Int32 nIndex) override
 
virtual sal_Int32 SAL_CALL getCharacterCount () override
 
virtual sal_Int32 SAL_CALL getIndexAtPoint (const css::awt::Point &aPoint) override
 
virtual OUString SAL_CALL getSelectedText () override
 
virtual sal_Int32 SAL_CALL getSelectionStart () override
 
virtual sal_Int32 SAL_CALL getSelectionEnd () override
 
virtual sal_Bool SAL_CALL setSelection (sal_Int32 nStartIndex, sal_Int32 nEndIndex) override
 
virtual OUString SAL_CALL getText () override
 
virtual OUString SAL_CALL getTextRange (sal_Int32 nStartIndex, sal_Int32 nEndIndex) override
 
virtual css::accessibility::TextSegment SAL_CALL getTextAtIndex (sal_Int32 nIndex, sal_Int16 aTextType) override
 
virtual css::accessibility::TextSegment SAL_CALL getTextBeforeIndex (sal_Int32 nIndex, sal_Int16 aTextType) override
 
virtual css::accessibility::TextSegment SAL_CALL getTextBehindIndex (sal_Int32 nIndex, sal_Int16 aTextType) override
 
virtual sal_Bool SAL_CALL copyText (sal_Int32 nStartIndex, sal_Int32 nEndIndex) override
 
virtual sal_Int32 SAL_CALL getHyperLinkCount () override
 
virtual css::uno::Reference< css::accessibility::XAccessibleHyperlink > SAL_CALL getHyperLink (sal_Int32 nLinkIndex) override
 
virtual sal_Int32 SAL_CALL getHyperLinkIndex (sal_Int32 nCharIndex) override
 
SwAccessibleMapGetAccessibleMap ()
 
virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL getAccessibleRelationSet () override
 
- Public Member Functions inherited from SwAccessibleFrameBase
 SwAccessibleFrameBase (std::shared_ptr< SwAccessibleMap > const &pInitMap, sal_Int16 nInitRole, const SwFlyFrame *pFlyFrame)
 
virtual bool HasCursor () override
 
virtual bool SetSelectedState (bool bSeleted) override
 
- Public Member Functions inherited from SwAccessibleContext
void FireAccessibleEvent (css::accessibility::AccessibleEventObject &rEvent)
 
 SwAccessibleContext (std::shared_ptr< SwAccessibleMap > const &pMap, sal_Int16 nRole, const SwFrame *pFrame)
 
virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext () override
 
virtual sal_Int32 SAL_CALL getAccessibleChildCount () override
 
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild (sal_Int32 nIndex) override
 
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleParent () override
 
virtual sal_Int32 SAL_CALL getAccessibleIndexInParent () override
 
virtual sal_Int16 SAL_CALL getAccessibleRole () override
 
virtual css::uno::Reference< css::accessibility::XAccessibleStateSet > SAL_CALL getAccessibleStateSet () override
 
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
 
virtual void SAL_CALL removeAccessibleEventListener (const css::uno::Reference< css::accessibility::XAccessibleEventListener > &xListener) override
 
virtual sal_Bool SAL_CALL containsPoint (const css::awt::Point &aPoint) override
 
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleAtPoint (const css::awt::Point &aPoint) 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_Bool SAL_CALL supportsService (const OUString &sServiceName) override
 Return whether the specified service is supported by this class. More...
 
virtual void DisposeChild (const sw::access::SwAccessibleChild &rFrameOrObj, bool bRecursive, bool bCanSkipInvisible)
 
virtual void InvalidatePosOrSize (const SwRect &rFrame)
 
virtual void InvalidateChildPosOrSize (const sw::access::SwAccessibleChild &rFrameOrObj, const SwRect &rFrame)
 
void InvalidateContent ()
 
void InvalidateCursorPos ()
 
void InvalidateFocus ()
 
void InvalidateStates (AccessibleStates _nStates)
 
void InvalidateRelation (sal_uInt16 nType)
 
void InvalidateTextSelection ()
 #i27301# - text selection has changed More...
 
void InvalidateAttr ()
 #i88069# - attributes has changed More...
 
bool HasAdditionalAccessibleChildren ()
 
vcl::WindowGetAdditionalAccessibleChild (const sal_Int32 nIndex)
 #i88070# - get additional accessible child by index More...
 
void GetAdditionalAccessibleChildren (std::vector< vcl::Window * > *pChildren)
 #i88070# - get all additional accessible children More...
 
const OUString & GetName () const
 
bool Select (SwPaM *pPaM, SdrObject *pObj, bool bAdd)
 
bool Select (SwPaM &rPaM)
 
bool Select (SdrObject *pObj, bool bAdd)
 
bool IsSeletedInDoc ()
 
- Public Member Functions inherited from SwAccessibleFrame
bool IsShowing (const SwAccessibleMap &rAccMap, const sw::access::SwAccessibleChild &rFrameOrObj) const
 
bool IsShowing (const SwRect &rFrame) const
 
bool IsShowing (const SwAccessibleMap &rAccMap) const
 
const SwFrameGetFrame () const
 
sal_Int32 GetChildIndex (SwAccessibleMap &rAccMap, const sw::access::SwAccessibleChild &rChild) const
 
- Public Member Functions inherited from SwClient
 SwClient ()
 
 SwClient (SwClient &&) noexcept
 
virtual ~SwClient () override
 
virtual void SwClientNotify (const SwModify &, const SfxHint &rHint) override
 
std::unique_ptr< sw::ModifyChangedHintCheckRegistration (const SfxPoolItem *pOldValue)
 
virtual void ModifyNotification (const SfxPoolItem *pOldValue, const SfxPoolItem *pNewValue)
 
void SwClientNotifyCall (const SwModify &rModify, const SfxHint &rHint)
 
const SwModifyGetRegisteredIn () const
 
SwModifyGetRegisteredIn ()
 
void EndListeningAll ()
 
void StartListeningToSameModifyAs (const SwClient &)
 
virtual bool GetInfo (SfxPoolItem &) const
 
- Public Member Functions inherited from sw::WriterListener
bool IsLast () const
 

Protected Member Functions

virtual ~SwAccessibleNoTextFrame () override
 
const SwNoTextNodeGetNoTextNode () const
 
virtual void Modify (const SfxPoolItem *pOld, const SfxPoolItem *pNew) override
 
- Protected Member Functions inherited from SwAccessibleFrameBase
virtual void GetStates (::utl::AccessibleStateSetHelper &rStateSet) override
 
SwFlyFramegetFlyFrame () const
 
bool GetSelectedState ()
 
SwPaMGetCursor ()
 
virtual void InvalidateCursorPos_ () override
 
virtual void InvalidateFocus_ () override
 
virtual ~SwAccessibleFrameBase () override
 
- Protected Member Functions inherited from SwAccessibleContext
void SetName (const OUString &rName)
 
sal_Int16 GetRole () const
 
void SetParent (SwAccessibleContext *pParent)
 
css::uno::Reference< css::accessibility::XAccessible > GetWeakParent () const
 
bool IsDisposing () const
 
vcl::WindowGetWindow ()
 
SwAccessibleMapGetMap ()
 
const SwAccessibleMapGetMap () const
 
SwViewShellGetShell ()
 convenience method to get the SwViewShell through accessibility map More...
 
const SwViewShellGetShell () const
 
SwCursorShellGetCursorShell ()
 convenience method to get SwCursorShell through accessibility map More...
 
const SwCursorShellGetCursorShell () const
 
void ChildrenScrolled (const SwFrame *pFrame, const SwRect &rOldVisArea)
 
void Scrolled (const SwRect &rOldVisArea)
 
void ScrolledWithin (const SwRect &rOldVisArea)
 
void ScrolledIn ()
 
void ScrolledOut (const SwRect &rOldVisArea)
 
void InvalidateChildrenStates (const SwFrame *_pFrame, AccessibleStates _nStates)
 
void DisposeChildren (const SwFrame *pFrame, bool bRecursive, bool bCanSkipInvisible)
 
void DisposeShape (const SdrObject *pObj,::accessibility::AccessibleShape *pAccImpl)
 
void ScrolledInShape (::accessibility::AccessibleShape *pAccImpl)
 
virtual void InvalidateContent_ (bool bVisibleDataFired)
 
void FireVisibleDataEvent ()
 
void FireStateChangedEvent (sal_Int16 nState, bool bNewState)
 
bool IsEditableState ()
 
css::awt::Rectangle getBoundsImpl (bool bRelative)
 Get bounding box. More...
 
void NotRegisteredAtAccessibleMap ()
 
void RemoveFrameFromAccessibleMap ()
 
void ThrowIfDisposed ()
 
virtual ~SwAccessibleContext () override
 
css::uno::Reference< css::accessibility::XAccessible > getAccessibleParentImpl ()
 
- Protected Member Functions inherited from SwAccessibleFrame
bool IsEditable (SwViewShell const *pVSh) const
 
bool IsOpaque (SwViewShell const *pVSh) const
 
bool IsInPagePreview () const
 
void ClearFrame ()
 
 SwAccessibleFrame (const SwRect &rVisArea, const SwFrame *pFrame, bool bIsPagePreview)
 
virtual ~SwAccessibleFrame ()
 
SwRect GetBounds (const SwAccessibleMap &rAccMap, const SwFrame *pFrame=nullptr)
 
const SwFrameGetParent () const
 
sal_Int32 GetChildCount (SwAccessibleMap &rAccMap) const
 
sw::access::SwAccessibleChild GetChild (SwAccessibleMap &rAccMap, sal_Int32 nPos) const
 
sw::access::SwAccessibleChild GetChildAtPixel (const Point &rPos, SwAccessibleMap &rAccMap) const
 
void GetChildren (SwAccessibleMap &rAccMap, std::list< sw::access::SwAccessibleChild > &rChildren) const
 
void SetVisArea (const SwRect &rNewVisArea)
 
const SwRectGetVisArea () const
 
OUString GetFormattedPageNumber () const
 
- Protected Member Functions inherited from SwClient
 SwClient (SwModify *pToRegisterIn)
 
SwModifyGetRegisteredInNonConst () const
 
- Protected Member Functions inherited from sw::WriterListener
 WriterListener ()
 
virtual ~WriterListener () COVERITY_NOEXCEPT_FALSE
 

Private Attributes

css::uno::Reference< css::accessibility::XAccessibleHyperlink > m_xHyperlink
 
sw::WriterMultiListener m_aListener
 
OUString msTitle
 
OUString msDesc
 

Friends

class SwAccessibleNoTextHyperlink
 

Additional Inherited Members

- Static Public Member Functions inherited from SwAccessibleFrameBase
static SwNodeType GetNodeType (const SwFlyFrame *pFlyFrame)
 
- Static Public Member Functions inherited from SwAccessibleContext
static OUString GetResource (const char *pResId, const OUString *pArg1=nullptr, const OUString *pArg2=nullptr)
 
- Static Public Member Functions inherited from SwAccessibleFrame
static const SwFrameGetParent (const sw::access::SwAccessibleChild &rFrameOrObj, bool bInPagePreview)
 
- Static Protected Member Functions inherited from SwAccessibleFrame
static sal_Int32 GetChildCount (SwAccessibleMap &rAccMap, const SwRect &rVisArea, const SwFrame *pFrame, bool bInPagePreviewr)
 
static sw::access::SwAccessibleChild GetChild (SwAccessibleMap &rAccMap, const SwRect &rVisArea, const SwFrame &rFrame, sal_Int32 &rPos, bool bInPagePreview)
 
static bool GetChildIndex (SwAccessibleMap &rAccMap, const SwRect &rVisArea, const SwFrame &rFrame, const sw::access::SwAccessibleChild &rChild, sal_Int32 &rPos, bool bInPagePreview)
 
static sw::access::SwAccessibleChild GetChildAtPixel (const SwRect &rVisArea, const SwFrame &rFrame, const Point &rPos, bool bInPagePreview, SwAccessibleMap &rAccMap)
 
static void GetChildren (SwAccessibleMap &rAccMap, const SwRect &rVisArea, const SwFrame &rFrame, std::list< sw::access::SwAccessibleChild > &rChildren, bool bInPagePreview)
 
- Protected Attributes inherited from SwAccessibleContext
mutable::osl::Mutex m_Mutex
 
bool m_isSelectedInDoc
 

Detailed Description

Definition at line 30 of file accnotextframe.hxx.

Constructor & Destructor Documentation

SwAccessibleNoTextFrame::~SwAccessibleNoTextFrame ( )
overrideprotectedvirtual

Definition at line 87 of file accnotextframe.cxx.

SwAccessibleNoTextFrame::SwAccessibleNoTextFrame ( std::shared_ptr< SwAccessibleMap > const &  pInitMap,
sal_Int16  nInitRole,
const SwFlyFrame pFlyFrame 
)

Member Function Documentation

virtual void SAL_CALL SwAccessibleNoTextFrame::acquire ( )
throw (
)
inlineoverridevirtual

Reimplemented in SwAccessibleEmbeddedObject.

Definition at line 69 of file accnotextframe.hxx.

Referenced by SwAccessibleEmbeddedObject::acquire().

sal_Bool SAL_CALL SwAccessibleNoTextFrame::copyText ( sal_Int32  nStartIndex,
sal_Int32  nEndIndex 
)
overridevirtual

Definition at line 282 of file accnotextframe.cxx.

void SwAccessibleNoTextFrame::Dispose ( bool  bRecursive,
bool  bCanSkipInvisible = true 
)
overridevirtual
OUString SAL_CALL SwAccessibleNoTextFrame::getAccessibleDescription ( )
overridevirtual

Return this object's description.

Definition at line 189 of file accnotextframe.cxx.

References msDesc, and SwAccessibleContext::ThrowIfDisposed().

Referenced by getAccessibleImageDescription().

OUString SAL_CALL SwAccessibleNoTextFrame::getAccessibleImageDescription ( )
overridevirtual

XAccessibleImage.

implementation of the XAccessibleImage methods is a no-brainer, as all relevant information is already accessible through other methods. So we just delegate to those.

Definition at line 231 of file accnotextframe.cxx.

References getAccessibleDescription().

sal_Int32 SAL_CALL SwAccessibleNoTextFrame::getAccessibleImageHeight ( )
overridevirtual

Definition at line 236 of file accnotextframe.cxx.

References SwAccessibleContext::getSize().

sal_Int32 SAL_CALL SwAccessibleNoTextFrame::getAccessibleImageWidth ( )
overridevirtual

Definition at line 241 of file accnotextframe.cxx.

References SwAccessibleContext::getSize().

SwAccessibleMap* SwAccessibleNoTextFrame::GetAccessibleMap ( )
inline

Definition at line 115 of file accnotextframe.hxx.

References SwAccessibleContext::GetMap().

OUString SAL_CALL SwAccessibleNoTextFrame::getAccessibleName ( )
overridevirtual
uno::Reference< XAccessibleRelationSet > SAL_CALL SwAccessibleNoTextFrame::getAccessibleRelationSet ( )
overridevirtual

Reimplemented from SwAccessibleContext.

Definition at line 331 of file accnotextframe.cxx.

sal_Int32 SAL_CALL SwAccessibleNoTextFrame::getCaretPosition ( )
overridevirtual

Definition at line 247 of file accnotextframe.cxx.

sal_Unicode SAL_CALL SwAccessibleNoTextFrame::getCharacter ( sal_Int32  nIndex)
overridevirtual

Definition at line 249 of file accnotextframe.cxx.

css::uno::Sequence< css::beans::PropertyValue > SAL_CALL SwAccessibleNoTextFrame::getCharacterAttributes ( sal_Int32  nIndex,
const css::uno::Sequence< OUString > &  aRequestedAttributes 
)
overridevirtual

Definition at line 250 of file accnotextframe.cxx.

css::awt::Rectangle SAL_CALL SwAccessibleNoTextFrame::getCharacterBounds ( sal_Int32  nIndex)
overridevirtual

Definition at line 254 of file accnotextframe.cxx.

sal_Int32 SAL_CALL SwAccessibleNoTextFrame::getCharacterCount ( )
overridevirtual

Definition at line 258 of file accnotextframe.cxx.

uno::Reference< XAccessibleHyperlink > SAL_CALL SwAccessibleNoTextFrame::getHyperLink ( sal_Int32  nLinkIndex)
overridevirtual
sal_Int32 SAL_CALL SwAccessibleNoTextFrame::getHyperLinkCount ( )
overridevirtual
sal_Int32 SAL_CALL SwAccessibleNoTextFrame::getHyperLinkIndex ( sal_Int32  nCharIndex)
overridevirtual

Definition at line 326 of file accnotextframe.cxx.

sal_Int32 SAL_CALL SwAccessibleNoTextFrame::getIndexAtPoint ( const css::awt::Point &  aPoint)
overridevirtual

Definition at line 259 of file accnotextframe.cxx.

const SwNoTextNode * SwAccessibleNoTextFrame::GetNoTextNode ( ) const
protected
OUString SAL_CALL SwAccessibleNoTextFrame::getSelectedText ( )
overridevirtual

Definition at line 260 of file accnotextframe.cxx.

sal_Int32 SAL_CALL SwAccessibleNoTextFrame::getSelectionEnd ( )
overridevirtual

Definition at line 262 of file accnotextframe.cxx.

sal_Int32 SAL_CALL SwAccessibleNoTextFrame::getSelectionStart ( )
overridevirtual

Definition at line 261 of file accnotextframe.cxx.

OUString SAL_CALL SwAccessibleNoTextFrame::getText ( )
overridevirtual

Definition at line 264 of file accnotextframe.cxx.

css::accessibility::TextSegment SAL_CALL SwAccessibleNoTextFrame::getTextAtIndex ( sal_Int32  nIndex,
sal_Int16  aTextType 
)
overridevirtual

Definition at line 266 of file accnotextframe.cxx.

css::accessibility::TextSegment SAL_CALL SwAccessibleNoTextFrame::getTextBeforeIndex ( sal_Int32  nIndex,
sal_Int16  aTextType 
)
overridevirtual

Definition at line 271 of file accnotextframe.cxx.

css::accessibility::TextSegment SAL_CALL SwAccessibleNoTextFrame::getTextBehindIndex ( sal_Int32  nIndex,
sal_Int16  aTextType 
)
overridevirtual

Definition at line 276 of file accnotextframe.cxx.

OUString SAL_CALL SwAccessibleNoTextFrame::getTextRange ( sal_Int32  nStartIndex,
sal_Int32  nEndIndex 
)
overridevirtual

Definition at line 265 of file accnotextframe.cxx.

uno::Sequence< uno::Type > SAL_CALL SwAccessibleNoTextFrame::getTypes ( )
overridevirtual

Definition at line 219 of file accnotextframe.cxx.

References cppu::OTypeCollection::getTypes().

void SwAccessibleNoTextFrame::Modify ( const SfxPoolItem pOld,
const SfxPoolItem pNew 
)
overrideprotectedvirtual
uno::Any SAL_CALL SwAccessibleNoTextFrame::queryInterface ( const css::uno::Type &  aType)
overridevirtual

Reimplemented in SwAccessibleEmbeddedObject.

Definition at line 200 of file accnotextframe.cxx.

Referenced by SwAccessibleEmbeddedObject::queryInterface().

virtual void SAL_CALL SwAccessibleNoTextFrame::release ( )
throw (
)
inlineoverridevirtual

Reimplemented in SwAccessibleEmbeddedObject.

Definition at line 72 of file accnotextframe.hxx.

Referenced by SwAccessibleEmbeddedObject::release().

sal_Bool SAL_CALL SwAccessibleNoTextFrame::setCaretPosition ( sal_Int32  nIndex)
overridevirtual

Definition at line 248 of file accnotextframe.cxx.

sal_Bool SAL_CALL SwAccessibleNoTextFrame::setSelection ( sal_Int32  nStartIndex,
sal_Int32  nEndIndex 
)
overridevirtual

Definition at line 263 of file accnotextframe.cxx.

Friends And Related Function Documentation

friend class SwAccessibleNoTextHyperlink
friend

Definition at line 34 of file accnotextframe.hxx.

Referenced by getHyperLink().

Member Data Documentation

sw::WriterMultiListener SwAccessibleNoTextFrame::m_aListener
private

Definition at line 36 of file accnotextframe.hxx.

Referenced by Dispose(), Modify(), and SwAccessibleNoTextFrame().

css::uno::Reference< css::accessibility::XAccessibleHyperlink > SwAccessibleNoTextFrame::m_xHyperlink
private

Definition at line 35 of file accnotextframe.hxx.

Referenced by getHyperLink().

OUString SwAccessibleNoTextFrame::msDesc
private

Definition at line 38 of file accnotextframe.hxx.

Referenced by getAccessibleDescription(), Modify(), and SwAccessibleNoTextFrame().

OUString SwAccessibleNoTextFrame::msTitle
private

Definition at line 37 of file accnotextframe.hxx.

Referenced by getAccessibleName(), Modify(), and SwAccessibleNoTextFrame().


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