public class Text extends Object implements OOXMLElement
| Constructor and Description |
|---|
Text(String s)
create a new comment with NO formatting
|
Text(Text t) |
Text(Unicodestring str)
create a new comment WITH formatting
|
| Modifier and Type | Method and Description |
|---|---|
OOXMLElement |
cloneElement() |
String |
getComment()
return the String value of this Text (Comment) element
i.e.
|
Unicodestring |
getCommentWithFormatting()
return the String value of this Text (Comment) element
Including formatting runs
|
String |
getOOXML() |
String |
getOOXML(WorkBook bk)
return the OOXML representation of this Text (Comment) element
|
static Text |
parseOOXML(org.xmlpull.v1.XmlPullParser xpp,
Stack<String> lastTag,
WorkBookHandle bk)
parse this Text element into a unicode string with formatting runs
|
public Text(Unicodestring str)
strref - public Text(Text t)
public Text(String s)
s - public static Text parseOOXML(org.xmlpull.v1.XmlPullParser xpp, Stack<String> lastTag, WorkBookHandle bk)
public String getOOXML()
getOOXML in interface OOXMLElementOOXMLElement.getOOXML()public String getOOXML(WorkBook bk)
bk - public OOXMLElement cloneElement()
cloneElement in interface OOXMLElementOOXMLElement.cloneElement()public String getComment()
public Unicodestring getCommentWithFormatting()
Copyright © 2002–2019 Starter Inc.. All rights reserved.