]> source.dussan.org Git - poi.git/commitdiff
Expose the underlying TextRun
authorNick Burch <nick@apache.org>
Thu, 13 Jul 2006 09:24:39 +0000 (09:24 +0000)
committerNick Burch <nick@apache.org>
Thu, 13 Jul 2006 09:24:39 +0000 (09:24 +0000)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@421555 13f79535-47bb-0310-9956-ffa450edef68

src/scratchpad/src/org/apache/poi/hslf/model/TextBox.java

index 465896d61d4d3da7835edc93974041baee2dc189..760fa1b215cbfa380f42eb936e245225645d843d 100644 (file)
@@ -414,6 +414,13 @@ public class TextBox extends SimpleShape {
         setEscherProperty(opt, EscherProperties.FILL__FILLBACKCOLOR, rgb);\r
     }\r
 \r
+    /**\r
+      * @return the TextRun object for this text box\r
+      */\r
+     public TextRun getTextRun(){\r
+         return _txtrun;\r
+     }\r
+\r
     /**\r
       * @return  array of RichTextRun objects which control text formatting in this text box\r
       */\r