|
|
|
@ -238,14 +238,14 @@ public class RtfTable extends RtfElement {
|
|
|
|
|
result.write(RtfFont.FONT_SIZE); |
|
|
|
|
result.write(intToByteArray(this.offset)); |
|
|
|
|
} |
|
|
|
|
// carl:多出来的行,行高设为最小 1
|
|
|
|
|
// carl:多出来的行,行高设为最小 1
|
|
|
|
|
result.write(RtfParagraph.PLAIN); |
|
|
|
|
// result.write("\\s".getBytes());
|
|
|
|
|
// result.write(intToByteArray(0));
|
|
|
|
|
result.write(RtfPhrase.LINE_SPACING); |
|
|
|
|
result.write(intToByteArray(0)); |
|
|
|
|
result.write(RtfParagraph.PLAIN); |
|
|
|
|
// 这里是关键,把这破行设成1
|
|
|
|
|
// 这里是关键,把这破行设成1
|
|
|
|
|
result.write(RtfFont.FONT_SIZE); |
|
|
|
|
result.write(intToByteArray(2)); |
|
|
|
|
result.write(RtfParagraph.PARAGRAPH); |
|
|
|
@ -258,14 +258,14 @@ public class RtfTable extends RtfElement {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
result.write(RtfParagraph.PARAGRAPH_DEFAULTS); |
|
|
|
|
// carl:多出来的行,行高设为最小 1
|
|
|
|
|
// carl:多出来的行,行高设为最小 1
|
|
|
|
|
result.write(RtfParagraph.PLAIN); |
|
|
|
|
// result.write("\\s".getBytes());
|
|
|
|
|
// result.write(intToByteArray(0));
|
|
|
|
|
result.write(RtfPhrase.LINE_SPACING); |
|
|
|
|
result.write(intToByteArray(0)); |
|
|
|
|
result.write(RtfParagraph.PLAIN); |
|
|
|
|
// 这里是关键,把这破行设成1
|
|
|
|
|
// 这里是关键,把这破行设成1
|
|
|
|
|
result.write(RtfFont.FONT_SIZE); |
|
|
|
|
result.write(intToByteArray(2)); |
|
|
|
|
} |
|
|
|
|