Re: [iText-questions] hello

2009-07-19 Thread 1T3XT info
Swapna Matanam wrote: > But when i try to do so, the entire doc is getting overwritten on the > same line .So in one line , my entire rtf text is written. Indeed, that's the expected behavior. It's shown in figure 4.1 of the book "iText in Action". > Can someone plz help me in this. Use a Phras

Re: [iText-questions] How to set the Font for an entire document

2009-07-19 Thread 1T3XT info
Dean Schulze wrote: > Does Itext allow changing the document's font, No. > or do I have to do this > at the Chunk, Phrase, and Paragraph level? Yes, I usually write a factory that produces Chunk, Phrase, Paragraph,... objects that are adapted to the font requirements of the project. -- This an

[iText-questions] Newbie Question

2009-07-19 Thread adi
Hi all, I am a newbie with itext,in my situation i need to get the position of a phrase of text in an existing pdf document and then paste text adjacent to it, if i do a reader.getpagecontent i can see the coordinates in debug but i dont want to fix them what i am trying to get at is that is the

[iText-questions] hello

2009-07-19 Thread Swapna Matanam
Hello Team, I am trying to write to PDF from a rtf document. But when i try to do so, the entire doc is getting overwritten on the same line .So in one line , my entire rtf text is written. I am reading from RTF using POI , and writing using iText. This is my code Document writePdf = new Docum

[iText-questions] How to set the Font for an entire document

2009-07-19 Thread Dean Schulze
  I thought this would be easy, but I can't find it anywhere.    I am writing RTF documents and want to set the document's font so I don't have to include a Font in each Chunk, Phrase, and Paragraph.  The entire document will be the same font, except for a few words in one sentence that will be

Re: [iText-questions] PdfDestinations

2009-07-19 Thread Jason Berk
sweet. so add outlines regardless of whether the PDF is bound for print or web and then, if print bound, nuke the outlines thereby decreasing the file size. My main goal is to keep the file size as small as possible for print bound PDFs, as they are sent to a 3rd party for printing. great id

Re: [iText-questions] add PdfPTable into Columntext i nto an existing PDF File

2009-07-19 Thread Stephan Trautmann
hello, thank you very much for your reply... I have fixed that problem already 4 days ago =) After hours of starring onto my code and looking for any unseen problem... I checked which version of Itext I was using bcuz my company has worked with i text already years ago so the version might be

Re: [iText-questions] page information for each field in XFA form

2009-07-19 Thread 1T3XT info
Eric Lou wrote: > is there any way to know which page it is located for each fields? If you're talking about dynamic XFA, the page depends on the content of the form. Suppose you want to know the page number where an invoice line is added: this could be on page 1 for an invoice with only few inv

Re: [iText-questions] No top and bottom border of Cell

2009-07-19 Thread 1T3XT info
iText_forum wrote: > Hi, > > I understand that in higher resolution width diffrence is not prominent. Hey, you didn't tell us you were using empty cells using border definitions that are different from the cells that have content! > Please suggest some way for implementing rowspan in iText so t

Re: [iText-questions] Doubt about SetMargins in a new pdf doc

2009-07-19 Thread 1T3XT info
Jose Luis Abuelo Sebio wrote: > Any ideas of what I am doing wrong, or how I can reduce the left and top > margins in a pdf document? It's Sunday, I've already been making two examples to get if allegations claiming that "something doesn't work" are true. Two times, I found out that "everything w

Re: [iText-questions] Pdf Template adding multiple images

2009-07-19 Thread Bruno Lowagie
PortfolioMan wrote: > I am attempting to add multiple images to a PdfTemplate. ... > But when I attempt to add more than one image I just get the one. I am > missing some piece of knowledge about how to draw multiple images and add > them to the template .My apologies in advance for not understandi

Re: [iText-questions] add PdfPTable into Columntext into an existing PDF File

2009-07-19 Thread Bruno Lowagie
Stephan Trautmann wrote: > Alright, maybe I should firstly introduce you to what I am about to do: > I got an existing pdf document having 3 form fields. > The task is to firstly fill these fields and add a large ( 660 rows) > pdfptable starting at the first page to that document. > So far i manag

Re: [iText-questions] PdfDestinations

2009-07-19 Thread 1T3XT info
Jason Berk wrote: > My code needs to cut two versions of a pdf. One bound for printing and > one bound for the website. > > We only want to use bookmarks in the PDF bound for the website. > > I did some testing, and adding a PdfDestination by itself adds no size > to the file unless that destina

Re: [iText-questions] setLineDash() not working as expected

2009-07-19 Thread Bruno Lowagie
Daniel Budde wrote: > So, I have my trusty iText book in hand and I swear I have read it, looked > at the java docs, searched for examples and scoured the mailing list > archives, but either this is just not working as it should or my > understanding of it is warped. > > Here are 2 lines I have at