hozawa Posted April 12, 2019 Share Posted April 12, 2019 I've created a branch at github to begin supporting overlapping shapes.https://github.com/ozawa-hi/jasperreports/tree/overlapping-shapesCurrently, shapes in xls and xlsx are cells and do not overlap.I've converted them to shapes instead so overlapping shapes can be displayed.However, overlapping shapes are not supported in docx and odt yet.I, also, haven't supported line as shapes in ods yet so I haven't made a pull request yet because it may degrade for some users. Cheers. Link to comment Share on other sites More sharing options...
hozawa Posted April 14, 2019 Author Share Posted April 14, 2019 Created a WIP pull request. Added support on ods and odt. Still need to support on docx. I'm currently only tested generated output using LibreOffice. Would appreciate if someone can check against MS Excel.https://github.com/TIBCOSoftware/jasperreports/pull/56 Link to comment Share on other sites More sharing options...
hozawa Posted April 15, 2019 Author Share Posted April 15, 2019 Current status.xls, xlsx, and pptx both can be read into Google Spreadsheet without problem.Docx is beginning to look OK on LibreOffice Writer (still missing overlapped elements) but not on Google Doc. Link to comment Share on other sites More sharing options...
hozawa Posted April 15, 2019 Author Share Posted April 15, 2019 Tested on MS Office 2007 and were able to open and view xls, xlsx, and pptx generated files without problem. Need to work on docx format.Probaby better to have property to output in original format for uses who do not want to output shapes. Added property "net.sf.jasperreports.export.xls.compatibility" in xls export to switch between current cell output and shape output. Will add similar property to other export types. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now