jakogut / python-relatorio

Automatically exported from code.google.com/p/python-relatorio
GNU General Public License v3.0
3 stars 1 forks source link

Not possible to create loops on cells with rowspanned neighbours #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
sraps:
I have tried to recreate scenario like this:
http://support.sas.com/documentation/cdl/en/wbov/61188/HTML/default/images/vderc
total.gif

Place a loop on cells which have rowspanned neighbour on the left or right to 
them. I am pretty sure this would be the same with colspan.

I attach ODT template which shows basic situation. 

ced:
Please provide a python script like in 
http://relatorio.openhex.org/browser/examples/demo_odf.py
The best is a patch that extends the examples demo_odf.py 

sraps:
 Referring to IRC conversation, ced has understood the problem, as it is obvious. Unfortunately I am not able to provide other information on this.

Still demanding a test case is just a useless frustration.

Best regards... 

ced:
A test case will ensure that there will be no regression about this feature in 
the future and it will simplified the work of developers that fix the issue.

Original issue reported on code.google.com by cedric.krier@b2ck.com on 8 Jul 2013 at 4:48

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by cedric.krier@b2ck.com on 8 Jul 2013 at 9:38

GoogleCodeExporter commented 9 years ago
Here is a patch that implement attrs directive that can be used update the 
spanning attribute of cells.

http://codereview.appspot.com/134430043

Original comment by cedric.krier@b2ck.com on 4 Sep 2014 at 1:33

GoogleCodeExporter commented 9 years ago

Original comment by cedric.krier@b2ck.com on 4 Sep 2014 at 1:36

Attachments:

GoogleCodeExporter commented 9 years ago
Indeed the patch doesn't directly fix the issue but it allows to create a 
template which could generate the expected result.
For that, you must not have rowspaned in the template, but apply on the first 
one the right rowspaned and remove the other one.

Original comment by cedric.krier@b2ck.com on 4 Sep 2014 at 3:16

GoogleCodeExporter commented 9 years ago
in rb8555e3bf58f

Original comment by cedric.krier@b2ck.com on 19 Feb 2015 at 9:30