PDF/Acrobat SDK
I would like to embed pdf documents inside a c++ application I am building for windows environment.
I am looking for a library that would enable rendering and zooming of pdf documents without the presence of Acrobat menues.
The final software will be deployed to many dozens of computers, so payment on per-installation basis is not feasible, rather I am looking for a product that will be installed only on the developer's computer.
Is PDF SDK Library good for this purpose( for development)?
What I will have to install on each computer ?
The Adobe PDFLibrary can certainly be used for this purpose. The Library is included with each copy of the software (as it's a set of DLLs).
As to license concerns, discuss that with Datalogics (http://www.datalogics.com).
Similar Messages
-
Extract highlighted words from a pdf (Acrobat SDK, OLE)
Hello Acrobat gurus ! :-)
I'm new to the SDK, so please excuse any "stupid" question i might have.
Here is what i want to do:
I want to search for a group of words in a pdf document. According to the SDK documentation, once i search for a text using AcroExch.AVDoc.FindText(), the function "Finds the specified text, scrolls so that it is visible, and highlights it."
I was assuming that after calling this function with my string, once the string is found i will have acces to the coordinates of the rectangle containing the highlighted group of words (i presumed that those words would be automatically contained in an object of the type AcroExch.HiliteList) and to the coordinates of those words.But i'm not able to do so, i cannot find any function(s) that give me that kind of access.
So question is:
Is it possible to access the coordinates of the rectangle/words that are highlighted in a pdf after calling the FindText() function ? Can someone help me get on the right track ?
ThanksOk, let me give you an more elaborate example, maybe i don't ask the right question.
Let's say i have a pdf, containing the following text in the first page
--- arbitrary number of ":"
Mother's Name: Joanna
Father's Name: Josh
other text
If i call the function like this: FindText("Mother's Name:"), acrobat is going to find the first occurance of my string. What i want to do is to be able to get the coordinates of this WHOLE string OR the coordinates of the last character in the string (in this case ":").
The problem is that if i go for the coordinates ofthe double dots i cannot just look for them in the pdf, because i may have an unknown number of double dots (":") before the ones i'm interested in. The logical solution in this case would be to get the coordinates of the entire string ("Mother's Name:" in this case) and then get the coordinates of the double dots i'm interested in.
Would that be possible ? -
How to convert html to pdf using acrobat sdk 8.0?
hi
I am a beginner of acrobat sdk .
I want to know How to use acrobat sdk 8.0 to convert html to pdf?
herere some questions :
1:How to support navigation inside PDF file that generated using acrobat sdk 8.0? For example: theres catalog in the top of HTML file, customer hopes can navigate inside the PDF file just like navigating inside the HTML file.
2:How to support operating some controls in the PDF file that generated using acrobat sdk 8.0? For example: therere some drop down list and text box in HTML file, customer hopes can input text in the text box, click the drop down list to see available options in it just like in HTML file.
Thanks in advance for any help and suggestion.Hello,
I want a system to re-brand my 37 pages PDF for affiliates.
I want a php dynamic link in the PDF online in order to personalize automatically the PDF for each affiliate. I need to change 2 links each time. The affiliate ID and the Paypal email (payment button) in page 36.
Can you help?
Please let me know
Thank you
Alex
PS My system is online and i can give you the url if it helps. -
Merging PDF / Page Numbers / Acrobat SDK V9 & LiveCycle
Hello everyone,
I use Adobe LiveCycle to create forms, Visual Studio 2005 and the Acrobat SDK for the application I'm programming to fill in these forms. The application fills in the forms and merges them with no issues.
The problem I have is that these pages have page numbers in the upper right. I use the Page N of M object on these forms in LiveCycle. PDF page numbers are filled in correctly when filling in the forms, but when I merge PDFs, the pages keep their original page numbers. I've looked at the Windows - Interapplication Communications even using templates to no avail.
How can I merge these pdf's and have my program renumber these pages correctly and how can insert pages anywhere I want in the merge document?
Below is the code I use to merge the PDF's. It was posted in a forum.
Sub MergePDF(ByVal ThePath As String, ByVal outFileName As String)
On Error GoTo serror
Dim dPDDocMerge As New Acrobat.AcroPDDoc
Dim dPDDoc As New Acrobat.AcroPDDoc
Dim strFiles() As String
Dim numPage As Integer
Dim TotalPage As Integer
Dim objThisFile As IO.FileInfo 'get FileInfo object for file string
strFiles = System.IO.Directory.GetFiles(ThePath) ' Read in the file names
Dim b As Boolean ' mostly for testing purposes... could use it for error 'checking to make sure that a file is really added before deleleting it...
For i As Integer = 0 To strFiles.Length - 1 ' run through all the files in 'the directory
objThisFile = New IO.FileInfo(strFiles(i)) ' Get the extension
If objThisFile.Extension = ".pdf" Then ' Only add in PDFs
If dPDDocMerge.GetFileName = "" Then ' check if it's the first file
dPDDocMerge = New Acrobat.AcroPDDoc
b = dPDDocMerge.Open(strFiles(i)) ' open first file
TotalPage = dPDDocMerge.GetNumPages
Else
dPDDoc = New Acrobat.AcroPDDoc
b = dPDDoc.Open(strFiles(i)) ' open other files
numPage = dPDDocMerge.GetNumPages ' get the page count
TotalPage += numPage
b = dPDDocMerge.InsertPages(numPage - 1, dPDDoc, 0, dPDDoc.GetNumPages, _ False) ' Insert
End If
End If
Next
'b = dPDDocMerge.Save(1, ThePath & "\" & outFileName) ' save file
b = dPDDocMerge.Save(1, ThePath & "\" & "\MyTest.PDF") ' save file
b = dPDDocMerge.Close()
Exit Sub
serror:
MsgBox(ErrorToString)
End Sub
Thanks for any code or advice.You can't merge LiveCycle forms this way :(. LC forms are NOT standard PDF files and can't be processed in the same way.
-
Create pdf using Adobe acrobat sdk
Hello,
I'm new to this concept of using adobe sdk to convert a html into pdf.I would like to know few details regarding this..
I went thorugh the documentation but I did not get any help about the vector image support in the pdf and I aslo want to know abot the dpi support in the pdf.
I also want to know wether I can create a pdf form a Html page.
thanks for the help.>I want this to be on the server.
Ok, we can start there - or stop. The Acrobat SDK is for automating
Acrobat. Acrobat must not be installed on a server. So you cannot use
Acrobat.
Adobe have a PDF Library, which can be licensed for server use. But it
does not have any easy HTML to PDF converter.
You might look into LiveCycle PDF Generator, a different application
with a Java API and more, for server use.
>The dpi what I was talking about was..in the pdf i want a logo to appear that would around 200-300 dpi.That logo is a vector image.
This seems a contradiction. PDF files can store text, vector images
and bitmaps/images. If you store a vector image, it remains vector and
there is no dpi to worry about.
HOWEVER if you can only convert HTML
1. HTML does not support any vector formats
2. HTML often forces images to 72 dpi.
HTML is not suitable for print quality.
Aandi Inston -
Usng Acrobat SDK to create form fields on an existing pdf
I am trying to implement a browser based editor for my company's application. This requires to fetch an already created pdf document, add form fields on it and display on a browser.
Does it look feasible? Does Acrobat SDK allow to create a fillable pdf from an existing file?
Vishal(This question is actually more suited to the Acrobat SDK forum)
-
Acrobat SDK to create form fields on existing pdf
I am trying to implement a browser based editor for my company's application. This requires to fetch an already created pdf document, add form fields on it and display on a browser.
Does it look feasible? Does Acrobat SDK allow to create a fillable pdf from an existing file?
VishalVishal:
Take a look at the FormFieldSampleService in the Datalogics PDF Java Toolkit. The toolkit was developed by Adobe and, as you'll see in the sample, provides an API to add fields to a PDF file.
FormFieldServiceSample | Datalogics Developer Resources -
How to create a blank PDF using acrobat SDK in perl or c#
please help me with creating blank pdf using acrobat SDK in c# or in perl
Hi, can you please let me know which version of Adobe you used in this tutorial?
I have the Adobe Reader XI - is there a similar tutorial for this version?
Thank you. -
I am trying to find whether each page in PDF document is color or monochrome.
For doing this I am rendering the PDF page to Bitmap object using Acrobat SDK DrawEx() or CopyToClipboard()
Once after rendering the PDF page, I am using GetPixel() to read each pixel value to decide about color or Monochrome.
Problem:
When I read the pixel to decide about the page color or monochorme, in some XP machines it is showing the PDF page as color and in some PC it is showing it as Monochrome. Color quality in both the system is kept as 32 Bit.
After this I tried copying the PDF page directly into clipboard and then take the clipboard image to decide about color and monochorme, but even this also behaves in the similar way.
Question:
Why rendering the PDF page to Bitmap object using DrawEx() or CopyToClipboard() is behaving differently in each machines.
If required I will send my sample project.
With regards,
Rajeshrv.In SDK documentation, there is no methods are defined for getting the color of the page. In color spaces and color values, we can set the color for drawing operations. A method AVPageViewSetColor is used for setting the color.
But there is no methods defined for getting the color in the page. Please let me know , is there any alternative way.
Thanks in advance. -
Set PDF Document Properties Initial View by Acrobat SDK with C#
Hi,
Here am trying to set the PDF document initial view by the Acrobat SDK with C#.
Here I am show my screen shot which properties I want to set.
For this process I am referred Acrobat SDK and also following Adobe forums they also asked similar question.
http://forums.adobe.com/message/3866361
http://forums.adobe.com/message/4803264
http://livedocs.adobe.com/acrobat_sdk
And also I am used following C# code
Acrobat.AcroPDDocClass doc = new Acrobat.AcroPDDocClass();
doc.Open(@"D:\..\sap.pdf");
doc.SetOpenInfo(1,1,"Fit Width");
doc.SetPageMode(3);
doc.Save(1, @"D:\..\sap.pdf");
doc.Close();
From the above code {doc.SetPageMode(3);} is working for set the page mode.
But I am having problem in following code {doc.SetOpenInfo(1,1,"Fit Width");}
Because it won’t work I do’t known, and there is no clear samples in the SDK reference document.
So please give advice and clear sample code/syntax to meet above needs which are marked in red box.
Document Properties - > Intial View
Document Option
Show: Bookmarks Panel and Page
Page Layout: Continuous
Magnification: Fit Width
Window Options
Show : Document Title
Regards,
Thirusanguraja Venkatesanok thank you Test Screen
I will try and let you know if i am done by automation .
Regard,
Thirusanguraja Venkatesan -
How [Insert|Add] Image into Opening PDF file with Acrobat SDK.
Hi Guys,
I'm trying to insert|add image file into opening PDF file with specified location (X|Y) and scale (Width|Hight) but got many of troubles
If use third party like iTextSharp or something else thing become simple but i want to use Acrobat SDK to do this
Any suggestion or idea?
Any help appreciated.Thank for your interested.
I use VB.NET and Acrobat
Here is some my code:
Try
If File.Exists(T(0)) Then
Dim AcroAVDoc As AcroAVDoc = Ap.GetActiveDoc
Dim AcroPDDoc As AcroPDDoc = AcroAVDoc.GetPDDoc
Dim AcroPDPage As Acrobat.AcroPDPage = AcroPDDoc.AcquirePage(Integer.Parse(T(3)))
Dim data() As String = T(1).Split("^")
Dim imgX = data(0)
Dim imgY = data(1)
Dim imgWidth = data(3)
Dim imgHight = data(4)
'TODO: insert into opening PDF file
Return 1
End If
Catch ex As Exception
End Try
I don not know what to do next to insert an image (JPEG, PNG, ..) into PDF file.
Can you show me or suggest some solution, idea?
Thank in advance. -
Creating PDF using Acrobat SDK
Hello All,
I am developing application in VC++ which has requirement to create PDF file programatically and then write that file .
I just wanted to know can I use Acrobat SDK to create and Edit PDF file?
Please help me as I am new to this.
Waiting 4 soon reply.......................
ThanksDear Arthi,
This is the C++ code which will help u to create the pdf using the VC++ plugin, Hope this helps you,
PDDoc TargetPDF = PDDocCreate();
ASFixedRect mediaBox = { fixedZero, ASInt32ToFixed(792), ASInt32ToFixed(612), fixedZero };
PDPage emptyPage = PDDocCreatePage (TargetPDF, PDBeforeFirstPage, mediaBox);
PDPageRelease (emptyPage);
PDDocSave (TargetPDF, PDSaveFull | PDSaveCollectGarbage | PDSaveLinearized,
pdfPathName, ASGetDefaultUnicodeFileSys(), NULL, NULL);
PDDocClose (TargetPDF);
ASFileSysReleasePath(fileSys, pdfPathName);
Regard's
Amith Sai -
Can I generate PDF thumbnails on server using Acrobat SDK
Hi All,
Are there any licensing limitations or restrictions that prevent me from utilizing Acrobat's COM objects or interfaces to generate thumbnails for PDF documents on the server keeping in mind that I will install full version of Adobe Professional on server?
Thanks.You should read the product pages for a description of the LiveCycle ES suite. It is not an API interface to Acrobat - it is an entire range of PDF-based server solutions for paperless workflows. Many different products that can be extended directly via Java.
> how about the third-party tools that extend adobe sdk
Can you give me an example? I don't know of any products that extend the Acrobat SDK (which is what I assume you meant by Adobe SDK). I know of several the provide extended interfaces to the PDF Library SDK, as well as many 3rd party proprietary solutions (since the PDF standard is an open format, anybody can write their own libraries for it from scratch).
> any thoughts?
Yes. Call Adobe Sales or Customer Service, and get answers straight from the horses mouth. They're a for-profit company (and quite good at the profit part). Sometimes the decisions they make may not make everybody happy, but it is their right to make those decisions. -
Where can I find CODE & DOCS for Acrobat PDF Library SDK?
Hi,
I had used Acrobat PDF SDK in the past but it didnt serve the purpose and we had to abort plan. THis time we are using PDF LIBRARY SDK instead. When can i find the code and documentation for it?
The only page I see is http://www.adobe.com/devnet/pdf/library/
So I want to study the object models, objects, functions etc, cant find it. Also is there a book you can suggest to study it. I sort of know the PDF-SDK wel, is the PDF-LIBRARY-SDK almost the same ?
Pls direct me to the code and documentation, so I can start coding on it.>WHy dont you have non confusing names for the products, one is the free Acrobat PDF SDK
No, it's the Acrobat SDK. This doesn't seem confusing at all: it's an
SDK for automating/controlling Acrobat, just as the Windows SDK is a
tool for working with Windows, the Photoshop SDK is a tool for working
with Photoshop etc. "Free" isn't used in the title, because that would
be confusing, and might suggest it can be deployed with the free Adobe
Reader.
Nevertheless, maybe something could improve it because there are a
huge number of developer who assume it will work with the Reader or
without Acrobat, despite its name.
>and the other is Acrobat PDF LIBRARY SDK, right?
The other is the Adobe PDF Library. It's a library from Adobe for
working with PDF. Acrobat is not part of the name. It would be
confusing if it were. Maybe it could be called the "non-Acrobat PDF
Library".
Aandi Inston -
Remove all the hidden objects in PDF using acrobat SDK
Hi Friends
How to remove all the hidden objects in PDF using acrobat sdk 11Sorry if I re open this old thread, but I am interested in the 'Remove Hidden Information' command.
Which is the AVCommand to run this feature?
Thanks
Maybe you are looking for
-
Hi As per the SAP help document to restrict the file size in Advanced Mode of File sender adapter i used to following variable Name :MaximumFileSize Value: 10000 So that only files of size less than 10000 bytes should be picked up. Otherwise error s
-
XML,CLOB AND MEMORY : CONSUMED BUT NOT RELEASED !!!
Hi, I'm working with XMLGEN Package and XSLT Processor to produce XML Document on Oracle 8.1.7.3 server, I use 9i XML and Java packages. I'm facing the following BIG MEMORY problem : Environment : I must generate an XML parsed with an XSL document of
-
When i try to update the software for my 3rd Gen iPod Touch to version 5 i get the message 'This version of iTunes (9.2.1) is the current version'. My Mac OS is 10.4.11. How can I update the iPod software?
-
Hi everyone, we have a problem with TFS 2013/ GIT and HTTPS Push. From Visual Studio, pushing large commits is quite fine, using GIT Bash it results in: Accept-Encoding: gzip Content-Type: application/x-git-receive-pack-request Accept: application/x-
-
Why no "Subscribe to Podcast" capability in Apple TV 2.0?
I want to be able to subscribe to a podcast from my new Apple TV 2.0 (just purchased this week) and have it kept up to date for me without me having to have a subscription to it from iTunes on one of my computers. I am disappointed that this capabili