Pregunta

Is there a list to show what XHTML tags and CSS attributes are supported by docx4j XHTML importer?
Thanks.

¿Fue útil?

Solución

*Disclosure: I wrote the docx4j code in question *

There is no definitive list. However, there is support for at least:

  • p, div, li
  • table
  • h1 to h3
  • table
  • img
  • span
  • a
  • br

There is no support for font color right now, nor u (underline).

Support is a 2 phase affair:

If in doubt, just try it on the XHTML of interest to you.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top