Free Support Forum - aspose.com

HeadingFormat + pdf

Hi

My configuration:

Framework 3.5, Aspose word 7.0.0.0, winform

I am trying to set the heading row in a table

Aspose.Words.License license = new Aspose.Words.License();
license.SetLicense(".//Aspose.Words.lic");

Document doc = new Document(".//test.doc");
DocumentBuilder DocBuilder = new DocumentBuilder(doc);

DocBuilder.MoveToBookmark("s1");

DocBuilder.RowFormat.HeadingFormat = true;

DocBuilder.InsertCell();

DocBuilder.Write("N");
DocBuilder.InsertCell();

DocBuilder.Write("Test");
DocBuilder.EndRow();

DocBuilder.RowFormat.HeadingFormat = false;

for (int i = 0; i < 360; i++){
DocBuilder.InsertCell();
DocBuilder.Write(i.ToString());
DocBuilder.InsertCell();
DocBuilder.Write("this is a test");
DocBuilder.EndRow();
}

DocBuilder.EndTable();

------------------------------------------------------------------------------------

doc.Save(".//test2.doc");
=> OK

If i try:

doc.Save(".//test2.pdf");
=> Not OK HeadingFormat don't work

Thank you for help

Hi<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your request. The problem occurs because, currently, heading rows are not supported during rendering and converting to PDF. I linked your request to the appropriate issue. You will be notified as soon as the problem is resolved.

Best regards,

The issues you have found earlier (filed as 6839) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.
(10)