mirror of https://github.com/apache/poi.git
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:
parent
5e7c280797
commit
7e1d07ec00
|
@ -620,6 +620,9 @@ public class XWPFRun {
|
||||||
if ("w:tab".equals(tagName)) {
|
if ("w:tab".equals(tagName)) {
|
||||||
text.append("\t");
|
text.append("\t");
|
||||||
}
|
}
|
||||||
|
if ("w:br".equals(tagName)) {
|
||||||
|
text.append("\n");
|
||||||
|
}
|
||||||
if ("w:cr".equals(tagName)) {
|
if ("w:cr".equals(tagName)) {
|
||||||
text.append("\n");
|
text.append("\n");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue