I need to take a Word document that is a template of sorts...collect user input to populate specific fields in that template..then generate a PDF file that includes the completed template as well as a few other document types. Does anyone have a good suggestion on a component to achieve this? Preferably one that does not require Microsoft Office to be installed on the web server.
You can use Word, PowerPoint, and OneNote for the Web to convert your doc into a PDF. Select File > Print > Print (in PowerPoint you will select one of three formats). In the dropdown menu under Printer , select Save as PDF and then select Save.
Select Word Template from the list. If you're saving it locally to your computer, Word automatically changes the location to the Templates folder. Saving to the Templates folder will make it easy to find the template in the New Document menu, but you can select a different location if you would prefer. Click Save.
The latest versions (after MS Office 2007) allow you to save the document as a pdf, thus avoiding formatting errors. Go to Files->Save As and select ". pdf format" from Save As Type. Click to save.
Add PDF merge templates to the FileHold library. Create a public saved search for the PDF converter templates. Configure the PDF converter settings in Library configuration > Settings > Workflow. Create workflow templates and configure options to convert to PDF.
Try Aspose Words for .net. From their website: "Aspose.Words enables .NET and Java applications to read, modify and write Word® documents without utilizing Microsoft Word." Utilizing Aspose Words with Aspose PDF permits you to output to PDF.
One thing you do NOT want to do is install MS Word on your production server. Loading those objects is SLOW and EATS memory. You won't be able to use the CutePDF Writer unless you also install MS Word on the server. Yeck.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With