Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pdf::api2::util(3pm) [debian man page]

PDF::API2::Util(3pm)					User Contributed Perl Documentation				      PDF::API2::Util(3pm)

NAME
PDF::API2::Util - utility package for often use methods across the package. PREDEFINED PAPERSIZES
%sizes = getPaperSizes(); Will retrieve the registered paper sizes of PDF::API2. print Dumper(\%sizes); $VAR1={ '4a' => [ 4760 , 6716 ], '2a' => [ 3368 , 4760 ], 'a0' => [ 2380 , 3368 ], 'a1' => [ 1684 , 2380 ], 'a2' => [ 1190 , 1684 ], 'a3' => [ 842 , 1190 ], 'a4' => [ 595 , 842 ], 'a5' => [ 421 , 595 ], 'a6' => [ 297 , 421 ], '4b' => [ 5656 , 8000 ], '2b' => [ 4000 , 5656 ], 'b0' => [ 2828 , 4000 ], 'b1' => [ 2000 , 2828 ], 'b2' => [ 1414 , 2000 ], 'b3' => [ 1000 , 1414 ], 'b4' => [ 707 , 1000 ], 'b5' => [ 500 , 707 ], 'b6' => [ 353 , 500 ], 'letter' => [ 612 , 792 ], 'broadsheet' => [ 1296 , 1584 ], 'ledger' => [ 1224 , 792 ], 'tabloid' => [ 792 , 1224 ], 'legal' => [ 612 , 1008 ], 'executive' => [ 522 , 756 ], '36x36' => [ 2592 , 2592 ], }; PREDEFINED COLORS
See the source of PDF::API2::Resource::Colors for a complete list. Please Note: This is an amalgamation of the X11, SGML and (X)HTML specification sets. PREDEFINED GLYPH-NAMES See the file "uniglyph.txt" for a complete list. Please Note: You may notice that apart from the 'AGL/WGL4', names from the XML, (X)HTML and SGML specification sets have been included to enable interoperability towards PDF. perl v5.14.2 2011-03-10 PDF::API2::Util(3pm)

Check Out this Related Man Page

PDF::API2::Basic::PDF::Pages(3pm)			User Contributed Perl Documentation			 PDF::API2::Basic::PDF::Pages(3pm)

NAME
PDF::API2::Basic::PDF::Pages - a PDF pages hierarchical element. Inherits from PDF::API2::Basic::PDF::Dict DESCRIPTION
A Pages object is the parent to other pages objects or to page objects themselves. METHODS
PDF::API2::Basic::PDF::Pages->new($pdfs,$parent) This creates a new Pages object. Notice that $parent here is not the file context for the object but the parent pages object for this pages. If we are using this class to create a root node, then $parent should point to the file context, which is identified by not having a Type of Pages. $pdfs is the file object (or objects) in which to create the new Pages object. $p->out_obj($isnew) Tells all the files that this thing is destined for that they should output this object come time to output. If this object has no parent, then it must be the root. So set as the root for the files in question and tell it to be output too. If $isnew is set, then call new_obj rather than out_obj to create as a new object in the file. $p->find_page($pnum) Returns the given page, using the page count values in the pages tree. Pages start at 0. $p->add_page($page, $pnum) Inserts the page before the given $pnum. $pnum can be -ve to count from the END of the document. -1 is after the last page. Likewise $pnum can be greater than the number of pages currently in the document, to append. This method only guarantees to provide a reasonable pages tree if pages are appended or prepended to the document. Pages inserted in the middle of the document may simply be inserted in the appropriate leaf in the pages tree without adding any new branches or leaves. To tidy up such a mess, it is best to call $p->rebuild_tree to rebuild the pages tree into something efficient. $root_pages = $p->rebuild_tree([@pglist]) Rebuilds the pages tree to make a nice balanced tree that conforms to Adobe recommendations. If passed a pglist then the tree is built for that list of pages. No check is made of whether the pglist contains pages. Returns the top of the tree for insertion in the root object. @pglist = $p->get_pages Returns a list of page objects in the document in page order $p->find_prop($key) Searches up through the inheritance tree to find a property. $p->add_font($pdf, $font) Creates or edits the resource dictionary at this level in the hierarchy. If the font is already supported even through the hierarchy, then it is not added. $p->bbox($xmin, $ymin, $xmax, $ymax, [$param]) Specifies the bounding box for this and all child pages. If the values are identical to those inherited then no change is made. $param specifies the attribute name so that other 'bounding box'es can be set with this method. $p->proc_set(@entries) Ensures that the current resource contains all the entries in the proc_sets listed. If necessary it creates a local resource dictionary to achieve this. $p->get_top Returns the top of the pages tree perl v5.14.2 2011-03-10 PDF::API2::Basic::PDF::Pages(3pm)
Man Page