diff options
Diffstat (limited to 'src/java/org/apache/poi/sl/draw/DrawTextParagraph.java')
-rw-r--r-- | src/java/org/apache/poi/sl/draw/DrawTextParagraph.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/java/org/apache/poi/sl/draw/DrawTextParagraph.java b/src/java/org/apache/poi/sl/draw/DrawTextParagraph.java index 1b086430cd..c0c7eb21fd 100644 --- a/src/java/org/apache/poi/sl/draw/DrawTextParagraph.java +++ b/src/java/org/apache/poi/sl/draw/DrawTextParagraph.java @@ -378,6 +378,10 @@ public class DrawTextParagraph implements Drawable { Slide<?,?> slide = (Slide<?,?>)graphics.getRenderingHint(Drawable.CURRENT_SLIDE); return (slide == null) ? "" : Integer.toString(slide.getSlideNumber()); } + return getRenderableText(tr); + } + + String getRenderableText(TextRun tr) { String txt = tr.getRawText(); txt.replace("\t", tab2space(tr)).replace("\u000b", "\n"); |