Browse Source

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

release/10.0
Hugh.C 5 years ago
parent
commit
559a1e3a58
  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