Insert Column in a tab
Posted: Wed Jul 07, 2010 2:25 am
Hey,
Is there a way to insert a column into a table ?
Cheers,
Slucky31
Is there a way to insert a column into a table ?
Cheers,
Slucky31
forums
https://www.docx4java.org/forums/
https://www.docx4java.org/forums/docx-java-f6/insert-column-in-a-tab-t333.html
<w:tbl>
<w:tblPr>
<w:tblStyle w:val="TableGrid"/>
<w:tblW w:w="0" w:type="auto"/>
<w:tblLook w:val="04A0"/>
</w:tblPr>
<w:tblGrid>
<w:gridCol w:w="4621"/>
<w:gridCol w:w="4621"/>
</w:tblGrid>
<w:tr>
<w:tc>
<w:tcPr>
<w:tcW w:w="4621" w:type="dxa"/>
</w:tcPr>
<w:p>
<w:r>
<w:t>col1</w:t>
</w:r>
</w:p>
<w:p>
<w:r>
<w:br w:type="column"/>
</w:r>
<w:r>
<w:t>col2</w:t>
</w:r>
</w:p>
<w:p/>
<w:p>
<w:pPr>
<w:sectPr>
<!--
<w:pgSz w:w="11906" w:h="16838"/>
<w:pgMar w:top="1440" w:right="1440" w:bottom="1440" w:left="1440" w:header="708" w:footer="708" w:gutter="0"/> -->
<w:cols w:num="2" w:space="708"/>
<w:docGrid w:linePitch="360"/>
</w:sectPr>
</w:pPr>
</w:p>
</w:tc>
<w:tc>
<w:tcPr>
<w:tcW w:w="4621" w:type="dxa"/>
</w:tcPr>
<w:p/>
</w:tc>
</w:tr>
<w:tr>
<w:tc>
<w:tcPr>
<w:tcW w:w="4621" w:type="dxa"/>
</w:tcPr>
<w:p/>
</w:tc>
<w:tc>
<w:tcPr>
<w:tcW w:w="4621" w:type="dxa"/>
</w:tcPr>
<w:p/>
</w:tc>
</w:tr>
</w:tbl>