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

Calculater w/ Tape plugin

$
0
0

Hello,

 

I have been on the lookout for an Adobe DC plugin that has a calculator with tape.  I can't seem to find one online. 

 

I was considering writing the plugin myself (I have a degree in Computer Science) but somewhere I read that I needed to purchase a license from Adobe to write and distribute plugins.  Is this true?  If so, what is the cost?

 

Also, has anyone seen a plugin that does what I'm looking for?

 

Best,

 

--R


Reader XI: Removing Tools|Sign|Comment from Menu and Toolbar

$
0
0

Has anyone been able to accomplish this? This is a rather annoying 'feature' of Reader XI

Add description to PDF attachment

$
0
0

Using vb.net:

I can add a PDF as an attachment (importDataObject) to a PDF, and add a button that opens it.

I would like to add a description to the newly added DataObject.

 

The JavaScript reference goes along the lines of:

var mydataobject = this.getDataObject("AttachedPDF");

mydataobject.description = "What is the attachment";

 

translating this to vb.net:

     dim jso = pddoc.GetJSObject

     dim mydataobject = jso.getdataobject("AttachedPDF")

     mydataobject.description = "What is the attachment"

 

throws an error: "Public member 'description' on type '_ComObject' not found."

 

Can this be easily added?

 

Dave

Is it possible to write a plugin that redacts portions of a pdf based upon user permissions stored in a centralized repository?

$
0
0

Hello,

 

I want to write an enterprise digital rights management software for my organization; it's fairly simple and I'm trying to do a cost-benefit-analysis of writing one vs. buying one such as the LifeCycle Enterprise Suite.  I want to define what sections within a pdf are readable for groups within an organizations.  All users within the organization that open the pdf will only be able to see what they are authorized to see with the remaining redacted (and encrypted).  It's not even clear to me something like the LifeCycle Enterprise Suite can do this; does the sdk theoretically provide this capability?

 

Thanks!

Help using C++ with adobe distiller

$
0
0

Hi,

 

I am looking for some guidance or sample code on how to call Distiller from a Visual Studio MFC app.

AcroPDF (15.6.30119.167404) causes MS Access 2013 to crash

$
0
0

I am using Acrobat Pro DC along with MS Access 2013 to print an existing PDF document. Both applications are 32-bit running under Windows 7 64-bit.

The VBA code in Access that I am using is:

 

Dim aPDF As AcroPDF

Set aPDf = New AcroPDF

 

The project compiles. But as soon as Set is executed Access crashes.

 

Is there a solution to this?

 

Thanks,

 

Ross

Parse the list of separations and create new PDF for each separation. How can I do this with SDK?

$
0
0

I wanted to parse the list of separations and create new PDF for each separation. How can I do this with SDK?

problems using CPdfDistiller.h in my c++ app

$
0
0

Hello, using the following code, my m_lpDispatch is returning NULL in my FileToPDF call.  What am I doing wrong?  I am using Windows 10 with Visual Studio 2015. I am also using Distiller 11.0

 

#include "CPdfDistiller.h"

 

 

void CTestDlg::OnBnClickedOk()

{

 

  CString cInput  (_T( "E:\\Temp\\Mike.ps"));

  CString cOutput (_T( "E:\\Temp\\Mike.pdf"));

 

 

  CPdfDistiller *myPDF = new CPdfDistiller;

 

 

  myPDF->put_bShowWindow(1L);

  short rVal;

  rVal = myPDF->FileToPDF((LPCTSTR)cInput, (LPCTSTR)cOutput, (LPCTSTR) "");

 

 

  CDialogEx::OnOK();

}


Get Folder Name

$
0
0

I have an open Acrobat file. I can link to it and 'get' various parameters:

 

Set AVDocument = AcroApp.GetAVDoc(1)

Set PDDocument = AVDocument.GetPDDoc

GetOpenPDFTitle = AVDocument.GetTitle

GetOpenPDFName = PDDocument.GetFileName

 

What I want to obtain is the folder in which the PDDocument is located. I was hoping for something simple like

GetPDFFolder = PDDocument.GetFolder  or ".GetPath" or "GetFullName" or the like, but none are available.

 

How do I determine the name of the Path or Folder of the active PDF file?

Printer selected from within the AxAcroPDFLib.AxAcroPDF toolbar resets to the default printer

$
0
0

