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

#include <accframe.hxx>

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

Public Member Functions

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
 

Static Public Member Functions

static const SwFrameGetParent (const sw::access::SwAccessibleChild &rFrameOrObj, bool bInPagePreview)
 

Protected Member Functions

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
 

Static Protected Member Functions

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)
 

Private Attributes

SwRect maVisArea
 
const SwFramempFrame
 
const bool mbIsInPagePreview
 

Detailed Description

Definition at line 36 of file accframe.hxx.

Constructor & Destructor Documentation

◆ SwAccessibleFrame()

SwAccessibleFrame::SwAccessibleFrame ( const SwRect rVisArea,
const SwFrame pFrame,
bool  bIsPagePreview 
)
protected

Definition at line 407 of file accframe.cxx.

References mpFrame.

◆ ~SwAccessibleFrame()

SwAccessibleFrame::~SwAccessibleFrame ( )
protectedvirtual

Definition at line 417 of file accframe.cxx.

Member Function Documentation

◆ ClearFrame()

void SwAccessibleFrame::ClearFrame ( )
inlineprotected

Definition at line 91 of file accframe.hxx.

References mpFrame.

Referenced by SwAccessibleContext::Dispose().

◆ GetBounds()

SwRect SwAccessibleFrame::GetBounds ( const SwAccessibleMap rAccMap,
const SwFrame pFrame = nullptr 
)
protected

◆ GetChild() [1/2]

SwAccessibleChild SwAccessibleFrame::GetChild ( SwAccessibleMap rAccMap,
const SwRect rVisArea,
const SwFrame rFrame,
sal_Int32 &  rPos,
bool  bInPagePreview 
)
staticprotected

◆ GetChild() [2/2]

sw::access::SwAccessibleChild SwAccessibleFrame::GetChild ( SwAccessibleMap rAccMap,
sal_Int32  nPos 
) const
protected

Definition at line 444 of file accframe.cxx.

References GetChild(), IsInPagePreview(), maVisArea, mpFrame, and nPos.

◆ GetChildAtPixel() [1/2]

sw::access::SwAccessibleChild SwAccessibleFrame::GetChildAtPixel ( const Point rPos,
SwAccessibleMap rAccMap 
) const
protected

Definition at line 460 of file accframe.cxx.

References GetChildAtPixel(), IsInPagePreview(), maVisArea, and mpFrame.

◆ GetChildAtPixel() [2/2]

SwAccessibleChild SwAccessibleFrame::GetChildAtPixel ( const SwRect rVisArea,
const SwFrame rFrame,
const Point rPos,
bool  bInPagePreview,
SwAccessibleMap rAccMap 
)
staticprotected

◆ GetChildCount() [1/2]

sal_Int32 SwAccessibleFrame::GetChildCount ( SwAccessibleMap rAccMap) const
protected

Definition at line 439 of file accframe.cxx.

References GetChildCount(), IsInPagePreview(), maVisArea, and mpFrame.

◆ GetChildCount() [2/2]

sal_Int32 SwAccessibleFrame::GetChildCount ( SwAccessibleMap rAccMap,
const SwRect rVisArea,
const SwFrame pFrame,
bool  bInPagePreviewr 
)
staticprotected

◆ GetChildIndex() [1/2]

sal_Int32 SwAccessibleFrame::GetChildIndex ( SwAccessibleMap rAccMap,
const sw::access::SwAccessibleChild rChild 
) const

Definition at line 451 of file accframe.cxx.

References GetChildIndex(), IsInPagePreview(), maVisArea, mpFrame, and nPos.

◆ GetChildIndex() [2/2]

bool SwAccessibleFrame::GetChildIndex ( SwAccessibleMap rAccMap,
const SwRect rVisArea,
const SwFrame rFrame,
const sw::access::SwAccessibleChild rChild,
sal_Int32 &  rPos,
bool  bInPagePreview 
)
staticprotected

◆ GetChildren() [1/2]

