Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Text::PDF::Name(3)    User Contributed Perl Documentation   Text::PDF::Name(3)

NAME
       Text::PDF::Name - Inherits from Text::PDF::String and stores PDF	names
       (things beginning with /)

METHODS
   Text::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 ($str, $pdf)
       Converts	a name into a string by	removing the / and converting any hex
       munging unless $pdf is supplied and its version is less than 1.2.

   $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.

   Text::PDF::Name->string_to_name ($str, $pdf)
       Suitably	encode the string $str for output in the File object $pdf (the
       exact format may	depend on the version of $pdf).	 Prinicipally, encode
       certain characters in hex if the	version	is greater than	1.1.

   Text::PDF::Name->name_to_string ($str, $pdf)
       Suitably	decode the string $str 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 v5.24.1			  2006-03-17		    Text::PDF::Name(3)

NAME | METHODS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Text::PDF::Name&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help