I'm trying to use tabstops for a line. The line has two words. I want the first word to be left aligned and for the other word to be on the other side on the right. I found CTTabStop but I'm slightly confused how I can use it.
For instance, here is what I want in my document.
WordOne WordTwo
Here is what I'm trying to do
- Code: Select all
ObjectFactory factory;
factory = Context.getWmlObjectFactory();
WordprocessingMLPackage wordMLPackage = null;
CTTabStop ts = factory.createCTTabStop();
ts.setPos();
How can I set the position of the tabstop?
Thanks!