GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
PDF::Builder::Basic::PDF::Utils(3) User Contributed Perl Documentation PDF::Builder::Basic::PDF::Utils(3)

PDF::Builder::Basic::PDF::Utils - Utility functions for PDF library

A set of utility functions to save the fingers of the PDF library users!

Creates a Bool via PDF::Builder::Basic::PDF::Bool->new()

Creates an array via PDF::Builder::Basic::PDF::Array->new()

Creates a dict via PDF::Builder::Basic::PDF::Dict->new()

Creates a name via PDF::Builder::Basic::PDF::Name->new()

Creates a null via PDF::Builder::Basic::PDF::Null->new()

Creates a number via PDF::Builder::Basic::PDF::Number->new()

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:

's'
An ordinary string, where UTF-8 text is permitted.
'n'
A named destination, where UTF-8 text is permitted.
'o'
An outline title, where UTF-8 text is permitted.
'p'
A popup title, where UTF-8 text is permitted.
'm'
metadata, where UTF-8 text is permitted.
'f'
A file path and/or name, where UTF-8 text is currently not permitted.
'u'
A URL, where UTF-8 text is currently not permitted.
'x'
Any other usage where UTF-8 text is not permitted.

Creates a string via PDF::Builder::Basic::PDF::String->new()

DEPRECATED. It is preferable that you use "PDFString" instead.

Creates a hex-string via PDF::Builder::Basic::PDF::String->new()

Creates a utf8-string via PDF::Builder::Basic::PDF::String->new()

DEPRECATED. It is preferable that you use "PDFString" instead.

2021-07-16 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.