LibreOffice Module sw (master) 1
|
#include <accframe.hxx>
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 SwFrame * | GetFrame () const |
sal_Int32 | GetChildIndex (SwAccessibleMap &rAccMap, const sw::access::SwAccessibleChild &rChild) const |
Static Public Member Functions | |
static const SwFrame * | GetParent (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 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 |
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 SwFrame * | mpFrame |
const bool | mbIsInPagePreview |
Definition at line 36 of file accframe.hxx.
|
protected |
Definition at line 407 of file accframe.cxx.
References mpFrame.
|
protectedvirtual |
Definition at line 417 of file accframe.cxx.
|
inlineprotected |
Definition at line 91 of file accframe.hxx.
References mpFrame.
Referenced by SwAccessibleContext::Dispose().
|
protected |
Definition at line 328 of file accframe.cxx.
References sw::access::SwAccessibleChild::GetBounds(), GetFrame(), SwRect::Intersection(), and maVisArea.
Referenced by SwAccessibleContext::getAccessibleAtPoint(), SwAccessibleContext::getBoundsImpl(), SwAccessibleParagraph::getCharacterBounds(), SwAccessibleParagraph::GetCurrentTabStop(), SwAccessibleParagraph::getIndexAtPoint(), SwAccessibleParagraph::getNumberOfLineWithCaret(), and SwAccessibleParagraph::scrollSubstringTo().
|
staticprotected |
Definition at line 71 of file accframe.cxx.
References SwAccessibleChildSList::begin(), SwAccessibleChildMap::cbegin(), SwAccessibleChildMap::cend(), GetChild(), sw::access::SwAccessibleChild::GetSwFrame(), sw::access::SwAccessibleChild::IsAccessible(), SwAccessibleChildMap::IsSortingRequired(), and sw::access::SwAccessibleChild::IsValid().
Referenced by SwAccessibleContext::getAccessibleChild(), SwAccessibleTable::getAccessibleColumn(), SwAccessibleTable::getAccessibleRow(), SwAccessiblePage::GetBounds(), GetChild(), SwAccessibleTable::GetTableBox(), SwAccessibleCell::InvalidateCursorPos_(), SwAccessibleSelectionHelper::isAccessibleChildSelected(), and SwAccessibleSelectionHelper::selectAccessibleChild().
|
protected |
Definition at line 444 of file accframe.cxx.
References GetChild(), IsInPagePreview(), maVisArea, mpFrame, and nPos.
|
protected |
Definition at line 460 of file accframe.cxx.
References GetChildAtPixel(), IsInPagePreview(), maVisArea, and mpFrame.
|
staticprotected |
Definition at line 204 of file accframe.cxx.
References SwAccessibleChildSList::begin(), tools::Rectangle::Contains(), SwAccessibleMap::CoreToPixel(), SwAccessibleChildMap::crbegin(), SwAccessibleChildMap::crend(), SwAccessibleChildSList::end(), sw::access::SwAccessibleChild::GetBounds(), GetChildAtPixel(), sw::access::SwAccessibleChild::GetSwFrame(), sw::access::SwAccessibleChild::IsAccessible(), SwRect::IsEmpty(), SwAccessibleChildMap::IsSortingRequired(), and sw::access::SwAccessibleChild::IsValid().
Referenced by SwAccessibleContext::getAccessibleAtPoint(), and GetChildAtPixel().
|
protected |
Definition at line 439 of file accframe.cxx.
References GetChildCount(), IsInPagePreview(), maVisArea, and mpFrame.
|
staticprotected |
Definition at line 41 of file accframe.cxx.
References SwAccessibleChildSList::begin(), SwAccessibleChildSList::end(), GetChildCount(), sw::access::SwAccessibleChild::GetSwFrame(), sw::access::SwAccessibleChild::IsAccessible(), and nCount.
Referenced by SwAccessibleSelectionHelper::deselectAccessibleChild(), SwAccessibleDocumentBase::getAccessibleChild(), SwAccessibleContext::getAccessibleChildCount(), SwAccessibleTableColHeaders::getAccessibleChildCount(), GetChildCount(), SwAccessibleSelectionHelper::isAccessibleChildSelected(), and SwAccessibleSelectionHelper::selectAccessibleChild().
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.
|
staticprotected |
Definition at line 138 of file accframe.cxx.
References SwAccessibleChildSList::begin(), SwAccessibleChildMap::cbegin(), SwAccessibleChildMap::cend(), SwAccessibleChildSList::end(), GetChildIndex(), sw::access::SwAccessibleChild::GetSwFrame(), sw::access::SwAccessibleChild::IsAccessible(), and SwAccessibleChildMap::IsSortingRequired().
Referenced by SwAccessibleTable::getAccessibleIndex(), SwAccessibleMap::GetChildIndex(), and GetChildIndex().
|
staticprotected |
Definition at line 277 of file accframe.cxx.
References SwAccessibleChildSList::begin(), SwAccessibleChildMap::cbegin(), SwAccessibleChildMap::cend(), SwAccessibleChildSList::end(), GetChildren(), sw::access::SwAccessibleChild::GetSwFrame(), sw::access::SwAccessibleChild::IsAccessible(), and SwAccessibleChildMap::IsSortingRequired().
Referenced by SwAccessibleContext::getAccessibleChildren(), GetChildren(), SwAccessibleSelectionHelper::getSelectedAccessibleChild(), SwAccessibleSelectionHelper::getSelectedAccessibleChildCount(), and SwAccessibleSelectionHelper::selectAllAccessibleChildren().
|
protected |
Definition at line 467 of file accframe.cxx.
References GetChildren(), IsInPagePreview(), maVisArea, and mpFrame.
|
protected |
Definition at line 427 of file accframe.cxx.
References SwFrame::FindPageFrame(), FormatNumber(), GetFrame(), SvxNumberType::GetNumberingType(), SwPageDesc::GetNumType(), SwPageFrame::GetPageDesc(), SwFrame::GetVirtPageNum(), SVX_NUM_ARABIC, and SVX_NUM_NUMBER_NONE.
Referenced by SwAccessibleHeaderFooter::getAccessibleDescription(), SwAccessiblePage::getAccessibleDescription(), SwAccessibleTable::Notify(), SwAccessibleTable::SwAccessibleTable(), and SwAccessibleTableColHeaders::SwAccessibleTableColHeaders().
|
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().
|
inlineprotected |
Definition at line 154 of file accframe.hxx.
References GetFrame(), GetParent(), and IsInPagePreview().
Referenced by SwAccessibleMap::A11yDispose(), SwAccessibleCell::Dispose(), SwAccessibleContext::getAccessibleIndexInParent(), SwAccessibleContext::getAccessibleParentImpl(), SwAccessibleContext::getBoundsImpl(), GetParent(), SwAccessibleSelectionHelper::getSelectedAccessibleChild(), SwAccessibleSelectionHelper::getSelectedAccessibleChildCount(), SwAccessibleCell::InvalidateCursorPos_(), SwAccessibleMap::InvalidateCursorPosition(), SwAccessibleMap::InvalidatePosOrSize(), SwAccessibleContext::InvalidatePosOrSize(), SwAccessibleCell::InvalidatePosOrSize(), and SwAccessibleContext::ScrolledIn().
|
static |
Definition at line 421 of file accframe.cxx.
References sw::access::SwAccessibleChild::GetParent().
|
inlineprotected |
Definition at line 135 of file accframe.hxx.
References maVisArea.
Referenced by SwAccessibleContext::ChildrenScrolled(), SwAccessibleContext::Dispose(), SwAccessibleContext::DisposeChildren(), SwAccessibleTableColHeaders::getAccessibleChildCount(), SwAccessibleCell::InvalidateChildrenCursorPos(), SwAccessibleContext::InvalidateChildrenStates(), SwAccessibleContext::Scrolled(), SwAccessibleContext::ScrolledIn(), SwAccessibleContext::ScrolledOut(), SwAccessibleContext::ScrolledWithin(), and SwAccessibleDocumentBase::SetVisArea().
|
protected |
Definition at line 339 of file accframe.cxx.
References GetFrame(), SwViewShell::GetViewOptions(), SwViewShell::IsPreview(), SwFrame::IsProtected(), SwViewOption::IsReadonly(), and SwFrame::IsRootFrame().
Referenced by SwAccessibleContext::InitStates(), and SwAccessibleContext::InvalidateStates().
|
inlineprotected |
Definition at line 86 of file accframe.hxx.
References mbIsInPagePreview.
Referenced by SwAccessibleTable::CreateNewTableData(), SwAccessibleTableColHeaders::CreateNewTableData(), SwAccessibleCell::Dispose(), SwAccessibleTableColHeaders::getAccessibleChildCount(), GetChild(), GetChildAtPixel(), GetChildCount(), GetChildIndex(), GetChildren(), GetParent(), SwAccessibleSelectionHelper::getSelectedAccessibleChild(), SwAccessibleSelectionHelper::getSelectedAccessibleChildCount(), SwAccessibleCell::InvalidateCursorPos_(), SwAccessibleCell::InvalidatePosOrSize(), and IsOpaque().
|
protected |
Definition at line 356 of file accframe.cxx.
References COL_TRANSPARENT(), SwAnchoredObject::GetAnchorFrame(), SwFrame::GetAttrSet(), SwAttrSet::GetBackground(), SvxBrushItem::GetColor(), GetFrame(), SvxBrushItem::GetGraphicPos(), sw::access::SwAccessibleChild::GetSwFrame(), SwSection::GetType(), SwFrame::GetUpper(), SwViewShell::GetViewOptions(), GPOS_NONE, sw::access::SwAccessibleChild::IsAccessible(), SwFrame::IsFlyFrame(), SwViewOption::IsIndexShadings(), IsInPagePreview(), SwViewOption::IsPageBack(), SwFrame::IsPageFrame(), SwViewOption::IsReadonly(), SwFrame::IsRootFrame(), SwFrame::IsSctFrame(), Color::IsTransparent(), ToxContent, and ToxHeader.
Referenced by SwAccessibleContext::InitStates(), and SwAccessibleContext::InvalidateStates().
|
inline |
Definition at line 148 of file accframe.hxx.
References GetFrame(), and IsShowing().
bool SwAccessibleFrame::IsShowing | ( | const SwAccessibleMap & | rAccMap, |
const sw::access::SwAccessibleChild & | rFrameOrObj | ||
) | const |
Definition at line 473 of file accframe.cxx.
References sw::access::SwAccessibleChild::GetBox(), and IsShowing().
Referenced by SwAccessibleContext::DisposeChild(), SwAccessibleContext::InitStates(), SwAccessibleContext::InvalidateChildPosOrSize(), SwAccessibleContext::InvalidatePosOrSize(), IsShowing(), and SwAccessibleContext::Scrolled().
|
inline |
Definition at line 143 of file accframe.hxx.
References SwRect::IsEmpty(), maVisArea, and SwRect::Overlaps().
|
inlineprotected |
Definition at line 130 of file accframe.hxx.
References maVisArea.
Referenced by SwAccessibleContext::Scrolled(), SwAccessibleContext::ScrolledOut(), SwAccessibleContext::ScrolledWithin(), and SwAccessibleDocumentBase::SetVisArea().
|
private |
Definition at line 38 of file accframe.hxx.
Referenced by GetBounds(), GetChild(), GetChildAtPixel(), GetChildCount(), GetChildIndex(), GetChildren(), GetVisArea(), IsShowing(), and SetVisArea().
|
private |
Definition at line 40 of file accframe.hxx.
Referenced by IsInPagePreview().
|
private |
Definition at line 39 of file accframe.hxx.
Referenced by ClearFrame(), GetChild(), GetChildAtPixel(), GetChildCount(), GetChildIndex(), GetChildren(), GetFrame(), and SwAccessibleFrame().