We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

HeadingFormat not working in 8.0

Just upgraded to 8.0 and the HeadingFormat property does not work anymore when saving to pdf or xps. The header is not repeated!

Test code:

private static void RenderDocument()

{

var builder = new DocumentBuilder();

builder.StartTable();

builder.RowFormat.HeadingFormat = true;

for (int i = 0; i < 30; i++)

{

for (int j = 0; j < 5; j++)

{

builder.InsertCell();

if(i == 0)

builder.Writeln("Header");

else

builder.Writeln("Test");

}

builder.EndRow();

if (i == 0)

{

builder.RowFormat.HeadingFormat = false;

}

}

builder.EndTable();

string file = "c:\\test.pdf";

builder.Document.Save(file, SaveFormat.Pdf);

System.Diagnostics.Process.Start(file);

}

Never mind, after som reading on the forum I see it’s not supported…

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

Thanks for your request. Yes you are right, 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.
(67)