pdf

Zend Framework PDF generation unicode issue

Hi all, I have troubles using Zend Framework's PDF When I create PDF file I need to use UTF-8 as encoding. This is the code I am using to generate simple pdf file. I always get this wrong displayed. Instead of seeing 'Faktúra' in pdf file, it gives me 'Faktú' Instead of seeing 'Dodávateľ:' in pdf file, it gives me 'Dodáva' $pdf = new...

Interactive PDF Creation Alternatives to Acrobat?

Are there any good alternatives to Adobe Acrobat for creating interactive PDFs? The terminology is a little fuzzy here - by interactive, I mean "able to be filled in", and not necessarily "scriptable". So this form would be for data collection, rather than report generation which seems to be the common scenario for pdf-related questions ...

How do I embed Google Map (or other GIS mapping) output in a PDF as I generate it?

I need to generate PDF documents server-side that include a map, with markers and the like, but to my knowledge this isn't possible with Google Maps because of JavaScript reliance. Is there some way to use the Google Maps API for this, or is there some other free (or cheap) alternative with this capability and comparable functionality? ...

Update attribute in XSL for-each

At work I've been given the fun task of generating PDFs with XSL. The XML structure I'm working with is similar to <records> <topLevel> <topLevelID></topLevelID> <secondLevel> <secondLevelID></secondLevelID> <thirdLevel> </thirdLevel> <thirdLevel> </thirdLev...

Generating and Displaying PDF file in Flex/Java

We have Flex on the front end and Java on the back end. When a user will request for a PDF file, request will go to the Java backend, where a PDF file will be generated using Jasper Reports. What we dont know is how to display this PDF file in browser; since we dont want to use JSP/Servlets etc - It has to be flex only. Any suggestions? ...

How do I convert Word files to PDF programmatically?

I have found several open-source/freeware programs that allow you to convert .doc files to .pdf files, but they're all of the application/printer driver variety, with no SDK attached. I have found several programs that do have an SDK allowing you to convert .doc files to .pdf files, but they're all of the proprietary type, $2,000 a lice...

How to generate an index at end of a PDF file?

Given an existing PDF document, I would like to tack on an index to the end of the file to show the pages on which key words show up. It would be best if I don't have to give a list of words to look for and the list of words is automatically generated. However, if a list of words must be given, I can work with it. I'm looking to do th...

How to convert AutocadDWG To PDF?

Is there another way to convert AutocadDWG To PDF but to use third party programs? Thanks for any suggestions. ...

Embedding Foxit PDF Reader into a webpage

I need to embed Foxit Reader (PDF reading software) into a web page. Does anybody know the correct classid and parameters to use in the following code: <object id="pdfReaderObj" classid="CLSID:XXXX" width="500" height="700"> <param name="Filename" value="/1234-56789-abc-123-3.pdf"> <param name="SRC" value="/1234-56789-abc-123-3...

PdfSharp, GDI+ and HTML printing

I currently have a "PrintingWebService" that I call from an AJAX page with all the information that is needed to construct a highly customized PDF printout using PDF Sharp and the PDFSharp's GDI+ mode, which takes DrawString and other commands that work basically just like GDI+ only they are drawn to the PDF. I then save the PDF file to...

Any suggestions for shrinking a PDF file?

We've got a .net 2.0 web system that dynamically builds pdf files. Some of these files can get pretty large - 12MB+. While processing time isn't a factor, really, the size of the files to be downloaded is in some cases. For the moment, let's assume that our B-grade pdf library is already making the smallest files that it knows how. ...

How to convert a pdf to doc?

I have found many solutions on googling to convert pdf to doc, but none of them retain the same formatting as that of the pdf. Is there any solution to retain the exact formatting of the pdf, while converting to doc. ...

Both landscape and portrait for pdf with Flying Saucer/iText

Is there a way to set different page styles with Flying Saucer/iText? I need to have the first couple of pages in landscape, then switch to portrait at a certain page and out. Any ideas? ...

How to find out which fonts are referenced and which are embedded in a PDF document

We have a little problem with fonts in PDF documents. In order to put the finger on the problem I'd like to inspect, which fonts are actually embedded in the pdf document and which are only referenced. Is there an easy (and cheap as in free) way to do that? ...

SharePoint Workflow working with PDF documents

We’re trying to lessen the amount of clicks to approve a PDF in a workflow. With Word docs in Word 2007, you have the Workflow task bar at the top of the application so when you are viewing the document, you can approve or reject it from there. Our issue is that we need this functionality for PDF documents. Do you know of a way to be abl...

How can I get the width and height of a text string with CAM::PDF?

I use the following to read a PDF file and get text strings of a page: my $pdf = CAM::PDF->new($pdf_file); my $pagetree = $pdf->getPageContentTree($page_no); # Get all text strings of the page # MyRenderer is a separate package which implements getTextBlocks and # renderText methods my @text = $pagetree->traverse('MyRenderer')->getTex...

What is the best way to display a PDF file in Delphi 2009

What component should I use to display a PDF file in a Delphi 2009 application? EDIT: I have been using PDF Viewer by Synactis - a very nice free PDF Viewer But it has no Delphi 2009 support. So I need to designing it out of the product ...

Dynamically insert content into pdf files with php

I have an ebook in word that I convert to PDF before distributing to my clients. I'd like to dynamically insert their email address into all links in the ebook to allow them access to the members-only content on my site, and I'd like to do this on the fly, as part of the book download process. I've briefly looked at http://us.php.net/pd...

Linux tool: convert

The system I'm using uses the linux utility convert to convert pdfs to jpgs. My box gives me the following error. >$ convert Badge-1114044091.pdf Badge-1114044091.jpg convert: Postscript delegate failed `Badge-1114044091.pdf'. convert: missing an image filename `Badge-1114044091.jpg'. But the production machine does not. According to ...

How do I extract vector graphics from a pdf document?

I want to make a tool that extracts vector graphics from a pdf file with the help of a human. e.g. A person opens the pdf document using the tool and then selects the objects that he wants to save as a vector drawing. Are there any tools out there already doing this or any libraries that can be used to write my own tool. Language of the ...