Page 1 of 1

How to apply new line

PostPosted: Tue Apr 16, 2013 1:21 pm
by lazywednesday
By the tutorials that I have seen. I learned how to add text on generating a docx file. but then Every time I add a line of text. I noticed that there is always a space between the first line of text and the second line of text. just like hitting the enter key twice. I know that the main cause is that everytime I add a line of text, I use a paragraph. and a paragraph starts with a space after another paragraph. Does anyone know here how to apply just a new line so I can position text's easier? and btw to the creators of docx, its quite hard for me to understand some of the main functions of the project but it has been very helpful. and I hope some of my questions be answered too. thanks and more power.

Re: How to apply new line

PostPosted: Tue Apr 16, 2013 10:44 pm
by jason
I see you also asked this on StackOverflow, where it was answered, which is great. But please only post a question here or there, not both.

Re: How to apply new line

PostPosted: Wed Apr 17, 2013 4:28 pm
by lazywednesday
Im sorry bout that. I was hoping to get answers from the makers of the project themselves. And I was on a rush to learn docx4j. so I maximize the possibilites to get information as soon as possible. thank you for the answers.