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

AVDocOpenFromPDDoc and Tabbed Interface

$
0
0

Hi,

 

We are using AVDocOpenFromPDDoc to set a custom window's name title:

 

AVDoc AVDocOpenFromPDDoc(PDDoc doc, const ASText tempTitle)

 

It was working very well, but now, with the new tabbed interface in Acrobat DC, a temporary file name is displayed instead. Is it a bug in Acrobat? Is it the right way to do this?

 

Thanks!


How Can We Save PDF into XML SpreadSheet 2003 format using IAC?????

$
0
0

Dear all, 

               I am trying to pro-grammatically Save PDF into XML Spreadsheet 2003 Format.

               Manually, I would go through File>Save as>Spreadsheet>XML Spreadsheet 2003, From reading the documentation I was expecting that I could achieve the same using (C# and IAC) .AvconversionconvertFromPDFWithHandler()  method is use for saving pdf file into d/f format.

How can we do this task Please Help me .

 

Thanks In Advance


Regards

Pawan Pant

 

Compare two PDF documents in the background (programatically )

$
0
0

I got a requirement to compare two PDF documents in the background (programatically ) and create a latest version of PDF with changes listed/highlighted. Is there any way to achieve this programatically?

Technology: ASP.NET

additional license for acrobat 10 pro on new computer

$
0
0

additional license for acrobat 10 pro on new computer

how can I see the the size of object in a pdf template

$
0
0

I received an pdf template for email campaign from a client.   I am to create banners for the template.  How can I tell the size of the banners (in pixels)?  There are no images to extract — just outlines.

How to close files opened with AxAcroPdfLib LoadFile method in .net browser component

Automatizar combinar pdfs por inserción en base

$
0
0

Automatizar combinar pdfs por inserción en base       

Tengo un pdf generado en word 2010 con índice o marcadores.

Ahora quisiera, de una forma automatizada, poder insertar varios pdf en el pdf base o inicial con un script.

De forma que pueda automatizarlo cuando quiera

Me gustaría obtener el código de dicho script para poder realizar la tarea

 

Gracias

I am getting error "Exception has been thrown by the target of an invocation" when i am convert my article PDF to XML spreadsheet 2003 Using C#.

$
0
0

Hi all,

I want to change this PDF to XML Spreadsheet .

The code is

AcroAVDoc adoc = new AcroAVDoc();

                        AcroPDDoc pdoc = new AcroPDDoc();

                    string path = "";

 

 

                    adoc.Open(folderPath + @"\" + Pathnew1.Split('\\')[8].Split('.')[0] + ".pdf", "");

                    pdoc = (AcroPDDoc)adoc.GetPDDoc();

                    object js = pdoc.GetJSObject();

                    //js = Acropddoc.GetJSObject();

                    Type T = js.GetType();

                    //string vFile = pdoc.GetFileName();

                    // total number of pages

                    double nPages = (double)T.InvokeMember(

                    "numPages",

                    BindingFlags.GetProperty |

                    BindingFlags.Public |

                    BindingFlags.Instance,

                    null, js, null);

                    path = Pathnew1.Split('\\')[8].Split('.')[0];

                    object[] saveAsParam = { path + ".xml", "com.adobe.acrobat.spreadsheet" };

                    T.InvokeMember(

                    "SaveAs",

                    BindingFlags.InvokeMethod |

                    BindingFlags.Public |

                    BindingFlags.Instance,

                    null, js, saveAsParam);//I am getting error on this line "{"Exception has been thrown by the target of an invocation."}"{And in Adobe reader JavaScript debuuger is opened.}And Shows the error {

Version 10.0

Acrobat SOAP 10.0

 

 

NotAllowedError: Security settings prevent access to this property or method.

Doc.saveAs:0:

}

                    }

 

 

Thnks in Advance

Pawan


Disable saving to Document Cloud?

$
0
0

When user creates a PDF file, and then selects Save As, the "Save As PDF" dialog appears, with options to save locally and to Document Cloud.

 

