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/01/16 08:22:51 UTC

[Bug 62004] New: get math formula using CTDrawing.getOneCellAnchorArray().xmlText() messy code

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

            Bug ID: 62004
           Summary: get math formula using
                    CTDrawing.getOneCellAnchorArray().xmlText() messy code
           Product: POI
           Version: 3.17-FINAL
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSSF
          Assignee: dev@poi.apache.org
          Reporter: 578372374@qq.com
  Target Milestone: ---

I insert a math formula with office excel 2016,then i use
org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.CTDrawing.getOneCellAnchorArray(i).xmlText()
to get it,then i got messy code.
My formula is 𝐴=𝜋𝑟^2,and what the xml i got is:??=????^2.
My jar: poi 3.17  xmlbeans 2.6.0
Besides that ,if i just open the xlsx file with poi ,then just save it without
any operation,it causes the math formula messy code too.

-- 
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 62004] get math formula using CTDrawing.getOneCellAnchorArray().xmlText() messy code

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

PJ Fanning <fa...@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |59022
                 OS|                            |All
         Resolution|---                         |DUPLICATE
             Status|NEW                         |RESOLVED

--- Comment #1 from PJ Fanning <fa...@yahoo.com> ---
Could you try https://github.com/pjfanning/xmlbeans instead of apache xmlbeans?

*** This bug has been marked as a duplicate of bug 59268 ***


Referenced Bugs:

https://bz.apache.org/bugzilla/show_bug.cgi?id=59022
[Bug 59022] No bytes in in mod_http2 acces log.
-- 
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 62004] get math formula using CTDrawing.getOneCellAnchorArray().xmlText() messy code

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

--- Comment #2 from 578372374@qq.com ---
Thanks for your reply,after using xbean.jar i solve the problem,Thanks again.By
the way,could you please replace xmlbeans-2.6.0.jar with xbean.jar in poi 3.17
so that others will not meet this bug.

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