pdf

Please suggest a PDF viewer for WPF

I am looking into a PDF viewer control than can be used in WPF application. I saw some examples using WindowsFormHost but I am interested in rotating/resizing the pdf file. Please let me know if there is a solution. ...

Page breaks with whole sections on one page

I have a document with a few sections and each section can be very varied as its very dynamic. The requirement is that each section if started on a particular page say for e.g. section 1 appears on page 1 and section 2 starts on this page below section 1 should appear on the same page if it can fit completely else it needs to go onto the...

Creating PDF with CGContextDrawPDFPage Fails with white text

I'm trying to merge multiple PDFs, i'm copying one-by-one all pages into PDF, but the pages have white color text. means text are not in displayable manner. counld you help..? Thanks In advance...! My Function to Merge PDF: -(void)mergePDFs:(NSArray*)pdfList{ CGContextRef pdfContext; CFStringRef path; CFURLRef url; CFMutabl...

Forcing page breaks in proc report

I'm creating a 2-column report in SAS using PROC REPORT inside the ODS PDF statement. My code looks something like this: ods pdf file='/file/here.pdf' columns=2; ods pagestart=now; proc report data=rpt_data nowd missing contents=''; columns a b c; by a; define a /group order=internal; define b /display; define c /display; break after a...

Converting PDF to images?

I need to import PDF documents into Microsoft OneNote, which means converting the PDF file to an image. Is there a descent free library I can use from .NET to convert the PDF file to a BMP/PNG/JPEG file? Maybe an open source project? ...

Inside a JSP: Merge two Images and let the user print the result.

Hi everybody, I'm just stuck with another programming problem. Within a JSP Web Page I have two urls. From two images, one is a Tiff and the other one is a PNG. The one that is a PNG is like a stamp. The app functionality is to provide kind of a search mechanism for the Tiff images done and then provide the user with the option to prin...

Read XMP from existing PDF with iTextSharp

How can I read XMP from an existing PDF file using iTextSharp? ...

FOP generated PDF borders missing

Hi, I'm having a strange problem with the PDF I've generated using FOP v0.94. The borders are missing at some points. But I've given border="solid 0.5px" for all table-cells. Please see the attached image and the borders in it. Any ideas? ...

The best pratice to parse PDF forms fields with PHP5

I have PDFs with filled out form fields from a customer, which have to be parsed with PHP5 and written into a MySQL-DB. With Google I only find libraries, like Zend_Pdf, which are helpful for creating or manipulating PDFs but not for parsing for form fields. Do you know any libraries or classes for this task? ...

How to calculate the string width in itext ?

I am using itext to write pdf, but in some cases, I need to sign the pdf with SetVisibleSignature function, and we know, with this function, we need to designate the rectangle that we will write the content into it, But it's hard for me to calculate how large the string will occupy, then I can set the rectangle before set a signature on...

CMYK + CMYK = ? CMYK / 2 = ?

Suppose there are two colors defined in CMYK: color1 = 30, 40, 50, 60 color2 = 50, 60, 70, 80 If they were to be printed what values would the resulting color have? color_new = min(cyan1 + cyan2, 100), min(magenta1 + magenta2, 100), min(yellow1 + yellow2, 100), min(black1 + black2, 100)? Suppose there is a color defined in CMYK: ...

ContentType is application/pdf but it still generates Excel sheet

I am using the following code to generate a PDF document from a JSP, but it generates an Excel sheet. <%@ page buffer="7024kb" %> <%@ page contentType="application/pdf"%> <% String reportType=request.getParameter("reportType"); String fileName=reportType; response.addHeader("Content-disposition", "attachment; filename="+fileName);...

Edit Metadata of PDF File with C/C++?

Could anyone please provide me a sample C/C++ code to read and edit PDF Metadata? If it is XMP, what else to do? Thanks, Suranjit Paul ...

ASP .NET C# - Put round SqlDataSource into square DataTable hole?

Using the GiosPDF Library in a ASP .NET 3.5 web application. The library examples use a datatable to populate a PDF table. All my data is in various SQLDataSources. How do I convert/cast the SqlDataSource into a Datatable? I tried this: DataView sdsLateRoutesDV = new DataView(); DataTable sdsLateRoutesDT = new DataTable(); sdsLat...

Can I generate a PDF file in Perl using Hebrew and English text?

Do you know if Perl's PDF::API2 module can generate documents with both English and Hebrew text? I have searched for a while and cannot seem to find how to handle right-to-left language text. Eventually I will want to list English in one column and Hebrew in the other. But I would be happy to have the two texts on different lines for ...

GPA and Resume and PDF vs Doc.

As a recent graduate of a CS program, I am looking for my first job. My GPA was not above 3.0, but incredibly close. Should I still put my GPA on my resume, or is it best to leave it out? Also, is it best to submit a resume as a PDF or a DOC file? ...

PHP data to chart to image to pdf

I would like to generate a chart from a dataset and eventually put it in a pdf format. How would I go about doing this? Which packages would you recommend? ...

iTextSharp - Convert word doc/docx to pdf

Hello there, I understand iTextSharp can be used for converting a document to pdf. But first we have to create a document from scratch using iTextSharp.text.Document and then adding elements to this document. What if I have an existing doc file, is it possible to convert this document to pdf using iTextSharp. Also, I want to use iTex...

Can we Converting the xps document to Pdf programmatically using C#

hi, I am new to the xps documents. I have requirement like convert xps doucment to Pdf format. Can any body have an idea how to do this. Can u give me any code samples. Thanks in Advance.. Mehar ...

Tools to manipulate doc file and convert them to pdf

Hello there, I am looking for some good tools (free or paid, though free tool is always preferred) for doing following operations on word doc files: Manipulation of doc/docx/text files (like replacing some placeholders with DB values) as well as converts doc files to .pdf Because, I will be using this tool in my WCF service library,...