Hello,
I have a need to overlay or insert an image on an existing pdf file. The pdf file and the image are both known to the java application.
Is it possible to overlay an image on an existing pdf file using iText Library? If so, how can I do that. I tried various examples and using those exam
We came across the same problem just recently. We were using the GET
method to send data a servlet generating the report. I think Acrobat
Reader 6.0 was choking on the long file name from the GET request. We
changed it to the POST request so that acrobat didn't see all the
parameters passed to the
We are currently using iText to send the output to the browser. When using
Adobe Reader 6.0 plugin it displays in the browser window just fine. When
trying to print the document I get the error "Could not start the print
job". If I save the document, reopen it I can then print the document will
p
I've used the following method from the javadocs:
public static void encrypt(PdfReader reader,
OutputStream os,
boolean strength,
String userPassword,
String ownerPassword,
> -Original Message-
> From: Hibbard, Mark [SMTP:[EMAIL PROTECTED]
> Sent: Monday, November 03, 2003 17:20
> To: 'Paulo Soares'; '[EMAIL PROTECTED]'
> Subject: RE: [iText-questions] Security on document
>
> I've used the following method from the javadocs:
>
> public static void
Changing the page size of an existing pdf must be done in another way.
PdfReader reader = ;
PdfDictionary dic = reader.getPageN(1);
dic.put(PdfName.MEDIABOX, new PdfArray(new float[]{0, 0,
PageSize.LEGAL.width(), PageSize.LEGAL.height()}));
Use PdfStamper to output the result.
Best Regards,
Use PdfContentByte.concatCTM() or PdfContentByte.transform() before placing
the table.
Best Regards,
Paulo Soares
> -Original Message-
> From: Philippe Couas [SMTP:[EMAIL PROTECTED]
> Sent: Monday, November 03, 2003 14:43
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] rotatio
Anything wrong with the javadocs?
Best Regards,
Paulo Soares
> -Original Message-
> From: Hibbard, Mark [SMTP:[EMAIL PROTECTED]
> Sent: Monday, November 03, 2003 11:34
> To: '[EMAIL PROTECTED]'
> Subject: [iText-questions] Security on document
>
> I need to be able to set up docum
I need to be able to set up documents in PDF with the following security
permissions:
* A password required to change security options
* Do not allow -
Changing the document
Selecting text and graphics
Adding or changing annotations and form fields
I've tried using iText
Title: Message
Hi,
I need to create a new PDF document, this
document use, a model in landscape
mode, arotate logo and an rotate text in a Table
I use a Pdfreader for reading my model and PdfStamper for
writing it, next i have added a rotated
background image, and now i need to add a Pd
Hi, this is my method to convert LETTER size page to LEGAL.
public void changerPageSizePourLegal(String newFile, Log log)
{
PdfContentBytepdfcbContenuFichierPDF;
PdfReader pdfrDocumentPDF;
PdfWriter pdfwDocumentPDF;
ByteArrayOutputStream baosDocu
Hi all!
I've used iText to merge some pdf's (byte[])
and are now trying to show the result from a servlet.
Should be
quite easy right..?
My code:
String CONTENT_TYPE =
"application/pdf";
byte[] pdfByteArray =
pdfAssembler.getPdf();
response.setContentType( CONTENT_TYPE
);response.setH
Hi Olivier.
I know, the document.close() statement is first called after the response is
returned.
Now I got a new problem see "How to make Internet Explorer showing my
pdf..."
Thanks anyway!
Erik
- Original Message -
From: "Olivier Lafontaine" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED
Hi
I'm having a table with 2 columns. In one column I put a bullet in the
second a text. I want the bullet to be aligned at the same height as the
first row of the text. My problem is that even I set for both cells
cell.setVerticalAlignment(Element.ALIGN_TOP) it still doesn't work. Attached
you ca
Quoting Nilesh Shrestha <[EMAIL PROTECTED]>:
> I need to number pages from 1 to 18 and write at the basement.
You can find this in the tutorial:
Best way to do it is with PageEvents (chapter 12)
and adding text at absolute positions (chapter 10)
br,
Bruno
---
You have to read the document as many times as the number of repeated pages
you need. It's a limitation.
Best Regards,
Paulo Soares
> -Original Message-
> From: wang yun [SMTP:[EMAIL PROTECTED]
> Sent: Saturday, November 01, 2003 5:59
> To: [EMAIL PROTECTED]
> Subject: [iText-quest
Dear Psoares,
Your contribution to iText is just great.
I have merged pdf files and have them in memory. I need to write page number in them starting from 1.
case:
pdfA = 8 pages
pdfB = 10 pages
Mergedpdf containt 18 pages.
I need to number pages from 1 to 18 and write at the base
Works for me. Post a small, complete, runnable example to see what's going
on.
Best Regards,
Paulo Soares
> -Original Message-
> From: Venkat Venkatesh [SMTP:[EMAIL PROTECTED]
> Sent: Sunday, November 02, 2003 0:36
> To: Leonard Rosenthol; Paulo Soares;
> [EMAIL PROTECTED]
> Subject:
Hi !
I'm generating a PDF with multiple pages. Every page has a footer. I want to
add some text in the last page's footer. Is it possible ? If so, how ?
Thx,
Cezar
---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceFo
19 matches
Mail list logo