void SwAccessibleFrame::GetChildren ( SwAccessibleMap rAccMap,
const SwRect rVisArea,
const SwFrame rFrame,
std::list< sw::access::SwAccessibleChild > &  rChildren,
bool  bInPagePreview 
)
staticprotected

◆ GetChildren() [2/2]

void SwAccessibleFrame::GetChildren ( SwAccessibleMap rAccMap,
std::list< sw::access::SwAccessibleChild > &  rChildren 
) const
protected

Definition at line 467 of file accframe.cxx.

References GetChildren(), IsInPagePreview(), maVisArea, and mpFrame.

◆ GetFormattedPageNumber()

OUString SwAccessibleFrame::GetFormattedPageNumber ( ) const
protected

◆ GetFrame()

const SwFrame * SwAccessibleFrame::GetFrame ( ) const
inline

Definition at line 102 of file accframe.hxx.

References mpFrame.

Referenced by SwAccessibleParagraph::_correctValues(), SwAccessibleParagraph::_getDefaultAttributesImpl(), SwAccessibleParagraph::_getRunAttributesImpl(), SwAccessibleParagraph::_getSupplementalAttributesImpl(), SwAccessibleParagraph::addSelection(), AreInSameTable(), SwAccessibleTable::CreateNewTableData(), SwAccessibleTableColHeaders::CreateNewTableData(), SwAccessibleParagraph::CreateUnoPortion(), SwAccessibleContext::Dispose(), SwAccessibleCell::Dispose(), SwAccessibleDocument::Dispose(), SwAccessibleContext::DisposeChild(), SwAccessibleContext::FireAccessibleEvent(), SwAccessibleContext::getAccessibleAtPoint(), SwAccessibleTableColHeaders::getAccessibleChildCount(), SwAccessibleTable::getAccessibleColumn(), SwAccessibleTable::getAccessibleColumnExtentAt(), SwAccessibleTable::getAccessibleColumnHeaders(), SwAccessibleFootnote::getAccessibleDescription(), SwAccessibleContext::getAccessibleIndexInParent(), SwAccessibleParagraph::getAccessibleRelationSet(), SwAccessibleGraphic::getAccessibleRole(), SwAccessibleTable::getAccessibleRow(), SwAccessibleTable::getAccessibleRowExtentAt(), SwAccessibleContext::GetAdditionalAccessibleChild(), SwAccessibleContext::GetAdditionalAccessibleChildren(), SwAccessibleCell::getBackground(), SwAccessibleParagraph::getBackground(), SwAccessibleTable::getBackground(), GetBounds(), SwAccessibleContext::getBoundsImpl(), SwAccessibleParagraph::GetCaretPos(), SwAccessibleParagraph::getCharacterBounds(), SwAccessibleParagraph::GetCurrentTabStop(), SwAccessibleParagraph::GetFieldTypeNameAtIndex(), SwAccessibleFrameBase::getFlyFrame(), SwAccessibleTextFrame::getFlyFrame(), SwAccessibleParagraph::getForeground(), GetFormattedPageNumber(), SwAccessibleParagraph::GetGlyphBoundary(), SwAccessibleNoTextFrame::getHyperLink(), SwAccessibleParagraph::getHyperLink(), SwAccessibleNoTextFrame::getHyperLinkCount(), SwAccessibleParagraph::getHyperLinkCount(), SwAccessibleParagraph::getHyperLinkIndex(), SwAccessibleParagraph::getIndexAtPoint(), SwAccessibleParagraph::getLocale(), SwAccessibleNoTextFrame::GetNoTextNode(), GetParent(), sw::access::SwAccessibleChild::GetParent(), SwAccessibleSelectionHelper::getSelectedAccessibleChild(), SwAccessibleSelectionHelper::getSelectedAccessibleChildCount(), SwAccessibleParagraph::getSelectedPortionCount(), SwAccessibleParagraph::GetSelectionAtIndex(), SwAccessibleParagraph::GetStates(), SwAccessibleCell::GetTableBoxFormat(), SwAccessibleParagraph::getTextMarkup(), SwAccessibleParagraph::getTextMarkupAtIndex(), SwAccessibleParagraph::getTextMarkupCount(), SwAccessibleParagraph::GetWordBoundary(), SwAccessibleContext::grabFocus(), SwAccessibleParagraph::grabFocus(), SwAccessibleContext::HasAdditionalAccessibleChildren(), SwAccessibleContext::InvalidateChildPosOrSize(), SwAccessibleTable::InvalidateChildPosOrSize(), SwAccessibleCell::InvalidateCursorPos_(), SwAccessibleMap::InvalidateEditableStates(), SwAccessibleContext::InvalidatePosOrSize(), SwAccessibleCell::InvalidatePosOrSize(), SwAccessibleTable::InvalidatePosOrSize(), SwAccessibleContext::InvalidateStates(), SwAccessibleContext::IsDisposed(), IsEditable(), SwAccessibleParagraph::IsHeading(), IsOpaque(), SwAccessibleCell::IsSelected(), SwAccessibleFrameBase::IsSelected(), SwAccessiblePage::IsSelected(), IsShowing(), SwAccessibleFrameBase::Notify(), SwAccessibleNoTextFrame::Notify(), SwAccessibleTable::Notify(), SwAccessibleTextFrame::Notify(), SwAccessibleMap::RemoveContext(), SwAccessibleContext::RemoveFrameFromAccessibleMap(), SwAccessibleParagraph::removeSelection(), SwAccessibleParagraph::replaceText(), SwAccessibleContext::Scrolled(), SwAccessibleContext::ScrolledOut(), SwAccessibleContext::ScrolledWithin(), SwAccessibleParagraph::setCaretPosition(), SwAccessibleParagraph::setSelection(), SwAccessibleFootnote::SwAccessibleFootnote(), SwAccessiblePage::SwAccessiblePage(), SwAccessibleTable::SwAccessibleTable(), SwAccessibleParagraph::UpdatePortionData(), and SwAccessibleContext::~SwAccessibleContext().

