LibreOffice Module canvas (master) 1
|
#include <dx_textlayout.hxx>
Public Member Functions | |
TextLayout (const css::rendering::StringContext &aText, sal_Int8 nDirection, sal_Int64 nRandomSeed, const CanvasFont::ImplRef &rFont) | |
TextLayout (const TextLayout &)=delete | |
make noncopyable More... | |
const TextLayout & | operator= (const TextLayout &)=delete |
virtual void SAL_CALL | disposing () override |
Dispose all internal references. More... | |
virtual css::uno::Sequence< css::uno::Reference< css::rendering::XPolyPolygon2D > > SAL_CALL | queryTextShapes () override |
virtual css::uno::Sequence< css::geometry::RealRectangle2D > SAL_CALL | queryInkMeasures () override |
virtual css::uno::Sequence< css::geometry::RealRectangle2D > SAL_CALL | queryMeasures () override |
virtual css::uno::Sequence< double > SAL_CALL | queryLogicalAdvancements () override |
virtual void SAL_CALL | applyLogicalAdvancements (const css::uno::Sequence< double > &aAdvancements) override |
virtual css::uno::Sequence< sal_Bool > SAL_CALL | queryKashidaPositions () override |
virtual void SAL_CALL | applyKashidaPositions (const css::uno::Sequence< sal_Bool > &aPositions) override |
virtual css::geometry::RealRectangle2D SAL_CALL | queryTextBounds () override |
virtual double SAL_CALL | justify (double nSize) override |
virtual double SAL_CALL | combinedJustify (const css::uno::Sequence< css::uno::Reference< css::rendering::XTextLayout > > &aNextLayouts, double nSize) override |
virtual css::rendering::TextHit SAL_CALL | getTextHit (const css::geometry::RealPoint2D &aHitPoint) override |
virtual css::rendering::Caret SAL_CALL | getCaret (sal_Int32 nInsertionIndex, sal_Bool bExcludeLigatures) override |
virtual sal_Int32 SAL_CALL | getNextInsertionIndex (sal_Int32 nStartIndex, sal_Int32 nCaretAdvancement, sal_Bool bExcludeLigatures) override |
virtual css::uno::Reference< css::rendering::XPolyPolygon2D > SAL_CALL | queryVisualHighlighting (sal_Int32 nStartIndex, sal_Int32 nEndIndex) override |
virtual css::uno::Reference< css::rendering::XPolyPolygon2D > SAL_CALL | queryLogicalHighlighting (sal_Int32 nStartIndex, sal_Int32 nEndIndex) override |
virtual double SAL_CALL | getBaselineOffset () override |
virtual sal_Int8 SAL_CALL | getMainTextDirection () override |
virtual css::uno::Reference< css::rendering::XCanvasFont > SAL_CALL | getFont () override |
virtual css::rendering::StringContext SAL_CALL | getText () override |
virtual OUString SAL_CALL | getImplementationName () override |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
bool | draw (const GraphicsSharedPtr &rGraphics, const css::rendering::ViewState &rViewState, const css::rendering::RenderState &rRenderState, const ::basegfx::B2ISize &rOutputOffset, const css::uno::Reference< css::rendering::XGraphicDevice > &xGraphicDevice, bool bAlphaSurface) const |
Protected Member Functions | |
~TextLayout () override | |
Private Attributes | |
css::rendering::StringContext | maText |
css::uno::Sequence< double > | maLogicalAdvancements |
css::uno::Sequence< sal_Bool > | maKashidaPositions |
CanvasFont::ImplRef | mpFont |
sal_Int8 | mnTextDirection |
Additional Inherited Members | |
Protected Attributes inherited from cppu::BaseMutex | |
mutable::osl::Mutex | m_aMutex |
Definition at line 43 of file dx_textlayout.hxx.
dxcanvas::TextLayout::TextLayout | ( | const css::rendering::StringContext & | aText, |
sal_Int8 | nDirection, | ||
sal_Int64 | nRandomSeed, | ||
const CanvasFont::ImplRef & | rFont | ||
) |
|
delete |
make noncopyable
|
overrideprotected |
Definition at line 48 of file dx_textlayout.cxx.
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
Dispose all internal references.
Definition at line 52 of file dx_textlayout.cxx.
References mpFont.
bool dxcanvas::TextLayout::draw | ( | const GraphicsSharedPtr & | rGraphics, |
const css::rendering::ViewState & | rViewState, | ||
const css::rendering::RenderState & | rRenderState, | ||
const ::basegfx::B2ISize & | rOutputOffset, | ||
const css::uno::Reference< css::rendering::XGraphicDevice > & | xGraphicDevice, | ||
bool | bAlphaSurface | ||
) | const |
Referenced by dxcanvas::BitmapCanvasHelper::drawTextLayout().
|
overridevirtual |
Definition at line 182 of file dx_textlayout.cxx.
|
overridevirtual |
Definition at line 153 of file dx_textlayout.cxx.
|
overridevirtual |
Definition at line 195 of file dx_textlayout.cxx.
|
overridevirtual |
Definition at line 237 of file dx_textlayout.cxx.
|
overridevirtual |
Definition at line 188 of file dx_textlayout.cxx.
References m_aMutex.
|
overridevirtual |
Definition at line 160 of file dx_textlayout.cxx.
|
overridevirtual |
Definition at line 247 of file dx_textlayout.cxx.
|
overridevirtual |
Definition at line 202 of file dx_textlayout.cxx.
|
overridevirtual |
|
overridevirtual |
Definition at line 134 of file dx_textlayout.cxx.
|
delete |
|
overridevirtual |
Definition at line 64 of file dx_textlayout.cxx.
|
overridevirtual |
Definition at line 96 of file dx_textlayout.cxx.
References m_aMutex.
|
overridevirtual |
Definition at line 76 of file dx_textlayout.cxx.
References m_aMutex.
|
overridevirtual |
Definition at line 175 of file dx_textlayout.cxx.
|
overridevirtual |
Definition at line 70 of file dx_textlayout.cxx.
|
overridevirtual |
Definition at line 116 of file dx_textlayout.cxx.
References m_aMutex, maText, mpFont, and dxcanvas::TextLayoutDrawHelper::queryTextBounds().
|
overridevirtual |
Definition at line 58 of file dx_textlayout.cxx.
|
overridevirtual |
Definition at line 168 of file dx_textlayout.cxx.
|
overridevirtual |
Definition at line 242 of file dx_textlayout.cxx.
References ServiceName, and cppu::supportsService().
|
private |
Definition at line 100 of file dx_textlayout.hxx.
|
private |
Definition at line 99 of file dx_textlayout.hxx.
|
private |
Definition at line 98 of file dx_textlayout.hxx.
|
private |
Definition at line 102 of file dx_textlayout.hxx.
|
private |
Definition at line 101 of file dx_textlayout.hxx.