How to programmatically compare two PDF documents.

We are in need of a solution related to comparing baselined and revised PDF documents, generally around 2-3 pages of content. Please note that I am looking for programatic comparison, ideally a dotnet based solution using Acrobat SDK. Any help will be highly appreciated.

Is there any recommendation considering there are no ways to programmatically compare two PDF's in .net. I noticed there are few solutions on Adobe site just like below but everyone seems to be stuck at the compare screen unable to simulate the Enter Key functionality.
      AcroAppClass acroApp1 = new AcroAppClass();
            acroApp1.Hide();
            AcroPDDocClass acrpDoc1 = new AcroPDDocClass();
            acrpDoc1.Open("c:\\MoreInformation.pdf");
            acrpDoc1.OpenAVDoc("BaseLine");
            AcroAppClass acroApp2 = new AcroAppClass();
            acroApp2.Hide();
            AcroPDDocClass acrpDoc2 = new AcroPDDocClass();
            acrpDoc2.Open("c:\\MoreInformation1.pdf");
            acrpDoc2.OpenAVDoc("Revised");
            AcroAVDoc avDoc = new AcroAVDoc();
            AcroAppClass acroMainApp = new AcroAppClass();
            acroMainApp.MenuItemExecute("DIGSIG:CompareDocuments");
            avDoc = (AcroAVDoc)acroMainApp.GetActiveDoc();
            Acrobat.CAcroPDDoc acrpDiffDoc = (Acrobat.CAcroPDDoc)avDoc.GetPDDoc();
            bool save = acrpDiffDoc.Save((short)PDSaveFlags.PDSaveFull, "c:\\compared.pdf");

