25#include <com/sun/star/lang/XServiceInfo.hpp>
27#include <com/sun/star/rendering/XTextLayout.hpp>
40 typedef ::cppu::WeakComponentImplHelper< css::rendering::XTextLayout,
49 sal_Int64 nRandomSeed,
56 virtual void SAL_CALL
disposing()
override;
59 virtual css::uno::Sequence< css::uno::Reference< css::rendering::XPolyPolygon2D > > SAL_CALL
queryTextShapes( )
override;
60 virtual css::uno::Sequence< css::geometry::RealRectangle2D > SAL_CALL
queryInkMeasures( )
override;
61 virtual css::uno::Sequence< css::geometry::RealRectangle2D > SAL_CALL
queryMeasures( )
override;
66 virtual css::geometry::RealRectangle2D SAL_CALL
queryTextBounds( )
override;
67 virtual double SAL_CALL
justify(
double nSize )
override;
68 virtual double SAL_CALL
combinedJustify(
const css::uno::Sequence< css::uno::Reference< css::rendering::XTextLayout > >& aNextLayouts,
double nSize )
override;
69 virtual css::rendering::TextHit SAL_CALL
getTextHit(
const css::geometry::RealPoint2D& aHitPoint )
override;
70 virtual css::rendering::Caret SAL_CALL
getCaret( sal_Int32 nInsertionIndex,
sal_Bool bExcludeLigatures )
override;
72 virtual css::uno::Reference< css::rendering::XPolyPolygon2D > SAL_CALL
queryVisualHighlighting( sal_Int32 nStartIndex, sal_Int32 nEndIndex )
override;
73 virtual css::uno::Reference< css::rendering::XPolyPolygon2D > SAL_CALL
queryLogicalHighlighting( sal_Int32 nStartIndex, sal_Int32 nEndIndex )
override;
76 virtual css::uno::Reference< css::rendering::XCanvasFont > SAL_CALL
getFont( )
override;
77 virtual css::rendering::StringContext SAL_CALL
getText( )
override;
85 const css::rendering::ViewState& rViewState,
86 const css::rendering::RenderState& rRenderState,
87 const ::basegfx::B2ISize& rOutputOffset,
88 const css::uno::Reference<
89 css::rendering::XGraphicDevice >& xGraphicDevice,
90 bool bAlphaSurface )
const;
98 css::rendering::StringContext
maText;
virtual css::rendering::StringContext SAL_CALL getText() 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
virtual css::rendering::TextHit SAL_CALL getTextHit(const css::geometry::RealPoint2D &aHitPoint) override
css::rendering::StringContext maText
virtual void SAL_CALL disposing() override
Dispose all internal references.
css::uno::Sequence< sal_Bool > maKashidaPositions
virtual css::uno::Sequence< double > SAL_CALL queryLogicalAdvancements() override
virtual css::uno::Sequence< css::geometry::RealRectangle2D > SAL_CALL queryInkMeasures() override
virtual double SAL_CALL justify(double nSize) override
CanvasFont::ImplRef mpFont
virtual css::uno::Sequence< sal_Bool > SAL_CALL queryKashidaPositions() override
virtual double SAL_CALL getBaselineOffset() override
TextLayout(const css::rendering::StringContext &aText, sal_Int8 nDirection, sal_Int64 nRandomSeed, const CanvasFont::ImplRef &rFont)
const TextLayout & operator=(const TextLayout &)=delete
virtual css::uno::Sequence< css::geometry::RealRectangle2D > SAL_CALL queryMeasures() override
virtual void SAL_CALL applyLogicalAdvancements(const css::uno::Sequence< double > &aAdvancements) override
virtual css::uno::Sequence< css::uno::Reference< css::rendering::XPolyPolygon2D > > SAL_CALL queryTextShapes() override
virtual void SAL_CALL applyKashidaPositions(const css::uno::Sequence< sal_Bool > &aPositions) override
virtual css::uno::Reference< css::rendering::XPolyPolygon2D > SAL_CALL queryLogicalHighlighting(sal_Int32 nStartIndex, sal_Int32 nEndIndex) override
virtual double SAL_CALL combinedJustify(const css::uno::Sequence< css::uno::Reference< css::rendering::XTextLayout > > &aNextLayouts, double nSize) override
virtual sal_Int32 SAL_CALL getNextInsertionIndex(sal_Int32 nStartIndex, sal_Int32 nCaretAdvancement, sal_Bool bExcludeLigatures) override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual OUString SAL_CALL getImplementationName() override
virtual css::geometry::RealRectangle2D SAL_CALL queryTextBounds() override
TextLayout(const TextLayout &)=delete
make noncopyable
virtual css::uno::Reference< css::rendering::XCanvasFont > SAL_CALL getFont() override
virtual css::rendering::Caret SAL_CALL getCaret(sal_Int32 nInsertionIndex, sal_Bool bExcludeLigatures) override
css::uno::Sequence< double > maLogicalAdvancements
virtual css::uno::Reference< css::rendering::XPolyPolygon2D > SAL_CALL queryVisualHighlighting(sal_Int32 nStartIndex, sal_Int32 nEndIndex) override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual sal_Int8 SAL_CALL getMainTextDirection() override
::cppu::WeakComponentImplHelper< css::rendering::XTextLayout, css::lang::XServiceInfo > TextLayout_Base
std::shared_ptr< Gdiplus::Graphics > GraphicsSharedPtr