phantomjs/src
Alessandro Portale fbb524e629 Issue 17: Make paper size for the PDF export specifiable
http://code.google.com/p/phantomjs/issues/detail?id=17

Adding a new phantom property called "paperSize". It takes one of
the two possible dictionary variants:
   { width: '200px', height: '300px', border: '0px' }
   { format: 'A4', orientation: 'portrait', border: '1cm' }
- If no paperSize is defined, the size is defined by the web page
- supported dimension units are: mm, cm, in, px. No unit means px.
- border is optional and defaults to 0.
- supported formats are: A3, A4, A5, Legal, Letter, Tabloid
- orientation (portrait|landscape) is optional and defaults to portrait

I'm considering implementing a short form like:
  phantom.paperSize = 'A4';
...needs further investigation.
2011-03-18 10:26:45 +01:00
..
gif Support for rasterizing as GIF image. 2011-02-19 22:47:15 -08:00
coffee-script.js Start to implement support for CoffeeScript. 2011-03-02 00:59:07 -08:00
csconverter.cpp Start to implement support for CoffeeScript. 2011-03-02 00:59:07 -08:00
csconverter.h Start to implement support for CoffeeScript. 2011-03-02 00:59:07 -08:00
phantomjs-icon.png Attach the icon the application main widget. 2010-12-26 23:56:44 -08:00
phantomjs.cpp Issue 17: Make paper size for the PDF export specifiable 2011-03-18 10:26:45 +01:00
phantomjs.pro Start to implement support for CoffeeScript. 2011-03-02 00:59:07 -08:00
phantomjs.qrc Start to implement support for CoffeeScript. 2011-03-02 00:59:07 -08:00