poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 58472] parameter type change in TextRun.setFontSize()
Date Sat, 03 Oct 2015 23:33:16 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=58472

Andreas Beeker <kiwiwings@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #2 from Andreas Beeker <kiwiwings@apache.org> ---
Lets start with the javadocs for this function:
"font size in points, if null the underlying fontsize will be unset"

> This prevents promotion from int ...
... but fontsizes can be also specified as real numbers

> Why not retain the unboxed primitives?
setting the value to null will force the usage of the slidelayout value.
Even worse is using something as -1 as indicator for unset values.

Currently I haven't applied this logic to all methods.
Whenever something is promoted to common sl, I'll adapt the handling in X/HSLF 
accordingly.

-- 
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


Mime
View raw message