LibreOffice Module sw (master) 1
|
#include <accframebase.hxx>
Public Member Functions | |
SwAccessibleFrameBase (std::shared_ptr< SwAccessibleMap > const &pInitMap, sal_Int16 nInitRole, const SwFlyFrame *pFlyFrame) | |
virtual bool | HasCursor () override |
virtual void | Dispose (bool bRecursive, bool bCanSkipInvisible=true) override |
virtual bool | SetSelectedState (bool bSelected) 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_Int64 SAL_CALL | getAccessibleChildCount () override |
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL | getAccessibleChild (sal_Int64 nIndex) override |
virtual css::uno::Sequence< css::uno::Reference< css::accessibility::XAccessible > > SAL_CALL | getAccessibleChildren () override |
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL | getAccessibleParent () override |
virtual sal_Int64 SAL_CALL | getAccessibleIndexInParent () override |
virtual sal_Int16 SAL_CALL | getAccessibleRole () override |
virtual OUString SAL_CALL | getAccessibleName () override |
virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL | getAccessibleRelationSet () override |
virtual sal_Int64 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 | Dispose (bool bRecursive, bool bCanSkipInvisible=true) |
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::Window * | GetAdditionalAccessibleChild (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 |
virtual bool | HasCursor () |
bool | Select (SwPaM *pPaM, SdrObject *pObj, bool bAdd) |
bool | Select (SwPaM &rPaM) |
bool | Select (SdrObject *pObj, bool bAdd) |
virtual bool | SetSelectedState (bool bSelected) |
bool | IsSelectedInDoc () const |
bool | IsDisposed () const |
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 SwFrame * | GetFrame () const |
sal_Int32 | GetChildIndex (SwAccessibleMap &rAccMap, const sw::access::SwAccessibleChild &rChild) const |
Public Member Functions inherited from SvtListener | |
SvtListener ()=default | |
SvtListener (const SvtListener &r)=default | |
virtual | ~SvtListener () COVERITY_NOEXCEPT_FALSE |
bool | StartListening (SvtBroadcaster &rBroadcaster) |
void | EndListening (SvtBroadcaster &rBroadcaster) |
void | EndListeningAll () |
void | CopyAllBroadcasters (const SvtListener &r) |
bool | HasBroadcaster () const |
virtual void | Notify (const SfxHint &rHint) |
virtual void | Query (QueryBase &rQuery) const |
Static Public Member Functions | |
static SwNodeType | GetNodeType (const SwFlyFrame *pFlyFrame) |
Static Public Member Functions inherited from SwAccessibleContext | |
static OUString | GetResource (TranslateId pResId, const OUString *pArg1=nullptr, const OUString *pArg2=nullptr) |
Static Public Member Functions inherited from SwAccessibleFrame | |
static const SwFrame * | GetParent (const sw::access::SwAccessibleChild &rFrameOrObj, bool bInPagePreview) |
Protected Member Functions | |
virtual void | GetStates (sal_Int64 &rStateSet) override |
SwFlyFrame * | getFlyFrame () const |
bool | GetSelectedState () |
SwPaM * | GetCursor () |
virtual void | InvalidateCursorPos_ () override |
virtual void | InvalidateFocus_ () override |
virtual | ~SwAccessibleFrameBase () override |
virtual void | Notify (const SfxHint &) 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::Window * | GetWindow () |
SwAccessibleMap * | GetMap () |
const SwAccessibleMap * | GetMap () const |
SwViewShell * | GetShell () |
convenience method to get the SwViewShell through accessibility map More... | |
const SwViewShell * | GetShell () const |
SwCursorShell * | GetCursorShell () |
convenience method to get SwCursorShell through accessibility map More... | |
const SwCursorShell * | GetCursorShell () 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) |
virtual void | InvalidateCursorPos_ () |
virtual void | InvalidateFocus_ () |
void | FireVisibleDataEvent () |
void | FireStateChangedEvent (sal_Int64 nState, bool bNewState) |
virtual void | GetStates (sal_Int64 &rStateSet) |
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 SwFrame * | GetParent () 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 SwRect & | GetVisArea () const |
OUString | GetFormattedPageNumber () const |
Private Member Functions | |
bool | IsSelected () |
Private Attributes | |
bool | m_bIsSelected |
Additional Inherited Members | |
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 | |
std::mutex | m_Mutex |
bool | m_isSelectedInDoc |
Definition at line 29 of file accframebase.hxx.
|
overrideprotectedvirtual |
Definition at line 203 of file accframebase.cxx.
SwAccessibleFrameBase::SwAccessibleFrameBase | ( | std::shared_ptr< SwAccessibleMap > const & | pInitMap, |
sal_Int16 | nInitRole, | ||
const SwFlyFrame * | pFlyFrame | ||
) |
Definition at line 119 of file accframebase.cxx.
References SwFlyFrame::GetFormat(), SwFormat::GetName(), IsSelected(), m_bIsSelected, SwAccessibleContext::SetName(), and SvtListener::StartListening().
|
overridevirtual |
Reimplemented from SwAccessibleContext.
Reimplemented in SwAccessibleNoTextFrame.
Definition at line 236 of file accframebase.cxx.
References SwAccessibleContext::Dispose(), and SvtListener::EndListeningAll().
Referenced by SwAccessibleNoTextFrame::Dispose().
|
protected |
Definition at line 244 of file accframebase.cxx.
References SwCursorShell::GetCursor(), SwAccessibleContext::GetCursorShell(), SwFEShell::IsFrameSelected(), SwFEShell::IsObjSelected(), and SwCursorShell::IsTableMode().
Referenced by GetSelectedState().
|
protected |
Definition at line 338 of file accframebase.cxx.
References SwAccessibleFrame::GetFrame(), and SwFrame::IsFlyFrame().
Referenced by SwAccessibleEmbeddedObject::getExtendedAttributes(), and GetSelectedState().
|
static |
Definition at line 90 of file accframebase.cxx.
References SwFormat::GetContent(), SwFormatContent::GetContentIdx(), SwNode::GetContentNode(), SwFlyFrame::GetFormat(), SwNodeIndex::GetIndex(), SwNoTextFrame::GetNode(), SwNodeIndex::GetNodes(), SwNode::GetNodeType(), SwFrame::IsNoTextFrame(), SwLayoutFrame::Lower(), nType, and Text.
Referenced by SwAccessibleMap::GetContext().
|
protected |
Definition at line 266 of file accframebase.cxx.
References SwPaM::End(), SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SwFormatAnchor::GetContentAnchor(), SwPosition::GetContentIndex(), GetCursor(), getFlyFrame(), SwFlyFrame::GetFormat(), SwNode::GetIndex(), SwAccessibleContext::GetMap(), SwPaM::GetNext(), SwPosition::GetNode(), SwPosition::GetNodeIndex(), SwNode::GetTextNode(), SwPaM::HasMark(), IsDestroyFrameAnchoredAtChar(), IsSelectFrameAnchoredAtPara(), nIndex, and SwPaM::Start().
Referenced by GetStates(), and SetSelectedState().
|
overrideprotectedvirtual |
Reimplemented from SwAccessibleContext.
Definition at line 59 of file accframebase.cxx.
References SwAccessibleContext::GetMap(), GetSelectedState(), SwAccessibleMap::GetShell(), SwAccessibleContext::GetStates(), SwAccessibleContext::GetWindow(), vcl::Window::HasFocus(), IsSelected(), m_bIsSelected, SAL_WARN_IF, and SwAccessibleMap::SetCursorContext().
|
overridevirtual |
Reimplemented from SwAccessibleContext.
Definition at line 197 of file accframebase.cxx.
References m_bIsSelected, and SwAccessibleContext::m_Mutex.
|
overrideprotectedvirtual |
Reimplemented from SwAccessibleContext.
Definition at line 135 of file accframebase.cxx.
References aEvent, SwAccessibleContext::FireAccessibleEvent(), SwAccessibleContext::FireStateChangedEvent(), SwAccessibleContext::GetMap(), SwAccessibleContext::GetWeakParent(), SwAccessibleContext::GetWindow(), vcl::Window::HasFocus(), IsSelected(), m_bIsSelected, SwAccessibleContext::m_Mutex, and SwAccessibleMap::SetCursorContext().
|
overrideprotectedvirtual |
Reimplemented from SwAccessibleContext.
Definition at line 179 of file accframebase.cxx.
References SwAccessibleContext::FireStateChangedEvent(), SwAccessibleContext::GetWindow(), vcl::Window::HasFocus(), m_bIsSelected, and SwAccessibleContext::m_Mutex.
|
private |
Definition at line 42 of file accframebase.cxx.
References SwAccessibleFrame::GetFrame(), SwAccessibleContext::GetMap(), and SwAccessibleMap::GetShell().
Referenced by GetStates(), InvalidateCursorPos_(), SetSelectedState(), and SwAccessibleFrameBase().
|
overrideprotectedvirtual |
Reimplemented from SvtListener.
Reimplemented in SwAccessibleNoTextFrame, and SwAccessibleTextFrame.
Definition at line 207 of file accframebase.cxx.
References aEvent, SvtListener::EndListeningAll(), SwAccessibleContext::FireAccessibleEvent(), SwFlyFrame::GetFormat(), SwAccessibleFrame::GetFrame(), SfxHint::GetId(), SwFormat::GetName(), SwAccessibleContext::GetName(), and SwAccessibleContext::SetName().
|
overridevirtual |
Reimplemented from SwAccessibleContext.
Definition at line 352 of file accframebase.cxx.
References SwAccessibleContext::FireStateChangedEvent(), GetSelectedState(), IsSelected(), and SwAccessibleContext::m_isSelectedInDoc.
Referenced by SwAccessibleMap::InvalidateShapeInParaSelection().
|
private |
Definition at line 31 of file accframebase.hxx.
Referenced by GetStates(), HasCursor(), InvalidateCursorPos_(), InvalidateFocus_(), and SwAccessibleFrameBase().