poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 56022] New: [PATCH] Include header and footer content in XSSFEventBasedExcelExtractor output
Date Thu, 16 Jan 2014 23:42:36 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=56022

            Bug ID: 56022
           Summary: [PATCH] Include header and footer content in
                    XSSFEventBasedExcelExtractor output
           Product: POI
           Version: 3.10-dev
          Hardware: Macintosh
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSSF
          Assignee: dev@poi.apache.org
          Reporter: shaun.kalley@shaw.ca

Created attachment 31217
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31217&action=edit
diff for this patch

With this patch I've aimed to output text from the XSSFEventBasedExcelExtractor
in the same order as XSSFExcelExtractor, namely:
- sheet name
- first header
- odd header
- even header
- cell text
- textbox text
- first footer
- odd footer
- even footer

The downside of this change is that the processing can't be done as elegantly
as before using a single StringBuffer.  Now the SheetTextExtractor has to
collect the cell text in its own StringBuffer and append it to the output to
accommodate the fact that the headers and footers are processed only after the
rows and cells.

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