|
@@ -13,12 +13,13 @@ import java.util.List;
|
|
|
import java.util.Map;
|
|
|
|
|
|
public class DocToPdf {
|
|
|
+ /*
|
|
|
public static void main(String[] args) throws Exception {
|
|
|
loadLicense();
|
|
|
//convertDoc2Pdf("/Users/wcf/Desktop/123.wps","/Users/wcf/Desktop");
|
|
|
GetDoccatalogue("d:\\test.docx",0);
|
|
|
}
|
|
|
-
|
|
|
+ */
|
|
|
public static List<CatalogueEntity> GetDoccatalogue(String filePath,Integer bookId) throws Exception {
|
|
|
List<CatalogueEntity> lst = new ArrayList<>();
|
|
|
Document doc = new Document(filePath);
|