Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
two layer pdf generation with a nice dsl
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

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/

Something went wrong with that request. Please try again.