◆ GetParent() [1/2]

const SwFrame * SwAccessibleFrame::GetParent ( ) const
inlineprotected

◆ GetParent() [2/2]

const SwFrame * SwAccessibleFrame::GetParent ( const sw::access::SwAccessibleChild rFrameOrObj,
bool  bInPagePreview 
)
static

Definition at line 421 of file accframe.cxx.

References sw::access::SwAccessibleChild::GetParent().

◆ GetVisArea()

const SwRect & SwAccessibleFrame::GetVisArea ( ) const
inlineprotected

◆ IsEditable()

bool SwAccessibleFrame::IsEditable ( SwViewShell const *  pVSh) const
protected

◆ IsInPagePreview()

bool SwAccessibleFrame::IsInPagePreview ( ) const
inlineprotected

◆ IsOpaque()

bool SwAccessibleFrame::IsOpaque ( SwViewShell const *  pVSh) const
protected

◆ IsShowing() [1/3]

bool SwAccessibleFrame::IsShowing ( const SwAccessibleMap rAccMap) const
inline

Definition at line 148 of file accframe.hxx.

References GetFrame(), and IsShowing().

◆ IsShowing() [2/3]

bool SwAccessibleFrame::IsShowing ( const SwAccessibleMap rAccMap,
const sw::access::SwAccessibleChild rFrameOrObj 
) const

◆ IsShowing() [3/3]

bool SwAccessibleFrame::IsShowing ( const SwRect rFrame) const
inline

Definition at line 143 of file accframe.hxx.

References SwRect::IsEmpty(), maVisArea, and SwRect::Overlaps().

◆ SetVisArea()

void SwAccessibleFrame::SetVisArea ( const SwRect rNewVisArea)
inlineprotected

Member Data Documentation

◆ maVisArea

SwRect SwAccessibleFrame::maVisArea
private

◆ mbIsInPagePreview

const bool SwAccessibleFrame::mbIsInPagePreview
private

Definition at line 40 of file accframe.hxx.

Referenced by IsInPagePreview().

◆ mpFrame

const SwFrame* SwAccessibleFrame::mpFrame
private

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