LibreOffice Module sw (master) 1
|
#include <accselectionhelper.hxx>
Public Member Functions | |
SwAccessibleSelectionHelper (SwAccessibleContext &rContext) | |
void | selectAccessibleChild (sal_Int64 nChildIndex) |
bool | isAccessibleChildSelected (sal_Int64 nChildIndex) |
void | selectAllAccessibleChildren () |
sal_Int64 | getSelectedAccessibleChildCount () |
css::uno::Reference< css::accessibility::XAccessible > | getSelectedAccessibleChild (sal_Int64 nSelectedChildIndex) |
void | deselectAccessibleChild (sal_Int64 nChildIndex) |
Private Member Functions | |
SwFEShell * | GetFEShell () |
get FE-Shell More... | |
void | throwIndexOutOfBoundsException () |
Private Attributes | |
SwAccessibleContext & | m_rContext |
the context on which this helper works More... | |
Definition at line 31 of file accselectionhelper.hxx.
SwAccessibleSelectionHelper::SwAccessibleSelectionHelper | ( | SwAccessibleContext & | rContext | ) |
Definition at line 47 of file accselectionhelper.cxx.
References m_rContext.
void SwAccessibleSelectionHelper::deselectAccessibleChild | ( | sal_Int64 | nChildIndex | ) |
css::lang::IndexOutOfBoundsException | |
css::uno::RuntimeException |
Definition at line 332 of file accselectionhelper.cxx.
References SwAccessibleFrame::GetChildCount(), SwAccessibleContext::GetMap(), m_rContext, and throwIndexOutOfBoundsException().
Referenced by SwAccessibleDocument::deselectAccessibleChild(), SwAccessibleParagraph::deselectAccessibleChild(), and SwAccessibleCell::deselectAccessibleChild().
|
private |
get FE-Shell
Definition at line 53 of file accselectionhelper.cxx.
References SwAccessibleContext::GetMap(), SwAccessibleMap::GetShell(), and m_rContext.
Referenced by getSelectedAccessibleChild(), getSelectedAccessibleChildCount(), isAccessibleChildSelected(), selectAccessibleChild(), and selectAllAccessibleChildren().
Reference< XAccessible > SwAccessibleSelectionHelper::getSelectedAccessibleChild | ( | sal_Int64 | nSelectedChildIndex | ) |
css::lang::IndexOutOfBoundsException | |
css::uno::RuntimeException |
Definition at line 241 of file accselectionhelper.cxx.
References SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SwAccessibleFrame::GetChildren(), SwAccessibleMap::GetContextImpl(), GetFEShell(), SwFlyFrame::GetFormat(), SwAccessibleFrame::GetFrame(), SwAccessibleContext::GetMap(), SwAccessibleFrame::GetParent(), SwFEShell::GetSelectedFlyFrame(), SwAccessibleFrame::IsInPagePreview(), SwFEShell::IsObjSelected(), m_rContext, o3tl::make_unsigned(), and throwIndexOutOfBoundsException().
Referenced by SwAccessibleCell::getSelectedAccessibleChild(), SwAccessibleDocument::getSelectedAccessibleChild(), and SwAccessibleParagraph::getSelectedAccessibleChild().
sal_Int64 SwAccessibleSelectionHelper::getSelectedAccessibleChildCount | ( | ) |
css::uno::RuntimeException |
Definition at line 192 of file accselectionhelper.cxx.
References SwAccessibleFrame::GetChildren(), GetFEShell(), SwAccessibleFrame::GetFrame(), SwAccessibleContext::GetMap(), SwAccessibleFrame::GetParent(), SwAccessibleFrame::IsInPagePreview(), m_rContext, o3tl::make_unsigned(), and nCount.
Referenced by SwAccessibleCell::getSelectedAccessibleChildCount(), SwAccessibleDocument::getSelectedAccessibleChildCount(), and SwAccessibleParagraph::getSelectedAccessibleChildCount().
bool SwAccessibleSelectionHelper::isAccessibleChildSelected | ( | sal_Int64 | nChildIndex | ) |
css::lang::IndexOutOfBoundsException | |
css::uno::RuntimeException |
Definition at line 128 of file accselectionhelper.cxx.
References SwAccessibleFrame::GetChild(), SwAccessibleFrame::GetChildCount(), GetFEShell(), SwAccessibleContext::GetMap(), lcl_getSelectedState(), m_rContext, and throwIndexOutOfBoundsException().
Referenced by SwAccessibleCell::isAccessibleChildSelected(), SwAccessibleDocument::isAccessibleChildSelected(), and SwAccessibleParagraph::isAccessibleChildSelected().
void SwAccessibleSelectionHelper::selectAccessibleChild | ( | sal_Int64 | nChildIndex | ) |
css::lang::IndexOutOfBoundsException | |
css::uno::RuntimeException |
Definition at line 76 of file accselectionhelper.cxx.
References SwAccessibleFrame::GetChild(), SwAccessibleFrame::GetChildCount(), GetFEShell(), SwAccessibleContext::GetMap(), m_rContext, SwAccessibleContext::Select(), and throwIndexOutOfBoundsException().
Referenced by SwAccessibleCell::selectAccessibleChild(), SwAccessibleDocument::selectAccessibleChild(), and SwAccessibleParagraph::selectAccessibleChild().
void SwAccessibleSelectionHelper::selectAllAccessibleChildren | ( | ) |
css::uno::RuntimeException |
Definition at line 165 of file accselectionhelper.cxx.
References SwAccessibleFrame::GetChildren(), GetFEShell(), SwAccessibleContext::GetMap(), SwFEShell::IsObjSelected(), m_rContext, and SwAccessibleContext::Select().
Referenced by SwAccessibleCell::selectAllAccessibleChildren(), SwAccessibleDocument::selectAllAccessibleChildren(), and SwAccessibleParagraph::selectAllAccessibleChildren().
|
private |
css::lang::IndexOutOfBoundsException |
Definition at line 65 of file accselectionhelper.cxx.
References m_rContext.
Referenced by deselectAccessibleChild(), getSelectedAccessibleChild(), isAccessibleChildSelected(), and selectAccessibleChild().
|
private |
the context on which this helper works
Definition at line 34 of file accselectionhelper.hxx.
Referenced by deselectAccessibleChild(), GetFEShell(), getSelectedAccessibleChild(), getSelectedAccessibleChildCount(), isAccessibleChildSelected(), selectAccessibleChild(), selectAllAccessibleChildren(), and throwIndexOutOfBoundsException().