Guillaume Ayoub
42f0ffb908
Remove extra empty line
2016-05-08 16:53:00 +02:00
Guillaume Ayoub
29303da413
Don't crash when transform matrix isn't invertible
2016-05-08 15:53:58 +02:00
Guillaume Ayoub
a5b8239773
Respect the empty-cells
property
2016-01-24 14:38:29 +01:00
Guillaume Ayoub
3f7c2fa109
Fix background drawing for table rows and columns
...
The background of table rows, rows groups, columns and columns groups
must only be draw behind cells.
Fix #151 .
2016-01-16 17:33:52 +01:00
Guillaume Ayoub
da96902bda
Fix many PEP8 errors and warnings
...
- Put line breaks after operators (that's OK)
- Don't assign lambdas, use functions (well, that's really explicit in
PEP8, it's really verbose but why not)
- Put imports at the beginning of the file (only special cases for us)
2016-01-15 12:48:25 +01:00
Alex Eftimie
93f497bf11
Replace utf8 with utf-8 for gettext compatibility
2015-11-25 09:38:01 +02:00
Guillaume Ayoub
187e6d16b3
Draw rounded corners on replaced boxes ( fix #207 )
2015-04-25 20:00:20 +02:00
Simon Sapin
43d1e73e65
Fix code formatting. (Clean flake8!)
2014-04-27 12:29:55 +01:00
Simon Sapin
c34221d215
2014.
2014-01-10 14:27:02 +00:00
Guillaume Ayoub
bc0e612666
Make 'collapse' act like 'hidden' for non-table row or column elements
2013-12-30 17:53:20 +01:00
Clément Plasse
449ef365d4
Fix background for tables
2013-12-18 18:07:38 +01:00
Guillaume Ayoub
3e49ce8abe
Don't crash when drawing borders on 0-size boxes ( fix #146 )
2013-12-18 15:30:59 +01:00
Guillaume Ayoub
48637736d8
Use a better algorithm for border-style: ridge/groove/inset/outset ( fix #78 )
2013-12-14 13:40:44 +01:00
Clément Plasse
469ca93b42
Fix table element order drawing following the spec
2013-12-13 12:42:14 +01:00
Simon Sapin
c346f8b061
border-radius: Fix overlapping curves with the used radii
2013-12-10 14:49:34 +00:00
Guillaume Ayoub
4070caf23a
Fix python 2.6 support
2013-12-10 13:32:51 +01:00
Guillaume Ayoub
882b6fce20
Be careful with the clip! Fix last bug for rounded borders.
2013-12-10 10:28:31 +01:00
Guillaume Ayoub
5eb9d41e1d
Fixed one bug again in borders, one bug left
2013-12-10 09:22:34 +01:00
Guillaume Ayoub
def2177d28
Remove duplicates again!
2013-12-09 21:42:33 +01:00
Guillaume Ayoub
f8c06c5179
Remove duplicate code again
2013-12-09 21:31:54 +01:00
Guillaume Ayoub
eb134d3ded
Deduplicate some code about borders
2013-12-09 19:51:59 +01:00
Guillaume Ayoub
e95aadcaa0
Small fix for borders
2013-12-09 19:25:36 +01:00
Guillaume Ayoub
09c9781de0
Use a way more simple way to draw dots in borders
2013-12-09 19:14:38 +01:00
Guillaume Ayoub
2e3203f79b
Fix sign
2013-12-09 12:52:26 +01:00
Guillaume Ayoub
40963f59c4
Draw real ellipse arcs instead of bezier curves
2013-12-07 15:53:52 +01:00
Clément Plasse
3307be5d2c
Fix offset
2013-12-06 19:00:20 +01:00
Clément Plasse
25a620e9fd
Better choice of the transition point
2013-12-06 16:04:53 +01:00
Clément Plasse
bdbacdd8e3
Fix double clip for borders
2013-12-06 13:06:40 +01:00
Guillaume Ayoub
6524ab3ac2
Add left and right borders
2013-12-06 11:12:03 +01:00
Guillaume Ayoub
766171c11f
Group code for top and bottom borders
2013-11-19 16:02:52 +01:00
Guillaume Ayoub
5d99fdd54d
Add support for bottom borders
2013-11-19 14:37:49 +01:00
Guillaume Ayoub
21320ab538
Handle cases when height>width for border radius
2013-09-17 20:17:11 +02:00
Guillaume Ayoub
6f5d6124a4
Double clip borders
2013-09-14 11:13:53 +02:00
Guillaume Ayoub
aef454122b
Small fix
2013-09-14 10:24:40 +02:00
Guillaume Ayoub
a49f456c21
Small fixes about borders
2013-09-14 10:21:25 +02:00
Guillaume Ayoub
a0bf5981ad
Fix stupid bug in border radius index for dot/dash step
2013-09-12 16:50:17 +02:00
Guillaume Ayoub
3e3accd619
Merge branch 'master' into border3
2013-08-14 12:50:32 +02:00
Guillaume Ayoub
5fc60f9041
Fix borders (only works for top now)
2013-07-22 16:11:59 +02:00
Sergey Pikhovkin
8b86643e0e
Copy table.column_positions
...
Copy list if the element is inserted on each page (eg. as https://gist.github.com/pikhovkin/5642563 ), else expanding table.column_positions
2013-06-18 17:47:39 +04:00
Sergey Pikhovkin
697c52dc00
Copy list
...
Copy list if the element is inserted on each page (eg. as https://gist.github.com/pikhovkin/5642563 ), else expanding table.column_positions
2013-06-14 16:32:15 +04:00
Guillaume Ayoub
856890e0b1
Fix dotted and dashed borders
2013-06-13 17:52:39 +02:00
Guillaume Ayoub
8463ba0c46
Cast round() to an int
2013-06-12 21:50:29 +02:00
Guillaume Ayoub
c16953cf3f
Fix dotted and dashed borders, fixes all tests
...
Rounded dotted and dashed borders are still broken
2013-06-10 23:47:10 +02:00
Guillaume Ayoub
34c6fe3de3
Handle ridge and groove
2013-06-07 19:46:35 +02:00
Guillaume Ayoub
7ce1648cf1
Handle inset and outset border styles
2013-06-07 19:29:37 +02:00
Guillaume Ayoub
a9b21387c1
Remove duplicate code
2013-06-07 19:03:59 +02:00
Guillaume Ayoub
1bb50557bf
Fix a couple of little things
2013-06-07 17:14:32 +02:00
Guillaume Ayoub
cb2460067b
Fix outlines and collapsed borders in tables
2013-06-07 16:52:31 +02:00
Guillaume Ayoub
ca91649f02
Draw rounded border segments
...
This breaks outlines and collapsed borders
2013-06-07 13:13:27 +02:00
Guillaume Ayoub
3256eebad1
Use better names for variables and methods about rounded boxes
2013-06-06 16:21:56 +02:00