CTS logo
hazy blue Catskill Mountains in distance

News:

PDF::Builder v3.028 Released, 31 December 2025
   Please also see the CPAN listing, the GitHub entry, and the latest changes list.


A Thought…

Electrical tape: it does more than just cover that dashboard light that will not go off. Get some today!

   — attributed to The Tappet Brothers

NAME

PDF::Builder::Basic::PDF::String - PDF String type objects

Superclass for simple objects that are basically stringlike (Number, Name, etc.)

Inherits from PDF::Builder::Basic::PDF::Objind

METHODS

from_pdf

    PDF::Builder::Basic::PDF::String->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.

new

    PDF::Builder::Basic::PDF::String->new($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.

convert

    $s->convert($str)

Returns $str converted as per criteria for input from PDF file

val

    $s->val()

Returns the value of this string (the string itself).

as_pdf

    $s->as_pdf()

Returns the string formatted for output as PDF for PDF File object $pdf.

outobjdeep

    $s->outobjdeep($fh, $pdf)

Outputs the string in PDF format, complete with necessary conversions.

NAVIGATION LINKS

Up (Parents)

Master Index
PDF::Builder -- Facilitates the creation and modification of PDF files
PDF::Builder::Basic::PDF -- Various utilities and support routines

Siblings

PDF::Builder::Basic::PDF::Array -- Corresponds to a PDF array
PDF::Builder::Basic::PDF::Bool -- Holds the strings true or false
PDF::Builder::Basic::PDF::Dict -- PDF Dictionaries and Streams
PDF::Builder::Basic::PDF::File -- Holds the trailers and cross-reference tables for a PDF file
PDF::Builder::Basic::PDF::Filter -- Abstract superclass for PDF stream filters
PDF::Builder::Basic::PDF::Literal -- Literal PDF Object
PDF::Builder::Basic::PDF::Name -- Stores PDF names (things beginning with /)
PDF::Builder::Basic::PDF::Null -- PDF Null type object
PDF::Builder::Basic::PDF::Number -- Numbers in PDF
PDF::Builder::Basic::PDF::Objind -- PDF indirect object reference
PDF::Builder::Basic::PDF::Page -- Represents a PDF page
PDF::Builder::Basic::PDF::Pages -- PDF pages hierarchical element
PDF::Builder::Basic::PDF::Utils -- Utility functions for PDF library

 

All content © copyright 2005 – 2025 by Catskill Technology Services, LLC.
All rights reserved.
Note that Third Party software (whether Open Source or proprietary) on this site remains under the copyright and license of its owners. Catskill Technology Services, LLC does not claim copyright over such software.

 

This page is https://www.catskilltech.com/Documentation/PDF/Builder/Basic/PDF/String.html

Search Quotations database.

Last updated Thu, 01 Jan 2026 at 7:37 PM

Valid HTML 5

Thu, 02 Apr 2026 at 1:49 AM EDT