Browse Source

Pull request #470: REPORT-33691 tr\td\th设置单元格对齐方式,预览生效,导出不生效

Merge in CORE/base-third from ~HUGH.C/base-third:release/10.0 to release/10.0

* commit '559a1e3a587b7cc51fe512bf008d92d96e0d3afc':
  REPORT-33691 tr\td\th设置单元格对齐方式,预览生效,导出不生效
release/10.0
Hugh.C 4 years ago
parent
commit
16205f58aa
  1. 1
      fine-itext/src/main/java/com/fr/third/v2/lowagie/text/html/simpleparser/IncCell.java

1
fine-itext/src/main/java/com/fr/third/v2/lowagie/text/html/simpleparser/IncCell.java

@ -70,6 +70,7 @@ public class IncCell implements TextElementArray {
*/
public IncCell(String tag, ChainedProperties props) {
cell = new PdfPCell((Phrase) null);
cell.setHorizontalAlignment(Element.ALIGN_UNDEFINED);
String value = props.getProperty("colspan");
if (value != null)
cell.setColspan(Integer.parseInt(value));

Loading…
Cancel
Save