[iText-questions] ZWJ behaviour in iText

2009-02-11 Thread RKVS Raman
Hello, I am trying to write a Ligaturizer for Hindi script which has a heavy usage of Zero Width Joiner (Unicode: 0x200D). Please help me in incorporating ZWJ behavior in iText. Thanks. Best Regards -Raman --- RKVS Raman BOSS Resource http://www.bos

Re: [iText-questions] IText converting a PDF in colors to grayscale

2009-02-11 Thread Leonard Rosenthol
There is nothing built into iText to accomplish this. You will need to write the logic yourself, relying on iText to parse & manipulate the PDF data structures while also using something like JAI to address images. Leonard On Wed, Feb 11, 2009 at 1:14 PM, Guillaume Guillaume < guillaume.m...@gmai

Re: [iText-questions] ALIGN_JUSTIFIED not working in iTextSharp 4.1.2

2009-02-11 Thread Paul Swift
Thanks for the suggestions - it has helped me to identify my flawed logic. I was calling SetSimpleColumn in a loop; iterating through all the Chunks in a Phrase. However, each Chuck (execept the last) had already been calculated to contain no more words that can fit in the available space

[iText-questions] alternative to Batik for SVG images

2009-02-11 Thread Jeff Glatz
for those of you who just need to load an SVG image and are a little put off by Batik's size and bazillion jar dependency graph, i'd thought i share a lightweight alternative i ran across: https://svgsalamander.dev.java.net/ it is a single, self-contained jar and is ~276K in size. don't know how

[iText-questions] IText converting a PDF in colors to grayscale

2009-02-11 Thread Guillaume Guillaume
Hi folks, I'm losing my energy to find how to convert an existing PDF in colors to grayscale with IText, but I can't find the solution. I tried to manipulate it with PDFStamper, tried to find any solution in the web or int the API, but failed. Someone know how to make it ? would be helpful ...

Re: [iText-questions] My PdfPTable is over running my footer

2009-02-11 Thread Lopes, James
Well to be honest my workaround didn't work. I did come up with some thing similar to what you had done, keeping all margins as they are I moved the text that was getting overlapped lower. Turns out I had just enough room. Where I have the copyright centered in the report; there is enough room to i

Re: [iText-questions] How to avoidAvoid Page break in Paragraph

2009-02-11 Thread Jeff Glatz
wouldn't something simple like: Paragraph p = new Paragraph("Yours Sincerely \n Douglas Adams \n Creative Consultant", ARIAL); p.setKeepTogether(true); document.add(p); do the trick? jeff > -Original Message- > From: 1T3XT info [mailto:i...@1t3xt.info] > Sent: Wednesday, February 11, 2

Re: [iText-questions] PdfStamper appending to existing file

2009-02-11 Thread 1T3XT info
theas...@hotmail.com wrote: > Thanks! It works! > Then when do I use PdfStamper, if writer will give me similar functionality? > I thought that writer could just import and could not modify the imported > pages. You can't add stuff to the PdfImportedPage, but you can add extra content to the Pdf

Re: [iText-questions] re verse engineering to generate java code from template

2009-02-11 Thread 1T3XT info
miro wrote: > Is there any tool available fo reverse engineering to generate java code > from some pdf template ? PDF is a one way process. For instance: if you have a PdfPTable object, that object has a certain structure: it has rows, columns, cells. Once such an object is written to PDF, all

Re: [iText-questions] My PdfPTable is over running my footer

2009-02-11 Thread Jeff Glatz
hey james, i had a similar requirement, except that in place of a logo at the top, the logo was in a left-hand sidebar, and and in place of a copyright, there was a modification date and page number. i also ran into the problem of a PdfPTable overflowing into the footer. i used a PageEvent implem

Re: [iText-questions] ALIGN_JUSTIFIED not working in iTextSharp 4.1.2

2009-02-11 Thread Paulo Soares
The last line is always left aligned. Do you have more than a line? Paulo > -Original Message- > From: Paul Swift [mailto:paulswift1...@hotmail.com] > Sent: Wednesday, February 11, 2009 4:34 PM > To: iText mailinglist > Subject: [iText-questions] ALIGN_JUSTIFIED not working in > iTextSh

Re: [iText-questions] ALIGN_JUSTIFIED not working in iTextSharp 4.1.2

2009-02-11 Thread 1T3XT info
Paul Swift wrote: > Can anyone suggest why ALIGN_JUSTIFIED might not be working for me in > iTextSharp 4.1.2 It only works in "text mode"; maybe you switched to "composite mode"? -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info -

[iText-questions] re verse engineering to generate java code from template

2009-02-11 Thread miro
Is there any tool available fo reverse engineering to generate java code from some pdf template ? -- View this message in context: http://www.nabble.com/reverse-engineering-to-generate-java-code-from-template-tp21958249p21958249.html Sent from the iText - General mailing list archive at Nabble

[iText-questions] ALIGN_JUSTIFIED not working in iTextSharp 4.1.2

