Current File : //opt/RZperl536/man/man3/PDF::API2::Util.3
.\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.43)
.\"
.\" Standard preamble:
.\" ========================================================================
.de Sp \" Vertical space (when we can't use .PP)
.if t .sp .5v
.if n .sp
..
.de Vb \" Begin verbatim text
.ft CW
.nf
.ne \\$1
..
.de Ve \" End verbatim text
.ft R
.fi
..
.\" Set up some character translations and predefined strings.  \*(-- will
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
.\" double quote, and \*(R" will give a right double quote.  \*(C+ will
.\" give a nicer C++.  Capital omega is used to do unbreakable dashes and
.\" therefore won't be available.  \*(C` and \*(C' expand to `' in nroff,
.\" nothing in troff, for use with C<>.
.tr \(*W-
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
.ie n \{\
.    ds -- \(*W-
.    ds PI pi
.    if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
.    if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\"  diablo 12 pitch
.    ds L" ""
.    ds R" ""
.    ds C` ""
.    ds C' ""
'br\}
.el\{\
.    ds -- \|\(em\|
.    ds PI \(*p
.    ds L" ``
.    ds R" ''
.    ds C`
.    ds C'
'br\}
.\"
.\" Escape single quotes in literal strings from groff's Unicode transform.
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\"
.\" If the F register is >0, we'll generate index entries on stderr for
.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
.\" entries marked with X<> in POD.  Of course, you'll have to process the
.\" output yourself in some meaningful fashion.
.\"
.\" Avoid warning from groff about undefined register 'F'.
.de IX
..
.nr rF 0
.if \n(.g .if rF .nr rF 1
.if (\n(rF:(\n(.g==0)) \{\
.    if \nF \{\
.        de IX
.        tm Index:\\$1\t\\n%\t"\\$2"
..
.        if !\nF==2 \{\
.            nr % 0
.            nr F 2
.        \}
.    \}
.\}
.rr rF
.\" ========================================================================
.\"
.IX Title "PDF::API2::Util 3"
.TH PDF::API2::Util 3 "2014-02-20" "perl v5.36.1" "User Contributed Perl Documentation"
.\" For nroff, turn off justification.  Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
.nh
.SH "NAME"
PDF::API2::Util \- utility package for often use methods across the package.
.SH "PREDEFINED PAPERSIZES"
.IX Header "PREDEFINED PAPERSIZES"
.ie n .IP "%sizes = \fBgetPaperSizes()\fR;" 4
.el .IP "\f(CW%sizes\fR = \fBgetPaperSizes()\fR;" 4
.IX Item "%sizes = getPaperSizes();"
Will retrieve the registered paper sizes of \s-1PDF::API2.\s0
.Sp
.Vb 10
\&    print Dumper(\e%sizes);
\&    $VAR1={
\&        \*(Aq4a\*(Aq         =>  [ 4760  , 6716  ],
\&        \*(Aq2a\*(Aq         =>  [ 3368  , 4760  ],
\&        \*(Aqa0\*(Aq         =>  [ 2380  , 3368  ],
\&        \*(Aqa1\*(Aq         =>  [ 1684  , 2380  ],
\&        \*(Aqa2\*(Aq         =>  [ 1190  , 1684  ],
\&        \*(Aqa3\*(Aq         =>  [ 842   , 1190  ],
\&        \*(Aqa4\*(Aq         =>  [ 595   , 842   ],
\&        \*(Aqa5\*(Aq         =>  [ 421   , 595   ],
\&        \*(Aqa6\*(Aq         =>  [ 297   , 421   ],
\&        \*(Aq4b\*(Aq         =>  [ 5656  , 8000  ],
\&        \*(Aq2b\*(Aq         =>  [ 4000  , 5656  ],
\&        \*(Aqb0\*(Aq         =>  [ 2828  , 4000  ],
\&        \*(Aqb1\*(Aq         =>  [ 2000  , 2828  ],
\&        \*(Aqb2\*(Aq         =>  [ 1414  , 2000  ],
\&        \*(Aqb3\*(Aq         =>  [ 1000  , 1414  ],
\&        \*(Aqb4\*(Aq         =>  [ 707   , 1000  ],
\&        \*(Aqb5\*(Aq         =>  [ 500   , 707   ],
\&        \*(Aqb6\*(Aq         =>  [ 353   , 500   ],
\&        \*(Aqletter\*(Aq     =>  [ 612   , 792   ],
\&        \*(Aqbroadsheet\*(Aq =>  [ 1296  , 1584  ],
\&        \*(Aqledger\*(Aq     =>  [ 1224  , 792   ],
\&        \*(Aqtabloid\*(Aq    =>  [ 792   , 1224  ],
\&        \*(Aqlegal\*(Aq      =>  [ 612   , 1008  ],
\&        \*(Aqexecutive\*(Aq  =>  [ 522   , 756   ],
\&        \*(Aq36x36\*(Aq      =>  [ 2592  , 2592  ],
\&    };
.Ve
.SH "PREDEFINED COLORS"
.IX Header "PREDEFINED COLORS"
See the source of PDF::API2::Resource::Colors for a complete list.
.PP
\&\fBPlease Note:\fR This is an amalgamation of the X11, \s-1SGML\s0 and (X)HTML
specification sets.
.SH "PREDEFINED GLYPH-NAMES"
.IX Header "PREDEFINED GLYPH-NAMES"
See the file \f(CW\*(C`uniglyph.txt\*(C'\fR for a complete list.
.PP
\&\fBPlease Note:\fR You may notice that apart from the '\s-1AGL/WGL4\s0', names
from the \s-1XML,\s0 (X)HTML and \s-1SGML\s0 specification sets have been included
to enable interoperability towards \s-1PDF.\s0