pdf

POST XML to server, receive PDF

Similar to this question, we are developing a Web app where the client clicks a button to receive a PDF from the server. Right now we're using the .ajax() method with jQuery to POST the data the backend needs to generate the PDF (we're sending XML) when the button is pressed, and then the backend is generating the PDF entirely in-memory ...

not readable PDF files

Hello, I am writing Master's thesis - NLP system. I have one component - extractor. It is extracting a plain text from PDF files. There are a few PDF files that can not be extracted correctly. Extractor (PDFBox library) returns a string like this: "┤xDn║if|d├gDF"Ti&cD╬lh d FÁhis~n ╗xd f«"d┤ffih »h" or "10a61a91a22a25a3a27a17a23a20a...

Uploading PDF or .doc and security

I have a script that lets the user upload text files (PDF or doc) to the server, then the plan is to convert them to raw text. But until the file is converted, it's in its raw format, which makes me worried about viruses and all kinds of nasty things. Any ideas what I need to do to minimize the risk of these unknown files. How to check...

indexing pdf in windows with sphider

Hi every one im new to php im working on sphider search feature im not getting how to index pdf using sphider can ayone one pls help me out in this thanks in advance. ...

Adobe 9 Check box required field

Hi, I've created reports in Adboe that have checkobxes and set then to required fields. But when i click the submit button all fields but the check boxes are validated. I.e If i dont complete the required textbox field the report will not submit, but when i do and the required checkbox fields are not checked it still submits. This o...

How to run "Find" in AcroPDF?

Hi, I have TAcroPDF (ActiveX) component and Edit1 on the Form1 I would like AcroPDF to find some text typed in Edit1. Does anybody knows how to do it? Thanx ...

Apache FOP org.apache.fop.pdf package usage examples

I tried to use the org.apache.fop.pdf package but not success. Appreciated if someone can give some working examples to: Create PDFDocument Add PDFPage to PDFDocument Add some text to PDFPage ...

Pylons and Pisa (xhtml2pdf): blank page in IE

I'm using pylons to serve a dynamically generated pdf document for reporting: my approach works in firefox & chrome (it displays the pdf inline if the plugin is available or otherwise downloads it) but IE (7 & 8) only show a blank page and doesn't prompt for download. IE correctly shows PDFs generated by other websites, though. Don't kn...

scale down pdf to fit in iframe in uiwebview

I have a uiwebview that loads a iframe to display a pdf file. But only the top left corner of the pdf file i visible, I need to fit the pdf file inside then iframe, that is, I need to scale down the pdf file so that all of it is visible. I know that with webpages you can open a pdf and set the starting scale on it like this page1.pdf#zoo...

iPhone: How do I get the title of a PDF document from within the document?

Assuming I have extracted the CGPDFDictionaryRef from a PDF document using the iPhone SDK, how do I get the document's title from the dictionary? More generally, how can I get a list of the keywords for that dictionary? In theory I could ask the customer, but surely there must be some canonical keywords? Is there a list somewhere? Up...

Image animation over CGContextDrawPDFPage

I have a pdf page displayed with CGContextDrawPDFPage. I want to keep this page shown and have an image slide in from top over this page, just as it can be seen in the iBooks application. It's a book, the sliding image is a bookmark that slides in when you are about to close the book. What is the best way to go about implementing this...

Increase performance on iphone at pdf rendering

Hi! I have a UITableView, and in every cell there's displayed a UIImage created from a pdf. But now the performance is very bad. Here's my code I use to generate the UIImage from the PDF. Creating CGPDFDocumentRef and UIImageView (in cellForRowAtIndexPath method): ... CFURLRef pdfURL = CFBundleCopyResourceURL(CFBundleGetMainBundle(...

Can I embed an exe in a pdf, doc, ppt or any other file format?

Is there any way that I can embed a .exe file in a .pdf, .doc, .xls, .ppt file, and on opening the containing file, the document processor will run the .exe automatically? ...

how to read pdf file through C# ?

hi i have pdf file and i need to read the text and to insert to any val. how do to it with C# (winform) ? thank's in advance ...

A light PDF viewer inside a webpage

Hello, which free PDF viewers are available to directly show a PDF file inside a webpage? I don't want to use Adobe Reader integration because I don't like it. I tried with Google Docs Viewer and it works fine but doesn't resize as I resize the page.. I would like to know if something quite light that can also be easily resized accordi...

Using GhostScript to get page size

Is it possible to get the page size (from e.g. a PDF document page) using GhostScript? I have seen the "bbox" device, but it returns the bounding box (it differs per page), not the TrimBox (or CropBox) of the PDF pages. (See http://www.prepressure.com/pdf/basics/page_boxes for info about page boxes.) Any other possibility? ...

dvi generation: no bounding box

I wrote a research paper in latex and generated pdf using kile. It worked perfectly well. Now conference people are asking for dvi file also. But Kile's quick build process does not give a dvi file, but its 'Latex' compile process does. So I tried to compile the document, and it gave errors for includegraphics saying figure not found. Wh...

How to open link to pdf file in new tab using html

I have an html page which contains link to open pdf file. however this link opens in adobe reader when i click on it. I have set target property to blank. but it doesnt work either. I want to open this pdf file in new tab in the same window. ...

Android PDF reader from scratch

I know it sounds ambitious but our client requires a PDF Reader of his own with some selected functionalities. Can anyone guide me to some good tutorials for paving the way to start this development? I guess I need to clear some pdf basics and start from scratch OR i would be happy if there is any library which i can use directly and on...

How to add header, footer with images using PDF::API2::Lite ?

Is it possible to add header(with text and one image) and footer (with page number) with images. I wrote below code to create a PDF document which shows png images. If this can be done easily with any other module, please suggest.Really appreciate response with sample code. use strict; use PDF::API2::Lite; use Getopt::Long; my $outfil...