diff options
Diffstat (limited to 'svgio/inc/svgcharacternode.hxx')
-rw-r--r-- | svgio/inc/svgcharacternode.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/svgio/inc/svgcharacternode.hxx b/svgio/inc/svgcharacternode.hxx index 738ddf4d9e73..5fad2008ba1c 100644 --- a/svgio/inc/svgcharacternode.hxx +++ b/svgio/inc/svgcharacternode.hxx @@ -122,6 +122,9 @@ namespace svgio::svgreader /// the string data OUString maText; + // keep a copy of string data before space handling + OUString maTextBeforeSpaceHandling; + /// local helpers rtl::Reference<drawinglayer::primitive2d::BasePrimitive2D> createSimpleTextPrimitive( SvgTextPosition& rSvgTextPosition, @@ -141,10 +144,13 @@ namespace svgio::svgreader virtual const SvgStyleAttributes* getSvgStyleAttributes() const override; void decomposeText(drawinglayer::primitive2d::Primitive2DContainer& rTarget, SvgTextPosition& rSvgTextPosition) const; void whiteSpaceHandling(); + void addGap(); void concatenate(std::u16string_view rText); /// Text content const OUString& getText() const { return maText; } + + const OUString& getTextBeforeSpaceHandling() const { return maTextBeforeSpaceHandling; } }; } // end of namespace svgio::svgreader |