pdf

Acrobat SDK File Compression

Can someone please help me with how to compress a pdf file using Acrobat SDK. I am using CAcroApp acroApp = new AcroAppClass(); acroApp.MenuItemExecute("ReduceFileSize"); which brings up the "Make Compatible With" dialog to specify the version and I do not know what to do next. I want to, given a new file name and version, create a...

Convert PDF pages to images with COCOA

Hi, I am having problem with PDF conversion to images. I would like to create an image file for every page in PDF document. This is the code I am using and works fine. Every page gets converted into the image, but I have problem with image resolution. I don't know how to set the resolution of the output images. Can someone help me out?...

What does this Apache FOP error mean?

Error message (Location of error unknown)org.apache.fop.fo.Validation Exception: Property id "_Ref191196753" previously used; id values must be unique in document. Any ideas on what may cause this? Is it because I have a for-each and apply the same template multiple times? ...

How to detect linked PDF on a page and show message to download Adobe reader using jquery?

If page has .pdf files linked then a message in <p> should be add just before end of the #mainontent div as a last paragraph <p> for example this is default html? <div id="maincontent"> <ul class="cheat_sheet_downloads"> <li><a href="http://www.addedbytes.com/download/css-cheat-sheet-v2.pdf"&gt;PDF, 316Kb</a></li> <li><a href="http://...

Is there any jquery plugin/script to detect Adobe Reader on user system ?

Is there any jquery plugin/script to detect Adobe Reader on user system ? and it is not then show a message to download. Code should be compatible with all A-grade browsers. ...

What is a good PDF to HTML converter for Ruby on Rails?

I'm trying to convert programatically PDF to HTML. So far I've been using pdftohtml but our users are not happy with the results. Here's what I need : I'm using Ruby on Rails, but any tool working on Unix would work as I can call it from the command line. But of course a nice gem or plugin would be perfect. I'd prefer it to be open s...

reset line style in ezPDF?

I'm using the ezPDF class from R&OS ( http://www.ros.co.nz/pdf/) to generate PDF documents with PHP. I'm suing setLineStyle() to make a dashed line. However, I can't get the line style to reset to a solid line afterwards. I've emailed the authors and gotten no response. Hopefully someone out there has a solution! :) ...

problem with xsl apply-templates

It seems that my template is never called but the for loop works correctly. It prints "test" exactly the number of times the "car" node exists but "doStuff" doesn't seem to be accessed and "test2" is never outputted. Any ideas? <fo:table-body> <xsl:for-each select="car"> test <xsl:apply-templates select="car" /> </xsl:f...

Hiding the "You cannot save data typed into this form" message in Acrobat

I am embeding a PDF form on my web application. The application allows you to fill in the fields in the form, and when you are done, click on a "Submit" button, which saves whatever you've entered into the form. This functionality is working fine. Unfortunately, Adobe Reader displays a message on top of their embeded control that says...

ImageMagick PDF to JPEG conversion results in green square where image should be

I'm attempting to convert a PDF to a JPEG using ImageMagick. The PDF: baby_aRCWTU.pdf The command: convert -density 260 -profile 'SWOP.icc' -profile 'sRGB.icm' 'baby_aRCWTU.pdf' 'baby_aRCWTU.jpg' The resulting JPEG: baby_aRCWTU.jpg As you can see, the text is rendered nicely, but the embedded image shows up as a green square. Any ide...

itextsharp: solution on how to display a report

i have a report which looks like this. it will be in PDF format: the user will input all the different foods, thus every section like NONE, MODERATE, SEVERE will be a different size and thus i need to be able to expand the sections during run time. in order to do that i should probably slice up the image and add different sections duri...

itextsharp: forcing image to take up entire width in vb.net

the following is a generated PDF with a few images. how do i force the image to take up the entire width of the pdf file? ...

Hide/disable Save button in adobe in web browser

Hi Greetings Iam exporting a crsytalreport to pdf using asp.net 2003. On executing the pdf report is opened in the default pdf reader(adobe reader 9 in my case) which is embedded in the browser (ie 8 in my case) I need the report only to be viewed and to take print out and should not be allowed to be saved. Well I need a way to disab...

Displaying a PDF Document in ASP.net page

Hello, Can anyone suggest me which is the best way of displaying a PDF document in an aspx page. I want users to use zoom functionality while viewing the pdf document. Thanks in advance ...

.net library to read pdf on Windows CE

Hello, is there any .net library to make small app to read pdf on Windows CE ? thanks ...

Using iText to selectively hide parts of a pdf

I am using iText to populate a pdf form using data from our database. Sometimes, though, our forms may have an extra body of text at the end, like a disclaimer, depending on certain criteria specified in the data. Is it possible to hide parts of a PDF document so they do not display / print? This would let our business people create...

itextsharp: what is the height of a regular PDF page in pixels?

what is the height of a regular PDF page in pixels? i heard it was something like this: Dim pgSize As New iTextSharp.text.Rectangle(595, 792) but i am adding an image that takes up maybe half the height, and even though pgSize looks like a full page and the image takes up only half of it, i am getting a height of like 619 for the imag...

itextsharp: getting coordinates of image

in vb.net is it possible to get the coordinates of an image like if i do a document.add (jpeg_image) x_coordinate = jpeg_image.xcoordinate??????? ...

itextsharp: getting height of image

i need to add a data table right after an image on a PDF in vb.net last_pos=jpg2.height datatable.WriteSelectedRows(0, -1, xpos, last_pos, writer.DirectContent) unfortunately this is the output: i highlighted broccoli, buckwheat, butter, cabbage. these are all part of a data table that is supposed to go after the bottom SEVERE word bec...

Embedded PDF always appearing over Absolutely positioned elements

We have a page where a PDF is embedded, and are trying to pop drop-down menus, jQuery UI dialogs, etc. over the PDF document which is currently displayed. The problem is that the PDF is ALWAYS taking the 'front' position, so any elements dynamically created appear behind it. This was a common problem with Flash back in the days of DHTML...