Re: [iText-questions] setting margin has no effect

2009-08-03 Thread 1T3XT info
Elmar Stellnberger wrote: > I would like to add a gutter to an existing document, but if I apply > setMargins it has no effect Of course not. That only works when you create a document from scratch. You could change the MediaBox and/or CropBox: see http://1t3xt.be/?X421 -- This answer is provided

Re: [iText-questions] scale pdfs

2009-08-03 Thread wasegraves
Yes. It is possible to scale a whole PDF page. Of course, you need the user & owner passwords, if there are any. Several years ago, I wrote some command-line utilities to scale and tile images and PDFs. These utilities evolved into a Java-iText program known as ScaleAndTile3. If you do a Googl

Re: [iText-questions] scale pdfs

2009-08-03 Thread Leonard Rosenthol
Sure! There are samples in the iText book and toolbox. Leonard -Original Message- From: Elmar Stellnberger [mailto:estel...@gmail.com] Sent: Monday, August 03, 2009 11:07 AM To: iText-questions@lists.sourceforge.net Subject: [iText-questions] scale pdfs Is it possible to scale a whole

[iText-questions] setting margin has no effect

2009-08-03 Thread Elmar Stellnberger
I would like to add a gutter to an existing document, but if I apply setMargins it has no effect (do not want to use MirrorMargins). Can anybody tell me what is wrong about the following source? int gutter = (int)( 5 *72 / 25.4 ); left = (int)(0.333 * 72); right = left; top = (int)(0.5 *

[iText-questions] scale pdfs

2009-08-03 Thread Elmar Stellnberger
Is it possible to scale a whole pdf page without having to decompose it? I found some code for scaling images stored as pdfs but not for scaling any type of pdf page. I need to scale pages in order to make them fit into margins. -

[iText-questions] write bytearrayoutputstream to rtf

2009-08-03 Thread Stephan Trautmann
Hello, I have created a pdf and saved it temporaily to memory into a bytearrayoutputstream. Now I would to like to output this stream into a rtf file Maybe you ask yourself now, "why the hell doesn't he directly output into a document having a rtfwriter instance"... well.. I have cre

Re: [iText-questions] IText and 508 PDFs

2009-08-03 Thread 1T3XT info
James Gittelson wrote: > > Hello, > > What is the status of iText generating Section 508 Accessible PDFs ? I don't know if this helps, but I wrote the following example for somebody who had the same question a long time ago: http://1t3xt.be/?X000119 This example was sufficient (it was part of

[iText-questions] IText and 508 PDFs

2009-08-03 Thread James Gittelson
Hello, What is the status of iText generating Section 508 Accessible PDFs ? I found a discussion in the archives from 2007: "So you might want to keep an eye on both: iText " and "First, section 508 and document accessibility in general is a VERY complex topic. " from here:

Re: [iText-questions] Organization Chart generation

2009-08-03 Thread Mike Marchywka
> Date: Sun, 2 Aug 2009 22:15:05 -0400 > From: bgould > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Organization Chart generation > > Has anyone built a version of org chart generation using iText? If > so, would they be inte

[iText-questions] How to set Font in PDF Graphics2D

2009-08-03 Thread asif_zzz
Hi, Im new to iText. I need to convert Some Simple HTML To PDF and i also need to add some image's to pdf too. I've some problems while converting HTML to PDF. In my pdf output,the font is not correct which i orginally gave in HTML content(Comic Sans MS). I've used JLabel to convert JLabel graphi

Re: [iText-questions] How to use splitRow()?

2009-08-03 Thread Paulo Soares
Put the table inside a ColumnText and the split will be taken care. Paulo - Original Message - From: "Remya Srinivasan" To: Sent: Monday, August 03, 2009 10:56 AM Subject: [iText-questions] How to use splitRow()? Hello, The PDFs that I am generating have large header and footers (co

[iText-questions] How to use splitRow()?

2009-08-03 Thread Remya Srinivasan
Hello, The PDFs that I am generating have large header and footers (consisting of multiple PdfPTables). The code to render them is included in onEndPage. Between the header and footer, I need to include a PdfPTable which runs to several pages. I have used writeSelectedRows() to display the rows o

[iText-questions] about setListSelection

2009-08-03 Thread Eric Lou
Hi, refer to the sample: http://1t3xt.info/examples/browse/?page=example&id=418 we can use setListSelection to set the values to a listbox, This method has been added since 2.1.4, however, as mentioned by the document: Sets different values in a list selection. No appearance is generated yet; nor

Re: [iText-questions] edit existing PDF without loss of data

2009-08-03 Thread wasegraves
-- Original message -- From: santosh mirgude > > Hello, > > I want to add data/text into pdf file which have already data. > I want find some specific location using some keyword and add new text over > there. > may i get some information, Hello, Santosh. PDFs ar

Re: [iText-questions] edit existing PDF without loss of data

2009-08-03 Thread Alexis Pigeon
Hi santosh 2009/8/3 santosh mirgude > Hello, > > I want to add data/text into pdf file which have already data. > I want find some specific location using some keyword and add new text over > there. > may i get some information, > This is NOT possible. Please have a look at the following page f

[iText-questions] edit existing PDF without loss of data

2009-08-03 Thread santosh mirgude
Hello, I want to add data/text into pdf file which have already data. I want find some specific location using some keyword and add new text over there. may i get some information, Thanks, santosh.m -- Let Crystal Report