Example: bankruptcy

Guide to SDK Samples - Adobe Open Source

Adobe acrobat DC SDK Samples Guide 2/3/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 .

To use DocSign, change the default signature handler in Acrobat Preferences to the DocSign handler. After that, DocSign will be used through the same user interface points as the standard signature handler. ... The output PDF file works with Acrobat and Adobe Reader 7.0 or later.

Tags:

  Default, Adobe, Reader, Acrobat, Adobe reader

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Advertisement

Transcription of Guide to SDK Samples - Adobe Open Source

1 Adobe acrobat DC SDK Samples Guide 2/3/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 .

2 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 Government End Users. The Software and Documentation are Commercial Items, as that term is defined at 48 , consisting of Commercial Computer Software and Commercial Computer Software Documentation, as such terms are used in 48 or 48 , as applicable.

3 Consistent with 48 or 48 through , as applicable, the Commercial Computer Software and Commercial Computer Software Documentation are being licensed to 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. Contents 1 Plugin Samples .. 5. 5. 5. 6. 7. 7. 7. 8. Embed3 DData .. 8. RplcFileSystem .. 9. SelectionServer ..10. Snippet Runner ..11. Included snippets ..13. Starter ..18. UncompressPDF ..18. wxPlugin ..19. CustomTool ..20. Description ..20. 2 JavaScript 22. JavaScript Samples Description ..22. AnnotatedWords ..23. AnnotSample ..24. CallMediaActionScript ..25. ConvertDate ..25. DeleteNoCommentPages ..26. GoToBookmark ..27. JSCollection ..27. OCGL ayerControl ..29. PresentationMonitor.

4 29. PresentationNote ..30. RunMediaPlayers ..30. 3. Adobe acrobat SDK Contents Guide to SDK Samples 4. TextExtract ..32. 3 Mac OS - Interapplication 34. DistillerControl ..34. PrintPage ..34. 4 Windows - Interapplication 36. AdobePDFS ilentVB ..40. BasicIacJsoVB ..42. BasicIACVB ..44. BasicIacVC ..45. DistillerCtrlVB ..47. ExecuteScriptIacVB ..50. FillFormCS ..51. JSObjectAccessVB ..53. RemoteControlAcrobatVC ..56. SearchPdfVB ..57. StaticViewVB ..58. StaticViewVC ..59. 5 Navigator Samples .. 61. 6 Tools .. 62. Plugin ShowPermissions ..63. 1 Plugin Samples BasicPlugin Location Plugins/ Samples /BasicPlugin Description Provides the minimum code required to enable developers to get started. The code adds a new menu item under the acrobat SDK menu and displays a simple message. With the basic plugin framework set up in the sample, users can quickly make a plugin of their own by modifying and adding the code in the file to set up their own menu item and menu function.

5 BatesNumbering Location Plugins/ Samples /BatesNumbering Description Demonstrates Bates Numbering features exposed to third-party developers: How to extract Bates Numbering that is added by acrobat . How to use acrobat API to programmatically add Bates Numbering to PDF documents. How to use acrobat API to programmatically remove Bates Numbering from PDF documents. Usage Follow these steps to test the functionality of the sample: Open a PDF document. Click acrobat SDK > Bates Numbering > to add Bates Numbering to the PDF document. Click Acroabt SDK > Bates Numbering > to extract Bates Numbering from the PDF document. Click acrobat SDK > Bates Numbering > to remove Bates Numbering from the PDF. document. Note: This plugin will not work in Adobe reader . 5. Adobe acrobat SDK Plugin Samples Guide to SDK Samples CapiSamples 6. CapiSamples Location Plugins/ Samples /CapiSamples Description There are two Samples in this demonstration. One is SampleCsp.

6 It is a DLL, and it is the actual Cryptographic Service Provider (CSP). The SampleRegistrar sample uses the services provided by SampleCsp. The purpose of SampleCsp is to provide a reference implementation. The cryptographic functionality of this CSP is passed through to the Microsoft Enhanced Crypto Provider. This implementation currently works on PFX files. SampleCsp opens the PFX files and uses the credential within them. SampleRegistrar is a separate application which allows users to manage the certificates bound to SampleCsp. This application interacts with SampleCsp to do the following: Register a digital ID file (PFX file) and add its certificates to the windows "My" store. Un-register a digital ID file and remove its certificates from the windows "My" store. List the registered digital IDs. Usage This sample requires a CSP digitally signed by Microsoft. Download Microsoft's CSDK from Once signed, locate SampleCsp in the MsSignedSampleCsp directory.

7 To manage certificates by SampleRegistrar: 1. Compile SampleRegistrar. 2. Register SampleCsp by doing the following: At Dos prompt, go to the MsSignedSampleCsp directory. Type in Command 'regsvr32 '. 3. At the DOS prompt, go to the directory where resides. 4. Use the following commands to manage certificates: To list registered PFXs: ' -l'. To register PFX: ' -r password'. To un-register PFX: ' -u <hex-encoded-sha1-cert-digest>'. There are some easy tests you can run to check the CSP is working with acrobat : 1. Register a digital ID via the CSP. It must show up in the Security Settings under "Windows Digital IDs". 2. Try to make a digital signature with the registered digital ID. Adobe acrobat SDK Plugin Samples Guide to SDK Samples DdeServer 7. 3. Encrypt a file for this certificate and then try to decrypt it. You need to close the document and reopen it. If all of these tests pass, then the CSP is working. The effect should be to un-register the digital ID, not to actually delete the file.

8 Note: This plugin is Windows only. DdeServer Location PluginSupport/ Samples /DdeServer Description Demonstrates how to establish communication between an external application and an acrobat plugin using DDE. This allows a plugin to expose functionality to external applications that are not present in the standard IAC interfaces. Usage A sample client application is provided with the DdeServer plugin. The application communicates with the plugin to obtain the page number associated with the active page view and to add a text annotation to the page associated with the active page view. acrobat must be running for the client application to function correctly. Limitations Windows only. This plugin will not work in Adobe reader since it accesses annotations. It is possible to use this technique to communicate with an Adobe reader plugin. Non functional when Protected Mode is enabled. DMSI ntegration Location Plugins/ Samples /DMSI ntegration Description Demonstrates how a DMS system can integrate with acrobat .

9 This sample demonstrates the following three steps needed for DMS systems to integrate with acrobat : 1. Write an ASFileSys for the DMS system. 2. Replace the acrobat dialogs. AVAppChooseFolderDialog Adobe acrobat SDK Plugin Samples Guide to SDK Samples DocSign 8. AVAppOpenDialog AVAppSaveDialog DocSign Location Plugins/ Samples /DocSign Description Demonstrates how to use the PubSec API. It is more a "skeleton" plugin than a fully functional sample, since it has no encryption library. The plugin assumes a plugin author knows how to generate public/private key pairs, store them, use them to encrypt data, etc. This skeleton sample demonstrates how to hook into acrobat . plugin does. Usage To use DocSign, change the default signature handler in acrobat Preferences to the DocSign handler. After that, DocSign will be used through the same user interface points as the standard signature handler. Implementation details This sample does not provide true digital signatures.

10 It provides a skeleton of a PubSec API-based plugin. Developers must add your own encryption routines. Embed3 DData Location PluginSupport/ Samples /Embed3 DData Description Demonstrates how to programmatically create a 3D annotation in a PDF file. For more information about the process, see the chapter titled "Creating 3D Annotations" in the Developing Plugins and Applications Guide ( ). The program output is a new PDF file with the 3D annotation. Implementation details Create a new PDF file with one page. Add a 3D annotation to the page. Create the 3D stream with the input 3D data. Create entries for the 3D stream dictionary. Adobe acrobat SDK Plugin Samples Guide to SDK Samples RplcFileSystem 9. Embed optional JavaScript code for the 3D stream. Create optional "VA" entry for the 3D stream. Create optional animation dictionary for the 3D stream. Specify key-value pairs in the annotation dictionary. Create optional activation entry for the 3D annotation.


Related search queries