Quantcast
Channel: Adobe Community : All Content - Acrobat SDK
Viewing all 2571 articles
Browse latest View live

compare the 2 PDF file's through command line using Acrobat SDK

$
0
0

Hi,

 

I want to compare the 2 PDF file's through command line using Acrobat SDK, is it possible?

My needis to create the automation for comparison in .net, c# technology to compare 100's of files.

Could anyone one please let me if Acrobat SDK supports the integration with .NET and is there any possibility to call the comapere runtime.


Do I need a site license to use the Acrobat SDK?

$
0
0

We are developing a SaaS product using open sourced Java technology stack.  One of our components requires various PDF functions which include:

            PDF Production of internally designed forms

            PDF Production of OCR Forms (scanned or file input)

            PDF Production of User Designed Forms (Form Tool) with MySQL database integration

Optionally “Lock” or “Secure” forms from being modified once downloaded

E-Signature Function (either upload an image or using a facsimile)

 

What site licenses are required for these, if any?

How to get Abobe Reader startup path from the plugin

$
0
0

Hi,

 

How to get the adobe reader startup path (ie. path in program files) from the plugin . any one please share the code snippet for getting the same.

 

Regards,

 

Jinosh K Chacko

I have visual studio 2005; The IDE recognizes the namespaces Acrobat and AFORMAUTLib but I get a run time error when I try to run the program FillForm.cs. The error is as follows: Retrieving the COM class factory component with CLSID-{85DE1C45-2C66-101B-B

$
0
0

I have visual studio 2005; The IDE recognizes the namespaces Acrobat and AFORMAUTLib but I get a run time error when I try to run the program FillForm.cs. The error is as follows: Retrieving the COM class factory component with CLSID-{85DE1C45-2C66-101B-B02E-04021C009402} failed due to the following error:80040154. The C# code is as follows: CAcroApp acroApp = new AcroAppClass();

 

I think that the new AcroAppClass call requires an argument but I do not have the API or documentation on the API for this call.

I also get the same error on the line : CAcroAVDoc avDoc = new AcroAVDocClass();

 

What do you suggest on getting documentation on the API? Can I get around this problem?

ACTIVE X Adobe Acrobat Pro to open file pdf, modify pdf and save by code programming.

$
0
0

Hi,

where can i download ActiveX for Adobe ACrobat Pro? I need to open, modify and save PDF files by code programming.

Thanks.

Save PDF as com.adobe.acrobat.plain-text using UTF-8

$
0
0

Hi,

 

Currently using some code to save multiple PDF files as com.adobe.acrobat.plain-text but really struggling to set the encoding as UTF-8 works fine if I save manually but not sure how to set in my code.

 

Thanks in advance.

 

Geoff

ReduceFileSize without operator intervention

$
0
0

Hello,

 

I have created a trsuted function in order to save PDF File in a PDF/A file. But I want to reduce file size automatically without the operator.

 

Is it possible?

 

Thanks a lot

export as text programatically

$
0
0

Hi,

 

I need to develop a method that will programtically capture pdf content as plain text using VBA (in MS Access 2003). I tried using the ExecuteMenuItem method but haven't been able to find the syntax for the Export as Text menu item function.

here's what I have so far:

 


     Dim AcroApp As Acrobat.CAcroApp    

     Dim AVDoc As Acrobat.CAcroAVDoc


   

     Set AcroApp = CreateObject("AcroExch.App")
     Set AVDoc = CreateObject("AcroExch.AVDoc")

    

     AcroApp.Show

     AVDoc.Open "C:\Test\Test.pdf", ""

    

     AcroApp.MenuItemExecute ("File.Export...???????")

 

Also, is there a way to programatically then name the path and filename?

 

 

Another way would be to capture the content this directly into a variable that i can then add to a table in my database but I am stuck on just how to go about this too.

 

Any help would be greatly appreacite.

 

Thank you.


PDEContentAddPage not working correctly

$
0
0

Hi! I have just started working on a plug-in for Acrobat in order to help my local printshop impose pages in a certain way. The most important part of this function is copying all the contents from one page and pasting it on another. I have found a way of doing this by invoking PDEContentAddPage, but when I use it, I cannot see the contents added. When I count the elements before and after the function, I can see that 1 element has been added, but it seems invisible. This is my code:

AVDoc avDoc = AVAppGetActiveDoc();

  PDDoc myPDDoc = AVDocGetPDDoc(avDoc);

  PDPage myPDPage = PDDocAcquirePage(myPDDoc, 0); //This is the source page

  PDPage otherPage = PDDocAcquirePage(myPDDoc, 1); //This is the page that I want to insert the source page into.

  PDEContent newContent = PDPageAcquirePDEContent(otherPage, gExtensionID);

 

  CosDoc myCosDoc = PDDocGetCosDoc(myPDDoc);

  ASAtom annotTypes = ASAtomNull;

  PDEContentAddPage(newContent, kPDSBeforeFirst, myCosDoc, myPDPage, NULL, &annotTypes, 0, NULL);

  eleNum = PDEContentGetNumElems(newContent);

 

  PDERelease((PDEObject)newContent);

  PDPageRelease(otherPage);

  PDPageRelease(myPDPage);

 

I've been searching the internet for any example using PDEContentAddPage, but didn't find it anywhere. What have I missed? Could someone steer me in the right direction? Thanks!
PS. Also, after executing the command, Acrobat starts acting a bit weird. Sometimes it hangs up, and it seems I cannot save. Have I forgotten to release something that needs releasing?

Thank you!

 

//Jonathan

The AcroPDF.PDF Class is no longer accessible from VisualBasic6 after update 11.0.0.7.

$
0
0

After upgrading to 11.0.0.7 of Acrobat Reader it is no longer possible to get an instance of the AcroPDF.PDF Control in Visual Basic 6

 

Private PDFExt As VBControlExtender

Set PDFExt = Me.Controls.Add("AcroPDF.PDF", "PDF")

 

This worked fine with the 11.0.0.6 Version of the Reader!

 

Is there any solution available?

 

Thanks in advance

Stefan

Enable Annotations & Drawing Markup toolbar in activeX Control

$
0
0

Hi All,

 

I am using Adobe reader 11 with Visual Studio 2008. I have added the acitveX reader control to my VB.Net Windows form. I am also able to view the files.

But the Comments and Drawing Markup is not visible. How do i activate that menu,

 

Regards,
Santosh

Send form via web page trigger.

$
0
0

I would like to trigger via a web page a request to customers to sign a form residing in my Adobe cloud docs. Is this possible? Thanks in advance.

rg operator question

$
0
0

I'm investigating what I consider to be a bug in Acrobat and I'd like to clarify something before reporting it. It concerns the following which is included in an appearance stream for a form field:

 

0.749023 -0.250977 -0.250977 rg

 

The rg operator is used to set the color for nonstroking operations. According to the PDF spec, those numbers should be positive, from 0 to 1. Is that right or am I missing something? It turns out that Acrobat treats the negative values as positive anyway.

Plugin execution "This Operation is not permitted"

$
0
0

Hi Team   

     We have developed a plugin in Vc++ using acrobat Sdk 11. This plugin works fine in windows 7, (acrobat 11 version), but in windows xp (acrobat 11 version) the plugin display an message "This operation is not permitted".

     please suggest a solution to overcome this error. I have even turned off the protected view in preference > security (Enhanced), and also updated the acrobat 11 to its latest path, but it doesn't help

 

Thanks and Regards

bala

adobe reader control in vb.net.

$
0
0

I need to open pdf in vb.net and achieve following goal. I have try this with adobe pdf viewer control but not able to achieve this.

Specially I need access on sticky notes, I need to open up another VB popup when I click on sticky notes and that popup contains content of sticky notes. Is this possible?


Tool icon with Acrobat DC and Retina display replaced by standard one

$
0
0

With Acrobat DC my tool icon is replaced by a standard icon on a Mac with Retina display (both iMac 27 and MacBook Pro). No problem with Macs and standard displays and Acrobat 9/X/XI and Retina. So you can work, but when working with different tools you have to know the position of the icon you want to use. I have compiled the samples and their icons are also not shown, so I guess, it is a problem of Acrobat. Any ideas?

 

Jo

How to delete all rejected review comments in PDF

$
0
0

Hi,

 

I have couple of Review pdfs with 800 comments. I want to delete all rejected comments from that pdfs. Can anybody help me how to delete all rejected comments using script?

 

 

Thanks

Navath

Using VBA how to fetch Sticky Note data and Highlighted text data

$
0
0

Sir

I have a PDF file and lots of Sticky note and Highlighted text file in that particular PDF file .

1) So I want using VBA how many Sticky note and Highlighted text are there?

