diff options
author | Carlos Goce <carlosgoce@gmail.com> | 2015-01-23 21:29:21 +0100 |
---|---|---|
committer | Carlos Goce <carlosgoce@gmail.com> | 2015-01-23 21:29:21 +0100 |
commit | 9907cf572bb79e0c2a02c979ca3dc2aaeeb9b241 (patch) | |
tree | caacb11ca7844d13fb7e781b9ca5f0b0db1c41da | |
parent | 6ab00a2f4434d462a54e8169103e898646930e65 (diff) | |
download | pdf-calendars-9907cf572bb79e0c2a02c979ca3dc2aaeeb9b241.tar.gz pdf-calendars-9907cf572bb79e0c2a02c979ca3dc2aaeeb9b241.tar.bz2 pdf-calendars-9907cf572bb79e0c2a02c979ca3dc2aaeeb9b241.zip |
Remove all borders from table
-rw-r--r-- | lib/carlosgoce/layout/layouts.rb | 3 | ||||
-rw-r--r-- | spec/output/simple.pdf | 296 |
2 files changed, 6 insertions, 293 deletions
diff --git a/lib/carlosgoce/layout/layouts.rb b/lib/carlosgoce/layout/layouts.rb index f9594ca..2382573 100644 --- a/lib/carlosgoce/layout/layouts.rb +++ b/lib/carlosgoce/layout/layouts.rb @@ -21,7 +21,8 @@ module CarlosGoce table( tables.each_slice(3).to_a, - :cell_style => {:align => :center, :padding => [5, 5, 5, 5]} + cell_style: {align: :center, padding: [5, 5, 5, 5], + border_width: 0} ) end end diff --git a/spec/output/simple.pdf b/spec/output/simple.pdf index febcdf1..ec14a63 100644 --- a/spec/output/simple.pdf +++ b/spec/output/simple.pdf @@ -17,37 +17,13 @@ endobj >> endobj 4 0 obj -<< /Length 36355 +<< /Length 32915 >> stream q 1 w /DeviceRGB CS 0.000 0.000 0.000 SCN -36.000 756.000 m -186.049 756.000 l -S -[ ] 0 d -1 w -0.000 0.000 0.000 SCN -36.000 637.448 m -186.049 637.448 l -S -[ ] 0 d -1 w -0.000 0.000 0.000 SCN -36.000 756.500 m -36.000 636.948 l -S -[ ] 0 d -1 w -0.000 0.000 0.000 SCN -186.049 756.500 m -186.049 636.948 l -S -[ ] 0 d -1 w -0.000 0.000 0.000 SCN 1 w 0.000 0.000 0.000 SCN @@ -338,30 +314,6 @@ ET 1 w 0.000 0.000 0.000 SCN -186.049 756.000 m -343.875 756.000 l -S -[ ] 0 d -1 w -0.000 0.000 0.000 SCN -186.049 637.448 m -343.875 637.448 l -S -[ ] 0 d -1 w -0.000 0.000 0.000 SCN -186.049 756.500 m -186.049 636.948 l -S -[ ] 0 d -1 w -0.000 0.000 0.000 SCN -343.875 756.500 m -343.875 636.948 l -S -[ ] 0 d -1 w -0.000 0.000 0.000 SCN 1 w 0.000 0.000 0.000 SCN @@ -625,30 +577,6 @@ ET 1 w 0.000 0.000 0.000 SCN -343.875 756.000 m -503.647 756.000 l -S -[ ] 0 d -1 w -0.000 0.000 0.000 SCN -343.875 637.448 m -503.647 637.448 l -S -[ ] 0 d -1 w -0.000 0.000 0.000 SCN -343.875 756.500 m -343.875 636.948 l -S -[ ] 0 d -1 w -0.000 0.000 0.000 SCN -503.647 756.500 m -503.647 636.948 l -S -[ ] 0 d -1 w -0.000 0.000 0.000 SCN 1 w 0.000 0.000 0.000 SCN @@ -939,30 +867,6 @@ ET 1 w 0.000 0.000 0.000 SCN -36.000 637.448 m -186.049 637.448 l -S -[ ] 0 d -1 w -0.000 0.000 0.000 SCN -36.000 518.896 m -186.049 518.896 l -S -[ ] 0 d -1 w -0.000 0.000 0.000 SCN -36.000 637.948 m -36.000 518.396 l -S -[ ] 0 d -1 w -0.000 0.000 0.000 SCN -186.049 637.948 m -186.049 518.396 l -S -[ ] 0 d -1 w -0.000 0.000 0.000 SCN 1 w 0.000 0.000 0.000 SCN @@ -1244,30 +1148,6 @@ ET 1 w 0.000 0.000 0.000 SCN -186.049 637.448 m -343.875 637.448 l -S -[ ] 0 d -1 w -0.000 0.000 0.000 SCN -186.049 518.896 m -343.875 518.896 l -S -[ ] 0 d -1 w -0.000 0.000 0.000 SCN -186.049 637.948 m -186.049 518.396 l -S -[ ] 0 d -1 w -0.000 0.000 0.000 SCN -343.875 637.948 m -343.875 518.396 l -S -[ ] 0 d -1 w -0.000 0.000 0.000 SCN 1 w 0.000 0.000 0.000 SCN @@ -1558,30 +1438,6 @@ ET 1 w 0.000 0.000 0.000 SCN -343.875 637.448 m -503.647 637.448 l -S -[ ] 0 d -1 w -0.000 0.000 0.000 SCN -343.875 518.896 m -503.647 518.896 l -S -[ ] 0 d -1 w -0.000 0.000 0.000 SCN -343.875 637.948 m -343.875 518.396 l -S -[ ] 0 d -1 w -0.000 0.000 0.000 SCN -503.647 637.948 m -503.647 518.396 l -S -[ ] 0 d -1 w -0.000 0.000 0.000 SCN 1 w 0.000 0.000 0.000 SCN @@ -1863,30 +1719,6 @@ ET 1 w 0.000 0.000 0.000 SCN -36.000 518.896 m -186.049 518.896 l -S -[ ] 0 d -1 w -0.000 0.000 0.000 SCN -36.000 400.344 m -186.049 400.344 l -S -[ ] 0 d -1 w -0.000 0.000 0.000 SCN -36.000 519.396 m -36.000 399.844 l -S -[ ] 0 d -1 w -0.000 0.000 0.000 SCN -186.049 519.396 m -186.049 399.844 l -S -[ ] 0 d -1 w -0.000 0.000 0.000 SCN 1 w 0.000 0.000 0.000 SCN @@ -2177,30 +2009,6 @@ ET 1 w 0.000 0.000 0.000 SCN -186.049 518.896 m -343.875 518.896 l -S -[ ] 0 d -1 w -0.000 0.000 0.000 SCN -186.049 400.344 m -343.875 400.344 l -S -[ ] 0 d -1 w -0.000 0.000 0.000 SCN -186.049 519.396 m -186.049 399.844 l -S -[ ] 0 d -1 w -0.000 0.000 0.000 SCN -343.875 519.396 m -343.875 399.844 l -S -[ ] 0 d -1 w -0.000 0.000 0.000 SCN 1 w 0.000 0.000 0.000 SCN @@ -2491,30 +2299,6 @@ ET 1 w 0.000 0.000 0.000 SCN -343.875 518.896 m -503.647 518.896 l -S -[ ] 0 d -1 w -0.000 0.000 0.000 SCN -343.875 400.344 m -503.647 400.344 l -S -[ ] 0 d -1 w -0.000 0.000 0.000 SCN -343.875 519.396 m -343.875 399.844 l -S -[ ] 0 d -1 w -0.000 0.000 0.000 SCN -503.647 519.396 m -503.647 399.844 l -S -[ ] 0 d -1 w -0.000 0.000 0.000 SCN 1 w 0.000 0.000 0.000 SCN @@ -2796,30 +2580,6 @@ ET 1 w 0.000 0.000 0.000 SCN -36.000 400.344 m -186.049 400.344 l -S -[ ] 0 d -1 w -0.000 0.000 0.000 SCN -36.000 281.792 m -186.049 281.792 l -S -[ ] 0 d -1 w -0.000 0.000 0.000 SCN -36.000 400.844 m -36.000 281.292 l -S -[ ] 0 d -1 w -0.000 0.000 0.000 SCN -186.049 400.844 m -186.049 281.292 l -S -[ ] 0 d -1 w -0.000 0.000 0.000 SCN 1 w 0.000 0.000 0.000 SCN @@ -3110,30 +2870,6 @@ ET 1 w 0.000 0.000 0.000 SCN -186.049 400.344 m -343.875 400.344 l -S -[ ] 0 d -1 w -0.000 0.000 0.000 SCN -186.049 281.792 m -343.875 281.792 l -S -[ ] 0 d -1 w -0.000 0.000 0.000 SCN -186.049 400.844 m -186.049 281.292 l -S -[ ] 0 d -1 w -0.000 0.000 0.000 SCN -343.875 400.844 m -343.875 281.292 l -S -[ ] 0 d -1 w -0.000 0.000 0.000 SCN 1 w 0.000 0.000 0.000 SCN @@ -3415,30 +3151,6 @@ ET 1 w 0.000 0.000 0.000 SCN -343.875 400.344 m -503.647 400.344 l -S -[ ] 0 d -1 w -0.000 0.000 0.000 SCN -343.875 281.792 m -503.647 281.792 l -S -[ ] 0 d -1 w -0.000 0.000 0.000 SCN -343.875 400.844 m -343.875 281.292 l -S -[ ] 0 d -1 w -0.000 0.000 0.000 SCN -503.647 400.844 m -503.647 281.292 l -S -[ ] 0 d -1 w -0.000 0.000 0.000 SCN 1 w 0.000 0.000 0.000 SCN @@ -3756,13 +3468,13 @@ xref 0000000109 00000 n 0000000158 00000 n 0000000215 00000 n -0000036623 00000 n -0000036801 00000 n +0000033183 00000 n +0000033361 00000 n trailer << /Size 7 /Root 2 0 R /Info 1 0 R >> startxref -36898 +33458 %%EOF |