You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2015/11/09 23:17:04 UTC
[Bug 53355] When changing text content, formatting is lost.
https://bz.apache.org/bugzilla/show_bug.cgi?id=53355
Andreas Beeker <ki...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|NEW |RESOLVED
--- Comment #2 from Andreas Beeker <ki...@apache.org> ---
The text handling has been changed a lot and now the formatting/styles will be
kept for every paragraph and text run and in the end it's combined when the
file is saved - the older method was to change the formatting in-place which
might have lead to a formatting loss.
Please have a look into the documentation of
org.apache.poi.sl.usermodel.TextShape for the new handling, this describes when
the formatting is lost now, e.g. when calling setText()
If you have problems with the new handling, feel free to reopen this bug with a
Short, Self Contained, Correct (Compilable), Example (see http://sscce.org),
i.e. I'm not trying to figure out a problem based on some code ripped out of
report generation source.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org