Need some hints how to create a calendar

27 views
Skip to first unread message

Bernhard Weichel

unread,
May 15, 2013, 6:46:59 AM5/15/13
to prawn...@googlegroups.com
Hi, 


I need some hints:

1. What would be the best approach to generate the calendar? Grid or table?
1.1 If I use grids, how can I make gridlines but still have a gutter sucht that the content does not touch the border.

2. How can I make the calendar to an object which I can reuse for other projects? Or at least the page layout is well maintainable.

That means all the layout needs to be relative etc.

something like     pdf.mkCalendar(:x=>x, :y=>x, content=> mycontent)


Any hint is highly appreciated.

-b

Rodrigo Virgilio

unread,
May 15, 2013, 9:35:51 AM5/15/13
to prawn...@googlegroups.com
Hello, Bernhard Weichel

I hope that is what I need a model with Prawn table:



Rodrigo Virgilio


2013/5/15 Bernhard Weichel <bernhard...@googlemail.com>

-b

--
You received this message because you are subscribed to the Google Groups "Prawn" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prawn-ruby+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Rodrigo Virgilio

unread,
May 15, 2013, 9:43:05 AM5/15/13
to prawn-ruby
well got (attached)


2013/5/15 Rodrigo Virgilio <virg...@virgilio.eti.br>
teste.pdf

Bernhard Weichel

unread,
May 15, 2013, 5:04:25 PM5/15/13
to prawn...@googlegroups.com
Thanks a lot for your effort. I played around with it. It appears that the table layout expands with the content.

I will try again with grid. It appars to be better for a fixed layout. 
Reply all
Reply to author
Forward
0 new messages