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

C# code for adobe sign document object

$
0
0

I am trying to create am IMAP Windows Service and attach an event to the OnReceivingDataStream of a email server such as google.  This part I have figured out already.  The idea behind this is that Adobe Sign has a way to auto email when a document comes in signed.  I want to embed hidden fields inside the document that have folder paths and a unique ID so my service knows how to choose which site and what folder to push the signed document to.  I saw in the Rest Client API (echo sign) there is a way to pull the form fields off the adobe object.  My issue is I have a byte array for a file.  I need code to convert that byte array to the adobe sign object so I can get fields off it.  I know I can use the rest api and just search for the signed docs; but, my plan is to be able to do this in real time and not have to schedule a search.


Is there any possibility to use Acrobat SDK in Angular for OCR ?

$
0
0

Is there any possibility to use Acrobat SDK in Angular for OCR to convert PDF to text ?

AdobePDFSilent.vb example problems

$
0
0

Hi all,

 

I have been trying to get the 'adobepdfsilent' example to work without any success. When i run it it jams up in the print process routine 'PrinttoAdobePDF'.

 

if i rem out the 'createnowindow' and 'windowstyle properties I see the printer dialog and can click through it but if it's left in silent mode it just stops. I'm assuming it's actually waiting on something.


 

PrivateSub PrintToAdobePDF(ByVal InputfilePath AsString)

 

     'Prints InputFilePath to the AdobePDF printer.

     'Since we just gathered all this info programmatically,

     'this function assumes the file is present, that it has an

     'associated application and that the current user has print privileges.

    

     'Define properties for the print process

     Dim pProcInfo AsNewProcessStartInfo

    

     pProcInfo.FileName = InputfilePath

     pProcInfo.Verb="Print"

 

 


     'Make process invisible *** REM THESE OUT AND IT WORKS WITH PROMOPTS ***

     pProcInfo.CreateNoWindow = True

     pPRocInfo.WindowStyle = ProcessWindowStyle.Hidden

     'start print process

     Dim pMyProc AsProcess = Process.Start(pProcInfo)

     pMyProc.WaitForExit()

 

 

EndSub

 

Can anyone help me out?. If it doesnt work can someone point me to an SDK that will work

 

Are there any Inter-application communication API methods to open Visio documents as PDF?

$
0
0

I tried to accomplish this using the Open method on the AcroExch.AVDoc object and that did not work. I appreciate any suggestions you may have.

 

Thanks,

Seenu

Combine PDF files programmatically

$
0
0

Is there a way to combine pdf files from the command line on Windows by passing arguments in to an executable?  I have Acrobat XI Pro.

How do you access the routines documented in the PDF Accessibility API Reference?

$
0
0

I am trying to use the accessibility features of the Adobe Acrobat SDK.  I have obtained the following document: PDF Accessibility API Reference, Adobe® Acrobat® DC SDK, May 2015. However, these routines do not appear in the Adobe Acrobat SDK header files, so I am unable to use them in my plug-in.  Is there another header and/or library that I need to download?  I have not been able to find such after extensive searching.

Can the Acrobat JSO list/create portfolio subfolders?

$
0
0

Within the Acrobat Pro view of a portfolio PDF file, I'm able to right click in the file and select "Create Folder" to create folder hierarchies for organizing portfolio attachments.

 

I'm using Acrobat PRO DC and Excel VBA to automate some interaction with these Portfolio PDF files.  Using the Adobe JSO, is there a way to get a list of existing portfolio subfolders? Or to create new folders?   

 

I'm able to add an attachment to a folder within a portfolio file using something like:

Call jso.importdataobject("<1>subfile.txt","/F/Development/PermFile/subfile.txt")

This will import "subfile.txt" into the first existing folder within the JSO's portfolio file. However, this code does not work if a folder does not already exist in the portfolio file. So I'd like to be able to list existing folders in order to determine the correct folder index on the fly.  I'd also like to be able to create new folders/subfolders within the portfolio file.

 

Existing folders don't seem to be part of what's returned via the dataObjects collection, so I'm assuming the portfolio subfolders must be stored/modeled in some other fashion.

 

I've searched the SDK for information about portfolio/collection subfolders and couldn't find anything.  Any help would be greatly appreciated.  Thanks!

 

-Sam

Creating pdf documents with metadata taken from database

$
0
0

Hello

I wonder that creating pdf documents with metada which is taken from MS SQL database (or plain text,xml etc.) is possible or not.

I have some images in file system and information about these image in database. I want to use acrobat (or any application,sdk etc) to convert these images to pdf documents with related information in metadata.

Thank you all for your helps.


Looking for pdf info that could point to the right data pre-OCR

$
0
0

I am creating an application that will provide the user with very limited specific information about a large pdf file (300 to 400 pages). OCRing the file is too time consuming and gives me too much irrelevant information. I can zero in on data I need based upon a couple of things: the name of the bookmark, and the general layout of the pages of that bookmarked exhibit. The pages are not pdf forms, they are basically boilerplate forms that present data in a uniform way. I would like to be able to create code that would harvest that text data. Essentially I am wanted to use the positioning of the data on the form to tell me what the data is. So, for example I know that "01/01/1998" is a birthdate based upon where it is positioned on a general page. Is this possible?

