pdf

why a pdf document could be not searchable?

Hi experts,,, I have a pdf document with content in Arabic language and when I try to search inside the document for a specific word, adobe reader returns no results. it seems a format problem... how can I fix that? thanks. ...

How to add find-previous in xdvi or findPrevious in xpdf for vi keybindings?

Is there a way to add a find-previous function in xdvi or a findPrevious function in xpdf? Those would be equivalent to a function that brings up the search dialog with the "Search backwards" option already checked. I need such functions in order to define keybindings bind ? any findPrevious in my .xpdfrc and xdvi.mainTranslations: ...

Get width of text with given font in Apache FOP

Hi, I need to programatically get a width of some text (word, specifically) in a given font, size and style, which will be generated in Apache FOP (version 0.95) PDF document. The problem is that I need to know, if given word will fit to a column with a known width, and if it won't - resize to a fitable size. So far I have used java.awt...

Download and open pdf file using Ajax

Hi, I have an action class that generates pdf. The contentType is set appropriately. public class MyAction extends ActionSupport { public String execute() { ... ... File report = signedPdfExporter.generateReport(xyzData, props); inputStream = new FileInputStream(report); contentDisposition = "attachment=\"" + r...

Full Text Search in PDF - converted using VB .net Code

Hi All, I have an application that converts Word Document to PDF automatically. The issue is I am not able to use Full Text Search in the converted PDF. Whereas I can search in pdf if it is converted through Microsoft Word Application. Thanks in Advance for you support. ...

Tagging images in document

Hi, I 'm trying to do add tags to images which are in embedded(added) to word/pdf documents like taggify does. I was looking for suggestions on how to start? This question is an extension of http://stackoverflow.com/questions/128305/tag-images-in-the-image-itself-how-to thxs ...

Use a System.Drawing.Printing.PrintDocument to generate a PDF in memory

Does anyone know if the following is possible and if so what the best way of doing it is for free? I am generating a PrintDocument in a project I am currently working on and displaying a print dialog box so a user can choose which printer they want to use etc. The is currently a windows form application and if a user wants to print to a...

Converting PDF to images automatically

So the state I'm in released a bunch of data in PDF form, but to make matters worse, most (all?) of the PDFs appear to be letters typed in Office, printed/fax, and then scanned (our government at its best eh?). At first I thought I was crazy, but then I started seeing numerous pdfs that are 'tilted', like someone didn't get them on the s...

using Adobe Reader ActiveX Control

I'm trying to use Adobe Reader ActiveX Control from C# Winform, using the following code: > private void InitializeAdobe(string > filePath) { > try > { > this.axAcroPDF1.LoadFile(filePath); > this.axAcroPDF1.src = filePath; > this.axAcroPDF1.setShowToolbar(false); > this.axAcroPDF1.setView("FitH")...

Automated conversion of InfoPath forms to PDF

I've been tasked with programatically opening up a set of XML files (~10k) associated with various InfoPath templates (20) and then saving the populated forms as PDF to a network share. This will be a one-time task. I have code to cycle through the set of XML files and open them in InfoPath. However, the documented command-line parame...

Is there a programmatic way to convert PDFs to images using Adobe's PDF renderer?

We trying to set up automated regression testing our generated PDFs by converting our them to images and then using Python Imaging library to test the difference, pixel by pixel, between new and old versions. Right now, the only step that isn't automated is converting the PDFs to images. I know there are ways to convert PDFs to images ...

PDF Libraries to Display a PDF document in WPF

Does anybody know a PDF library that can display PDF document via viewer inside Windows Presentation Foundation (WPF) application? The library should have a PDF page viewer that can display the file. The PDF viewer should be able to open the file at specific bookmark destination. So the possible API for the library should accept parame...

Searching and coloring text in a pdf file using c#

Dear all; I'm afraid I don't even know where to start with the following problem, so if any of you would give me some pointers, I'd appreciate it. I need to load and display a pdf file. Then I need to search and colorize a few words of interest in said pdf file (noting position, page, etc) using C#. I have Adobe Acrobat 7 professional...

using header() to rewrite filename in URL for dynamic pdf

I have a php script that generates a pdf report. When we go to save the pdf document, the filename that Acrobat suggests is report_pdf, since the php script is named report_pdf.php. I would like to dynamically name the pdf file, so I don't have to type the appropriate name for the report each time that I save it. Asking on a news group...

Have writen a program to extract text from a PDF in python, and now need to make it run for every PDF in the folder and save as a text file.

So far here is the code I have (it is working and extracting text as it should.) import pyPdf def getPDFContent(path): content = "" # Load PDF into pyPDF pdf = pyPdf.PdfFileReader(file(path, "rb")) # Iterate pages for i in range(0, pdf.getNumPages()): # Extract text from page and add to content conte...

Looking to add something to count images in PDFs in this python program...

Here's my code, I'm looking for a way to count the images in the pdfs while I extract the text. import pyPdf import os import csv class UnicodeWriter: """ A CSV writer which will write rows to CSV file "f", which is encoded in the given encoding. """ def __init__(self, f, dialect=csv.excel, encoding="utf-8", **kwd...

convert excel to pdf in python

Is there a good python module to convert .xls file to PDF? ...

rtf format to pdf

Hi, Is there any way to convert rtf format to pdf using PHP? Thanks ...

get current page number of pdf document in asp.net

Hi, I am trying to implement a feature where i open (suppose in iframe) a PDF file (multiple pages), Highlight a section of the document a get the page number (the one that is displayed in the PDF tool bar). Eg: if the toolbar display 2/7 which means i am right now in page 2, i need to capture the page number information. Sounds simple b...

How to embed Helvetica font in PDF using iText?

How to embed Helvetica font in PDF using iText? Following does not work: BaseFont helvetica = BaseFont.createFont(BaseFont.HELVETICA, BaseFont.CP1252, BaseFont.EMBEDDED); Font font = new Font(helvetica, 20, Font.BOLD); That is, this will return false: font.getBaseFont().isEmbedded() Embedding works if I provide the TrueTyp...