[
https://issues.apache.org/jira/browse/ODFTOOLKIT-456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Svante Schubert resolved ODFTOOLKIT-456.
----------------------------------------
Resolution: Fixed
Assignee: Svante Schubert
Fix Version/s: 0.6.2-incubating
Thanks for the patch, Siddharth!
I have reviewed and tested your patch.
There was only one slight improvement. When a Microsoft created ODS is being
questioned there will be no settings.xml, so the returned active table would be
NULL.
I have added a fallback to return the first spreadsheet instead.
Pushed your patch to TRUNC!
> Missing support for getting active sheet in Spreadsheets
> --------------------------------------------------------
>
> Key: ODFTOOLKIT-456
> URL: https://issues.apache.org/jira/browse/ODFTOOLKIT-456
> Project: ODF Toolkit
> Issue Type: New Feature
> Components: simple api
> Reporter: Siddharth Prasad
> Assignee: Svante Schubert
> Fix For: 0.6.2-incubating
>
> Attachments: ActiveSpreadsheetTest.ods,
> simple-odf-getActiveSheet.patch, TestSpreadsheetTable_LO.ods,
> TestSpreadsheetTable_MSO.ods
>
>
> POI has the feature to be able to get the active sheet index of any
> spreadsheet file. But since POI doesn't work with .ods files, I have to use
> ODFToolkit. But this feature is missing.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)