Is it possible to disable saving to the Document Cloud? For some use cases, our plugin wants to force the user to save it locally in the hard drive. Is it possible for a plugin to control that?

 

According to this post:

https://support.muse.adobe.com/thread/1847452?start=0&tstart=0

One can just EDIT > PREFERENCES > GENERAL > uncheck "Show Online Storage When Saving Files" manually. This works for us. But is there a way to do it programmatically from a plug-in?

 

We found that "Show Online Storage When Saving Files" is controlled by registry:

HCU/Software/Adobe/Adobe Acrobat/AVGeneral/bToggleCustomSaveExperience. By setting it to 0, it is the same as uncheck "Show Online Storage When Saving Files". But the problem now is that if we change the registry programmatically, we need to restart Acrobat for this change to take effect. Is there other way to change this behavior without the need to restart Acrobat?

 

Thanks in advance.

I am getting error "save as was unable to find tables in this document. no file was created" when i am convert my article PDF to XML spreadsheet 2003 Using C#.

$
0
0

Hi all,

I want to change this PDF to XML Spreadsheet .

The code is

AcroAVDoc adoc = new AcroAVDoc();

                        AcroPDDoc pdoc = new AcroPDDoc();

                    string path = "";

 

 

                    adoc.Open(folderPath + @"\" + Pathnew1.Split('\\')[8].Split('.')[0] + ".pdf", "");

                    pdoc = (AcroPDDoc)adoc.GetPDDoc();

                    object js = pdoc.GetJSObject();

                    //js = Acropddoc.GetJSObject();

                    Type T = js.GetType();

                    //string vFile = pdoc.GetFileName();

                    // total number of pages

                    double nPages = (double)T.InvokeMember(

                    "numPages",

                    BindingFlags.GetProperty |

                    BindingFlags.Public |

                    BindingFlags.Instance,

                    null, js, null);

                    path = Pathnew1.Split('\\')[8].Split('.')[0];

                    object[] saveAsParam = { path + ".xml", "com.adobe.acrobat.spreadsheet" };

                    T.InvokeMember(

                    "SaveAs",

                    BindingFlags.InvokeMethod |

                    BindingFlags.Public |

                    BindingFlags.Instance,

                    null, js, saveAsParam);

                    }

 

Screenshot (24).png

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.

Is it possible to add Javascript functionality (native!) with plugins and the Acrobat SDK?

$
0
0

Hi!

 

I'd like to do add a function to the Adobe Reader scripting engine by using the plugin system. So what I want to do is: Call <myfunction> from Javascript and <myfunction> should be in a plugin <myplugin.api>. I know that it is possible to extend the Reader's funcitonality by adding pure Javascript functions (Javascripts folder), however I need the function to execute NATIVE code, which is why I need it to be part of <myplugin>. The plugin is supposed to "register" the native function which can be called afterwards.

 

I downloaded the Adobe Reader SDK, but I don't see anything like that.

 

Is is generally possible to do this with the SDK (or by any other means)?

 

Thank you!

Sebastian

How to deploy MS Access VBA Applikation with Acrobat Reference

$
0
0

If i buy Acrobat DC (or what product do i need) to develop a VBA routine for handling pdf files (i like to add a watermark to a pdf file, created with MS Access Report "outputTo: PDF"), what do i have to deploy if i want to run this Ms Access Application to other workstations (running MS Access)? Do i need on every Workstation a fully Acrobat DC License? Or only for developing?

Hope someone knows,

with kind regards

Dirk

Searching and highlighting words in a pdf document

$
0
0

Hello,

 

I want to make a plug-in for reader, but I am not sure how I can make my plug-in, as I am developing my first one.

 

The plug-in needs to do the following:

 

I search for a word in a pdf document, e.g. "test".

 

Then, all instances of "test" needs to be highlighted in the pdf document.

 

How can I make this work ?

 

Thanks for your help,


Arno

Need Help To Open PDF File Through VBA

