[
https://issues.apache.org/jira/browse/ODFTOOLKIT-303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Florian Hopf updated ODFTOOLKIT-303:
------------------------------------
Affects Version/s: (was: odfdom-0.8.7)
0.5-incubating
> OdfTable.getCellRangeByName throws exception when the name points to a single
> cell
> ----------------------------------------------------------------------------------
>
> Key: ODFTOOLKIT-303
> URL: https://issues.apache.org/jira/browse/ODFTOOLKIT-303
> Project: ODF Toolkit
> Issue Type: Bug
> Components: odfdom
> Affects Versions: 0.5-incubating
> Environment: Ubuntu
> Reporter: Johnny Haugen Sørgård
> Assignee: Devin Han
>
> The original code has the return statement like this:
> return getCellRangeByPosition(addresses[0], addresses[1]);
> This code will return a cellrange consisting of one cell when applicable:
> if (addresses.length == 1) {
> return getCellRangeByPosition(addresses[0], addresses[0]);
> } else {
> return getCellRangeByPosition(addresses[0], addresses[1]);
> }
> Cell naming in e.g. LibreOffice usually points to a single cell.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira