ddengler / prawn-grouping

A gem to add a more flexible grouping option to the prawn gem
https://github.com/ddengler/prawn-grouping
MIT License
14 stars 21 forks source link

Add an option which allows a user to set a grouping breakpoint based on ... #11

Closed tomciopp closed 9 years ago

tomciopp commented 9 years ago

...the y coordinate after the temporary document has been rendered. This comes in handy if you have complex bounding box rules.

tomciopp commented 9 years ago

I will add some tests this weekend. I needed this because of how headers work in a pdf I am working on. Adding a y_offset allows me to account for the header when grouping body content.

ddengler commented 9 years ago

@tomciopp are you still using this / working on this? I will close this for now. Feel free to open another pull request, if there is any progress.

If anyone else is interested in this, please let me know.