Group:  General ยป microsoft.public.office.xml
Thread: Table Border problem with WordML

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

Table Border problem with WordML
XjeaxaxX 08.06.2006 14:30:02
My program creates a Word document with tables. I define my table borders
for left, top, right, and bottom. However, when I look real close, I always
notice a very small gap on the bottom border where a column line would be (if
I told it to print those). This shows up on screen as well as hard copy.
Below is WordML for a sample table. (Note, I have a blank row to begin with
which may or may not contain an image in the last column, depending on
incoming data.) Does anyone else see this? And if so, does anyone know how
to fix it? Thanks!!!!!

<w:tbl>
<w:tblPr>
<w:tblW w:w="5000" w:type="pct"/>
<w:tblBorders>
<w:left w:val="single" w:sz="4"/>
<w:right w:val="single" w:sz="4"/>
<w:top w:val="single" w:sz="4"/>
<w:bottom w:val="single" w:sz="4"/>
</w:tblBorders>
</w:tblPr>
<w:tblGrid>
<w:gridCol w:w="799" w:type="pct"/>
<w:gridCol w:w="4200" w:type="pct"/>
<w:gridCol w:w="1" w:type="pct"/>
</w:tblGrid>
<w:tr>
<w:trPr>
<w:trHeight w:val="1" w:h-rule="exact"/>
</w:trPr>
<w:tc>
<w:p><w:r><w:t></w:t></w:r></w:p>
</w:tc>
<w:tc>
<w:p></w:p>
</w:tc>
<w:tc>
<w:tcPr>
<w:vmerge w:val="restart"/>
</w:tcPr>
<w:p></w:p>
</w:tc>
</w:tr>
<w:tr>
<w:tc>
<w:tcPr>
<w:tcW w:w="799" w:type="pct"/>
</w:tcPr>
<w:p>
<w:pPr>
<w:pStyle w:val="StyleBTitle3"/>
</w:pPr>
<w:r>
<w:t> 08100</w:t>
</w:r>
</w:p>
</w:tc>

<w:tc>
<w:tcPr>
<w:tcW w:w="4200" w:type="pct"/>
</w:tcPr>
<w:p>
<w:pPr>
<w:pStyle w:val="StyleBTitle3"/>
</w:pPr>
<w:r>
<w:t>Metal Doors</w:t>
</w:r>
</w:p>
</w:tc>
<w:tc>
<w:tcPr>
<w:vmerge w:val="continue"/>
</w:tcPr>
<w:p></w:p>
</w:tc>
</w:tr>
</w:tbl>

Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net