Page 1 of 1

Text tabs

PostPosted: Sat Dec 15, 2012 11:18 pm
by Babak
Hello,

how i create tabs with docx4j like this:
Image

Thanks.

Re: Text tabs

PostPosted: Sun Dec 16, 2012 6:23 am
by jason
Those look like "columns". Columns are defined in sectPr

Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
                SectPr sectPr; // assume you fetch existing, or create
                CTColumns cols = Context.getWmlObjectFactory().createCTColumns();
                : // set its properties
                sectPr.setCols(cols);
 
Parsed in 0.015 seconds, using GeSHi 1.0.8.4

Re: Text tabs

PostPosted: Sun Dec 16, 2012 10:06 pm
by Babak
Yes, thank you