John,
You might have better luck with this question on the dev mailing list or
at the OOoForum.
Be certain to include your code so that it is possible to see how you
insert the text. It is possible that you must do something else to cause
it to resize another time. For example, perhaps it is the GUI that
triggers the resize eventually.
John Huss wrote:
I'm creating a TextFrame in a Writer doc via the Java API and setting the
Width to be automatic. The frame width is then sized appropriately
for the
first line, but not the rest; if subsequent lines are longer than the
first
line, then they are wrapped. This is not the behavior I see in the
GUI--it
works there, just not in the API. Is this a bug or am I doing something
wrong?
Thanks,
John
--
Andrew Pitonyak
My Macro Document: http://www.pitonyak.org/AndrewMacro.odt
My Book: http://www.hentzenwerke.com/catalog/oome.htm
Info: http://www.pitonyak.org/oo.php
See Also: http://documentation.openoffice.org/HOW_TO/index.html
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]