two layer pdf generation with a nice dsl
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib
spec
.gitignore
README.textile
Rakefile
VERSION

README.textile

Printable

This is a gem that aims to provide simple PDF generation for a model using a basic DSL.
The idea is to use a background image and tie an attribute from a model to a set of X-Y coordinates on the background.
Ideally there will be a web based XY selector at some point that will help create the DSL for you.
Associations will be supported through chained method calls. Also, attributes returning arrays will also be supported
(for listing line items).

Todo

  1. Write example DSL
  2. Fail the tests
  3. Create basic DSL parser
  4. Write generator using prawn and pdftk
  5. Test the f(ail) out of it
  6. Make DSL generator app

mac 10.6.2 pdftk installer: http://fredericiana.com/2010/03/01/pdftk-1-41-for-mac-os-x-10-6/