Word tables borders

Discussion in 'XML' started by Peter Flynn, Jul 30, 2012.

  1. Peter Flynn

    Peter Flynn Guest

    I'm trying to understand the OOXML rules for table borders
    (I am transforming Word content with XSLT into HTML).

    I created a Word document with a small table, and clicked on the Borders
    icon and selected the "all cells" dropdown. Word correctly added all
    internal and external borders.

    But the resulting document.xml file does not contain any border
    specification, and the cells contain no border information either. Is
    there a default which is being applied here, or is the data in some
    other file? I can't find any information about this in the dev docs.

    (The document is an article being published so I can't post the whole of
    it here, as that would constitute prior publication. I can send it
    individually to anyone who can solve this.)

    ///Peter

    <tbl>
    <tblPr>
    <tblStyle val="TableGrid"/>
    <tblW w="0" type="auto"/>
    <tblLook val="04A0" firstRow="1" lastRow="0" firstColumn="1"
    lastColumn="0" noHBand="0" noVBand="1"/>
    </tblPr>
    <tblGrid>
    <gridCol w="1693"/>
    <gridCol w="2973"/>
    <gridCol w="4388"/>
    </tblGrid>
    <tr rsidR="00CB161C" rsidTr="00C4466A">
    <trPr>
    <trHeight val="526"/>
    </trPr>
    <tc>
    <tcPr>
    <tcW w="0" type="auto"/>
    </tcPr>
    <p rsidR="00CB161C" rsidRDefault="00CB161C" rsidP="00FF2A54">
    <pPr>
    <rPr>
    <lang val="de-DE"/>
    </rPr>
    </pPr>
    <bookmarkStart id="2" name="_GoBack"/>
    </p>
    </tc>
    <tc>
    <tcPr>
    <tcW w="0" type="auto"/>
    </tcPr>
    <p rsidR="00CB161C" rsidRPr="00FF2A54" rsidRDefault="00CB161C"
    rsidP="00FF2A54">
    <pPr>
    <jc val="center"/>
    <rPr>
    <b/>
    <lang val="de-DE"/>
    </rPr>
    </pPr>
    <r rsidRPr="00FF2A54">
    <rPr>
    <b/>
    <lang val="de-DE"/>
    </rPr>
    <t>Hypothese</t>
    </r>
    </p>
    </tc>
    <tc>
    <tcPr>
    <tcW w="0" type="auto"/>
    </tcPr>
    <p rsidR="00CB161C" rsidRPr="00FF2A54" rsidRDefault="00CB161C"
    rsidP="00FF2A54">
    <pPr>
    <jc val="center"/>
    <rPr>
    <b/>
    <lang val="de-DE"/>
    </rPr>
    </pPr>
    <r rsidRPr="00FF2A54">
    <rPr>
    <b/>
    <lang val="de-DE"/>
    </rPr>
    <t>Skala</t>
    </r>
    </p>
    </tc>
    </tr>
    [etc]
    Peter Flynn, Jul 30, 2012
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mark Rae

    <asp:Panels, borders and HTML tables

    Mark Rae, Oct 6, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    5,010
    Mark Rae
    Oct 6, 2004
  2. Michael Wilcox

    Tables with solid black borders?

    Michael Wilcox, Jul 7, 2003, in forum: HTML
    Replies:
    3
    Views:
    23,615
    Michael Wilcox
    Jul 7, 2003
  3. Hostile17

    Borders For Tables Hack

    Hostile17, Sep 2, 2003, in forum: HTML
    Replies:
    2
    Views:
    508
    Philipp Lenssen
    Sep 2, 2003
  4. George
    Replies:
    9
    Views:
    4,873
    George
    Oct 25, 2004
  5. Jon

    Tables and borders

    Jon, May 17, 2005, in forum: HTML
    Replies:
    6
    Views:
    500
    Safalra
    May 20, 2005
Loading...

Share This Page