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 f0ba735deb
commit 7b4dc141ae
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");
}