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 37 of file accframe.hxx.

Constructor & Destructor Documentation

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

Definition at line 407 of file accframe.cxx.

References mpFrame.

SwAccessibleFrame::~SwAccessibleFrame ( )
protectedvirtual

Definition at line 417 of file accframe.cxx.

Member Function Documentation

void SwAccessibleFrame::ClearFrame ( )
inlineprotected

Definition at line 92 of file accframe.hxx.

Referenced by SwAccessibleContext::Dispose().

SwRect SwAccessibleFrame::GetBounds ( const SwAccessibleMap rAccMap,
const SwFrame pFrame = nullptr 
)
protected
SwAccessibleChild SwAccessibleFrame::GetChild ( SwAccessibleMap rAccMap,
const SwRect rVisArea,
const SwFrame rFrame,
sal_Int32 &  rPos,
bool  bInPagePreview 
)
staticprotected
sw::access::SwAccessibleChild SwAccessibleFrame::GetChild ( SwAccessibleMap rAccMap,
sal_Int32  nPos 
) const
protected

Definition at line 444 of file accframe.cxx.

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

SwAccessibleChild SwAccessibleFrame::GetChildAtPixel ( const SwRect rVisArea,
const SwFrame rFrame,
const Point rPos,
bool  bInPagePreview,
SwAccessibleMap rAccMap 
)
staticprotected
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.

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

Definition at line 439 of file accframe.cxx.

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

bool SwAccessibleFrame::GetChildIndex ( SwAccessibleMap rAccMap,
const SwRect rVisArea,
const SwFrame rFrame,
const sw::access::SwAccessibleChild rChild,
sal_Int32 &  rPos,
bool  bInPagePreview 
)
staticprotected
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.

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

Definition at line 103 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(), SwAccessibleCell::Dispose(), SwAccessibleDocument::Dispose(), SwAccessibleContext::Dispose(), SwAccessibleContext::DisposeChild(), 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(), SwAccessibleTable::getBackground(), SwAccessibleParagraph::getBackground(), 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(), sw::access::SwAccessibleChild::GetParent(), GetParent(), SwAccessibleSelectionHelper::getSelectedAccessibleChild(), SwAccessibleSelectionHelper::getSelectedAccessibleChildCount(), SwAccessibleParagraph::getSelectedPortionCount(), SwAccessibleParagraph::GetSelectionAtIndex(), SwAccessibleParagraph::GetStates(), SwAccessibleCell::GetTableBoxFormat(), SwAccessibleParagraph::getTextMarkup(), SwAccessibleParagraph::getTextMarkupAtIndex(), SwAccessibleParagraph::getTextMarkupCount(), SwAccessibleParagraph::GetWordBoundary(), SwAccessibleParagraph::grabFocus(), SwAccessibleContext::grabFocus(), SwAccessibleContext::HasAdditionalAccessibleChildren(), SwAccessibleTable::InvalidateChildPosOrSize(), SwAccessibleContext::InvalidateChildPosOrSize(), SwAccessibleCell::InvalidateCursorPos_(), SwAccessibleMap::InvalidateEditableStates(), SwAccessibleCell::InvalidatePosOrSize(), SwAccessibleTable::InvalidatePosOrSize(), SwAccessibleContext::InvalidatePosOrSize(), SwAccessibleContext::InvalidateStates(), SwAccessibleParagraph::IsHeading(), SwAccessibleFrameBase::IsSelected(), SwAccessiblePage::IsSelected(), IsShowing(), SwAccessibleTextFrame::Notify(), SwAccessibleNoTextFrame::Notify(), SwAccessibleFrameBase::Notify(), SwAccessibleTable::Notify(), SwAccessibleMap::RemoveContext(), SwAccessibleContext::RemoveFrameFromAccessibleMap(), SwAccessibleParagraph::removeSelection(), SwAccessibleParagraph::replaceText(), SwAccessibleParagraph::setCaretPosition(), SwAccessibleParagraph::setSelection(), SwAccessibleFootnote::SwAccessibleFootnote(), SwAccessiblePage::SwAccessiblePage(), SwAccessibleTable::SwAccessibleTable(), SwAccessibleParagraph::UpdatePortionData(), and SwAccessibleContext::~SwAccessibleContext().

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().

const SwFrame * SwAccessibleFrame::GetParent ( ) const
inlineprotected
const SwRect& SwAccessibleFrame::GetVisArea ( ) const
inlineprotected
bool SwAccessibleFrame::IsEditable ( SwViewShell const *  pVSh) const
protected
bool SwAccessibleFrame::IsInPagePreview ( ) const
inlineprotected
bool SwAccessibleFrame::IsOpaque ( SwViewShell const *  pVSh) const
protected
bool SwAccessibleFrame::IsShowing ( const SwAccessibleMap rAccMap,
const sw::access::SwAccessibleChild rFrameOrObj 
) const
bool SwAccessibleFrame::IsShowing ( const SwRect rFrame) const
inline

Definition at line 144 of file accframe.hxx.

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

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

Definition at line 149 of file accframe.hxx.

References GetFrame(), and IsShowing().

void SwAccessibleFrame::SetVisArea ( const SwRect rNewVisArea)
inlineprotected

Definition at line 131 of file accframe.hxx.

Referenced by SwAccessibleDocumentBase::SetVisArea().

Member Data Documentation

SwRect SwAccessibleFrame::maVisArea
private
const bool SwAccessibleFrame::mbIsInPagePreview
private

Definition at line 41 of file accframe.hxx.

Referenced by IsInPagePreview().

const SwFrame* SwAccessibleFrame::mpFrame
private

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