Implemented: real POI-based .xlsx export via a new screenxlsx view-handler type (OFBIZ-13567) - #1899
Merged
Merged
Conversation
…ndler type (OFBIZ-13567) Adds a new screenxlsx view-handler type that renders screens as genuine binary .xlsx workbooks through Apache POI, additive alongside the existing screenxls/screencsv types. - ScreenXlsxViewHandler drives the existing, unmodified ScreenRenderer/FormRenderer widget-tree walk through two new renderer implementations - XlsxFormRenderer writes typed POI cells for form/grid data: NUMERIC for currency/accounting-number fields, real Excel dates for date/date-time fields, STRING otherwise, always falling back to STRING on any unparseable value - XlsxScreenStringRenderer is a no-op renderer that lets the screen tree walk complete, since only form/grid content is in scope - New poi-ooxml Gradle dependency supplies the XSSF/SXSSF classes core POI lacks - New WebtoolsLayoutDemoXlsx demo view-map proves the mechanism end-to-end alongside its existing screenxls counterpart, producing a real, correctly-typed multi-sheet workbook - New CommonViewAsXlsx UI label for the matching entry points added on the plugins/example side - Includes unit test coverage for the renderer's row/column/cell-typing logic
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a new screenxlsx view-handler type that renders screens as genuine binary .xlsx workbooks through Apache POI, additive alongside the existing screenxls/screencsv types, whose behavior is unchanged.