Page 1 of 1

Create a Tab in a paragrah

PostPosted: Tue Jun 22, 2010 3:52 am
by MVega
How people can does it create a tab in a paragraph?

thanks you very much,
Manu

Re: Create a Tab in a paragrah

PostPosted: Thu Jun 24, 2010 6:52 pm
by jason
You are aiming for something like:

Code: Select all
  <w:p>
   <w:r><w:t>Before</w:t></w:r>
   <w:r><w:tab/><w:t>After</w:t></w:r>
  </w:p>


As per the Getting Started Guide, to see this, create a document in Word containing a tab, and look at its XML to see how it is represented.

You could create this using unmarshalString, or (for just the tab) ObjectFactory's
Code: Select all
public R.Tab createRTab()

Re: Create a Tab in a paragrah

PostPosted: Mon Apr 25, 2011 7:21 pm
by sandeeppatil
how to create tab in docx4j and apply to paragraph