[ 
https://issues.apache.org/jira/browse/ODFTOOLKIT-378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14356870#comment-14356870
 ] 

Ekkart Kleinod commented on ODFTOOLKIT-378:
-------------------------------------------

Same goes for ods files that are created solely with LibreOffice and contain 
formatting for all cells.

This is described in bug 215: 
https://issues.apache.org/jira/browse/ODFTOOLKIT-215

{quote}
Given a spreadsheet document which has for example the text alignment or 
similar formatting set for a whole column (in OpenOffice by selecting the 
column and then changing the formatting), [...] in this situation 
maOwnerTable.getRowCount() will return 1048576 (and for formatted rows 
maOwnerTable.getColumnCount() will return 1024).
{quote}

This is annoying, because e.g. getRowCount returns the used row count if cells 
are not formatted but the max row count if formatting is present regardless of 
usage.


> table.getColumnCount() wrong return value
> -----------------------------------------
>
>                 Key: ODFTOOLKIT-378
>                 URL: https://issues.apache.org/jira/browse/ODFTOOLKIT-378
>             Project: ODF Toolkit
>          Issue Type: Bug
>          Components: simple api
>    Affects Versions: 0.6-incubating
>         Environment: Windows 7 64bit, Microsoft Excel 2013 64bit
>            Reporter: Andreas Glueck
>            Priority: Minor
>
> After saving an existing odf-file in ms excel,
> the getColumnCount() method returns the wrong values.
> New colCount = 16384.
> Before i saved the file = 4 columns.
> Same problem with getRowCount():
> New rowCount =  1048576.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to