pdf

Transparent iframe ontop of pdf in iframe

I have found the technique of putting iframes on top of an iframes to get round the z-index problem browsers have with iframes. The problem I am facing now is I need the the iframe that overlaps a PDF (loaded into an iframe) to be transparent. Is this possible?? The reason I want to do this is so I can have a transparent png over the t...

Byte Serving PDFs from SQL varbinary

Hi I am want to take advantage of the web optimization for pdfs by allowing users to download them a page at a time. The pdfs are configured for fast web view. I am serving the pdfs from sql server 2008. The c# .net 3.5 web app untilises linq to SQL to load the files into a binary array from the database. The file is opended in PDF ...

Unicode characters not showing in Zend_Pdf?

require_once 'Zend/Pdf.php'; $pdf = new Zend_Pdf(); $page = $pdf->newPage(Zend_Pdf_Page::SIZE_A4); $pdf->pages[] = $page; $page->setFont(Zend_Pdf_Font::fontWithName(Zend_Pdf_Font::FONT_HELVETICA), 10); $page->drawText("Bogus Russian: это фигня", 100, 400, "UTF-8"); $pdfData = $pdf->render(); header("Content-Disposition: inline; filename=...

iTextSharp Creating a Footer Page # of #

Hi, I'm trying to create a footer on each of the pages in a PDF document using iTextSharp in the format Page # of # following the tutorial on the iText pages and the book. Though I keep getting an exception on cb.SetFontAndSize(helv, 12); - object reference not set to an object. Can anyone see the issue? Code is below. Thanks, Rob pu...

Print Embedded pdf from Excel worksheet

Hi, I have a pdf file embedded in an excel worksheet that is opened through and icon. This icon object will have a specific name (i.e., "ObectToPrint"). What I need to do is print this pdf file without actually opening it. Is this possible? Thanks! ...

Is there a way of writing PDF byte data to an IFrame clientside

Odd question I know but say one has PDF byte data contained within a hidden field on a page which also has an IFrame on it. Is there a way of writing the pdf data to the IFrame using JavaScript such that the IFrame will load in the adobe plug-in and display the data? The reason we'd like to do this is that we need the PDF data in the h...

CFPDF thumbnail problem not showing background/images

I have 2 pdf's i'm running through CFPDF action="thumbnail". The first pdf returns a perfect looking thumb. The second returns a thumb with only the text and background colors, but NO background or foreground images. I didn't create these PDF's, I can't tell a difference in the two. Here's the code, simplified for testing purposes: <c...

Are there any 3rd party components that let you read/create/edit PDF/Word/Excel documents in ASP.NET?

Are there any 3rd party components that let you read/create/edit PDF/Word/Excel documents in ASP.NET? ...

How can I create a Word document using Python?

I'd like to create a Word document using Python, however, I want to re-use as much of my existing document-creation code as possible. I am currently using an XSLT to generate an HTML file that I programatically convert to a PDF file. However, my client is now requesting that the same document be made available in Word (.doc) format. S...

Can't display PDF from HTTPS in IE 8 (on 64-bit Vista)

I have a home-grown HTTPS server that serves up simple files (it's embedded within my app). It works great -- been using it forever. Recently added SSL support -- Chrome, FireFox and IE all like it and load pages just fine. The problem I find is when I try to load a PDF file over the HTTPS connection. For some reason, the PDF never d...

Setting the src attribute of an IFrame to data:application/pdf;base64?

Setting the src attribute of an IFrame to data:application/pdf;base64, isn't working for me, any ideas why? Here's the .aspx markup <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>Untitled Page</title> <sc...

Using iText (iTextSharp) to populate XFA form fields in PDF?

I need to populate XFA form fields in a PDF (created with Adobe LiveCycle Designer). We're attempting to use iText (actually iTextSharp with C#) to parse the PDF, populate the XFA fields and then save the modified PDF back out. All the examples I can find with iText (very few iTextSharp examples) talk about modifying AcroForm fields. ...

How to programmatically convert SVG to PDF on Windows?

I'm looking to programmatically convert SVG to PDF documents on a server. What are my options for doing that on Windows? I've seen links to Inkscape, Batik, and svg2pdf, but I'm not sure if these can easily be automated to perform the conversion on a Windows server. There's an unusual solution here which involves automating OpenOffice ...

Displaying PDFs on iPhone - CALayers?

I'm having a huge headache trying to figure this out. I'm trying to display a single page from a pdf file (the only one that is). This pdf page is a map that I need to zoom in and out with pinching, etc... I am doing this with CATileLayers (each tile being 256x256, but can set it to a bigger size). It does the job but REALLY slowly. What...

How to get PDF chapter information with CGPDFDocumentGetCatalog?

Any sample code I can look at? ...

UIWebView rotation and position

Hello, I use a UIWebView displaying a PDF file. By default the PDF is displayed in portait mode but the user can rotate the iPhone. The rotation work well, but after being in landscape, the PDF position is not the same as in portrait. Whe I switch back to portrait mode, the scroll is at the "old" position in the PDF. My controller send...

dot net:i need to parse pdf file to get each article with its title?

i want to parse pdf file such that i can identify each article's title and its description.so that i can store title text and descriptiontext in cache for search purpose.is there any library or tool for this? ...

How to change the title of a browser page which a servlet streamed a PDF to?

Hi my Java based webapp has a servlet which streams PDF content back to the browser based on request parameter. e.g. user clicks on an A tag with an href of "myApp/FetchPDFServlet?id=123". Servlet mapping picks up request, streams PDF data to response as mime-type application/pdf, closes flushes buffers. However the browser title ba...

Embedding vector graphics in Word

Hi, I'm working on a calculation program which creates graphs from input data with ZedGraph. My client would like to embed those graphics into Microsoft Word and the publish the document as PDF. Both PNGs and enhanced metafiles produce badly rastered results in the PDF. I've tested this with Office 2007 and the "built-in" PDF publisher...

Render PDF on a Blackberry?

We are using Blackberries to display PDF reports. Here are background details on the problem: The PDF reports are created using JasperReports. Report format can be changed. Different report formats are available (as per the feature set of JasperReports). The PDF reports are on a website, too, so retaining a single source is ideal. The ...