LibreOffice Module editeng (master) 1
|
#include <AccessibleStringWrap.hxx>
Public Member Functions | |
AccessibleStringWrap (OutputDevice &rDev, SvxFont &rFont, OUString aText) | |
void | GetCharacterBounds (sal_Int32 nIndex, tools::Rectangle &rRect) |
sal_Int32 | GetIndexAtPoint (const Point &rPoint) |
Private Attributes | |
OutputDevice & | mrDev |
SvxFont & | mrFont |
OUString | maText |
Definition at line 34 of file AccessibleStringWrap.hxx.
AccessibleStringWrap::AccessibleStringWrap | ( | OutputDevice & | rDev, |
SvxFont & | rFont, | ||
OUString | aText | ||
) |
Definition at line 35 of file AccessibleStringWrap.cxx.
References maText.
void AccessibleStringWrap::GetCharacterBounds | ( | sal_Int32 | nIndex, |
tools::Rectangle & | rRect | ||
) |
Definition at line 42 of file AccessibleStringWrap.cxx.
References tools::Rectangle::Bottom(), DBG_ASSERT, OutputDevice::GetTextArray(), OutputDevice::GetTextHeight(), OutputDevice::GetTextWidth(), vcl::Font::IsVertical(), tools::Rectangle::Left(), maText, mrDev, mrFont, nIndex, tools::Rectangle::Right(), tools::Rectangle::SetLeft(), SvxFont::SetPhysFont(), tools::Rectangle::SetSize(), tools::Rectangle::SetTop(), and tools::Rectangle::Top().
Referenced by SvxAccessibleTextAdapter::GetCharBounds(), and GetIndexAtPoint().
sal_Int32 AccessibleStringWrap::GetIndexAtPoint | ( | const Point & | rPoint | ) |
Definition at line 75 of file AccessibleStringWrap.cxx.
References tools::Rectangle::Contains(), GetCharacterBounds(), i, and maText.
Referenced by SvxAccessibleTextAdapter::GetIndexAtPoint().
|
private |
Definition at line 47 of file AccessibleStringWrap.hxx.
Referenced by GetCharacterBounds(), and GetIndexAtPoint().
|
private |
Definition at line 45 of file AccessibleStringWrap.hxx.
Referenced by GetCharacterBounds().
|
private |
Definition at line 46 of file AccessibleStringWrap.hxx.
Referenced by GetCharacterBounds().