24#include <com/sun/star/lang/XServiceInfo.hpp>
25#include <com/sun/star/rendering/StringContext.hpp>
26#include <com/sun/star/rendering/XTextLayout.hpp>
49 css::rendering::XGraphicDevice> xDevice,
53 virtual void disposing(std::unique_lock<std::mutex>& rGuard)
override;
56 virtual css::uno::Sequence< css::uno::Reference< css::rendering::XPolyPolygon2D > > SAL_CALL
queryTextShapes( )
override;
57 virtual css::uno::Sequence< css::geometry::RealRectangle2D > SAL_CALL
queryInkMeasures( )
override;
58 virtual css::uno::Sequence< css::geometry::RealRectangle2D > SAL_CALL
queryMeasures( )
override;
63 virtual css::geometry::RealRectangle2D SAL_CALL
queryTextBounds( )
override;
64 virtual double SAL_CALL
justify(
double nSize )
override;
65 virtual double SAL_CALL
combinedJustify(
const css::uno::Sequence< css::uno::Reference< css::rendering::XTextLayout > >& aNextLayouts,
double nSize )
override;
66 virtual css::rendering::TextHit SAL_CALL
getTextHit(
const css::geometry::RealPoint2D& aHitPoint )
override;
67 virtual css::rendering::Caret SAL_CALL
getCaret( sal_Int32 nInsertionIndex,
sal_Bool bExcludeLigatures )
override;
69 virtual css::uno::Reference< css::rendering::XPolyPolygon2D > SAL_CALL
queryVisualHighlighting( sal_Int32 nStartIndex, sal_Int32 nEndIndex )
override;
70 virtual css::uno::Reference< css::rendering::XPolyPolygon2D > SAL_CALL
queryLogicalHighlighting( sal_Int32 nStartIndex, sal_Int32 nEndIndex )
override;
73 virtual css::uno::Reference< css::rendering::XCanvasFont > SAL_CALL
getFont( )
override;
74 virtual css::rendering::StringContext SAL_CALL
getText( )
override;
83 const css::rendering::ViewState& viewState,
84 const css::rendering::RenderState& renderState )
const;
88 const css::uno::Sequence< double >& inputOffsets,
89 const css::rendering::ViewState& viewState,
90 const css::rendering::RenderState& renderState )
const;
92 css::rendering::StringContext
maText;
96 css::uno::Reference< css::rendering::XGraphicDevice>
mxDevice;
virtual sal_Int32 SAL_CALL getNextInsertionIndex(sal_Int32 nStartIndex, sal_Int32 nCaretAdvancement, sal_Bool bExcludeLigatures) override
virtual void SAL_CALL applyLogicalAdvancements(const css::uno::Sequence< double > &aAdvancements) override
TextLayout(css::rendering::StringContext aText, sal_Int8 nDirection, CanvasFont::Reference rFont, css::uno::Reference< css::rendering::XGraphicDevice > xDevice, OutDevProviderSharedPtr xOutDev)
KernArray setupTextOffsets(const css::uno::Sequence< double > &inputOffsets, const css::rendering::ViewState &viewState, const css::rendering::RenderState &renderState) const
virtual css::rendering::Caret SAL_CALL getCaret(sal_Int32 nInsertionIndex, sal_Bool bExcludeLigatures) override
virtual double SAL_CALL justify(double nSize) override
virtual css::rendering::StringContext SAL_CALL getText() override
virtual void SAL_CALL applyKashidaPositions(const css::uno::Sequence< sal_Bool > &aPositions) override
virtual css::uno::Sequence< sal_Bool > SAL_CALL queryKashidaPositions() override
virtual css::geometry::RealRectangle2D SAL_CALL queryTextBounds() override
virtual css::uno::Reference< css::rendering::XPolyPolygon2D > SAL_CALL queryLogicalHighlighting(sal_Int32 nStartIndex, sal_Int32 nEndIndex) override
css::uno::Sequence< double > maLogicalAdvancements
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual css::uno::Sequence< css::geometry::RealRectangle2D > SAL_CALL queryMeasures() override
OutDevProviderSharedPtr mpOutDevProvider
css::uno::Sequence< sal_Bool > maKashidaPositions
const TextLayout & operator=(const TextLayout &)=delete
virtual css::uno::Sequence< double > SAL_CALL queryLogicalAdvancements() override
virtual css::uno::Reference< css::rendering::XPolyPolygon2D > SAL_CALL queryVisualHighlighting(sal_Int32 nStartIndex, sal_Int32 nEndIndex) override
virtual css::uno::Sequence< css::uno::Reference< css::rendering::XPolyPolygon2D > > SAL_CALL queryTextShapes() override
virtual OUString SAL_CALL getImplementationName() override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual double SAL_CALL getBaselineOffset() override
TextLayout(const TextLayout &)=delete
make noncopyable
virtual double SAL_CALL combinedJustify(const css::uno::Sequence< css::uno::Reference< css::rendering::XTextLayout > > &aNextLayouts, double nSize) override
virtual void disposing(std::unique_lock< std::mutex > &rGuard) override
Dispose all internal references.
CanvasFont::Reference mpFont
virtual css::uno::Sequence< css::geometry::RealRectangle2D > SAL_CALL queryInkMeasures() override
css::rendering::StringContext maText
virtual sal_Int8 SAL_CALL getMainTextDirection() override
void draw(OutputDevice &rOutDev, const Point &rOutpos, const css::rendering::ViewState &viewState, const css::rendering::RenderState &renderState) const
virtual css::uno::Reference< css::rendering::XCanvasFont > SAL_CALL getFont() override
css::uno::Reference< css::rendering::XGraphicDevice > mxDevice
virtual css::rendering::TextHit SAL_CALL getTextHit(const css::geometry::RealPoint2D &aHitPoint) override
std::shared_ptr< OutDevProvider > OutDevProviderSharedPtr
::comphelper::WeakComponentImplHelper< css::rendering::XTextLayout, css::lang::XServiceInfo > TextLayout_Base