diff options
Diffstat (limited to 'include/drawinglayer/primitive2d/textprimitive2d.hxx')
-rw-r--r-- | include/drawinglayer/primitive2d/textprimitive2d.hxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/drawinglayer/primitive2d/textprimitive2d.hxx b/include/drawinglayer/primitive2d/textprimitive2d.hxx index fd80e531e910..4182b0c0fbe4 100644 --- a/include/drawinglayer/primitive2d/textprimitive2d.hxx +++ b/include/drawinglayer/primitive2d/textprimitive2d.hxx @@ -72,6 +72,9 @@ namespace drawinglayer::primitive2d point in FontCoordinateSystem X-Direction (given by maTextTransform) to the start point of the second character + @param rKashidaArray + The Kashida insertion positions. + @param rFontAttribute The font definition @@ -107,6 +110,9 @@ private: /// The DX array in logic units std::vector<double> maDXArray; + /// The Kashida array + std::vector<sal_Bool> maKashidaArray; + /// The font definition attribute::FontAttribute maFontAttribute; @@ -139,6 +145,7 @@ public: TextSimplePortionPrimitive2D(basegfx::B2DHomMatrix aNewTransform, OUString aText, sal_Int32 nTextPosition, sal_Int32 nTextLength, std::vector<double>&& rDXArray, + std::vector<sal_Bool>&& rKashidaArray, attribute::FontAttribute aFontAttribute, css::lang::Locale aLocale, const basegfx::BColor& rFontColor, bool bFilled = false, tools::Long nWidthToFill = 0, @@ -156,6 +163,7 @@ public: sal_Int32 getTextPosition() const { return mnTextPosition; } sal_Int32 getTextLength() const { return mnTextLength; } const ::std::vector<double>& getDXArray() const { return maDXArray; } + const ::std::vector<sal_Bool>& getKashidaArray() const { return maKashidaArray; } const attribute::FontAttribute& getFontAttribute() const { return maFontAttribute; } const css::lang::Locale& getLocale() const { return maLocale; } const basegfx::BColor& getFontColor() const { return maFontColor; } |