I have a word document that has lines like the following A name (aligned left) and a price (aligned all the way to the right) both on the same line. I believe this is done by a tab-stop in a word document. Here is an example, see the first line. enter image description here.
Is it possible for me to print out into a word document, a line like the first one? I checked around the documentation for apache POI but didn't see anything that allowed you to set a tab stop. However, I wasn't sure if there is another way to get the first line to look like that.
One other way I tried, was to have a table with 1 row and 2 columns. Column 1 was left aligned and column 2 was right aligned. However, I couldn't figure out how to get the table to stretch the length of the page and not resize to the contents. I also couldn't figure out how to make the borders invisible in the api.