sdk deskew pdf

$
0
0

How can I deskew a page using Acrobat X Pro sdk

Adobe Acrobat Pro no permite editar los encabezados y pie de página como así tampoco insertar pequeñas imágenes, como logos o escudos.

$
0
0

Adobe Acrobat Pro no permite editar los encabezados y pie de página, ni tampoco insertar en los encabezados pequeñas imágenes como logos o escudos.

Password request for an unprotected document

$
0
0

Hi,

 

I tried to open an unprotected PDF document, acrobat reader DC (18.11.20036) asks for a password. I tried to open it with other programs, no one else asks. How it can be possible?

 

Other programs I used:

Google Chrome / Firefox

Acrobat 9.0

PDF Architect 4.1

acrobat 9 trying to use vb to se fields gives error acroexch.app not installed

$
0
0

how do I resolve this I have googled unti numb

acrobat - yellow highlighting

$
0
0

i have a pdf file which appears to be text in layers and i am trying to highlight various figures in the spreadsheets with the yellow marker pen - unfortunately the document has a 'duplicate' watermark and whenever i try to highlight the text i need it always selects the watermark which seems to be on the top layer - is there a way to ignore this if not can i convert the contents of the page to an image which i can then highlight easily? TIA

Any updates regarding the possibility to automate PDF compare?

$
0
0

Hi,

I see there are some posts from a year ago where you write that it is not possible to automte PDF compare.

I think this would be a very appriciated option so I wonder if there are any updates regarding this topic?

 

Is there any way to automate the compare? maybe by starting the Reader from CMD with some input parameters?


AcrobatPlugin #include , error c1189

$
0
0

I can compile the BasicPlugin just fine.

 

Now I'd like to add libraries, namely <vector>. But doing so will result in the error `fatal error C1189: #error :  The C++ Standard Library forbids macroizing keywords. Enable warning C4005 to find the forbidden macro.'.

 

Commenting out line 707 in CorCalls.h seems to fix the problem, but I have no idea what this will break in turn.

 

Is it not possible to include anything in Acrobat plugins or is there a way to fix this?

 

[...]

// Acrobat Headers.

#ifndef MAC_PLATFORM

#include "PIHeaders.h"

#endif

#include <vector>

[...]

Acrobate DC 64 bit

$
0
0

I want to use AdobeDC in 64 bit C# application..

As there is no version of 64 bit availabe for Adobe DC, i tried to build my C# application with 32 bit Adobe DC reference in my code but it gives error while building application.

 

any solution to use AdobeDC in 64 bit C# application ?

 

Thanks

Why are not all words transferred to my Excel sheet?

$
0
0

The code transfers all the values from the PDF file into my Excel sheet .... I thought so .... On page 2 and following, after two-thirds of the page the enumeration ends and it continues on the next page ... On page 1 but everything is transferred .... has anyone ever had the phenomenon? I need all the text from the PDF

 

 

Set jso = PDDoc.GetJSObject

 

i = 0

 

For iPage = 0 To PDDoc.GetNumPages - 1

    icount = jso.getPageNumWords(0)

        For iWord = 0 To icount - 1

            word = jso.getPageNthWord(iPage, iWord, True)

            If VarType(word) = vbString Then

              Tabelle5.Cells(i + 1, 1) = word

                i = i + 1

            End If

        Next iWord

Next iPage

  

Set PDDoc = Nothing

Set jso = Nothing

 

 

 

greetings tobi

Generate PDF from a Web App

$
0
0

Preface: I searched the Google and Adobe forums first, honest.

 

Background: I made the world's coolest dynamic Acrobat JS app/pdf thing for this guy to create and complete dynamic reports using templates and such.

 

Problem: Now I'm working on a web app (html, javascript, php, MySQL -- so far ... I'm willing to learn whatever I need to ... I'm also learning Python) so he and his employees can contribute anywhere/anytime from a desktop browser, phone, or tablet and then compile it into a report. Short-term, I'll create something so they can download some XML or other form data to import into the report -- a supplement to the existing PDF thing I've created. Long-term, I want all the building to be browser-based so they can just export a pretty PDF at the end.

 

Question(s):

  • I'd rather create my own, but is there an existing server-side app that does this? I thought for sure there were, but now I can't find them. My host/server is Linux.
  • Ugh, am I going to need a more expensive dedicated server?
  • Is Distiller the answer? I know Distiller can be on a common server but a web server for a web app?
  • For creating my own, is the Acrobat SDK documentation the place to continue reading? Or is that for just working in Acrobat itself?

addWatermarkFromText- Text Alignment

$
0
0
I got the VB.Net sample code from the SDK zip and I'm programming against Acrobat 8. I had no problems modifying the code for my own use except for the 4 parameters that position the text: nHorizAlign, nVertAlign, nHorizValue, nVertValue

The code does not have any named constants for the parameters (I didn't see anything in lac.vb). I've sort of got it working, but in order to get the text to appear higher on the page I increase the value of nVertValue. This seems counter-intuitive.

nVertValue = 200 puts the text higher than nVertValue = 20. What is the correlation and are the constants for nHorizAlign and nVertAlign listed anywhere?

Thank you,

Greg
Viewing all 2571 articles
Browse latest View live


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