incubator-odf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexandr Klimov (JIRA)" <>
Subject [jira] [Updated] (ODFTOOLKIT-363) Table#appendRow() method creates a row without any cell
Date Tue, 16 Apr 2013 21:35:18 GMT


Alexandr Klimov updated ODFTOOLKIT-363:


In attach is an archive with simple maven test project.

I think some trouble is in org.odftoolkit.simple.table.Table#createDefaultRow method.

That method is called in following form, from the Table#appendRow method:

createDefaultRow(columnCount, true)
It's called so when table has not got child TableTableRowElement objects.

In this case the programm falls into following section of the Table#createDefaultRow method:

    if (createRepeatedCell){...} 

In that section cells are created but not added as children to a new row.

May be I have got misunderstanding about true algorithm of row insertion?
> Table#appendRow() method creates a row without any cell
> -------------------------------------------------------
>                 Key: ODFTOOLKIT-363
>                 URL:
>             Project: ODF Toolkit
>          Issue Type: Bug
>          Components: simple api
>    Affects Versions: 0.7-incubating
>            Reporter: Alexandr Klimov
>              Labels: Table, appendRow
>         Attachments:
> When I create a table contains a header row only and call appendRow method on this table,
then I obtain a row without any 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:

View raw message