LibreOffice Module vcl (master)
1
|
is an implementation of the ITextLayout interface which simply delegates its calls to the respective methods of an OutputDevice instance, without any inbetween magic. More...
#include <textlayout.hxx>
Public Member Functions | |
DefaultTextLayout (OutputDevice &_rTargetDevice) | |
virtual | ~DefaultTextLayout () |
virtual tools::Long | GetTextWidth (const OUString &_rText, sal_Int32 _nStartIndex, sal_Int32 _nLength) const override |
virtual void | DrawText (const Point &_rStartPoint, const OUString &_rText, sal_Int32 _nStartIndex, sal_Int32 _nLength, MetricVector *_pVector, OUString *_pDisplayText) override |
virtual void | GetCaretPositions (const OUString &_rText, tools::Long *_pCaretXArray, sal_Int32 _nStartIndex, sal_Int32 _nLength) const override |
virtual sal_Int32 | GetTextBreak (const OUString &_rText, tools::Long _nMaxTextWidth, sal_Int32 _nStartIndex, sal_Int32 _nLength) const override |
virtual bool | DecomposeTextRectAction () const override |
Private Attributes | |
OutputDevice & | m_rTargetDevice |
Additional Inherited Members | |
![]() | |
~ITextLayout () COVERITY_NOEXCEPT_FALSE | |
is an implementation of the ITextLayout interface which simply delegates its calls to the respective methods of an OutputDevice instance, without any inbetween magic.
Definition at line 46 of file textlayout.hxx.
|
inline |
Definition at line 49 of file textlayout.hxx.
|
virtual |
Definition at line 39 of file textlayout.cxx.
|
overridevirtual |
Implements vcl::ITextLayout.
Definition at line 65 of file textlayout.cxx.
|
overridevirtual |
Implements vcl::ITextLayout.
Definition at line 48 of file textlayout.cxx.
References OutputDevice::DrawText(), and m_rTargetDevice.
|
overridevirtual |
Implements vcl::ITextLayout.
Definition at line 54 of file textlayout.cxx.
References OutputDevice::GetCaretPositions(), and m_rTargetDevice.
|
overridevirtual |
Implements vcl::ITextLayout.
Definition at line 60 of file textlayout.cxx.
References OutputDevice::GetTextBreak(), and m_rTargetDevice.
|
overridevirtual |
Implements vcl::ITextLayout.
Definition at line 43 of file textlayout.cxx.
References OutputDevice::GetTextWidth(), and m_rTargetDevice.
|
private |
Definition at line 80 of file textlayout.hxx.
Referenced by DrawText(), GetCaretPositions(), GetTextBreak(), and GetTextWidth().