pdf

How to create hyperlink within PDF (which is opened in browser) which will open in a new tab/window

Hi! I generate some PDF via XSLT transformation (FOP) from XML. The PDF file is opened in the browser. If it contains any hyperlink, that hyperlink is supposed to open in a new browser tab/window. I'm quite not sure if it is even possible. Any insights? ...

How to get line count with iText

I am using iText library for writing a PDF file. I want to give page numbers and page header on every page of file How can I do that? ...

Turn rows into columns in XSL:FO

Trying to create a table where rows are turned into columns so that I can logically group the columns in XML. The XML s something like this: <root> <field name="field1"> <string>field1.row1</string> <string>field1.row2</string> <string>field1.row3</string> <string>field1.row4</string> </field> <field nam...

Best way or library to generate PDF format of invoices in Java

Hi guys, I am working on a project, one feature is to generate PDF format of invoices in Java. There seems to be many solutions, but I don't know which one is the best for invoices. Please advise, Thanks. ...

resolution from a PDFPage?

I have a PDF document that is created by creating NSImages with size in 72dpi pts, each has a single representation which is measured in pixels. I then put these images into PDFPages with initWithImage, and then save the document. When I open the document, I need the resolution of the original image. However, all of the rectangles that ...

Converting .rtf to .pdf in Haskell

The title really says it all! I have a .rtf document (with an image, it's not just text), what haskell libraries are there out there to help me in my quest, or is it way easier than it appears? ...

Programatically print multiple copies from command line

My application generates between 35 and 55 PDF files of which I have to automatically print four copies. All these files are in a single folder. My requirement is to use a batch file to print four copies of each file. I have Adobe Acrobat Reader installed. How do I do this? ...

Extracting the outline (or bookmarks) from PDF files using Java

Hello Guys, I'm using PDFBox to extract the outline (bookmarks) information from PDF files, that's even explained in the same site. However, I've had problems not extracting but generating the qualified urls (foo.pdf#page=22777&zoom=2,2,777) to open the PDF in those bookmarks. Sometimes PDFBox is not able to find the page in which the ...

(HTML + CCS3 Generated Content for Paged Media) to PDF?

Is there any way to render a PDF from a HTML doc styled with CSS3 Generated Content for Paged Media? If there is not an application like that, what can I use as a base to build such a converter? Thanks ...

Where I can get hyperlinks in pdf document structure (except "Annots" entry in page dictionary)?

Hi, I have two pdf documents (doc1 and doc2) with hyperlinks e.g www.somlink.com, www.somlink2.com. According to PDF Specification I can get those hyperlinks via Link Annotations. Link Annotations can be found in pdf page's dictionary under "Annots" key. CGPDFDictionaryRef pageDictionary = CGPDFPageGetDictionary(someCGPDFPage); CGP...

opening code generated pdf in browser without saving it to either webserver/client

Is this even possible? tried several ways and i have no idea how to continue. Using vb.net in vs 2008 and itextsharp This is my code for creating the pdf.. also have alot of code to fill it Dim doc As New Document(iTextSharp.text.PageSize.LETTER, 90, 80, 80, 90) Try PdfWriter.GetInstance(doc, New FileStream(Server.MapP...

Create a PDF on server-side with some data and then create a download link for the user

Hello, i want using php generate a pdf in my site with some format and some values i have into some vars, any suggestion of a good script and good practices to know about? Thanks! ...

Repeat thead on each page via htmldoc.

I'm trying to figure out how to get a set of table headers to repeat on each page of output from htmldoc. I plugged in the CSS way (below) to see if that would work, but I don't believe htmldoc does much of anything with CSS. The basic question is: Is there a way to make htmldoc act like this CSS when outputting to a PDF? thead {disp...

Scroll PDF embedded in HTML

I have embedded a PDF file in Iframe. My html file has buttons "UP", "DOWN". When I click on these buttons, I want the pdf to scroll up or down. Is there a way to control the pdf with javascript or any other way. I will be using Internet Explorer6 for this application and Acrobat pdf reader. ...

How Do I convert HTML to PDF with hot links in outputted PDF with ASP(.NET)? Preferably with ActivePDF WebGrabber.

My company purchased ActivePDF WebGrabber a couple of years ago to convert a classic ASP created HTML page into a PDF form. The only drawback with the tool that we continually run into is that the outputted HTML links are not hot. Are there any tools that do include hot-links within the HTML to PDF output? According to the ActivePDF FA...

Super fast PDF to image conversion

I need to build a service that converts individual pages from a pdf document to png images and servers them to a javascript reader running in browser. The challenge is that this should happen super fast so that a user flipping through the pages of a document in the web browser would see the next page with minimum delay. I have tried usin...

Is it possible to convert a google doc to png or PDF from a script/command line?

Is it possible to convert a google doc to png or PDF from a script/command line? ...

Restrict file access -- only read through PHP

Ok, I am using a GoDaddy web hosting plan on a Windows platform. This was not my choice -- it has to do with a different part of the actual site using ASP.NET (also not my choice). I have a SQL database with a bunch of entries with some non-sensitive customer information. The primary key on this is an AutoIncrement integer, and I have a ...

Detecting if ADOBE is installed.

So I think i am gonna give up my search for a good open source PDF viewer with the ability to have links (table of contents) and bookmarks (create and edit). If anyone knows of a library, please, please, PLEASE, send it this way. So my plan now is this: Use the adobe reader active X control on my WinForm and just let the user control it...

Converting PDFs to be viewed in any browser

I currently use a PDF-to-Flash to allow for users to flip thru pages of uploaded PDFs. However, with so many using iPhones/iPads I would like to switch this to a solution which works with any browser. The site is developed in Ruby on Rails and I have looked into using pdf-toolkit and rmagick to convert the PDFs to images but it's not en...