Saving Word documents in PDF format has not been fully implemented yet. SaveFormat.FormatAsposePdf enumeration was added in one of the beta releases and made its way to the final release too early.
Sorry for the inconvenience.
Aspose.Word will support saving documents in PDF format in the future.
Hi!
SaveFormat.FormatAsposePdf saves document in xml format. Like it says in documentation ("
Saves document in Aspose.Pdf.Xml format that can be read by Aspose.Pdf to produce Pdf file.
"). I manage to save it and it works just fine. But now need a help with opening that XML file with Aspose.Pdf. What method should I use. I seames that BindXml is not for that kind of files.
Is there a way to open those files in Aspose.Pdf.
And when should we expect this feature? We DO need it soon:)
Or may be you have any advice for us:
We have source templates in .doc format and we need to do some changes in a file (replacing marks and inserting some new paragraphs) and we need to send to the end used output in PDF. How can we manage that with your components?
We are working hard on exactly this feature. You can help by emailing some of your templates to word@aspose.com. This way we will ensure that any features you use in your documents are supported. Check back in a month or so, but there is no fixed delivery date yet.
The plans on Word->Pdf conversion changed around a few times because of research and experiments and high demand for other features.
Only one thing is clear: Aspose.Word will be able to produce Pdf files soon.
The latest plan is Aspose.Word will produce files in Aspose.Pdf.Xml format and you will be able to feed this file into Aspose.Pdf to get Pdf output. New estimated delivery date is end of June. Most of the document features will be supported, but not all (we don’t know exactly which ones yet).
I then try to get PDF output through Aspose.PDF using…
Pdf app = new Pdf();
app.BindXML("OutputDoc.xml", null);
app.Save("OutputDoc.pdf");
The code loses focus on app.save.
The same code works fine using a very simple XML document for input, so I think it is having issues with some of the formatting commands ind the XML doc output by Aspose.Word.
Am I missing code I need to interpret the XML document correctly?