Perl Diver 2.31
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

PDF::API2::Basic::PDF::Name

Name PDF::API2::Basic::PDF::Name
Version 2.043
Located at /usr/local/share/perl5
File /usr/local/share/perl5/PDF/API2/Basic/PDF/Name.pm
Is Core No
Search CPAN for this module PDF::API2::Basic::PDF::Name
Documentation PDF::API2::Basic::PDF::Name
Module Details PDF::API2::Basic::PDF::Name

NAME

PDF::API2::Basic::PDF::Name - Low-level PDF name object


METHODS

PDF::API2::Basic::PDF::Name->from_pdf($string)

Creates a new string object (not a full object yet) from a given string. The string is parsed according to input criteria with escaping working, particular to Names.

$n->convert ($string, $pdf)

Converts a name into a string by removing the / and converting any hex munging.

$s->as_pdf ($pdf)

Returns a name formatted as PDF. $pdf is optional but should be the PDF File object for which the name is intended if supplied.

PDF::API2::Basic::PDF::Name->string_to_name ($string, $pdf)

Suitably encode the string $string for output in the File object $pdf (the exact format may depend on the version of $pdf).

PDF::API2::Basic::PDF::Name->name_to_string ($string, $pdf)

Suitably decode the string $string as read from the File object $pdf (the exact decoding may depend on the version of $pdf). Principally, undo the hex encoding for PDF versions > 1.1.

Perl Diver brought to you by ScriptSolutions.com © 1997- 2024