pdf

Check if a PDF file is corrupted with PHP

I was wondering if is there a way for php to check if a PDF file stored locally on the server is corrupted or not. We have a php application that deals with a lot of scanned documents converted in PDF and it would be nice to check which of them is corrupted to alert the user. I tried to look around but with no luck. ...

merging document with openoffice from flex (air)

Hello, i'm searching a method to merge some data from an air application to a template made with word (.doc). I've search on the web for exemple, look at the open office API, but did'nt find anything. 1- do you think it's possible from air to make a document (pdf as possible) from a existing template in .doc ? If not, i read that livecyc...

How Do I change Font color/size/type PDF file resources using UIWebView for iPhone SDK V 3.0

I am trying to display PDF file in iPhone SDK V 3.0. I am able to display PDF file. But I want to change its font size/type/color. PDF file also conatins images. Is there any way to have change font size/color/type of PDF file using UIWebView? If no then is other option is available to display PDF file instead of UIWebView? ...

Get selected text from PDF in web browser control in windows form

I need to know if I can get the selected text from a pdf that has been loaded into a web browser control that is in a windows form. I am using C# and Visual Studio 2008 with .net 3.5 and down. I have the pdf showing in the control but I can not figure out how to get access to the selected text within that document. The mshtml document is...

Third party library to convert image into pdf and eps format on the fly?

I have an upcoming .NET project that would require conversion from image (bitmap) into .pdf and .eps format. We would prefer to use third party library tool to do this rather than spending the time to reinvent the wheel. Here is the basic requirement: Preferrably a pure .NET library (we might put this converter code in Silverlight appl...

Extracting text from a PDF file

Hi, I need to extract the text from a PDF file. This text will likely be in a table format, and it is going to be used for automatic transfer of data between an external party and our systems. Can anyone suggest a command line tool (eg pdf to txt) or a library that would be good for this? Language options: C# (preferred) Java (if I ...

How can I use PDF 1.6 documents in Perl's CAM::PDF?

I am running into some problems using CAM::PDF with PDF documents which are %PDF-1.6 Is there a way to convert those into 1.3? (preferably a free batch-like way...) What I am currently doing is print the files using the free PDF995. The resulting PDF file is %PDF-1.3. However, it would take me forever to convert lots of documents. ...

DocBook: Specifying code or markup

You can specify equations using <equation> and also several others, but what tag must be used to specify code? More specifically, PHP, HTML, CSS and Javascript? Is there a plugin that you can use with OxygenXML to add these features automatically? I need to output as PDF. ...

Programmatically change font color of text in PDF

I'm not familiar with the PDF specification at all. I was wondering if it's possible to directly manipulate a PDF file so that certain blocks of text that I've identified as important are highlighted in colors of my choice. Language of choice would be python. ...

How can I embed a PDF viewer in a cross-platform C++ application?

I need to embed a PDF viewer in my application. Is there any free software I can use? Thanks. ...

How to populate a PDF form such as a w-2 from data inside of the the database?

i have a w-2 form and other pdf documents and using adobe acrobat pro i have created fields with field names using the adobe application. how do i populate those fields? i have done this a few years ago where the php would generate the fdf file then load the pdf file and populate it but i completly forgot how i did it. any help would be ...

how to store the pdf file in mysql and retrieve those data

here's my code snippets and the data is not inserting on my database(mySQL).. mysql_connect("$host", "$username", "$password")or die("cannot connect"); mysql_select_db("$db_name")or die("cannot select DB"); include 'fpdf.php'; class generate extends FPDF{ function out($info,$Bold,$Size,$br){ if ($info != "") { $this->...

How do I set font colour with the PDF::API2 Perl module?

I need to add colour to some text in a PDF document using PDF::API2 - how do I do that? ...

Extract all images from pdf file

In my asp.net application i want a functionality i.e. extract all the images from the pdf file and i tried this code but this is not working , see the code.... using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using ...

Itextsharp error

Hi all, I am trying to write a form to help users make canned pdfs im working with Itextsharp.dll and im walking through the tutoral HERE and im getting an error that seems to be over the keyword "FONT" if i hightlight over the first error i get Error 1 'Font' is an ambiguous reference between 'System.Drawing.Font' and 'iTextSharp...

Is there a way to add "alt text" to links in PDFs in Adobe Acrobat?

In Adobe Acrobat Pro, it's not that difficult to add links to a page, but I'm wondering if there's also a way to add "alt text" (sometimes called "title text") to links as well. In HTML, this would be done as such: <a href="url" title="Text goes here">link</a> Then when the mouse is hovering over the link, the text appears as a little...

iTextSharp and DataGridView

Where can I find a code snippet which can convert a DataGridView to a PDF document using iTextShape or something similar? I want to have the same table headers as in DataGridView in my PDF document. ...

Jasperreports markup attribute and PDF

I'm working with Jasperrerports 3.5.1 and I have a html-styled text that I need to be printed in a PDF with the proper styles. In the cell I want to print the styled text I have the markup property set to "HTML". I have created a this sample text: <p> <table border="0"> <tbody> <tr> <td>wewewe</td> <td>eeeee</td> </tr> <tr> <td>qwewewq...

PDF to JPG Conversion in COCOA

In my cocoa application , I need to save each page of the pdf as a jpg .. How can i proceeed using Objective C ...

Using trimbox with ImageMagick

I have a PDF-file with the following dimensions; mediabox: 23.08 x 31.78 cm cropbox: 23.08 x 31.78 cm trimbox: 21 x 29.7 cm I'm using ImageMagick to try and get the trimbox value using Imagemagick's trimbox function. identify -format "%[fx:(w/72)*2.54]x%[fx:(h/72)*2.54]" -define pdf:use-trimbox=true foo.pdf This line of code gives...