poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 57989] New: [PATCH] Add a method to set the title of an XSSFChart
Date Tue, 02 Jun 2015 12:12:10 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=57989

            Bug ID: 57989
           Summary: [PATCH] Add a method to set the title of an XSSFChart
           Product: POI
           Version: 3.12-FINAL
          Hardware: PC
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: XSSF
          Assignee: dev@poi.apache.org
          Reporter: jimking629@gmail.com

Created attachment 32783
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=32783&action=edit
Patch file for changes to XSSFChart.java and addition of a new unit test.

XSSFChart has a getTitle method but no corresponding setTitle method. This
patch adds a setTitle method.

I have included a unit test, but I will caution that I have not tested this
patch with all possible cases of OOXML document structure. I have tested the
two use cases that were important to me:

- Create a new XLSX file containing a chart with a title and open that file in
Excel 2013.
- Create a new XLSX file containing a chart in Excel 2013, then use POI to
add/modify the chart title, then re-open the file in Excel 2013.

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