You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to import html-based table, that includes background color style attribute, to word. I am using the latest version docx4j-ImportXHTML - 11.4.8. When the table is rendered in word background color is not coming. I tried adding it to style attribute in <tr> and <td> . Only with <td> i was able to generate background color in word, even <tr> is not working.
The following xml is from a XHTMLImport converted document that was slightly simplified to improve readability. The highlight and shades are all in bold. As we can see shade property only got added to the <tc> and not to <table> and <tr> which is somehow unexpected.
I am trying to import html-based table, that includes background color style attribute, to word. I am using the latest version docx4j-ImportXHTML - 11.4.8. When the table is rendered in word background color is not coming. I tried adding it to style attribute in
<tr>
and<td>
. Only with<td>
i was able to generate background color in word, even<tr>
is not working.Output
The following xml is from a XHTMLImport converted document that was slightly simplified to improve readability. The highlight and shades are all in bold. As we can see shade property only got added to the
<tc>
and not to<table>
and<tr>
which is somehow unexpected.Can anyone point me out whether i am doing something wrong or is it the limitation of library?
The text was updated successfully, but these errors were encountered: