Example: tourism industry

Guide to SDK Samples - Adobe Inc.

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.

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.

Tags:

  Samples, Acrobat

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 Inc.

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.

2 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.

3 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.

4 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.

5 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 ..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.

6 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. 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 .

7 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.

8 One is SampleCsp. 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.

9 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. 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>'.

10 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. 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.


Related search queries