瀏覽代碼

1.添加注释

GouGengquan 3 月之前
父節點
當前提交
70692d74d6
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      common/src/main/java/com/dayou/utils/AsposeWordUtil.java

+ 6 - 0
common/src/main/java/com/dayou/utils/AsposeWordUtil.java

@@ -622,6 +622,12 @@ public class AsposeWordUtil {
         return doc;
         return doc;
     }
     }
 
 
+    /**
+     * 找到word中表格下标
+     * @param doc 文档
+     * @param table 表格
+     * @return 下标
+     */
     public static int findTableIndex(Document doc, Table table) {
     public static int findTableIndex(Document doc, Table table) {
         int index = 0;
         int index = 0;
         for (Object t : doc.getChildNodes(NodeType.TABLE, true)) {
         for (Object t : doc.getChildNodes(NodeType.TABLE, true)) {