what need insert new line @ end of text.
i try run.append(**new break()**);
simulates pressing (shift+enter) keys, , if want justified text latest line autofits lot of spaces between word , word...
and problem have default font , size in "breaks"/"new lines". try "appen" paragraph propierties in run (wich contains break)... seems not allowed.
try using carriagereturn
instead.
run.append(new carrigereturn());
http://msdn.microsoft.com/en-us/library/documentformat.openxml.wordprocessing.carriagereturn.aspx
Comments
Post a Comment