70
Viewing document properties
When you view a PDF document, you can get information about it, such as the title, the
fonts used, and security settings. Some of this information is set by the person who created
the document, and some is generated by Acrobat. You can change any information that
can be set by the document creator, unless the file has been saved with security settings
that prevent changes.
To get information about the current document:
1. Choose File > Document Properties, or choose Document Properties from the document
pane menu.
2. Click a tab in the Document Properties dialog box:
Description
The Description tab shows basic information about the document. The title, author,
subject, and keywords may have been set by the person who created the document in the
source application, such as Microsoft Word or Adobe InDesign, or by the person who
created the PDF document. You can add to or edit this information if the security options
allow such changes. You can search for these description items in Acrobat to find
particular documents. The Keywords section can be particularly useful for narrowing
searches.
Note that many search engines use the title to describe the document in their search results
list. If a PDF file does not have a title, the file name appears in the results list instead. A
file's title is not necessarily the same as its file name.
The Advanced group box shows which PDF version the document is created in, the page
size, number of pages, and whether the document is tagged. This information is generated
automatically and cannot be modified.
Security
The Security tab describes what activities, if any, are not allowed. (See
About document
security.)
Fonts
The Fonts tab lists the fonts and the font types used in the original document, and the
fonts, font types, and encoding used to display the original fonts.
If substitute fonts are used and you aren't satisfied with their appearance, you may want to
install the original fonts on your system or ask the document creator to re-create the
document with the original fonts embedded in it. (See
Accessing and embedding fonts.)
Initial View
The Initial View tab describes how the PDF document appears when it's opened. This
includes the initial window size, the opening page number and magnification level, and
whether bookmarks, thumbnails, the toolbar, and the menu bar are displayed. You can
change any of these settings to control how the document appears the next time it is
opened. (See
Initial View options for document properties.)
Custom
The Custom tab lets you add document properties to your document. (See
Creating
document properties.)
Advanced
The Advanced tab shows PDF settings and reading options.
Base URL displays the base Uniform Resource Locator (URL) set for web links in the
document. Specifying a base URL makes it easy for you to manage web links to other
websites. If the URL to the other site changes, you can simply edit the base URL and not
have to edit each individual web link that refers to that site. The base URL is not used if a
link contains a complete URL address.
Search Index associates a catalog index file (PDX) with the PDF file. When the PDF file
is searched with the Search PDF window, all of the PDF files that are indexed by the
specified PDX file are also searched. (See
Searching across multiple Adobe PDF
documents.)
The Trapped menu indicates whether trapping is applied to the file. Prepress software uses
this information to determine whether to apply trapping at print time.
Print Scaling determines whether the Page Scaling value in the Print dialog box is set to
None or the last value that was used.
Binding affects how the pages are arranged side by side when you view them using the
Continuous - Facing page layout. (See
Setting the page layout and orientation.) This is for
matching the reading direction (left to right or right to left) of text in the document. Right
Edge binding is useful for viewing Arabic or Hebrew text or vertical Japanese text. You
can change this setting.
Language specifies the language for the screen reader. You can change this setting. (See
Using a screen reader.)
65
Editing document metadata
Adobe PDF documents created in Acrobat 5.0 or later contain document metadata in
XML format. Metadata includes information about the document and its contents, such as
the author's name, keywords and copyright information, that can be used by search
utilities. The document metadata contains (but is not limited to) information that also
appears in the Description tab of the Document Properties dialog box. Any changes made
in the Description tab are reflected in the document metadata. Document metadata can be
extended and modified using third-party products.
The Extensible Metadata Platform (XMP) provides Adobe applications with a common
XML framework that standardizes the creation, processing, and interchange of document
metadata across publishing workflows. You can save and import the document metadata
XML source code in XMP format, making it easy to share metadata among different
documents.
To edit document metadata:
1. Choose File > Document Properties.
2. In the Description tab, type the author's name, subject, and keywords. Use keywords that
other people might use in a search utility to locate the PDF document.
To view and edit advanced document metadata:
1. Choose File > Document Properties, and then click Additional Metadata.
2. If you want to add to the descriptive information, select Description from the list and type
information in the text boxes.
3. Click Advanced to display all the metadata embedded in the document. (Metadata is
displayed by schema--that is, in predefined groups of related information.) Display or hide
the information in schemas by clicking the plus and minus signs (Windows) or arrows
(Mac OS) next to the schema name. If a schema doesn't have a recognized name, it is
listed as Unknown. The XML name space is contained in parentheses after the schema
name.
4. To edit the metadata, do any of the following, and then click OK.
l
To add previously saved information, click Append, select an XMP or FFO file, and click
Open.
l
To add new information and replace some or all of the existing information, click
Replace, select a saved XMP file, and click Open. New properties are added, existing
properties that are also specified in the new file are replaced, and existing properties that
are not in the replacement file remain in the metadata.
l
To delete an XML schema, select it and click Delete.
To import metadata into a document:
Choose File > Document Properties, click Additional Metadata, and then do any of the
following:
Note: You must save a metadata template before you can import metadata from a
template.
l
To replace the current metadata with a template of metadata, choose a template name from
the dialog box menu.
l
To append the current metadata with metadata from a template, hold down Ctrl
(Windows) or Command (Mac OS) and choose a template name from the dialog box
menu.
l
To replace the current metadata with information stored in an XMP file, select Advanced
in the list on the left, click Replace, select the XMP file, and click Open.
To share metadata code among documents:
1. Choose File > Document Properties.
2. Click Additional Metadata, and then select Advanced in the list on the left.
3. Do one of the following:
l
To save the metadata to an external file, click Save. Specify the file name and location,
and then click Save. The information is stored in XMP format.
l
To save the metadata as a metadata template, choose Save Metadata Template from the
pop-up menu. Enter a template name, and click Save.
4. To use the saved metadata in another PDF document, open the document and use the
instructions for importing metadata into a document.
13
Creating document properties
You can add custom document properties to store specific types of metadata, such as the
version number or company name, in a PDF document. Properties you create appear in the
Document Properties dialog box. Properties you create must have unique names that do
not appear on the other tabs in the Document Properties dialog box.
To create or change document properties:
1. Choose File > Document Properties, and then select Custom.
2. To add a property, type the name and value, and then click Add.
3. To change the properties, do any of the following, and then click OK:
l
To edit a property, select it, change the Name or Value, and then click Change.
l
To delete a property, select it and click Delete.
38
Viewing object metadata and object data
With Acrobat 7.0, you can view the metadata information of certain objects, tags, and
images within a PDF document. You use the TouchUp Object tool
to view metadata
associated with objects or the Object Data tool
to view the object data of Microsoft
Visio custom properties. If a PDF document contains Visio object data, the Object Data
Tool icon
appears in the Acrobat status bar in the lower left.
Note: An object's metadata is created in the application that created the object; you can't
edit the object metadata in Acrobat.
Use the Object Data tool to view object grouping and object data.
To view object metadata:
1. Choose Tools > Advanced Editing > TouchUp Object tool.
2. Right-click (Windows) or Control-click (Mac OS) an object, and then choose Show
Metadata. (If Show Metadata is unavailable, the image has no metadata associated with it.)
To view object data for Visio custom properties:
1. Choose Tools > Object Data > Object Data Tool.
2. Double-click an object to show the Object Data window.
3. If you want to change the color that borders the selected object, choose a color from the
Highlight Color menu.
4. (Optional) Choose any of the following from the Options menu to change the view within
the document window:
l
Zoom To Selection to have the object fill the document window.
l
Previous View to return to the most recently viewed document view.
5. To select all objects that have the same object data associated with them, choose Select
All Same from the Options menu, or choose Select All to select all objects that contain
object data.
6. To display the number of objects that have the same object data associated with them,
choose Count from the Options menu.
7. To search for objects that contain particular data, choose Search from the Options menu,
and search by using the Search PDF window. (See
Searching for words in an Adobe PDF
document.)
8. To copy the Object Data information, choose Copy Data To Clipboard from the Options
menu.
2
Working with JavaScript
Working with JavaScript in Acrobat
34
Working with JavaScript in Acrobat
The JavaScript language was developed by Netscape Communications so you can more
easily create interactive web pages. Adobe has enhanced JavaScript so that you can easily
integrate this level of interactivity into your PDF documents. JavaScript can perform
calculations, respond to user actions, validate user data, process multiple PDF documents
in batch sequences, and control the behavior of the document. You can invoke JavaScript
code in the following ways:
l
Using Page Open and Page Close actions. For example, you may want to update a date on
a page. (See
Using actions for special effects.)
l
Using Document Actions to create document-level JavaScript actions that apply to the
entire document. For example, selecting Document Did Save runs the JavaScript after a
document is saved.
l
Using bookmarks or links. (See
Adding page actions with page thumbnails and
Adding
actions to a link.)
l
Using form fields. The most common uses for JavaScript in Acrobat forms are formatting
data, calculating data, validating data, and assigning an action. Field-level scripts are
associated with a specific form field or fields, such as a button.This type of script is
executed when an event occurs, such as a Mouse Up action. (See
Creating interactive
buttons.)
l
Opening scripts directly from the JavaScripts folder on your hard drive.
To learn how to create JavaScript scripts, download the JavaScript manuals from the
Adobe website. The Acrobat JavaScript Scripting Guide contains background information
and tutorials, and the Acrobat JavaScript Scripting Reference contains detailed reference
information. These and other JavaScript resources are located at http://partners.adobe.com/
asn/acrobat/index.jsp (English only).
Documents you may be interested
Documents you may be interested