![]() |
![]()
| ![]() |
![]()
NAMEPDF::Builder::Basic::PDF::Utils - Utility functions for PDF library DESCRIPTIONA set of utility functions to save the fingers of the PDF library users! METHODSPDFBoolPDFBool() Creates a Bool via
PDF::Builder::Basic::PDF::Bool->new()
PDFArrayPDFArray() Creates an array via
PDF::Builder::Basic::PDF::Array->new()
PDFDictPDFDict() Creates a dict via
PDF::Builder::Basic::PDF::Dict->new()
PDFNamePDFName() Creates a name via
PDF::Builder::Basic::PDF::Name->new()
PDFNullPDFNull() Creates a null via
PDF::Builder::Basic::PDF::Null->new()
PDFNumPDFNum() Creates a number via
PDF::Builder::Basic::PDF::Number->new()
PDFStringPDFString($text, $usage) Returns either PDFStr($text) or PDFUtf($text), depending
on whether $text is already in UTF-8 and whether the
$usage permits UTF-8. If UTF-8 is not
permitted, "downgrade" will be called on a
UTF-8 formatted $text.
$usage is a single character string indicating the use for which $text is to be applied. Some uses permit UTF-8, while others (currently) forbid it:
PDFStrPDFStr() Creates a string via
PDF::Builder::Basic::PDF::String->new()
DEPRECATED. It is preferable that you use "PDFString" instead. PDFStrHexPDFStrHex() Creates a hex-string via
PDF::Builder::Basic::PDF::String->new()
PDFUtfPDFUtf() Creates a utf8-string via
PDF::Builder::Basic::PDF::String->new()
DEPRECATED. It is preferable that you use "PDFString" instead.
|