Re: [iText-questions] controlling page breaks (not how to insert a new page)

2009-01-12 Thread Jeff Glatz
as i stated in the original post, it is a requirement dictated by the stakeholders in the project. i'm not tied to the chapter/section abstractions, and can make the appropriate changes, but i do need a way to accomplish this. let me give this another try: i'm generating a working marketing plan

Re: [iText-questions] parse Html tags (text from database)

2009-01-12 Thread 1T3XT info
biofly wrote: > Hi, > > I am new to iText. I am using iText for my pdf creation. I am accessing text > data from database and using servlet to create the pdf. > > My text data (from database) has html tags, like , etc. > > In the following code the 'data' is a String and contains text with tag

Re: [iText-questions] Controling Automatic Page Breaking

2009-01-12 Thread 1T3XT info
Charles Mason wrote: > At present when the bottom of the page is reached iText just wraps on > to another page, so it may end a page with a title of the next data > set. Is there a way to tell iText, it can only break at certain > points, in my case between the data sets. You need to read chapter

Re: [iText-questions] controlling page breaks (not how to insert a new page)

2009-01-12 Thread 1T3XT info
Jeff Glatz wrote: > thank you for the prompt reply. however, i don't think i properly > constructed my question. > > i am aware of that method and what it does, but what is the best way to > determine how many sections will fit on a page before i determine which > section to invoke that method on

[iText-questions] parse Html tags (text from database)

2009-01-12 Thread biofly
Hi, I am new to iText. I am using iText for my pdf creation. I am accessing text data from database and using servlet to create the pdf. My text data (from database) has html tags, like , etc. In the following code the 'data' is a String and contains text with tags. Presently these tags are

Re: [iText-questions] controlling page breaks (not how to insert a new page)

2009-01-12 Thread Jeff Glatz
thank you for the prompt reply. however, i don't think i properly constructed my question. i am aware of that method and what it does, but what is the best way to determine how many sections will fit on a page before i determine which section to invoke that method on? i.e. is there some way of c

Re: [iText-questions] RTF problem with margins

2009-01-12 Thread Xavier Le Vourch
mikees wrote: > Hi, > > I have already the problem, Nobody know please ? Je ne connais pas le code rtf donc je ne peux pas aider directement mais c'est toujours plus facile de trouver une solution si un exemple est fourni (code source, rtf fichier importé, ...) qui permet de reproduire les problè

Re: [iText-questions] Searchable PDF, cosmetic issue: Copying text with format results in "wrong" sizes

2009-01-12 Thread Rick Carback
Ben, If I understand correctly, you want to create a PDF where big text that is copied from the PDF will come out small (as in, 12pt or so)? It seems like what is happening should be the expected behavior to me... If your users want the copy/paste to come out smaller, why not just tell them to co

Re: [iText-questions] Searchable PDF, cosmetic issue: Copying text with format results in "wrong" sizes

2009-01-12 Thread Leonard Rosenthol
No, there is no way to solve both. I would think that you would WANT the text to come out with the correct sizes when copied/pasted... Leonard -Original Message- From: Benjamin Podszun [mailto:b...@galactic-tales.de] Sent: Monday, January 12, 2009 12:06 PM To: iText-questions@lists.so

[iText-questions] Antwort: Controling Automatic Page Breaking

2009-01-12 Thread Benjamin Rein
Hi Charlie, I think it's possible to let iText do the splitting work automatically, but I don't know if it's the best way. Couldn't you just call Document.newPage() after adding a complete data set to the document? For doing the newPage automatically you have to add a Chunk with GenericTag as

Re: [iText-questions] extracting text from pdfs with japanese data

2009-01-12 Thread Hoppe, Michael
Hi Kevin, Also sorry for the delay. I was in vacation until today. The txt-file you attached to your last mail does not show any japanese characters but only gibberish (i am using a unicode editor, so it should show up correctly). The output should look like the txt-file i attached to this mail

[iText-questions] Controling Automatic Page Breaking

2009-01-12 Thread Charles Mason
Hi All, I have a web app which generates a fairly simple PDF from a DB. Basicaly the PDF has a series of data sets, each on is represented in the PDF by a Title, description paragraph, table of the data and an advise paragraph. These take about an average of a third of an A4 page. The data sets va

Re: [iText-questions] RTF problem with margins

2009-01-12 Thread mikees
Hi, I have already the problem, Nobody know please ? thanks a lot mikees wrote: > > Hello, > > I have to create a rtf document with many pages. Each page must have > different margins. > I tried the method setMargins() but the generated document has the last > setMargin () for the entire r