MohamedSaeed / xdocreport

Automatically exported from code.google.com/p/xdocreport
1 stars 0 forks source link

Table with repeating heading not only repeats the heading but the first data row as well #432

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
> What steps will reproduce the problem?

If the ODT document contains a table with "repeat heading" turned on, and "The 
first 1 rows" then not only the heading row is repeated but the first data row 
as well.

In OpenOffice Writer I haven't seen an option the set the repeating row count 
to zero.
Instead, if I set the repeating to "The first 2 rows" then I can repeat the 
first data row.

So I think the ODT->PDF converter should repeat only the heading if repeating 
is set to "The first 1 rows".

> What is the expected output? What do you see instead?

I attached the source ODT and the resulting PDF.
They should match.

> What version of the product are you using? On what operating system?

xdocreport 1.0.4

> Please provide any additional information below.

I attached a unit test which reproduces the problem.
Run: mvn test
The location of the PDF is printed to the console.

Original issue reported on code.google.com by sandor.n...@erinors.com on 13 Aug 2014 at 9:52

Attachments:

GoogleCodeExporter commented 9 years ago
Hi Leszek,

Could you see this issue when you will have time.

Thank's

Original comment by angelo.z...@gmail.com on 18 Aug 2014 at 6:41

GoogleCodeExporter commented 9 years ago

Original comment by angelo.z...@gmail.com on 18 Aug 2014 at 6:43