Pdfmark Reference
Total Page:16
File Type:pdf, Size:1020Kb
Adobe pdfMark Reference 1/27/21 Adobe, Inc. Adobe Acrobat SDK Documentation. © 2020 Adobe Inc. All rights reserved. If this guide is distributed by Adobe with software that includes an end user agreement, this guide, as well as the software described in it, is furnished under license and may be used or copied only in accordance with the terms of such license. Except as permitted by any such license, no part of this guide may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, recording, or otherwise, without the prior written permission of Adobe. Please note that the content in this guide is protected under copyright law even if it is not distributed with software that includes an end user license agreement. This guide is governed by the Adobe Acrobat SDK License Agreement and may be used or copied only in accordance with the terms of this agreement. Except as permitted by any such agreement, no part of this guide may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, recording, or otherwise, without the prior written permission of Adobe. Please note that the content in this guide is protected under copyright law. Please remember that existing artwork or images that you may want to include in your project may be protected under copyright law. The unauthorized incorporation of such material into your new work could be a violation of the rights of the copyright owner. Please be sure to obtain any permission required from the copyright owner. Any references to company names, company logos, and user names in sample material or sample forms included in this documentation and/or software are for demonstration purposes only and are not intended to refer to any actual organization or persons. Adobe, the Adobe logo, Acrobat, Distiller, and Reader are either registered trademarks or trademarks of Adobe the United States and/or other countries. All other trademarks are the property of their respective owners. Notice to U.S. Government End Users. The Software and Documentation are “Commercial Items,” as that term is defined at 48 C.F.R. §2.101, consisting of “Commercial Computer Software” and “Commercial Computer Software Documentation,” as such terms are used in 48 C.F.R. §12.212 or 48 C.F.R. §227.7202, as applicable. Consistent with 48 C.F.R. §12.212 or 48 C.F.R. §§227.7202-1 through 227.7202-4, as applicable, the Commercial Computer Software and Commercial Computer Software Documentation are being licensed to U.S. Government end users (a) only as Commercial Items and (b) with only those rights as are granted to all other end users pursuant to the terms and conditions herein. Unpublished-rights reserved under the copyright laws of the United States. Adobe Inc., 345 Park Avenue, San Jose, CA 95110-2704, USA Adobe Acrobat SDK Adobe pdfMark Reference 3 1 Introduction ................................................................................................................................. 7 Syntax of pdfmark operators ..................................................................................................................................................... 7 Usage with standard PostScript interpreters ....................................................................................................................... 8 Syntax for private keys ...............................................................................................................................................................10 Named objects ..............................................................................................................................................................................10 Built-in named objects.........................................................................................................................................................10 User-defined named objects .............................................................................................................................................11 Namespaces.............................................................................................................................................................................12 Adding content to named objects ..................................................................................................................................12 Arrays ...................................................................................................................................................................................13 Dictionaries........................................................................................................................................................................13 Streams................................................................................................................................................................................14 2 Basic Features ............................................................................................................................15 Annotations (ANN).......................................................................................................................................................................15 Text annotations (notes) .....................................................................................................................................................18 Links............................................................................................................................................................................................20 Other annotations .................................................................................................................................................................22 Articles (ARTICLE) .........................................................................................................................................................................23 Bookmarks (OUT)..........................................................................................................................................................................24 Document Info dictionary (DOCINFO)..................................................................................................................................26 Document open options (DOCVIEW)....................................................................................................................................27 Embedded file content (EMBED) ............................................................................................................................................28 Graphics encapsulation (BP, EP, SP).......................................................................................................................................29 Marked content (MP, DP, BMC, BDC, EMC)..........................................................................................................................33 Marked-content points........................................................................................................................................................33 Marked-content sequences................................................................................................................................................33 Metadata (Metadata) ..................................................................................................................................................................34 Named images (NI) ......................................................................................................................................................................34 Page crops (PAGE, PAGES) ........................................................................................................................................................35 Page label and plate color (PAGELABEL) .............................................................................................................................36 Transparency (SetTransparency) ............................................................................................................................................36 Transparency group XObject and soft mask................................................................................................................39 Transparency group XObject ......................................................................................................................................39 Soft mask dictionaries....................................................................................................................................................39 Soft mask images.............................................................................................................................................................40 3 Actions and Destinations .......................................................................................................... 42 Actions..............................................................................................................................................................................................42 GoTo actions............................................................................................................................................................................43 GoToR actions .........................................................................................................................................................................43