RFC 8118
RFC 8118
RFC 8118
Hardy
Request for Comments: 8118 L. Masinter
Obsoletes: 3778 D. Markovic
Category: Informational Adobe Systems Incorporated
ISSN: 2070-1721 D. Johnson
PDF Association
M. Bailey
Global Graphics
March 2017
Abstract
Copyright Notice
Copyright (c) 2017 IETF Trust and the persons identified as the
document authors. All rights reserved.
Table of Contents
1. Introduction ....................................................2
2. History .........................................................3
3. Fragment Identifiers ............................................3
4. Subset Standards ................................................5
5. PDF Versions ....................................................6
6. PDF Implementations .............................................7
7. Security Considerations .........................................7
8. IANA Considerations .............................................8
9. References ......................................................9
9.1. Normative References .......................................9
9.2. Informative References .....................................9
Appendix A. Changes since RFC 3778 ................................11
Authors’ Addresses ................................................12
1. Introduction
The imaging model for PDF was originally based on the PostScript [PS]
page description language, used to render complex text, images, and
graphics in a device-independent and resolution-independent manner.
2. History
3. Fragment Identifiers
page=<pageNum>
Identifies a specified (physical) page; the first page in the
document has a pageNum value of 1.
nameddest=<name>
Identifies a named destination ([ISOPDF2] 12.3.2.4 "Named
destinations").
structelem=<structID>
A byte string with URI encoding; identifies the structure element
with the ID key within a StructElem dictionary of the document.
comment=<commentID>
The value of an annotation name, which is defined by the NM key in
the corresponding annotation dictionary of the selected page
([ISOPDF2] 12.5.2 "Annotation dictionaries").
ef=<name>
Identifies the embedded file where the parameter string <name>
matches a file specification dictionary in the EmbeddedFiles name
tree. If the "ef" parameter is not at the end of the fragment
identifier, then the rest of the fragment identifier (after the
ampersand or hash delimiter) is applied to the embedded file
according to its own media type. This allows identification of
content within the embedded file (which itself might be a
PDF file).
zoom=<scale>,<left>,<top>
<scale> is the percentage to which the document should be zoomed,
where a value of 100 corresponds to a zoom of 100%. <left> and
<top> are optional, but both must be specified if either is
included.
view=<keyword>,<position>
The arguments correspond to those found in [ISOPDF2] 12.3.2.2
"Explicit destinations". <keyword> is one of the keywords defined
in [ISOPDF2] "Table 149: Destination syntax" with appropriate
position values.
viewrect=<left>,<top>,<width>,<height>
Set the view rectangle.
highlight=<left>,<right>,<top>,<bottom>
Highlight the specified rectangle.
search=<wordList>
Open the document and search for one or more words, selecting the
first matching word in the document. <wordList> is a string
enclosed in quotation marks, where individual words are separated
by the space character (or %20).
fdf=<URI>
This parameter imports data into PDF form fields. The URI is
either a relative or absolute URI to a Forms Data Format (FDF) or
XML FDF (XFDF) file. The fdf parameter should be specified as the
last parameter to a given URI.
4. Subset Standards
5. PDF Versions
The PDF format has gone through several revisions, primarily for the
addition of features. PDF features have generally been added in a
way that older viewers "fail gracefully", because they can just
ignore features they do not recognize. Even so, the older the PDF
version produced, the more legacy viewers will support that version,
but the fewer features will be enabled. The "application/pdf" media
type is used for all versions. See [ISOPDF2] Annex I, "PDF Versions
and Compatibility".
6. PDF Implementations
7. Security Considerations
The PDF file format allows several constructs that may compromise
security if handled inadequately by PDF processors. For example:
o A PDF file may refer to other PDF files for portions of content.
PDF processors may be expected to find and use these external
files when processing the document.
8. IANA Considerations
Additional information:
Magic number(s): All PDF files start with the characters "%PDF-"
followed by the PDF version number, e.g., "%PDF-1.7" or
"%PDF-2.0". These characters are in US-ASCII encoding.
9. References
[RFC3778] Taft, E., Pravetz, J., Zilles, S., and L. Masinter, "The
application/pdf Media Type", RFC 3778,
DOI 10.17487/RFC3778, May 2004,
<http://www.rfc-editor.org/info/rfc3778>.
Authors’ Addresses
Matthew Hardy
Adobe Systems Incorporated
345 Park Ave.
San Jose, CA 95110
United States of America
Email: mahardy@adobe.com
Larry Masinter
Adobe Systems Incorporated
345 Park Ave.
San Jose, CA 95110
United States of America
Email: masinter@adobe.com
URI: http://LarryMasinter.net
Dejan Markovic
Adobe Systems Incorporated
345 Park Ave.
San Jose, CA 95110
United States of America
Email: dmarkovi@adobe.com
Duff Johnson
PDF Association
Neue Kantstrasse 14
Berlin 14057
Germany
Email: duff.johnson@pdfa.org
Martin Bailey
Global Graphics
2030 Cambourne Business Park
Cambridge CB23 6DW
United Kingdom
Email: martin.bailey@globalgraphics.com
URI: http://www.globalgraphics.com