摘要: ```java //去除目录文字蓝色样式以及文字下方蓝色下划线 for(FieldStart field: (Iterable)doc.getChildNodes(NodeType.FIELD_START, true)){ if (field.getFieldType() == FieldType.FIELD_HYPERLINK) { FieldHyperlink ... 阅读全文
posted @ 2019-01-31 09:17 名字不知道起什么好呢 阅读(1251) 评论(0) 推荐(0) 编辑
摘要: ```java public void completeTableBorder(Document doc){ for(Table table:(Iterable)doc.getChildNodes(NodeType.TABLE, true)){ //设置表格居中 table.setAlignment(TableAlignment.CENTER); /... 阅读全文
posted @ 2019-01-31 09:10 名字不知道起什么好呢 阅读(1461) 评论(0) 推荐(0) 编辑
摘要: 添加页码 生成目录 生成目录参考:https://blog.csdn.net/SThranduil/article/details/53436789 阅读全文
posted @ 2019-01-31 09:04 名字不知道起什么好呢 阅读(2030) 评论(0) 推荐(0) 编辑
摘要: 原文地址:https://forum.aspose.com/t/autofit tables to page width for pdf/62893/2 阅读全文
posted @ 2019-01-31 08:41 名字不知道起什么好呢 阅读(2135) 评论(0) 推荐(0) 编辑