Quantcast
Channel: Word for Developers forum
Viewing all articles
Browse latest Browse all 4350

Where is the table border width (wx:bdrwidth) stored in the OpenXML format?

$
0
0


Greetings!

So I created a table with a bottom border of thickness "3" and saved it in the Word 2003 XML (e.g. wordML) format, and this is the relevant part of the WordML (notice specifically this part wx:bdrwidth="60") :

<w:tblBorders>

<w:top w:val="single" w:sz="24" wx:bdrwidth="60" w:space="0" w:color="000000"/>

<w:bottom w:val="single" w:sz="24" wx:bdrwidth="60" w:space="0" w:color="000000"/>

</w:tblBorders>




Now when I do the same exact thing in Word 2010 and save it in OpenXML, the relevant part of the OpenXML looks like:

<w:tblBorders><w:top w:val="single" w:sz="24" w:space="0" w:color="000000"/><w:bottom w:val="single" w:sz="24" w:space="0" w:color="000000"/></w:tblBorders>




So as you can see above, there is no  wx:bdrwidth="60".
So where is the border width stored?!

So I inspected the entire open XML output and couldn't find where it stores the border width information.  Am I missing something?  Can someone please point me in the direction of where this information is stored, I need to do an XSLT to HTML and I need to know the border widths to render appropriately but can't find them.

Thank you in advance,

I am posting this in the word dev forum because this appears to be a change in functionality from Word 2003 and I wanted to confirm if that was indeed the case.

Khalid K.


Khalid K.


Viewing all articles
Browse latest Browse all 4350

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>