2) Using VBA how to fetch the Sticky note data and Highlighted text data.

 

Thank You

Anupam

How do I determine element draw order?

$
0
0

Hi,

 

I have a pre-existing PDF that I've opened with C++ with PDFLib.  Once this PDF is open, I need to add content to it. But when I do, the content is always added on top of the pre-existing content.  What determines the draw order for a PDF, and how do I modify it so I can draw underneath existing content?  The code I'm using is just sample code to add a text run, like below (truncated/modified slightly):

 

  PDPage pg = PDDocAcquirePage(_doc, 0);

  PDEContent pageContent = PDPageAcquirePDEContent(pg, 0);

 

  //Create new text run

  PDETextAdd(pdeText, //Text container to add to

  kPDETextRun, //kPDETextRun

  0, //Index

  (Uns8 *)HelloWorldStr, //Text to Add

  strlen(HelloWorldStr), //Length of Text

  pdeFont, //Font to apply to text

  &gState, //Address of PDEGraphicState object

  sizeof(gState), //size of graphic state ot apply to text

  NULL,

  0,

  &textMatrix, //Transformation Matrix for text

  NULL); //Stroke matrix

 

  //Insert text into page content

  PDEContentAddElem(pdeContent, kPDEAfterLast, (PDEElement)pdeText);

  PDPageSetPDEContent(pg, 0);

  PDPageNotifyContentsDidChange(pg);

 

  PDDocSave(pdDoc, PDSaveFull | PDSaveLinearized, ASPathFromPlatformPath("out.pdf"), NULL, NULL, NULL);

 

Modifying both the index of PDEText or the addAfterIndex of PDEContentAddElem doesn't seem to make an affect.  And I've tried to use PDEContainer to control draw order, but apparently the order the elements are in the container doesn't matter for draw order either...

 

Thanks!

Adobe Reader DC: DDE open command

$
0
0

Hello,

 

I am creating PDFs in a separate program, which uses a DDE command to automatically open the PDF in Adobe Reader once the PDF is created. This command is not successfully opening the PDF, although manually opening the PDF works fine. I know that similar problems occurred for Acrobat/Reader versions 10 and 11. These problems were fixed by changing the "server" for the DDE command from "acroview" to "acroview{A|R}{Major Version}" where A is used for acrobat, R for reader, and "Major Version" is "10" or "11". What is the syntax that should be used for version DC? I have tried "acroviewRDC" and "acroviewRdc" without success.

 

Any help or suggestions are greatly appreciated.

Viewing all 2571 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>