Re: [iText-questions] Drawing boxes in PDF documents

2007-04-04 Thread Paulo Soares
http://itextdocs.lowagie.com/tutorial/general/copystamp/index.html#pdfstamper Paulo - Original Message - From: "Stefano" <[EMAIL PROTECTED]> To: Sent: Wednesday, April 04, 2007 11:15 PM Subject: [iText-questions] Drawing boxes in PDF documents > Is it possible with Itext to draw lines

[iText-questions] Drawing boxes in PDF documents

2007-04-04 Thread Stefano
Is it possible with Itext to draw lines or boxes into preexistent pdf documents, at given coordinates in a certain page? Could it be possible to have an example? Thank you in advance, Stefano - Take Surveys. Earn Cash.

Re: [iText-questions] accessibility

2007-04-04 Thread Paulo Soares
All of that is supported but you'll have to look at the PDF reference to know what to use and it's not for the faint of heart. I have an example at http://itextpdf.sourceforge.net/. Paulo - Original Message - From: "Lam, Hayward: CORP" <[EMAIL PROTECTED]> To: Sent: Wednesday, April 04

Re: [iText-questions] Circular Text

2007-04-04 Thread Paulo Soares
You'll have to place each letter, one by one, at the right position and rotation. Paulo - Original Message - From: "benf" <[EMAIL PROTECTED]> To: Sent: Wednesday, April 04, 2007 9:39 PM Subject: [iText-questions] Circular Text > > Hi, > > I am using iText to generate CD Labels. > > I

[iText-questions] Circular Text

2007-04-04 Thread benf
Hi, I am using iText to generate CD Labels. I would like to print some information on the CD Label in a circle. In other words, I would like the text to follow the circumference of the CD. Does anyone know a way of doing this? Thanks for your time Ben -- View this message in context: htt

[iText-questions] accessibility

2007-04-04 Thread Lam, Hayward: CORP
I am new to itext and accessibility. There is a project requirement to generate PDF document with both English and French. The text must be "tagged" accordingly so Acrobat Reader's Read Out Loud feature can switch between Enlgish and French. Does itext support this? Any code example (I can't find

Re: [iText-questions] Controlling column width in PdfPTable..

2007-04-04 Thread Bastian Triller
you can use |||*setWidthPercentage or *||*setTotalWidth

[iText-questions] Controlling column width in PdfPTable..

2007-04-04 Thread krishna patury
Hi all, I have a table with about 25 columns. Right now they are all of equal width. Is there a way we can decrease/increase the width of a particular column? Like I want it wider for things like First name, SSN etc but smaller for single Character codes like 'A' etc.. All I could do wa

Re: [iText-questions] Tiff conversion to PDF Issue

2007-04-04 Thread Paulo Soares
Do the file looks normal when viewed in a tiff viewer? If it does then post a link to the file for inspection. Paulo - Original Message - From: "Sandon Jacobs" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "Post all your questions about iText here" Sent: Wednesday, April 04, 2007 5:44

Re: [iText-questions] Tiff conversion to PDF Issue

2007-04-04 Thread Sandon Jacobs
The same thing happens from the file system. Thanks SLJ Sandon L Jacobs BlueCross BlueShield of North Carolina ISBA - EAI COE Application Developer (SCJP) (o) (919) 765-2462 (c) (919) 730-2430 [EMAIL PROTECTED] >>> [EMAIL PROTECTED] 3/29/2007 6:23:46 PM >>> It doesn't look like an iText prob

Re: [iText-questions] resizing images.

2007-04-04 Thread Paulo Soares
See http://itextdocs.lowagie.com/tutorial/objects/images/index.html#transformations. There's also no guarantee that getDpi will return anything. Paulo - Original Message - From: "nitm" <[EMAIL PROTECTED]> To: Sent: Wednesday, April 04, 2007 5:01 PM Subject: [iText-questions] resizing

[iText-questions] resizing images.

2007-04-04 Thread nitm
hi all. my application connects to a db and read orders from it. each order contains an image and its width and height (in cm). i'm trying to resize the image so it will be printed in the same size as stored in the order. here's what i did: Image bgimg = Image.getInstance(imgurl); float width,

[iText-questions] resizing images.

2007-04-04 Thread nitm
hi all. my application connects to a db and read orders from it. each order contains an image and its width and height (in cm). i'm trying to resize the image so it will be printed in the same size as stored in the order. here's what i did: Image bgimg = Image.getInstance(imgurl); float width,

Re: [iText-questions] [iText-Questions] Chapters, Tables, and ColumnText

2007-04-04 Thread Alexis Pigeon
On 04/04/07, Paulo Soares <[EMAIL PROTECTED]> wrote: > In ColumnText, Paragraph is not recognized as a container. D'oh! Note for myself : remember to update the current thread before posting :S - Take Surveys. Earn Cash. Inf

Re: [iText-questions] Character problem in PDF using UTF-8

2007-04-04 Thread Paulo Soares
You need to embedd an external font for those characters to show up. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of szaki > Sent: Wednesday, April 04, 2007 2:58 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions]

Re: [iText-questions] [iText-Questions] Chapters, Tables, and ColumnText

2007-04-04 Thread Alexis Pigeon
Hello Vincent, On 04/04/07, Vincent CAURIER <[EMAIL PROTECTED]> wrote: > Hi all, > > When I add Chapters and Tables to a Paragraph, they don't appear in the PDF > when I add the Paragraph in my ColumnText (I use a simpleColumnText). If I > add the Paragraph directly to the Document, it works. Why

Re: [iText-questions] [iText-Questions] Chapters, Tables, and ColumnText

