poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 60915] New: XLS to HTML Charts to coming
Date Fri, 24 Mar 2017 11:22:14 GMT

            Bug ID: 60915
           Summary: XLS to HTML Charts to coming
           Product: POI
           Version: 3.15-FINAL
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: HSLF
          Assignee: dev@poi.apache.org
          Reporter: pooja.dhannawat535@gmail.com
  Target Milestone: ---

I am using ExcelToHtmlConverter provided by POI to xls to pdf conversion.
Somehow in the output I am not getting charts. 

I thought of adding one more method in ExcelToHtmlConverter named as
processChart by extending the class. Sample method -

 //TODO convert chart to images and add to output
    private void processChart(HSSFSheet sheet) {
        for(HSSFChart chart : HSSFChart.getSheetCharts(sheet)){
            Element table = this.htmlDocumentFacade.createTable();
this.cssClassPrefixTable, "border-collapse:collapse;border-spacing:0;");
            Element tableBody = this.htmlDocumentFacade.createTableBody();

Somehow I am not able to convert this HSSFChart to image. Please suggest me a
way to convert to chart to image or to add them in final output.

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

View raw message