We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Word转pdf table内容被向左压了

table压缩了.zip (34.7 KB)

@pengwenwem, 感谢您报告有关表格的问题。 我已将问题记录为 WORDSNET-23326。 我们会及时通知您,并在问题解决后通知您。

您遇到的问题是 Aspose.Words for .NET 还是 Aspose.Words for Java?

是Aspose.Words for Java

谢谢,我解决了,是没设置固定宽度
CTTblLayoutType type = infoTable.getCTTbl().getTblPr().addNewTblLayout();
type.setType(STTblLayoutType.FIXED);

The issues you have found earlier (filed as WORDSNET-23326) have been fixed in this Aspose.Words for Java 22.2 update.