2009-02-11 Thread Paul Swift
Can anyone suggest why ALIGN_JUSTIFIED might not be working for me in iTextSharp 4.1.2? Here is a code snippet: ct.SetSimpleColumn(text_x, PageSize.A4.Height - m_fPrint_Y - (rowHeight * 2), m_nHtmlAreaLeft + m_nMaxHtmlWid

Re: [iText-questions] table

2009-02-11 Thread 1T3XT info
Nelson Rodrigo Furlan wrote: > hi, > please, someone have one example for create the pdf with two table ??? If you don't find such an example here: http://1t3xt.info/examples/browse/?page=toc&id=11 you'll have to explain what you mean. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com

Re: [iText-questions] using pdf template for table with unknown size

2009-02-11 Thread 1T3XT info
miro wrote: > I have to generate a pdf , and I am confused whether to use a template . > > My template needs a table in middle and no of rows will be determined only > at runtime , so one instance rows might be 5 and other instance rows > might be 50. > > Can we have this dynamic behavior us

[iText-questions] table

2009-02-11 Thread Nelson Rodrigo Furlan
hi, please, someone have one example for create the pdf with two table ??? thanks Nelson Rodrigo Furlan Nova América S/A - Agrícola Departamento de Topografia ((18) 3373-4249 ( fax (18) 3373-4228 *nelson.fur...@novamerica.com.br (mailto:nelson.fur...@nelson.furlan@novamerica.com.br) 8 http://ww

[iText-questions] using pdf template for table with unknown size

2009-02-11 Thread miro
I have to generate a pdf , and I am confused whether to use a template . My template needs a table in middle and no of rows will be determined only at runtime , so one instance rows might be 5 and other instance rows might be 50. Can we have this dynamic behavior using a pdf template ?

Re: [iText-questions] My PdfPTable is over running my footer

2009-02-11 Thread Lopes, James
Thanks for the help. The examples you have presented were helpful. I don't believe I have clearly stated my situation. My project requires that I generate a report as follows. Each page of the report will contain 1. A company logo, with message at the top of each page. 2. In between a table of th

Re: [iText-questions] Change colour of a flattened acrofield

2009-02-11 Thread 1T3XT info
quam-usp wrote: > Thanks for your answers. > My problem is that I don't know how to put a spot color in my flattened > field. I don't know how to take the new text and edit it with spot colors. > I'll be grateful if anybody could give me some clue or provide some example > code. It's all in the bo

Re: [iText-questions] Change colour of a flattened acrofield

2009-02-11 Thread quam-usp
Thanks for your answers. My problem is that I don't know how to put a spot color in my flattened field. I don't know how to take the new text and edit it with spot colors. I'll be grateful if anybody could give me some clue or provide some example code. Thanks! Leonard Rosenthol-3 wrote: > > CM

Re: [iText-questions] How to avoidAvoid Page break in Paragraph

2009-02-11 Thread 1T3XT info
Pari Gandhi . wrote: > Hi, > > I have written a program to create a PDF document using iText. See below: > > Document document = new Document(); > . snip.. > > document.add(new Paragraph(dynamic_text,ARIAL)); > > document.add(new Paragraph("Yours Sincerely \n Douglas Adams \n Cre

[iText-questions] How to avoidAvoid Page break in Paragraph

2009-02-11 Thread Pari Gandhi .
Hi, I have written a program to create a PDF document using iText. See below: Document document = new Document(); . snip.. document.add(new Paragraph(dynamic_text,ARIAL)); document.add(new Paragraph("Yours Sincerely \n Douglas Adams \n Creative Consultant",ARIAL)); . snip.. I

Re: [iText-questions] My PdfPTable is over running my footer

2009-02-11 Thread 1T3XT info
Lopes, James wrote: > I have a page header and page footer with a PdfPTable in between the > PdfPTable over runs the page footer. My original e-mail said nothing > about adding a page number, although I will have to add them. A creative solution would be to forget about HeaderFooter (always a good

Re: [iText-questions] My PdfPTable is over running my footer

2009-02-11 Thread Lopes, James
I have a page header and page footer with a PdfPTable in between the PdfPTable over runs the page footer. My original e-mail said nothing about adding a page number, although I will have to add them. -Original Message- From: 1T3XT info [mailto:i...@1t3xt.info] Sent: Wednesday, February 11

Re: [iText-questions] PdfStamper appending to existing file

2009-02-11 Thread 1T3XT info
rorostar wrote: > > What I'm trying to do is create a PDF file from several "template" pdf > files. > The first few pages of the PDF file are generated texts (cover page, table > of content, etc), and then after that, I would need to append and edit from > other existing template (basically adding

Re: [iText-questions] PdfStamper appending to existing file

2009-02-11 Thread 1T3XT info
rorostar wrote: > It seemed that when creating a PdfStamper, there is a PdfWriter created > inside of it. > Since I have a different PdfWriter that I created for the main PDF file, i > tried to redirect the output of the PdfWriter inside of the PdfStamper to > the main PdfWriter. > Is this not supp