br is a line break, similar to cr

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1024301 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Nick Burch 2010-10-19 16:04:50 +00:00
parent 5e7c280797
commit 7e1d07ec00
1 changed files with 3 additions and 0 deletions

View File

@ -620,6 +620,9 @@ public class XWPFRun {
if ("w:tab".equals(tagName)) {
text.append("\t");
}
if ("w:br".equals(tagName)) {
text.append("\n");
}
if ("w:cr".equals(tagName)) {
text.append("\n");
}