Class PDF::Writer::Object::Pages
In: lib/pdf/writer/object/pages.rb
Parent: PDF::Writer::Object

object which is a parent to the pages in the document

Methods

<<   add   first_page   new   size   to_s  

Attributes

bleed_box  [RW] 
media_box  [RW]  Each of the following should be an array of 4 numbers, the x and y coordinates of the lower left and upper right bounds of the box.
procset  [RW] 
trim_box  [RW] 

Public Class methods

Public Instance methods

Add the page ID to the end of the page list.

Add a page to the page list. If p is just a Page, then it will be added to the page list. Otherwise, it will be treated as a Hash with keys :page, :pos, and :rpage. :page is the Page to be added to the list; :pos is :before or :after; :rpage is the Page to which the new Page will be added relative to.

[Validate]