pdf

PDF Parser API in Java

Hi.. I want to convert the pdf data into our own file specifications. So pls help me out to choose the correct API for PDF parsing using java or .net. The parsing should extract each and every component(element) from the PDF pages. ...

Insert data into PDF, filled in an online form, on submit action .

Hi all, First of all my apologies to all the people who think this question is a repeated one or they find a similar question to this. I am working on a project in which I have an online form and some PDFs stored on the server. Functionality On the submit action I have to get the data from the form, fill it to the copy of PDF and fi...

Itextsharp: PDF size too large when including images

I have a size problem with some PDFs that I build with Itextsharp and C#. Indeed each page is only an image, wide as the page, that I create thru GetInstance from a bitmap, and then Set on the page after scaling. It seems I cannot control the format of the image into the PDF, that is, the object int othe resulting PDF structure doesn't ...

PDF with iText - Center Align Strings

I'm using the iText library for .NET to generate a PDF. I need to output a PDF with an image, which has three text strings positions centered vertically, but absolute Y positions. Each string uses a different font. I've been struggling for hours to find a way to do this, I can get the first line on Ok using SetSimpleColumn(), but further...

xml-fo pdf table : 'colspan' when the number of columns is dynamic

I'm generating a table in a pdf document using xml-fo. The number of columns is dynamic. Columns are only displayed when tests are passing. In tests I'm using variables like $var1, $var2, ... that point to xml nodes. I've something like <xsl:element name="fo:table-row"> <xsl:element name="fo:table-cell" use-attribute-sets="table-...

Check if the PDF document is blank in C#

Hello, We have a C# application which will read a pdf document for barcode and if barcode is found it will upload the document to a file in IBM FileNet P8. If barcode is not found it will be moved to a different folder. Now we have one more request from the client. Check if the PDF is blank. In the sense if a user scans a white page an...

PDF Viewer Save dialog box shows source code file name as default

I am rendering a PDF correctly using SSRS SDK for PHP, and it is being displayed in viewer correctly. But, when I click the save button on the Adobe Reader, the dialog box shows the name of the source files name rather then the name I pass in via HTTP Header. here is my code: header('Content-Type: application/pdf; filename="'.basename...

Is there a way to programmatically remove all blank pages from a PDF file?

Nowadays it is more practical to purchase an ebook than the dead-tree version. But the PDFs frequently contain the blank pages used by the print edition. I typically see between 10-30 blank pages (or pages with text "This page intentionally left blank.") per ebook. Is it possible to programmatically remove these blank pages? Currently I ...

PDF convert with ImageMagick and Ghostscript on Windows Vista/7 x64

Hello all, I've just spent the last three hours getting ImageMagick to play nicely with PHP for a PDF to JPG convert. Instead of documenting it myself locally, I figured I'd write it up here, with all the buzzwords and things I screwed up, so the next noob can save some time. Tested on two OSs,Windows 7 x64 and Vista x64, with PHP 5....

Format Excel while exporting through SSRS

Hi I'm working with SSRS reports. While exporting the results to excel, results are starting from first column it self. But I want to provide some space for that. (i.e. insteated of starting from 1st column can we start it from 3rd or 4th column ? So that we can have some space) Thank you ...

LaTeX - Add clickable links to a section/subsection with a PDF document

I am making PDF with LaTeX. I have a few sections and subsections. I want to put a link towards the top of the document so that in the PDF someone can click on it and it'll go to that section/subsection. I know it's possible to have this with a linkable table of contents, but I don't want to make a table of contents, I need more control....

LaTeX - Using hyperref & \ref - Special characters in reference name?

I'm making a LaTeX PDF document and using the hyperref package and \ref to make references to section & subsections later in the document. Some of my (sub)section references have an underscore (_) in them, so I have escaped them (i.e. put in \_), however when I run pdflatex on it I get the following error: ! Missing \endcsname inserted....

LaTeX - using \hyperref to refer to a section/subsection before the section/subsection is defined?

I have been using the hyperref package and \hyperref[…]{…} to put a clickable link (in a PDF) to a section or subsection. However I want to put the clickable link before i put the \subsection declaration. My first attempt seems to produce a link that goes to the first page. Is there something special you have to do to get the links worki...

Replacement for Acrobat method AFormAutLib.setButtonIcon

An existing process uses the Adobe Acrobat COM object AFormAutLib to open and fill form items. There are over 500 forms, and they all have a form field of type Button at the top. The method AFormAutLib.setButtonIcon is used to set the path of another PDF file to be used as the image on the button. I am looking for an alternative. I...

Does iPhone SDK support links in PDF and can they be routed internally?

I am producing a magazine for a client for the iPad and they would to include PDF pages with internal links to videos/other pages etc. Can this be done with the standard PDF controls etc? ...

Converting PDF pages to TIF files

I need to convert PDF pages to TIF files from within my app (or using a console app we shell out to...) I've tried some 3rd party tools/apps, but just to load one of my pages, they can take literally an order of magnitude or more than Acrobat Reader on the complex graphics (blueprints originally created by AutoCAD). Are these kinds of ...

How to scale up a PDF containing a vector-based graphic drawn by CGContextDrawPDFPage in Cocoa Touch

Hi guys, ok so here is what I want to do: Load a PDF containing a vector graphic Scale it up Draw it to a graphics context Create a UIImage from the result and present it Everything works fine, except the fact that the graphic loses quality and looks pixelized :( Here is the code where the scaling happens: // PDF loaded before CGP...

Safari PDF viewer does not recognize referrer?

My goal is to have user-uploaded files (mostly PDF) available for download only via a link from the host website. I've protected user-uploaded files with an .htaccess file that resides in the uploads directory. .htaccess checks the referrer against the hard-coded domain name, and if the referrer matches, it allows access. Otherwise ac...

Generate PDf in Objective-C

HI Guys, Do you have an idea how to generate PDF file in Objective-C and reading it? Thanks, ZaldzBugz ...

Attachments in pdf

i have various pdf files say file1.pdf, file2.pdf.......... Now I want to create a new pdf document say MainDoc.pdf. And this MainDoc.pdf will contain File1.pdf,File2.pdf... as attachments. Tried this code but it is giving error : "Object Refrence not set to an instance" its.Document PDFD = new its.Document(its.PageSize.LETTER); its.p...