Quantcast
Channel: Adobe Community : Discussion List - Acrobat SDK
Viewing all 2791 articles
Browse latest View live

Can I use Acrobat SDK to convert pptx to pdf?

$
0
0

I need a possibility to convert pptx file to pdf from my app. Can I use Acrobat SDK to achieve this? If yes, should Actobat be installed on each machine that does it?

 

Regards


closed file with acrobat the simple for spread?

Questions about Interapplication Communication in Acrobat DC SDK for Acrobat Reader DC

$
0
0

I want to be able to view PDF documents from my Windows application with the help of Acrobat Reader DC.

I've read the Acrobat DC SDK Documentation and tried the samples, but I still have a couple of questions.

 

  1. Am I right that AcroPDF library is the only way to view PDF documents with the help of Acrobat Reader DC?
  2. Is there any way to display just PDF documents without additional UI elements when using AcroPDF library?
    As when I try to follow AcrobatActiveXVB sample in my application and open the document from the sample (https://www.adobe.com/epaper/pdfs/elib_swedish_libraries.pdf ), I get the following:
    1.PNG
    And this is already strange since SetPageMode states that "none" is the default mode (Acrobat DC SDK Documentation).
    With the help of the following code I manage to make the look closer to what I want:
    axAcroPDF1.setShowScrollbars(false);
    axAcroPDF1.setShowToolbar(false);
    axAcroPDF1.setPageMode("none");
    2.PNG
    But in order to get a nearly ideal look I still need to click on the arrows to hide UI elements, so I can get the following look:
    3.PNG
    But there's still an arrow as UI element on the right side. Can I achieve something like this programmatically (ideally without that arrow on the right side)?
  3. AxAcroPDFLib.AxAcroPDF is always reset when I load another document. Is there any way to remember the previous state? I mean not to call
    axAcroPDF1.setShowScrollbars(false);
    axAcroPDF1.setShowToolbar(false);
    axAcroPDF1.setPageMode("none");
    for every document I open.

 

P.S. I am actually quite OK to open Acrobat Reader DC and send some keystrokes to it, but in the guide to command line parameters (https://wwwimages2.adobe.com/content/dam/acom/en/devnet/acrobat/pdfs/AcrobatDC_pdf_open_pa rameters.pdf ) I couldn't find a way to open Acrobat Reader DC full-screen. This was my best try using the following arguments:

"C:\Program Files (x86)\Adobe\Acrobat Reader DC\Reader\AcroRd32.exe" /A "pagemode=none&scrollbar=0&toolbar=0&statusbar=0&messages=0&navpanes=0" "elib_swedish_libraries.pdf"

4.PNG

Is there such a possibility?

 

Thanks in advance.

Can not preview with Adobe Acrobat Reader

$
0
0

Hi,

 

We find two issues related with Adobe Acrobat Reader:

  • Win10 32bit: can not preview with Adobe Acrobat Reader DC(latest version) or Adobe reader XI installed.
  • Win7 32bit: can preview but exit slowly with Adobe Acrobat Reader DC(latest version) installed, normal with Adobe reader XI installed.

 

The reason for can not preview: method DoPreview() return E_FAIL.The reason for exit slowly: method release() is slowly when first time close the preview.
Please take a look at the demo in attachment, we are  looking forward to your reply, thank you very much.

Text Selection not removed after selecting a Text in Acrobat 2015

$
0
0

I am implemented Select Text functionality in one of my plugin,

 

here, I want to remove previously selected Selection, once i selected another Text.

In Acrobat 2011 and 2017 it was working fine, but in 2015 it was not working.

Please any one help me, to solve this issue.

 

Thanks..

Using Compare Document tool of Adobe pro via IAC or OLE or Web-service

$
0
0

Hi,

I am developing VBA code where I can use/Call the compare document tool provided by adobe in the DC pro version . How can I do that. Is creating a custom action a better choice. Also, I read in adobe forums that Compare tool is not available as an API. Automate Compare Files

Is it available in the latest version now.?

Also, Is there a web service that I can use of Adobe that will let me do the PDF compare.

Thanks

Text with blue color detection in PDF document

$
0
0

Hi All,

I would like to seek help if there's anyone here know if there's any SDK/API which can help detect text with blue color RGB(0,0,255) and it's location within the PDF page? We are working on a project which will need this functionality. I'm also working with Pfizer and if there's Acrobat support team colleague who sees this one, please can you reach out to me via following email? Many thanks!

 

[E-mail add removed by Mod. Please, Do not write any private info in public]

 

Bruce

What is the CLSID for AcroExch.PDDoc?

$
0
0

I found an entry in regedit.exe under HKEY_CLASSES_ROOT/AcroExch.PDDoc as: {FF76CB60-2E68-101B-B02E-04021C009402}

 

Can someone confirm whether this is the correct CLSID?


Error creating "AcroExch.PDDoc" from VB.NET code

$
0
0

I am using the sample project "JSObjectAccessVB" from the Acrobat 9 SDK samples.  The following line gives an error:

     srcDoc = CreateObject("AcroExch.PDDoc")

The error message is:

     Unable to cast COM object of type 'System.__ComObject' to interface type 'Acrobat.CAcroPDDoc'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{9B4CD3E7-4981-101B-9CA8-9240CE2738AE}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).

 

I tried replacing the above line of code with the following:

        Dim clsID As Guid = New Guid("{FF76CB60-2EC8-101B-B02E-04021C009402}")
        Dim pdDocType As Type = Type.GetTypeFromCLSID(clsID)
        srcDoc = Activator.CreateInstance(pdDocType)
but in this case, the call to Activator.CreateInstance never returns - the execution just hangs there.

 

My OS is Windows XP Professional - using Visual Studio 2005.  Acrobat 7.0 Professional is installed; I'm fairly certain that the above code does not require any modification between Acrobat versions 7 and 9.

 

Suggestions anyone?

 

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

Parse Hard Table

$
0
0

Hello,

 

I'am using Adobe Pro DC in order  to export financial PDF reports to HTML (or Word).

However, the tables are hard (in fact extremely hard)  to parse and the toolkit failed to correctly detect tables.

The PDFs have a high quality, the problem is that the tables are artistically\carefully designed.

Is there something i can do  or some trick in order to improve table parsing accuracy.

 

Thanks,  

Custom digital signature algorithm

$
0
0

I was able to sign a pdf document with GOST algorithm, but Adobe Reader

throws exception while validating the signature, because the GOST algorithm

is not supported. How can I validate it in any way? What should I do to add

the algorithm to Adobe Reader? Can I make it by means of plugin?

 

AxAcroPDFLib.AxAcroPDF in VB.NET project

$
0
0

Hello,

im using AxAcroPDFLib.AxAcroPDF object for viewing pdf dokcuments in vb.net appliacation. Everything works fine until I change Reader's (9.3.0) preference option "Internet - Display PDF in browser" to false. Then application crash with error "COMException : Error HRESULT E_FAIL has been returned from a call to a COM component." Even the VS project is then corrupted because the "Adobe PDF Reader" toolbox component isn't functional. Reinstalling Reader has no effect on this behavior. Does anybody know how to solve this problem?

Thanks

Do I have to install acrobat pro at the customer's computer

$
0
0

Hi,

I made a software which provide exporting the pdf file to html page

Am using Delphi programming language to do that with this code:

 

{$R *.dfm}
{$TYPEDADDRESS OFF}
var  objAcroApp: AcroApp;  objAcroAVDoc: AcroAVDoc;  objAcroPDDoc: AcroPDDoc;  objJSO: Variant;  boResult: Boolean;
procedure TForm1.Button2Click(Sender: TObject);
var  workPath : string;
begin  workPath:= 'c:\temp\';  objAcroApp := CreateOleObject('AcroExch.App');  objAcroAVDoc := CreateOleObject('AcroExch.AVDoc');  boResult := objAcroAVDoc.Open(workPath + 'test.pdf', '');  objAcroPDDoc := objAcroAVDoc.GetPDDoc;  objJSO := objAcroPDDoc.GetJSObject;  boResult := objJSO.SaveAs(workPath + 'test.html', 'com.adobe.acrobat.html');  boResult := objAcroAVDoc.Close(true);  boResult := objAcroApp.Exit;  objJSO := Unassigned;  objAcroPDDoc := Unassigned;  objAcroAVDoc := Unassigned;  objAcroApp := Unassigned;
end;

 

After installing the acrobat DC standard / pro at my pc the application is working fin.

But my question is : when I move the application to the customer's pc,

Do I have to install (the acrobat DC standard / pro) for them?

 

If I don't want to install (the acrobat DC standard / pro) what I have to do?

 

Thanks a lot for help.

Many broken links in Acrobat SDK Library API reference

$
0
0

Hi

 

I am experiencing many broken links in the Acrobat SDK Library API reference. I am trying to find some information about ASFileSys but all I get is a 404.

Many other links are broken too. Do I have the wrong URL? Is it somewhere else I can download this information?

 

Acrobat and PDF Library API Reference

 

Thanks


excel userform

$
0
0

Is it possible to embed Acrobat "AcroExch.App" in an Excel Userform ?

 

I do not want to use AcroPDF as there is no functionality to fill out form fields.

Where did the Livedocs go?

Need Actionscript

$
0
0

I have a series of PDF files that need to be adjusted for printing, e.g., the content is not spaced properly. There are 9 content areas (3 across and 3 down) on each of files ranging from 32 to 60 pages. I tried to do this manually, but it is much too time-consuming. I tried to create actionscript, but don't have the technical expertise to code it. Someone else wrote a macro in vba, but could not get the crop command to work. Here's what I was doing manually:

Define first crop area

Crop

Print to PDF (page size 2.83 x 3.66 centered

Save file as page 1

Close file

Reopen file

Define next crop area

Etc.

After the last of the 9 areas - go to next page.

Repeat until end of file

 

I manually assembled the pages into one document which I can continue to do manually as it's easy to do so in Acrobat. The printer can then step & repeat the file to print the 9 areas spaced properly on 8.5x11 so they could be cut to a consistent size.

 

Is this the way to do it? I don't have access to the original files to create the pdfs.

 

I also don't know Javascript.

Create PDF file through C#

$
0
0

Hi,

My requirement is to create PDF file through C# application. My company purchased "Acrobat Pro DC". I go through the "Acrobat DC SDK documentation", but not able to identify the entry point.

Can any one please assist us so that we can integrate it in our application.

 

Thanks in advance

Jitu

Add Reference To AxAcroPDFLib

$
0
0

I have found numerous examples online showing how to display a PDF in your program by using the AxAcroPDFLib assembly.  However, I don't seem to be able to figure out how/where to access this assembly. In Visual Studio, I've tried to "Add Reference" and under "COM" it doesn't show the "Adobe PDF Reader" item that many online examples refer to.

 

I've tried adding a reference to the AcroPDF.DLL in:

 

C:\Program Files (x86)\Common Files\Adobe\Acrobat\Active X\

 

However, this does not supply a definition for the AxAcroPDFLib mentioned in the various examples.  It supplies a reference to AcroPDFLib which in turn gives me the AcroPDF interface, which isn't recognized as a user control.

 

Installed on my system:  Adobe Acrobat Pro DC, Adobe Acrobat Distiller DC, Adobe Reader X

 

 

I don't want to do anything too fancy.  Just display a PDF within my forms window.  But I'm completely lost at this point. Can anybody aim me in the right direction?

Viewing all 2791 articles
Browse latest View live


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