Adobe acrobat 7.0.5 sdk 用户手册
Working with PDF Documents
Modifying PDF Documents in Other Ways
5
54
Modifying PDF Documents in Other Ways
You can also use a plug-in or Acrobat JavaScript to modify a PDF document by:
●
Cropping and rotating pages
●
Numbering pages
●
Adding headers and footers
For more information, see the Acrobat JavaScript Scripting Guide and the Acrobat and PDF
LIbrary API Overview.
LIbrary API Overview.
Ad d i n g Wat e r m a r k s
Acrobat JavaScript provides methods to create watermarks within a document, and place
them in optional content groups (OCGs).
them in optional content groups (OCGs).
There are no high-level C APIs for adding watermarks. However, you can add watermarks
using lower-level APIs. The Acrobat SDK contains a sample plug-in that adds a watermark.
See the Guide to SDK Samples for more information.
using lower-level APIs. The Acrobat SDK contains a sample plug-in that adds a watermark.
See the Guide to SDK Samples for more information.
Fixed Printing for Engineering Documents
To meet government requirements, it is often necessary that a watermark be included on
any printed pages of large documents. To support this requirement, there is a new type of
object in a PDF similar to an Optional Content Group. It is called a FixedPrint element and it
prints at the same size and scale factor and in the same location on any printout (or export
as Postscript) regardless of the settings used at print time.
any printed pages of large documents. To support this requirement, there is a new type of
object in a PDF similar to an Optional Content Group. It is called a FixedPrint element and it
prints at the same size and scale factor and in the same location on any printout (or export
as Postscript) regardless of the settings used at print time.
The FixedPrint object is only used when printing or exporting to PostScript. It is not visible
from within Acrobat.
from within Acrobat.
The content of a FixedPrint is fixed to a region of a printed page. FixedPrint uses marked
content so that any content is permitted. The placement coordinates can be either relative
or absolute.
content so that any content is permitted. The placement coordinates can be either relative
or absolute.
You can access FixedPrint using the improved header, footer and watermarking tools in the
Acrobat user interface. There are no high-level plug-in APIs for manipulation FixedPrint
objects. You can, however, manipulate FixedPrint from using PDEdit and Cos level APIs.
There are no equivalent Acrobat JavaScript APIs.
Acrobat user interface. There are no high-level plug-in APIs for manipulation FixedPrint
objects. You can, however, manipulate FixedPrint from using PDEdit and Cos level APIs.
There are no equivalent Acrobat JavaScript APIs.