-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Merged Cell in Tables #49
Comments
the table seems to be fine,, maybe there is something external, css styles or otherwise. |
I think the gem is not supporting the conversion of colspan of HTML to "w:vmerge" or "w:hmerge" of WordprocessingML. |
@frankvilhelmsen I edited the description and added a screenshot of what I'm getting in my pdf conversion. |
You should be look at Tables.xslt which contains all of the code for styling tables. There is no vmerge or hmerge as part of the xslt. The tables code basically supports border properties and nothing else. |
Hi @stats, that's also the file I referred that's why I saw that the gem aren't supporting vmerge or hmerge yet. |
@ccelestial I agree that this might be a good feature to have but since we don't use it we won't be investing time on it in the near future. BUT you're more than welcome to create a PR and we'll merge it. |
I have an html to be converted to word doc:
<table align="center" border="1" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td colspan="2">Lorem Ipsum with Colspan 2</td>
</tr>
<tr>
<td><strong>Lorem Ipsum</strong></td>
<td><strong>Lorem Ipsum</strong></td>
</tr>
</tbody>
</table>
It suppose to look like this:
But in my document it appears to be like this:
Does anyone have a solution for this?
The text was updated successfully, but these errors were encountered: