Hello,
Hi Yury,
Document pdfDocument = new Document(“c:/pdftest/Portal_Prep_Guide.pdf”);<o:p></o:p>
pdfDocument.save(“c:/pdftest/Portal_Prep_Guide_path_to_save.doc”,
com.aspose.pdf.SaveFormat.Doc);
Thank you for your response.
Hi Yury,
sudo apt-get install ttf-mscorefonts-installer
// Set font folder path
String path = “/usr/share/fonts/truetype/msttcorefonts/”;
// Adding a single font directory
// com.aspose.pdf.Document.addLocalFontPath(path);
// seting the user list for standard font directories
java.util.List list = com.aspose.pdf.Document.getLocalFontPaths();
list.add(path);
com.aspose.pdf.Document.setLocalFontPaths(list);
Thank you, it helped me.
Evaluation Only. Created with Aspose.Pdf. Copyright 2002-2015 Aspose Pty Ltd. |
Hi Yury,
- Fill Form Field in a PDF Document
- Get Value from an Individual Field of PDF Document
- Get Values from All Fields in a PDF Document
Hi,
Hi Yury,
Document doc = new Document(myDir+“Portal_Prep_Guide.pdf”);<o:p></o:p>
// Instantiate Doc SaveOptions instance
DocSaveOptions saveOptions = new DocSaveOptions();
// Set output file format as DOCX
saveOptions.setFormat(DocSaveOptions.DocFormat.Doc);
saveOptions.setMode(DocSaveOptions.RecognitionMode.Flow);
// Save resultant DOCX file
doc.save(myDir+"Portal_Prep_Guide_flow.doc", saveOptions);
Please feel free to contact us for any further assistance.
Best Regards,