The code:
String path = "C:\\Users\\z_jia\\DeskTop\\a\\DMS\\";
Document Doc = new Document(path + "796597488160104448.Docx");
Doc.getLayouToptions().setTextShaperFacTory(com.aspose.words.shaping.harfbuzz.HarfBuzzTextSha…...Document doc = new Document(path + "796597488160104448.docx"); doc...getInstance()); int pageCount = doc.getPageCount(); the result of...