2007-04-04 Thread Paulo Soares
In ColumnText, Paragraph is not recognized as a container. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Vincent CAURIER > Sent: Wednesday, April 04, 2007 4:14 PM > To: iText-questions@lists.sourceforge.net > Subject: [iText-questions]

Re: [iText-questions] Chapter

2007-04-04 Thread fr3ak
Hi I use JDK 1.4. but are you using the right iText version in production? -> Yes, i've removed all old versions, and the function setBookmarkTitle is working fine with the new iText version. Thanks alot D Bruno Lowagie (iText) wrote: > > fr3ak wrote: >> I use the itext version 2.0.1, i've u

[iText-questions] Character problem in PDF using UTF-8

2007-04-04 Thread szaki
HI, I need to use some special characters (for Hungarian language), like ő, ű and they are not showing up on the generated PDF, just on HTML and RTF. I've tryed several font types, or to send them as a stream with "new String(byte[],"UTF-8")", with no results. The other characters (like é,á,ó,

[iText-questions] [iText-Questions] Chapters, Tables, and ColumnText

2007-04-04 Thread Vincent CAURIER
Hi all, When I add Chapters and Tables to a Paragraph, they don't appear in the PDF when I add the Paragraph in my ColumnText (I use a simpleColumnText). If I add the Paragraph directly to the Document, it works. Why ? -- Vincent CAURIER -

[iText-questions] Problem wit setRemoteGoto

2007-04-04 Thread Eric Summkeller
I would like to create one document with a table of contents. Therefore I create one content document and for each chapter that I add, I save this value in a list. At the end of the content document I close this document. Then I create a new document and write the saved chapter list into this d

Re: [iText-questions] Chapter

2007-04-04 Thread Bruno Lowagie (iText)
fr3ak wrote: > I use the itext version 2.0.1, i've updated it because i needed the function > setBookmarkTitle. > In my IDE (eclipse) i can access this method like this. > > Chapter chapter = new Chapter(p,i+1); > chapter.setNumberDepth(0); > chapter.setBookmarkTitle(chunk.content()); > chapter.s

Re: [iText-questions] Sign+Encrypt in one process ? Removing overhead...

2007-04-04 Thread Paulo Soares
Signing must always be done in PdfStamper, you wouldn't gain anything if it could be done directly from PdfWriter as the process requires changes to the completed PDF. With PdfStamper you can encrypt and sign in one go. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMA

Re: [iText-questions] Chapter

2007-04-04 Thread fr3ak
I use the itext version 2.0.1, i've updated it because i needed the function setBookmarkTitle. In my IDE (eclipse) i can access this method like this. Chapter chapter = new Chapter(p,i+1); chapter.setNumberDepth(0); chapter.setBookmarkTitle(chunk.content()); chapter.setTriggerNewPage(false); doc

Re: [iText-questions] Embedding HTML formated Text into PDF

2007-04-04 Thread Harakiri
Thank you, i've taken a quick look at the HTMLWorker and i see that returns a list of elements that i can add to a document. How do i place all these elements within a specific part of the Document ? I.e. i already delcared an area for the html data and i only want to add the elements returned by

[iText-questions] Sign+Encrypt in one process ? Removing overhead...

2007-04-04 Thread Harakiri
Hello, is it possible to sign+encrypt a pdf in one process ? Im generating PDFs from scratch, also it is possible to do a setEncryption on a PDF writer - im unable to sign the data. I know that i cant change anything after adding a signature to not invalidate. What i currently have to do is 1.

Re: [iText-questions] Chapter

2007-04-04 Thread Bruno Lowagie (iText)
fr3ak wrote: > java.lang.NoSuchMethodError: com.lowagie.text.Chapter.setTriggerNewPage(Z)V Have you checked if the iText version you are using already has this method? Could be you're using an old version. br, Bruno - Take Su

Re: [iText-questions] Chapter

2007-04-04 Thread fr3ak
Hi thanks for your post. When i do this, my adobe reader window display the message "document corrupt" and no document is displayed. Paulo Soares wrote: > > Chapter.setTriggerNewPage(false) > > Paulo > >> -Original Message- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED]

Re: [iText-questions] Removing "multiple embedding" of same font

2007-04-04 Thread Paulo Soares
See the source of BaseFont.getDocumentFonts(). You can modify it to locate the fonts and replace the /FontFile2 with the indirect reference of you choice. After that, call PdfReader.removeUnusedObjects() to do the clean up. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:

Re: [iText-questions] Chapter

2007-04-04 Thread Paulo Soares
Chapter.setTriggerNewPage(false) Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of fr3ak > Sent: Wednesday, April 04, 2007 10:31 AM > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] Chapter > > > i've the same pr

Re: [iText-questions] Chapter

2007-04-04 Thread fr3ak
i've the same problem, can anybody help? Dirk Ulrich wrote: > > Is it possible to place a new chapter in a document without inserting a > new > page? How can I do this? > -- > Mit freundlichen Grüßen > > Dirk Ulrich > Jansenstraße 21 > 13437 Berlin > fon:0++49-(0)30-40 999 087 > mobil:++

[iText-questions] Removing "multiple embedding" of same font

2007-04-04 Thread Sascha Fuchs
Hello We have the problem, that existing pdf documents need a lot of disk space (250kb/page), even there is only text content on the files (the files were created by given external application). It seems that for each document page the font are embedded. Text editor view: ... 19 0 obj<

Re: [iText-questions] Unable to close the window PDF embedded in the windows browser

2007-04-04 Thread Bruno Lowagie (iText)
[EMAIL PROTECTED] wrote: > Hi, > > I have tried with the javascript document.close(). It is not closing the > PDF document in the browser. Kindly help me if there is anyother option > for closing the document. Maybe you are just asking for something that is impossible... br, Bruno --