Similar Messages

  • How to compare two PDF documents?

    Hi i need to compare two PDF documents. Is there any way to do this using javascript or applescript.or SDK
    Im new to PDF scripting...
    Please someone help me.....
    thanks in advance....
    Subha

    Need to compare the difference between two PDF which should include font, style, text, spelling comparision and need to produce the report which should tell the difference.

  • Comparing two PDF documents | Acrobat Tips and Tricks | Adobe TV

    This video will get you started with using the improved Compare Documents command in Acrobat 9 to identify what has changed between two versions of a PDF file.
    http://adobe.ly/xqvrc7

    Hi there. Thanks for the video. But is there a feature to move among the found differences? Or to show ONLY the differences? In a large document, it's not enough to just "look for" the color-coded differences.
    I have not found any such features on viewing a compared doc. I've also looked in the help and now am looking to see if other resources discussing PDF compare might show it. Thanks for any thoughts.

  • How do I combine two pdf documents into one using preview?

    If I remember correctly I have done this in the past but now I can't remember how to do it.
    Message was edited by: admiral_koa
    i finally found some other questions like mine which got answered. So I'm closing this out.

    That would be kind of you. Thank you. This is my first post on the new support setup. I find it a lot different than the previous arrangement. Harder actually.  I don't remember what I did when I first posted it. It seemed like my searches for my subject I could not find until I posted my question and then I found some immediately. Evidence of my struggling with how this works.
    thanks again,
    AK

  • How to Merge two PDF documents orginally created in different programs?

    I am trying to find information on how you can merge a PDF document created in LiveCycle and a PDF created in PageMaker or Microsoft Word?
    I know that you can easily merge two PDF documents created in the same program, but I am specifically looking for how you can merge two PDF documents created from two different programs. A step by step process would be helpful, if you have that information. Thanks.

    You use Assembler for this purpose.
    1) Assembler can be accessed through LC Java API. See http://help.adobe.com/en_US/enterpriseplatform/10.0/programLC/help/index.html
    API Quick Starts (Code Examples) > Assembler Service API Quick Starts
    2) Last week I posted on generating and merging PDF's from PostScript. Take a look at the assembly service instance in the .lca. Assembler uses DDX (Document Description XML) to describe document construction. NOTE the .lca was developed with ES 3 (aka ADEP). The .lca It contains the most basic DDX.
    <?xml version="1.0" encoding="UTF-8"?>
    <DDX xmlns="http://ns.adobe.com/DDX/1.0/">
    <PDF result="out.pdf">
      <PDF source="inDoc1"/>
      <PDF source="inDoc2"/>
    </PDF>
    </DDX>
    http://forums.adobe.com/message/4019760#4019760
    DDX Reference at http://help.adobe.com/en_US/livecycle/9.0/ddxRef.pdf
    Steve

  • How to compare two PDF files through PLSQL

    Hi,
    Can any body help that how to compare two PDF files through PLSQL programing and gives the differences as output.
    Thanks,

    Or simply apply an oracle text index on your pdf column:
    SQL>  create table t (id integer primary key, bl blob)
    Table created.
    SQL>  declare
    bf bfile := bfilename('TEMP','b32001.pdf');
    bl blob;
    begin
    dbms_lob.createtemporary(bl,true);
    dbms_lob.open(bf,dbms_lob.lob_readonly);
    DBMS_LOB.LOADFROMFILE(bl, bf,dbms_lob.getlength(bf));
    insert into t values (1,bl);
    commit;
    dbms_lob.close(bf);
    dbms_lob.freetemporary(bl);
    end;
    PL/SQL procedure successfully completed.
    SQL>  create index t_idx on t (bl) indextype is ctxsys.context parameters ('filter ctxsys.auto_filter')
    Index created.
    SQL>  declare
       mklob   clob;
    begin
       ctx_doc.filter ('t_idx', '1', mklob, true);
       dbms_output.put_line (substr (mklob, 1, 250));
       dbms_lob.freetemporary (mklob);
    end;
    Oracle® Database
    Release Notes
    11
    g
    Release 1 (11.1) for Linux
    B32001-04
    November 2007
    This document contains important information that was not included in the
    platform-specific or product-specific documentation
    PL/SQL procedure successfully completed.This generates a text only version of your pdf and standard text comparison methods can be applied ....

  • Adobe XI Pro trial verison, when compared two pdf files it gives error  "Expected a Name Object"..Can some one say how to fix this?

    Installed Adobe XI Pro trial verison, when compared two pdf files it gives error  "Expected a Name Object"..Can some one say how to fix this?

    Installed Adobe XI Pro trial verison, when compared two pdf files it gives error  "Expected a Name Object"..Can some one say how to fix this?

  • Comparing two PDFs using Compare Documents utility in Acrobat Pro in command line

    I have a need to compare two PDFs based on text, images, annotations, formatting, headers/footers, styles etcetera. The Adobe acrobat pro tool is working very good as per my requirements. I need to call it through Java program or command line. It could be something which takes the two PDFs as argument and compare options as Pro version have - text, images, annotations, formatting, headers/footers and background and generates the list of differences. It could return the differences either in a form of pdf document highlighting the differences or the map which is mapping something like page numbers to the details of differences that are appearing.
    This would be very helpful. Please answer asap.
    Thanks in advance.

    Sounds like you want to do this on a server, but you should know that Adobe Acrobat cannot legally be used on a server.
    For server-based PDF operations you can look at Adobe LiveCycle products or our Adobe PDFLibrary (available in both Java and C++)

  • How to compare two PDFs using Visual Basic

    Hi,
    We have created one Visual Basic exe for comparing two PDFs.We are using AcroExch.App and AcroExch.avDoc
    for creating adobe application object. And we are using MenuItemExecute "DigSig:ToolsDiff" for comparing the PDFs. This piece of code is working fine with Adobe 4.0 and it is comparing the PDFs and showing the mismatches.
    But the same piece of code is not working with Adobe 8.0 Professional. Is there any similar command to MenuItemExecute "DigSig:ToolsDiff" in Adobe 8.0 to find out the mismatches or any alternate approaches that i can try to make the existing code works properly to see the mismatches between two PDFs.
    Thanks in advance,
    Raju

    The only APIs for comparing PDFs are part of the plugin APIs, and not exposed to COM/IAC. You would need to write a custom plugin that called the APIs directly and then expose your plugin for use via VB.
    Leonard

  • Compare two pdf files using adobe acrobat through command line

    Does anyone know how to compare two pdf files using adobe acrobat through command line. I want to do this via command line because we want to compare hundreds of file every day through some automated windows tasks.
    If command line option is not available in acrobat, then is it feasible to make use of acrobat javascript API to do this task?
    Any kind of help will be greatly.

    Command-line: Not possible.
    JavaScript: Possible, but very limited. Basically the only thing you can do is simulate clicking the Compare Documents button. The rest has to be done manually.
    However, it *might* be possible to automate this process a bit more using a plugin. Ask over at the Acrobat SDK forum for more information...

  • To compare two pdfs using version 8

    Hi,
    Can somebody please help me in how to compare two pdfs using acrobat reader ver 8 or any other othe tool which can be used for this. I know acrobat reader 9.0 can do that but i don't want to go for it.
    Thanks in advance
    Shruti

    There is no product called Acrobat Reader any more.
    There is the free product Adobe Reader. This cannot compare documents,
    in any version.
    There is the commercial product Acrobat. This comes in versions
    Acrobat Standard and Acrobat Professional. Acrobat Professional can
    compare documents, perhaps Acrobat Standard too. This is true in
    version 8 and version 9.
    Aandi Inston

  • Comparing 2 PDF documents text - differnet results in 8.2 and 9.0 versions of Professional

    I am trying to compare 2 PDF Documents - Text. When I compare it in Version 8.2 of Adobe Professional using the right Options and selecting text compare. It compares the two documents perfectly fine and give me the right difference results.
    When I compare the same 2 PDF documents - text in 9.0. It give me a totally different results. It treats the PDFs as Image and doesn't compare and produce right and clean way as 8.2. Do you know the reason why this is happening in 9.0.
    Ideally all the functionality that is being supported in 8.2 should be supported in 9.0 Right??

    I am trying to compare 2 PDF Documents - Text. When I compare it in Version 8.2 of Adobe Professional using the right Options and selecting text compare. It compares the two documents perfectly fine and give me the right difference results.
    When I compare the same 2 PDF documents - text in 9.0. It give me a totally different results. It treats the PDFs as Image and doesn't compare and produce right and clean way as 8.2. Do you know the reason why this is happening in 9.0.
    Ideally all the functionality that is being supported in 8.2 should be supported in 9.0 Right??

  • How do I duplicate a pdf document in the cloud?

    How do I duplicate a pdf document in the cloud?

    Hi marting82944462,
    As mentioned above by Bernd Alheit you will have to download the file on the local disc from the cloud & then upload it again, however you will have to rename the file as the architecture does not support two or more files with a similar name.
    In case if you still have any query, please let us know. We will be more than happy to help you.
    Regards,
    Aadesh

  • How to send the two PDF attachments into one mail

    Hi Team,
    I need one requirement...I have two forms ,one is cover sheet and another one is form data. These two forms are converted into two PDF documents and sent to vendor as mail attachments...
    Please suggest me,  how to send the two attachments through one mail .....
    Thanks & Regards,
    Samantula.

    Please SEARCH in SCN before posting. There are lots of threads related to send mail with multiple attachments.

  • Can you overlay two PDF documents, but use second PDF as watermark to first?

    I have two PDF documents that I want to overlay page by page. (It's a long story, but the purpose is to create an PDF cast. Livescribe Education :: Guest Blog: How To Embed Text Behind a Livescribe Pencast PDF)
    The known method to do this is basically overlaying a JPEG file on a PDF page. The process becomes extremely cumbersome if there are more than 2 pages of PDF. So I'm looking for a way to overlay one PDF file on top of another PDF file in the form of watermark.
    Is there a plug-in or app that can facilitate this?

    Open the first PDF with Acrobat Pro.
    Now use the tool that lets you insert a background.
    Select the second PDF.
    Adjust the scale of this PDF (in the dialog) as needed.
    When done consider flattening the layer.
    Be well...

Maybe you are looking for

  • NameFromLastDDL Error during java stored procedure upload...

    Hi guys, I am trying to upload a class to send email within a java stored procedure. JDeveloper fails to upload the class, and the error message doesn't help me: I guess the automatically generated SQL statment features a "NameFromLastDDL" argument,

  • How to catch CONVT_NO_NUMBER runtime error in ABAP Proxy

    Hi all,        In our abap proxy program, sometimes the CONVT_NO_NUMBER will happen and cause the program dump and then stuck the whole queue. I noticed that this error cannot be caught by CX_ROOT exception class. So, how can I catch this runtime err

  • Flash socket receive data problem?!!!

    Hey guys, i am using flash socket communicate with a server( which coded by c++)  that use binary protocols . at first, it works well! but when the server send data more than 1024 bytes one time, the flash socket client got a  ioError Event and disco

  • UME not display for Administrator

    Hi, I'v configuration Ldap Server parameters. After  I'm not able to access "User Administration". When clicked on "user administration" tab following error message is displayed. " A required service for the identity management user interface is not

  • Pop Up Window Issues

    First let me begin by thanking you for reading this. Any help would be appreciated. I am linking a Dreamweaver asp file to a button in a Flash 8. I have used the following actionscript to open the asp file in a new window: on (release) { getURL(" htt