tDocumentSplitCriteria(DocumentSplitCriteria.PAGE_BREAK) HtmlSaveOptions saveOptions = new HtmlSaveOptions() ("Actual page count : "+doc.getPageCount()) Document doc = new Document(MyDir + "Bozarth_ch05_ed.doc") Is something wrong in the have modified your code example to get the desired output. tSaveFormat(SaveFormat.EPUB) ĭoc.save(dataDir + "Document.EpubConversion_out.epub", saveOptions) PdfSaveOptions saveOptions = new PdfSaveOptions() ĭoc.save(dataDir + "Test File.Pdf",saveOptions) NET 4.6.1 version of Aspose.Words for loading Pdf documents.Īt 34.zzLs(Unknown Source)Īt .zzY(Unknown Source)Īt .zzZ(Unknown Source)Īt .(Unknown Source)Īt (PdfSample.java:19)Ĭode I am using is as below, String dataDir = "/home/nirmalap/workspace-word/wordSample1/" įileInputStream fstream = new FileInputStream(dataDir + "") ĭocument doc = new Document(dataDir + "1621_ladder.pdf") But I have tried this getting below error, Exception in thread "main" : Pdf format is not supported on this platform.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |