Hello,
I need to add HTML content to my RadFlowDocument and then export it to PDF.
The problem is when the HTML text contains a table with borders. Then the borders are not visible in the exported PDF.
C# code - import HTML text:
01.InsertDocumentOptions options = new InsertDocumentOptions02.{03. ConflictingStylesResolutionMode = ConflictingStylesResolutionMode.UseTargetStyle,04. InsertLastParagraphMarker = false05.};06.var firstPageText = myPdfModel.FirstPageText.ToString();07.if (firstPageText != null)08.{09. editor.InsertDocument(htmlFormatProvider.Import(firstPageText), options);10.}I use Kendo Editor to obtain HTML code. The generated HTML is:
01.<table>02. <tbody>03. <tr style="height:50%;">04. <td style="width:50%;border-width:2px;border-style:solid;border-color:#cc3333;">a</td>05. <td style="width:50%;border-width:2px;border-style:solid;border-color:#cc3333;">b</td>06. </tr>07. <tr style="height:50%;">08. <td style="width:50%;border-width:2px;border-style:solid;border-color:#cc3333;">c</td>09. <td style="width:50%;border-width:2px;border-style:solid;border-color:#cc3333;">d</td>10. </tr>11. </tbody>12.</table>In Kendo Editor the table looks fine (see screenshot) but in PDF there are no borders.
Is it a bug or do I have to set some options somewhere?
If it is a bug, suggest me some workaround please.
Best Regards,
Daniel
