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 2018/02/27 13:33:57 UTC

[Bug 62139] New: The XWPFStylesDocument.getFontSize() method doesn't deal with non-integer Font Sizes

https://bz.apache.org/bugzilla/show_bug.cgi?id=62139

            Bug ID: 62139
           Summary: The XWPFStylesDocument.getFontSize() method doesn't
                    deal with non-integer Font Sizes
           Product: POI
           Version: 3.15-FINAL
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XWPF
          Assignee: dev@poi.apache.org
          Reporter: adamladly@hotmail.co.uk
  Target Milestone: ---

When using XWPFStylesDocument.getFontSize() with a XWPFRun, the return is
always a whole number, even though the font size of the text isn't. In the case
I saw, the document contained text at size 10.5, but this method was returning
a size of 10.0

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


[Bug 62139] The XWPFStylesDocument.getFontSize() method doesn't deal with non-integer Font Sizes

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62139

--- Comment #1 from Mark Murphy <jm...@apache.org> ---
I don't see the class XWPFStylesDocument in POI. Maybe you are using a package
that enhances POI, but uses POI naming conventions. Can you tell us in which
package you are finding this class?

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


[Bug 62139] The XWPFStylesDocument.getFontSize() method doesn't deal with non-integer Font Sizes

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62139

Nick Burch <ap...@gagravarr.org> changed:

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

--- Comment #3 from Nick Burch <ap...@gagravarr.org> ---
You need to upgrade - you are using an old version of the XDocReports converter
that confusingly used our namespace.

If the problem still occurs after you've upgraded, you need to report that to
the correct project

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


[Bug 62139] The XWPFStylesDocument.getFontSize() method doesn't deal with non-integer Font Sizes

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62139

Adam <ad...@hotmail.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #2 from Adam <ad...@hotmail.co.uk> ---
Package is org.apache.poi.xwpf.converter.core.styles

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


[Bug 62139] The XWPFStylesDocument.getFontSize() method doesn't deal with non-integer Font Sizes

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62139

--- Comment #4 from Adam <ad...@hotmail.co.uk> ---
No, you're right. This does not appear to be a POI package. My mistake. I've
updated the ticket to resolved.

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


[Bug 62139] The XWPFStylesDocument.getFontSize() method doesn't deal with non-integer Font Sizes

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62139

Mark Murphy <jm...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

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


[Bug 62139] The XWPFStylesDocument.getFontSize() method doesn't deal with non-integer Font Sizes

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62139

Dominik Stadler <do...@gmx.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

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