Good evening,
we have a commercial license for Spire.Doc for .NET and we have experienced some issues.
We have a problem with tables for which we define multiple header rows. For example in the original .docx file (created by Word) we have a table with three rows we want to set as header:
1) We have a style for the table
2) We have some format choices (background color, text color) applied "manually" to second and third rows, because otherwise Word would apply the format, defined for the first Row in the style for the table, to the first row only.
The header of the table is converted fine to pdf unless we set the options that the first three rows must be repeated at the beginning of each page. In this case it seems like that Spire only applies the table Style and discards the "manual" format for the second and third rows.
Please find attached the source .docx file and the resulting .pdf file. The issue is shown in page 2, in the second and third tables (not counting the one which contains only the text ##INIZIO_VALUTAZIONI##).
You can find below the very simple code we use:
Spire.Doc.Document doc = new Spire.Doc.Document();
string fullpath = Path.Combine(HttpContext.Current.Server.MapPath(ConfigurationManager.AppSettings["PATHFILETEMPLATE"].ToString()), "default", "Template_DVR_Allegato6_step5.docx");
doc.LoadFromFile(fullpath);
doc.SaveToFile(fullpath.Replace(".docx", ".pdf"), Spire.Doc.FileFormat.PDF);
Basically to show you the problem, we just open an existing docx file and then save IT as PDF.
Thanks in advance for your support.
Matteo Bruzzese