Is there a way to write a web application (asp.net) that load pdf file, read its fields, edit the fields and save the documents with a new name?
The C# examples that exist in the SDK are not web example and used to open the PDF file. This behavior can cause a bed performance in web applications
How to load PDF in web application file without open it?
Modifying PDF with SDK
Hello,
I have some questions, I would be thankful if someone could help me:
1- when I open the ActiveView sample from SDK (Adobe DC) on windows, the selected pdf is not rendering properly, Do I need to do anything to get it to work without any issue? and when I click on comments the application stops working. Here is the Screenshot.
2- How Can I extend the ActiveView sample to have the commenting toolbar (including the drawing tools like line and etc...)?
3- Can I add line to pdf file through SDK classes?
4- Can I Enable commenting toolbar in Acrobat ActiveX control or is there any other control from Adobe Acrobat pro to use with commenting toolbar enabled?
Thanks,
Font embedding
Hello,
I want to implement plug-in for font embedding. Is there any method to call font embedding from preflight through coding using Acrobat SDK.
Please help me.
Thanks,
Sowbhagya
Acrobat Reference in Excel VBA on Mac (not PC)
I am having troubles with setting the reference to Adobe Acrobat from Excel VBA which is running on a Mac.
Let me provide a bit of background:
I have been programming VBA within Windows in Visual Studio, Access and Excel for a couple of decades. So I am very comfortable with both Windows and VBA. Recently, thanks to some assistance from one of the forum questions I posted, I was able to beginning writing an Excel program which interacted with the various forms I created with Adobe Acrobat Pro DC for my windows laptop to retrieve information from the form to various tabs within the Excel workbook, my first venture with Excel/Adobe interaction.
I was doing all of this for a friend. Unfortunately, my friend has a Mac. So now I am trying to get this Excel workbook to work on his Mac with the loaded Office. However, I have run into a big problem with regards to the reference to Adobe Acrobat.
He also has installed Adobe Acrobat Pro DC on his Mac (he has even tried to make minor changes to a few forms). Since he is not technical savy, he has no idea what I am talking about with regards to trying to solve the "Adobe Acrobat 10.0 Type Library" reference error. And since I don't know my way around a Mac, I don't know where to look or what to look for.
So it boils down to the following:
-I have an Excel macro that works successfully on Windows that references Adobe Acrobat Pro DC (reference solved without my assistance)
-I have moved that same Excel macro workbook to a Mac
-Adobe Acrobat Pro DC is installed on both the Windows laptop as well as the Mac
-The "Adobe Acrobat 10.0 Type Library" reference on the Mac is unresolved and I have no idea how to resolve it as I am not a Mac user.
So in some ways, this is a Mac vs PC question but it is trying to solve the Adobe reference. So I hope someone here might be able to provide some guidance or suggestions.
Thanks in advance,
Nick
Adobe PDF Reader COM-Components licensing
Hello there,
i would like to use the adobe pdf reader com components in my application to show pdf files, which is selled to our customers.
So I read a lot about licensing in this forum but my answer is still not clear.
So I explain my steps:
1. I added a Windows Forms UserControl to my Application, then added Adobe PDF Reader Com-Components to the UserControl. (VS 2017)
2. When i perform step 1 , two libraries are automatically added to my project, AcroPDFLib and AxAcroPDFLib.
When I Compile my project now, these two dll's are copied to my Debug/Release folder.
To Run the Appliaction these Two libraries are needed.
I dont't want to deliver Adobe PDF Reader at all, i just want to deliver these two dll's do my customers. If they have Adobe reader installed, fine it will work and pdf files are shown with Adobe Pdf reader, if not installed, a webbrowser control will just offer to download .Pdf files instead of showing them.
Is there any need in this case to license it? The two libraries are useless in case Adobe Reader is not installed, i know, but for my application it will not cause a problem.
Enforcing mandatory field
I do not want my form user to move to a subsequent field without filling the previous mandatory field. How do I do this?
Javascript for "Submit form"
Is it possible to create / modify with JavaScript the "Submit form" button in order to send the PDF Form to SharePoint Foundation and not only the data (XFDF)?
Extract text location
Dear all
is it possible we can extract all text from a page of PDF with text location or coordinates by writing a script. Thanks
Extract text location
Dear all
is it possible we can extract all text from a page of PDF with text location or coordinates by writing a script. Thanks
Step Through Form Fields in C (ActiveX)
I would like to step through the fields in a form (similar to VB's "For Each Field in Felds").......but I am confined to a C environment. I created an ActiveX controller for Adobe and for AFORMAUT. The code below works.......I just need to figure what to put in the "For" loop to step through the list of fields.....any suggestions? The ActiveX controller does not provide a lot of help......
//Open Acrobat, Open File, Show Acrobat
Acrobat_NewCAcroApp (NULL, 1, LOCALE_NEUTRAL, 0, &acroHandle);
AFORMAUTLib_NewIAFormApp (NULL, 1, LOCALE_NEUTRAL, 0, &formHandle);
Acrobat_NewCAcroAVDoc (NULL, 1, LOCALE_NEUTRAL, 0, &avHandle);
Acrobat_CAcroAVDocOpen (avHandle, NULL, datasheetPath, "TEMP OPEN", NULL);
Acrobat_CAcroAppShow (acroHandle, NULL, NULL);
//Get Form Fields, Count, Get Value, IsReq, IsHidden, IsReadOnly, Type
AFORMAUTLib_IAFormAppGetFields (formHandle, NULL, &axHandle);
AFORMAUTLib_IFieldsGetCount (axHandle, NULL, &fieldCount);
AFORMAUTLib_IFieldsGetItem (axHandle, NULL, "UUTPartNumber", &fieldHandle);
AFORMAUTLib_IFieldGetValue (fieldHandle, NULL, &fieldGetVal);
AFORMAUTLib_IFieldGetIsRequired (fieldHandle, NULL, &fieldGetReq);
AFORMAUTLib_IFieldGetIsHidden (fieldHandle, NULL, &fieldGetHid);
AFORMAUTLib_IFieldGetIsReadOnly (fieldHandle, NULL, &fieldGetRO);
AFORMAUTLib_IFieldGetType (fieldHandle, NULL, &fieldGetType);
for (i = 1; i <= fieldCount; i++)
{
//How do I step through the fields and get their names in an array?
}
Coordinates in a PDF
Can anyone tell the exact procedure to extract the coordinates of each word in a pdf file?
Reading contents of a PDF into EXCEL
Is there any method through which I can read the contents of PDF into Excel sheet without using Sendkeys? (Code preferred in Python, VBA, Javascript only)
How to capture Mouse down,up and move events to add my own handling on PDF Doc
Hi all,
I need to capture mouse down,up and move events when Left-click on PDF Doc so that I can add my own handling code for them.
I found DoClickProType Callback function for mouse click in PDF API Reference.But I need the complete Callback functions for mouse
operation such as mouse down,up,move and so on to draw my own polygon on PDF Doc.
How should I get them?
Thanks
zexmer
With VBA in excel, how can I copy a pdf document (page by page into different worksheets)
I want both a page image and the text from that page on each worksheet but am struggling with the acrobat object model....
Reader-enabled plugin unloading when an external library is used
Hello,
I am developing a plugin for Adobe Reader which has to interact with an external web service.
To interact with this web service, I'd like to use the C++ REST SDK, hence I have to include its library in my plugin.
As soon as I add a source file using any C++ REST SDK object in my plugin, it will compile, load in Adobe Reader and unload as soon as it starts.
If I just include the library in the source file, it runs normally. I tested my source file in another project and it works well.
The only clue I get about this unloading is the following lines in the output of Adobe Reader (debugged in Visual Studio):
'AcroRd32.exe' (Win32): Loaded 'C:\Program Files (x86)\Adobe\Acrobat Reader DC\Reader\plug_ins\MyPlugin.api'. Symbols loaded.
'AcroRd32.exe' (Win32): Unloaded 'C:\Program Files (x86)\Adobe\Acrobat Reader DC\Reader\plug_ins\MyPlugin.api'
Exception thrown at 0x7795A9F2 in AcroRd32.exe: Microsoft C++ exception: _ASExceptionInfo at memory location 0x005FD664.
My plugin is successfully signed for Adobe Reader (I have a RIKLA key), it's based on the BasicPlugin sample, and I checked that the C++ Rest SDK is correctly included in the MyPlugin.api file.
I also haven't found any information about such an "AsExceptionInfo" anywhere.
Do you have any idea about how I could solve this problem?
Thanks in advance for you answers.
How to fill XFA-based form fields using interop.acrobat.dll c#?
How to fill XFA-based form fields using interop.acrobat.dll c#?
I have 3 pages it is replacing only first field in page only, could you please help on this
I need to be able to write to an existing PDF document using Microsoft Access. Which SDK do I need to purchase?
I need to be able to write to an existing PDF document using Microsoft Access. Which SDK do I need to purchase?
how to open PDF file in WPF
I'm using VS 2017 and Adobe Acrobat Reader DC. I would like to create WPF VBwindow form to display PDF file. Can some body explain or share sample code in VB to display PDF file?
Thanks.
C# Is it possible to run PDF Optimizer programmatically?
Is it possible to run PDF Optimizer programmatically from within C# application? If it is, would you mind pointing me at the right direction (reference, library)?
I've spent whole day researching this issue with no success. Any help is much appreciated.
What I'm doing is checking files for user-specified errors, then re-saving them with some changes. I was able to proceed this far with Acrobat Type Library. Unfortunately, the last step is to optimize files, that wouldn't pass yet another test with user-specified PDF Optimizer settings. I wasn't able to find any useful information on how to do this.
Thanks for any help.
Why does Adobe tool SignPlugIn frequently throw "can't update resource in plugin" error?
Why does Adobe tool SignPlugIn frequently throw "can't update resource in plugin" error? It occurs once every 3 tries and seems less often if runs on the machine with fast hard drive.
Procmon,i.e. process monitor, log shows that Adobe tool failed to access .api file because of a file named "RCXEBnn.tmp".