pdf

removing password for multiple PDF files

so I have a huge collection of PDF files that I need to extract text from. The files are encrypted, but I know the password for them. I'm looking for a way to automate the process of extracting the text. I can manually open the file in Acrobat professional, remove security by typing in the password, and then save as .txt file. But there'...

Using itext to convert HTML to PDF

Does anyone know if it is possible to convert a HTML page (url) to a PDF using itext? If the answer is 'no' than that is OK as well since I will stop wasting my time trying to work it out and just spend some money on one of a number of components which I know can :) Thanks in advance for your responses! ...

How can I reformat a PDF file for easier reading on iPhone?

I'd like to read an arbitrary PDF on my iPod Touch (or iPhone) with a reasonable font size. Some PDFs are already formatted with narrow columns and wide margins. Once I zoom the document to "remove" the margins, the text is easy to read. Most documents have one very wide column of text. When I zoom in enough to make the text readable,...

convert html to pdf with linked documents inline

I need to convert a bundle of static HTML documents into a single PDF file programmatically on the server side on a Java/J2EE platform using a batch process preferably. The pdf files would be distributed to site users for offline browsing of the web pages. The major points of the requirements are: 1. The banner at the top should not be...

Get Binary data from a SQL Database

Hi hope some one can help. I have an ASP .Net (3.5) website. I have the following code that uploads a file as a binary to a SQL Database: Print(" protected void UploadButton_Click(object sender, EventArgs e) { //Get the posted file Stream fileDataStream = FileUpload.PostedFile.InputStream; ...

How do I walk through tree of Pdf Objects in PDFSharp?

I am trying to to walk though the tree of PdfItem objects in an existing PDF document using PDFSharp in c#. I want to create a hierarchy of all the objects as I go along -- similar to what the "PDF Explorer" example does -- but I want it to be a tree instead of a flat list of all the objects. The root node is document.Internals.Catalo...

BIRT: pdf emitter, load/use fonts from relative path or from jar files

Hi all! I use BIRT since early days and still have riddles regarding PDF emitter. Short story: Can I configure fontsConfig.xml to load fonts from relative path or from jars? Long story: We are using FOP for generating PDF in our web application as well as BIRT. It will be nice to share fonts between libraries. Unfortunately, I can't ...

GraphicsUnit.Point, isn't converting well to PDF... GraphicsUnit.World is, but how can I convert it to Point?

Hello, I have some code in .Net to draw some text content using GDI+. I used GraphicsUnit.Point to size the text. It's working wonderfully on-screen, and even if Print it. I've been asked to make a system that generates a PDF, and I got ComponentOne's PDF control. It has got similar interface to GDI+. The problem is: Font sizes are no...

Generating PDFs with PHP

I have a PHP application and a need to generate a PDF with the result of query. The easiest way a found to do this was to use the DOMPDF to generate the PDF for me. So a made a function that generates the HTML for me then a pass this to DOMPDF. In the development and testing enviroment everything was fine but on production enviroment I h...

Is there a way to use custom fonts in a PDF file?

Well basically I'm finishing school in mid December so I'm just brushing up my resume and I'm wondering if there's a way to use custom fonts (in this case Calibri and Cambria) in a PDF file and make them render correctly on all computers. Thanks in advance! EDIT: I'm using MS Word 2007, but am open to suggestions ...

Print PDF from ASP.Net without preview

Hi, I've generated a pdf using iTextSharp and I can preview it very well in ASP.Net but I need to send it directly to printer without a preview. I want the user to click the print button and automatically the document prints. I know that a page can be sent directly to printer using the javascript window.print() but I don't know how to m...

Creating PDF Invoices - Are there any templating solutions?

Our company is looking to integrate invoices into a new system we are developing. We require some a solution to create a layout of the invoice and then convert to pdf. We have considered just laying out the invoice in html/css then converting to pdf. We have also considered using SVG->PDf conversion. Both of these solutions integrate...

How do I get HTMLDOC launched from a CGI-script?

Task Have a CGI-script which produces an .*pdf file from the html-content/page Problem: When launched from the web browser, there is no creation of the pdf document. Steps So far: chmod settings set to above recommended (777) tested normal output to file from the script, which works fine when run locally on the server from the comma...

How to use the iPhone's built-in PDF viewer to display a document

Hello, I would like to create an application that downloads a PDF document from the Internet, and displays it to the user. I would like to re-use the iPhone's builtin PDF viewer that is used throughout the core apps to view a PDF document. Is there a way to do that? ...

Using full-text search with PDF files in SQL Server 2005

I've got a strange problem with indexing PDF files in SQL Server 2005, and hope someone can help. My database has a table called MediaFile with the following fields - MediaFileId int identity pk, FileContent image, and FileExtension varchar(5). I've got my web application storing file contents in this table with no problems, and am able...

How to programmatically generate a PDF from any document on OSX?

I'm working on a project for OSX where the user can pick a collection of documents (from any application) which I need to generate PDF's from. The standard Macintosh Print dialog has a PDF button which has a number of PDF-related commands including "Save as PDF...". However, I need to generate the PDF file without requiring user interac...

Converting PDF to HTML with Python

How can I convert PDF files to HTML with Python? I was thinking something alone the lines of what Google does (or seems to do) to index PDF files. My final goal is to setup Apache to show the HTML for the PDF files, so anything leading me in that direction would also be appreciated. ...

In ASP.NET what is the best way to convert a PDF file to HTML?

What my users will do is select a PDF document on their machine, upload it to my website, where I will convert into an HTML document for display on the website. The document will be stored in a database after conversion. What's the best way to convert a PDF to HTML? I have been handed a requirement where a user would create a "news" s...

Embedding Excel files in XSL-FO driven (Pdf)-Document Generation

Hello there, we're currently generating all our official documents using XSL-FO transformation using .xml files as input and generating .pdfs & basically all the content within these .xml's is either plain text or xhtml. This works perfectly fine for every-day use-cases, but some of our users refer to Microsoft Excel files which our XSL...

Java PDF viewer with FDF

My company needs a PDF viewer with Java API with the additional requirement on being able to use FDF form data. The only one i found was JPedal which promises to feature everything we need, but it costs a bunch. So what are my options? Is there another tool to do it? edit: I found iText to be an easy way to merge FDF data into the PDF...