Free Support Forum -

Word to PDF conversion: with columns!

Hi folks,

We’re about to make a choice:

Aspose.Word + Aspose.PDF
TxTextControl Server
Aspose.Word + BCL easyPDF

We need to take a templatised Word document (.DOC will suffice) inserting data/text into Word fields. We need to programatically set images in the document. We need to then export this to PDF.

This all happens on a server, within a .NET .ASMX Web Service.

The problem is this: we need to support columns. Word columns. I can’t quite see how to make it work with tables. We need the flow layout that columns gives us.

The number templates will be added to by our client as time goes on, so this needs to be an extensible solution that requires no more programming after go-live.

When I use Aspose.Word and Aspose.PDF I find the resulting PDF loses all column formatting.

I need to make a decision very, very soon. We will be developing the solution from the beginning of November.

Any help would be greatly appreciated.

Thanks in advance,


code follows:

private void PdfTest()
Aspose.Word.Word word = new Aspose.Word.Word();
Aspose.Word.Document doc = word.Open(@“C:\IspumLorum.doc”);

//Save the document in Aspose.Pdf.Xml format.
doc.Save(@“C:\MyDocument.xml”, Aspose.Word.SaveFormat.FormatAsposePdf);

//Read the document in Aspose.Pdf.Xml format into Aspose.Pdf.
Aspose.Pdf.Pdf pdf = new Aspose.Pdf.Pdf();
pdf.BindXML(@“C:\IspumLorum.xml”, null);

//Instruct to delete temporary image files.
pdf.IsImagesInXmlDeleteNeeded = true;

//Produce the PDF file.

Aspose.Word support columns, but Aspose.Pdf does not support them yet. I’ll ask Aspose.Pdf team to reply here with more details.

Dear joel,

Thank you for considering Aspose.

Column is not supported yet in Aspose.Pdf. We want to add support for it in the next release, which hopes to be avail able at late Dec.