On 06/29/2016 03:42 PM, Thomas Dumm wrote:

Is it somehow possible to make w2x write <col> tags containing the width
information. Currently the column width information is on the <colgroup>
tag.

There is no parameter which may be used to specify this. This means that you need to write a (short, simple) custom XED script to do that (or not as simple nor elegant: an XSLT customization).

Note that we have chosen to generate <colgroup span="NNN"/> sequences rather <col/> sequences because (X)HTML5 requires this and this is also compatible with the other versions of XHTML.





Background: Princexml the PDF rederer we use expects the width
information on the <col> tag.


I would suggest to ask PrinceXML to fix this.

Something like this (styled XHTML 1.0 transitional)

---
    <table class="t-TableGrid">
      <colgroup span="1" style="width: 113.15pt;"></colgroup>

      <colgroup span="1" style="width: 170.1pt;"></colgroup>

      <colgroup span="1" style="width: 169.75pt;"></colgroup>

      <tbody>
        <tr>
        ...
 ---

is 100% correct.

Simply open the generated XHTML in any web browser to check this by yourself.



--
XMLmind Word To XML Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/w2x-support

Reply via email to