I am developing an VB.Net application (.Net 4.0 framework) in Visual Studio 2013.  I have a control that includes an instance of the AxAcroPDFLib.AxAcroPDF control (named pdfViewer in the user control) from Adobe Reader XI.  This app can have between 2 to 8 instances of the user control, so there can be multiple instances of the AxAcroPDF control.  I'm having no problems loading files into each instance of the control.  The problem I am having is that when the user selects the Print option from the toolbar at the bottom, the printer selected is only retained for a yet-to-be-determined number of minutes, then it seems to reset back to the Default printer.  What could be causing this?  The only method I am invoking is the LoadFile(), once to load with a genuine file to view, and once with a "BLANKPDF" value to get the control to clear itself out.  Any ideas?

Compiler error C2664 with preprocessor directive _UNICODE

$
0
0

Hello,

 

I am trying to receive unicode from a pdf, so I used the preprocessor directive _UNICODE in VC2013.

 

Now I have the following error in PImail.c:

 

\adobe\adobe\acrobat dc sdk\version 1\pluginsupport\headers\api\pimain.c(422): error C2664: 'int wsprintfA(LPSTR,LPCSTR,...)' : cannot convert argument 2 from 'const wchar_t [27]' to 'LPCSTR'

1>          Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast

 

 

 

Is there a solution for this ?

Compiler warning C4297

$
0
0

Hello, while compiling my plugin with the directive _UNICODE I have the following warning in VC2013 in the PImain.c

 

:\adobe\adobe\acrobat dc sdk\version 1\pluginsupport\headers\api\pimain.c(358): warning C4297: 'miThrowExceptionToHandler' : function assumed not to throw an exception but does

1>          __declspec(nothrow) or throw() was specified on the function

 

Is there a solution for this ?

PDWordGetString returns empty string ?

$
0
0

Hello, When I use the PDWordGetString  function with the PDDocCreateWordFinderUCS function, I receive an empty string, however the PDWordGetLength function returns a value >0.

 

In documentation I read: if PDDocCreateWordFinderUCS() is used to create the word finder, PDWordGetString() returns only Unicode.

 

How is it possible that I receive an empty string ?

adding signature to excel save as pdf

$
0
0

I have an Excel application that creates proposals and saves as PDF.  Is there any way to automate putting initials on the bottom of each page and signature on last.  I would like to use Acrobat DC to send and track the documents.

 

Any advice will be very much appreciated.

 

Jim

Automate image PDF to editable PDF using Acrobat DC command line

$
0
0

I have many documents that are basically printout PDF that I need to covert to editable PDFs. I can do this manually using Acrobat DC. Hower I have several hundred PDFs and its labor intensive to do it. Is there a command line, API or action script to make DC convert a image PDF to an editable PDF?

 

Any help is greatly appreciated

 

HE


I need to know is it possible to add sub menu item for a plugin in acrobat reader

$
0
0

Hi ,

 

I need to know is it possible to add sub menu items for a plugin menu.

 

Thanks & Regards

 

Bimal George

Automating convert XSLT/XML or HTML to Editable PDF

$
0
0

Is there a way to convert XSLT/XML or HTML to an editable PDF using API or tool. Currently I can convert to a image PDF but not an editable PDF.

 

Any help is greatly appreciated.

 

HE

save as pdf not working

$
0
0

In Acrobat CS, Save As PDF not working....previously did. Now I just get four boxed changing colour and no progression.

Any thoughts on solution?

Version 2015.010.20059

Javascript PrintAll problem

$
0
0

Hello all,

 

I'm having a problem when printing multiple pdf documents. I'm doing the print in a JS-file (javascript) and I'm doing it this way :

 

for(var i = 1; i <= copies; i++) {

                    document.acrobatPrint.PrintAll();

}

 

So the document is printed silently without user interaction.

 

The problem is that not all documents that I sent to the printer are printed. Sometimes the first document is printed, sometimes the last ...

I read somewhere that this is due to the PrintAll function, but I don't seem to find a working solution.

 

Can anyone help me and solve this urgent problem?

 

Kind regards,

 

dotcom87

Transfer or Export data from pdf file to xlsx using vba

$
0
0

Hi all,

 

I work with visual basic for application (vba) in excel, however; I am now working with lot of files which are pdf and I want to used codes to transfer the data to excel for further manipulation. How do I go about that since I am new  to pdf coding.
Viewing all 2571 articles
Browse latest View live


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