$
0
0

Hi All,

 

Can somebody help me to provide a vba code which will help to open pdf files one by one and copy data from each file and paste in excel sheet.

 

I don't have Adobe Acrobat installed on my system. Only having Acrobat Reader DC.

 

In tool reference file I am able to find below library available.

 

1. Adobe Acrobat Browser Control Type Library 1.0

2. Adobe Reader File Preview Type Library

 

Thanks

Upen


add your logo and color in Adobe Acrobat Send

$
0
0

I am interested in doing this but when I click the button during the send process it sends me into Adobe Cloud.  Once I sign in I am in some generic cloud space no indication how or where I should go to upload my "Logo and Color"

 

Can someone guide me to instructions that would allow me to do that?

Creating bookmarks from access(VBA)

$
0
0

Hi all,

 

Im creating a number of bookmarks from access 2010 via VBA. And it works fine except that the acrobat.exe file still remains in process permanently. Ive found that it is this line bookmarkList = bookmarkRoot.children which causes the acrobat.exe to stay in memory. I hope im missing something fundamental here.If i remove that line, acrobat.exe closes correctly and disappears from the proccess. Ive tried bookmarklist = null(long shot) and Set bookmarkList = Nothing without success. Im hoping someone can guide me in the right direction here Im using acrobat pro X. Can anyone replicate this issue or better yet know how to fix it?

 

dim bookmarkList as variant

dim objAdobe As Object

dim avDoc As Object

dim PDDoc As Object

dim PDPage As Object

dim JSO As Object

dimBookMarkRoot As Object

 

 

 

 

Set objAdobe = CreateObject("AcroExch.App")

Set PDDoc = CreateObject("AcroExch.pdDoc")

Set avDoc = CreateObject("AcroExch.avDoc")

 

pdDoc.open("C:\xxxxx \test.pdf") 'it has one page in it

 

Set JSO = PDDoc.GetJSObject

Set BookMarkRoot = JSO.BookMarkRoot

BookMarkRoot.createChild "TEST", "", 0

bookmarkList = bookmarkRoot.children'causes acrobat.exe to stay open in task manager(processes), have tried set bookmarkList= Nothing and bookmarkList= null

 

pdDoc.save(1,'C:\xxxx\test2.pdf')

 

Set JSO = Nothing

Set PDPage = Nothing

Set avDoc = Nothing

Set BookMarkRoot = Nothing

PDDoc.Close

objAdobe.CloseAllDocs

objAdobe.Exit

Set PDDoc = Nothing

Set objAdobe = Nothing

 

Regards,

 

Ingman

change ADE ID

$
0
0

computer reverts back to a former ADE ID since changed to new ADE ID which was successful@ly used for some time  a

can't deauthorize  since the old ADE ID and pswrd no longer match

how to activate new ADE ID and with latest or new pswrd?

Can javascript function "importTextData()" work in adobe reader?

$
0
0

I have created a javascript for loading some data into a text field from txt file. It can work in acrobat, but it does not work in adobe reader, can anybody take a look for me?  Thanks.

 

I create a folder level javascript file:
//**************
console.println("getID() initialize");

trustedgetID=app.trustedFunction(function getID()
{
app.beginPriv();    // Explicitly raise privilege
this.importTextData("testID.txt", 0)
app.endPriv();

})
//*****************

Then, I attach the following JS command to a button click event in pdf:
//************
trustedgetID();
//************

In acrobat, when I click the button, it load the data from testID.txt into the field in pdf, based on the column name. But, nothing happen when I do the same in adobe reader.

When I look into the SDK document, it seems that the importTextData() can work also in acrobat reader. Is there any other setting that I need to take care in adobe reader for runing such a script?

Need reference library acroexch.dll I need this to do some automation for Excel to PDF. What product is this file in or where can I get it?

$
0
0

I need this to do some automation for Excel to PDF. What product is this file in or where can I get it?

Viewing all 2571 articles
Browse latest View live


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