21#include <com/sun/star/accessibility/AccessibleEventId.hpp>
22#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
33#include <com/sun/star/accessibility/XAccessibleRelationSet.hpp>
48 if(pSwContentNode !=
nullptr)
58 std::shared_ptr<SwAccessibleMap>
const& pInitMap,
89 case SfxHintId::Dying:
94 case SfxHintId::SwTitleChanged:
97 if(rTitleChanged.m_sOld == rTitleChanged.m_sNew)
100 AccessibleEventObject
aEvent;
101 aEvent.EventId = AccessibleEventId::NAME_CHANGED;
102 aEvent.OldValue <<= rTitleChanged.m_sOld;
110 case SfxHintId::SwDescriptionChanged:
113 const OUString sOldDesc(
msDesc);
119 AccessibleEventObject
aEvent;
120 aEvent.EventId = AccessibleEventId::DESCRIPTION_CHANGED;
121 aEvent.OldValue <<= sOldDesc;
167 uno::Reference<XAccessibleImage> xImage =
this;
172 uno::Reference<XAccessibleHypertext> aAccHypertext =
this;
176 return SwAccessibleContext::queryInterface( aType );
185 SwAccessibleFrameBase::getTypes() ).
getTypes();
214 return uno::Sequence<beans::PropertyValue>();
218 return css::awt::Rectangle(0, 0, 0, 0 );
230 css::accessibility::TextSegment aResult;
235 css::accessibility::TextSegment aResult;
240 css::accessibility::TextSegment aResult;
258 if(
aURL.GetMap() || !
aURL.GetURL().isEmpty())
264uno::Reference< XAccessibleHyperlink > SAL_CALL
274 throw lang::IndexOutOfBoundsException();
276 if(
aURL.GetMap() || !
aURL.GetURL().isEmpty() )
bool StartListening(SvtBroadcaster &rBroadcaster)
const OUString & GetName() const
virtual OUString SAL_CALL getAccessibleName() override
void FireAccessibleEvent(css::accessibility::AccessibleEventObject &rEvent)
virtual css::awt::Size SAL_CALL getSize() override
virtual void Dispose(bool bRecursive, bool bCanSkipInvisible=true) override
const SwFrame * GetFrame() const
css::uno::Reference< css::accessibility::XAccessibleHyperlink > m_xHyperlink
virtual void Dispose(bool bRecursive, bool bCanSkipInvisible=true) override
virtual sal_Int32 SAL_CALL getAccessibleImageHeight() override
virtual sal_Int32 SAL_CALL getHyperLinkCount() override
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &aType) override
virtual sal_Bool SAL_CALL copyText(sal_Int32 nStartIndex, sal_Int32 nEndIndex) override
virtual sal_Bool SAL_CALL setSelection(sal_Int32 nStartIndex, sal_Int32 nEndIndex) override
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
virtual void Notify(const SfxHint &) override
virtual css::accessibility::TextSegment SAL_CALL getTextBehindIndex(sal_Int32 nIndex, sal_Int16 aTextType) override
virtual OUString SAL_CALL getAccessibleDescription() override
Return this object's description.
virtual css::accessibility::TextSegment SAL_CALL getTextBeforeIndex(sal_Int32 nIndex, sal_Int16 aTextType) override
virtual sal_Int32 SAL_CALL getIndexAtPoint(const css::awt::Point &aPoint) override
virtual OUString SAL_CALL getText() override
virtual sal_Int32 SAL_CALL getAccessibleImageWidth() override
virtual OUString SAL_CALL getAccessibleName() override
virtual ~SwAccessibleNoTextFrame() override
virtual OUString SAL_CALL getTextRange(sal_Int32 nStartIndex, sal_Int32 nEndIndex) override
virtual sal_Int32 SAL_CALL getCharacterCount() override
virtual OUString SAL_CALL getAccessibleImageDescription() override
XAccessibleImage.
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getCharacterAttributes(sal_Int32 nIndex, const css::uno::Sequence< OUString > &aRequestedAttributes) override
virtual OUString SAL_CALL getSelectedText() override
virtual sal_Int32 SAL_CALL getHyperLinkIndex(sal_Int32 nCharIndex) override
virtual sal_Int32 SAL_CALL getCaretPosition() override
const SwNoTextNode * GetNoTextNode() const
virtual css::awt::Rectangle SAL_CALL getCharacterBounds(sal_Int32 nIndex) override
virtual sal_Int32 SAL_CALL getSelectionStart() override
virtual sal_Bool SAL_CALL setCaretPosition(sal_Int32 nIndex) override
SwAccessibleNoTextFrame(std::shared_ptr< SwAccessibleMap > const &pInitMap, sal_Int16 nInitRole, const SwFlyFrame *pFlyFrame)
virtual sal_Unicode SAL_CALL getCharacter(sal_Int32 nIndex) override
virtual sal_Bool SAL_CALL scrollSubstringTo(sal_Int32 nStartIndex, sal_Int32 nEndIndex, css::accessibility::AccessibleScrollType aScrollType) override
virtual css::accessibility::TextSegment SAL_CALL getTextAtIndex(sal_Int32 nIndex, sal_Int16 aTextType) override
virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL getAccessibleRelationSet() override
friend class SwAccessibleNoTextHyperlink
virtual css::uno::Reference< css::accessibility::XAccessibleHyperlink > SAL_CALL getHyperLink(sal_Int32 nLinkIndex) override
virtual sal_Int32 SAL_CALL getSelectionEnd() override
general base class for all free-flowing frames
bool IsNoTextFrame() const
A layout frame is a frame that contains other frames (m_pLower), e.g. SwPageFrame or SwTabFrame.
const SwFrame * Lower() const
const SwContentNode * GetNode() const
Layout frame for SwNoTextNode, i.e. graphics and OLE nodes (including charts).
OUString GetDescription() const
OUString GetTitle() const
SwNoTextNode * GetNoTextNode()
css::uno::Sequence< css::uno::Type > SAL_CALL getTypes()
virtual OUString GetURL() const override
virtual SotClipboardFormatId GetFormat(const TransferableDataHelper &aHelper) override