Re: [iText-questions] water mark

2008-03-18 Thread Schalk Neethling
Hi there Arathi, Have a look at this page, helped me out a lot: http://itextdocs.lowagie.com/tutorial/directcontent/colors/index.php Regards, Schalk From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Arathi Girimallappa Sent: 18 March 2008

[iText-questions] Any chance to populate the data in existing pdf file

2008-03-18 Thread bala_kj
Hi All, I have a existing pdf file. It has the lots of columns, i want to display the data(from XML request) accorading to the each column. Is it possible to populate the data in a existing pdf? Anybody please help me Thanks in advance -- View this message in context: http://w

[iText-questions] How I can insert a tag in the document when I use HtmlWriter?

2008-03-18 Thread Li, Zhe (Maggie)
_ ATTENTION: The information contained in this message (including any files transmitted with this message) may contain proprietary, trade secret or other confidential and/or legally privileged information. Any prici

[iText-questions] a question about HTML using iText

2008-03-18 Thread Li, Zhe (Maggie)
I'd like to use HtmlWriter to generate a HTML file. Can anybody tell me how I can insert tag in the document? Thanks. Maggie _ ATTENTION: The information contained in this message (including any files transmitted

[iText-questions] image in a cell in a table

2008-03-18 Thread Eric Hamacher
When I add an image to one PdfpCell to a PdfPtable with one column, why doesn't the image take up all the table space? Why is it not centered? I cannot seem to manipulate the table or cell to achieve this. Thanks. Regards, Eric Hamacher ** THIS EMAIL IS INTEN

Re: [iText-questions] how to ?

2008-03-18 Thread Alexis Pigeon
Have fun : http://www.adobe.com/devnet/pdf/pdf_reference.html On 18/03/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > hi all, > > I make an application. > i read pdf file, > and i get this result : > > BT > /F3 24.0 Tf > 0.0 Tc > 0 g > 1 0 0 1 90.0 640.368 Tm [(Apache) -278.0 (P

Re: [iText-questions] how to ?

2008-03-18 Thread Leonard Rosenthol
Everything you need to know is in the Adobe PDF Reference. Leonard On Mar 18, 2008, at 9:42 AM, [EMAIL PROTECTED] wrote: > > > hi all, > > I make an application. > i read pdf file, > and i get this result : > > BT > /F3 24.0 Tf > 0.0 Tc > 0 g > 1 0 0 1 90.0 640.368 Tm [(Apache) -278.0 (POI) -278

Re: [iText-questions] Overlapped text- Header and content

2008-03-18 Thread TugaHH
Thanks for the tip. Actually this was already done. When I debug my code, I see the top (and other) margins set of Document. But when I arrive in the onStartPage in my PageEventsHandler, the top margin is set to 36 and I "suddenly" have a PdfDocument. My second page then has the right margins

[iText-questions] how to ?

2008-03-18 Thread 4lo4
hi all, I make an application. i read pdf file, and i get this result : BT /F3 24.0 Tf 0.0 Tc 0 g 1 0 0 1 90.0 640.368 Tm [(Apache) -278.0 (POI) -278.0 (-) -278.0 (Case) -278.0 (Studies) ] TJ /F3 9.0 Tf 1 0 0 1 90.0 563.638 Tm [(by) -278.0 (Andrew) -278.0 (C.) -278.0 (Oliver,) -278.0 (Cameron)

[iText-questions] water mark

2008-03-18 Thread Arathi Girimallappa
Hi,   Thank you for the helpful hints. I could get the image now on the pdf file. But how do I set the image on the background so that the other text(or the content of the page) which was there earlier is visible over the image? I tried using underlying="true". I think I am using the wrong attribut

Re: [iText-questions] iText-questions Digest, Vol 22, Issue 52

2008-03-18 Thread wasegraves
Please put the subject of your question in the Subject: of your question. Thank you. Bill Segraves -- Original message -- From: Arathi Girimallappa <[EMAIL PROTECTED]> - This SF.net email is s

Re: [iText-questions] how to append text to existing PDF templates on the fly

2008-03-18 Thread 1T3XT info
kvs_pradeep wrote: > Hi Sarah, Who is Sarah? I searched the archives and didn't find a question with the same subject. Oh, I see: the message was only posted to Nabble, not to this list. http://www.nabble.com/how-to-append-text-to-existing-PDF-templates-on-the-fly-to16024976.html > I have to crea

Re: [iText-questions] iText-questions Digest, Vol 22, Issue 52

2008-03-18 Thread 1T3XT info
Arathi Girimallappa wrote: > Hi, > > Thanks you very much for the link. My question is I have an xml file > from which we generate the pdf using itext. I want to know, which tag do > I need to use to include the water mark image in the xml? Normally when you parse an XML file, the XML contains t

Re: [iText-questions] iText-questions Digest, Vol 22, Issue 52

2008-03-18 Thread Arathi Girimallappa
Hi,   Thanks you very much for the link. My question is I have an xml file from which we generate the pdf using itext. I want to know, which tag do I need to use to include the water mark image in the xml?   thanx, Arathi--- On Tue, 3/18/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: From: [EMAIL

Re: [iText-questions] iText-questions Digest, Vol 22, Issue 50

2008-03-18 Thread Howard Shank
Hi Arathi, I responded to you yesterday. There is a Watermark Example in chapter 14 on page 438 in thebook, iText in Action. There are also tutorials on the website that canhelp you out. http://itextdocs.lowagie.com/tutorial/ Regards, Howard Shank - Original Message From: Arathi Giri

Re: [iText-questions] iText-questions Digest, Vol 22, Issue 50

2008-03-18 Thread Arathi Girimallappa
Hi,   Has anyone included a water mark on a pdf file using xml and itext? Please help needed to me.   Thanks, Arathi--- On Tue, 3/18/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: From: [EMAIL PROTECTED] <[EMAIL PROTECTED]>Subject: iText-questions Digest, Vol 22, Issue 50To: itext-questions@lists

Re: [iText-questions] Using PdfCopy & PdfWriter in thesame document?

2008-03-18 Thread Paulo Soares
PdfCopy won't work if more than one doc has fields. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Roger Misteli > Sent: Tuesday, March 18, 2008 2:50 PM > To: Post all your questions about iText here > Subject: Re: [iText-questions] Usin

Re: [iText-questions] Using PdfCopy & PdfWriter in thesame document?

2008-03-18 Thread Roger Misteli
I also tried to use PdfCopy instead of PdfWriter since PdfCopy extends PdfWriter, but that wasn't a too smart idea either As for PdfCopyFields.. PdfCopyFields keeps everything in memory (according to the JavaDocs), PdfCopy doesn't. Why can't I use PdfCopy in that case? Bests regards, Rog Pa

Re: [iText-questions] Using PdfCopy & PdfWriter in thesame document?

2008-03-18 Thread Paulo Soares
If you have fields you must use PdfCopyFields, PdfCopy won't work. Also remember to rename the fields before adding the doc. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Roger Misteli > Sent: Tuesday, March 18, 2008 2:21 PM > To: Post

Re: [iText-questions] Using PdfCopy & PdfWriter in the same document?

2008-03-18 Thread Roger Misteli
Hi Paulo > - create a new pdf using PdfContentByte, close it and add it to PdfCopy > - add the existing docs to PdfCopy > - repeat the above steps I know that way, but since the engine uses PdfWriter, I thought there might be a way with PdfWriter.. > Using PdfWriter: > - create the pages with

Re: [iText-questions] Scanning Tables of Contents

2008-03-18 Thread Paulo Soares
SimpleBookmark can read the TOC in the separate pane and export it to xml, if needed. It will also contain the page numbers, nothing else is needed. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of nabblee > Sent: Tuesday, March 18, 2008 1

Re: [iText-questions] Using PdfCopy & PdfWriter in the same document?

2008-03-18 Thread Paulo Soares
I'm not sure I understand the problem. Using PdfCopy: - create a new pdf using PdfContentByte, close it and add it to PdfCopy - add the existing docs to PdfCopy - repeat the above steps Using PdfWriter: - create the pages with pdfContentByte - import the pages from the existing doc - repeat the

Re: [iText-questions] Scanning Tables of Contents

2008-03-18 Thread nabblee
Yes, I meant the text in a document. However, come to think of it, the same information, minus the page numbers, is available in the separate pane. So, if that's easy to retrieve, couldn't I get that text, then search the document for the same string, and find the page numbers that way? Any sni

Re: [iText-questions] how to append text to existing PDF templates on the fly

2008-03-18 Thread kvs_pradeep
Hi Sarah, I have to create a template and I need to add the data on the fly. can you suggest me some idea on this. Please find attached template, I have created this template using table. Is there any other way to do. Now my problem is how to add data to each column in runtime i.e., I have to ad

[iText-questions] Using PdfCopy & PdfWriter in the same document?

2008-03-18 Thread Roger Misteli
Hiyas I have a report that should consist of a sequence of a few pages that I create using PdfContentByte and then a few pages that I need to import from another Pdf document. So basically, I want to have a PDF where pages 1 to 4 are created using PdfContentByte, then Pages 5 to 7 are imported

Re: [iText-questions] Overlapped text- Header and content

2008-03-18 Thread 1T3XT info
TugaHH wrote: > > Hi, > > probably a easy one but here goes... > I have a document where my normal text is overlapped with the Header Text. > The header is being added on the onendpage(). > > Any idea what I'm doing wrong? > I've looked in the book and online Tuturial. When you create the Docu

[iText-questions] Overlapped text- Header and content

2008-03-18 Thread TugaHH
Hi, probably a easy one but here goes... I have a document where my normal text is overlapped with the Header Text. The header is being added on the onendpage(). Any idea what I'm doing wrong? I've looked in the book and online Tuturial. thanx in advance -- View this message in context: htt

Re: [iText-questions] is there any way to get the page number while writing the table to the document.

2008-03-18 Thread 1T3XT info
Ramesh Soma wrote: > Hi, > > My requirement is know the page number before writing the tables to the > document with the statement documnet.add(table). > Is there any way to get the page number of the document while writing > the table to the document. > I am writing tables to the document one

Re: [iText-questions] tiff2pdf byte Array problem

2008-03-18 Thread marlonbrando
Thank You!! your solution work fine! Fabrizio Accatino wrote: > > Hello, > > I'm not sure but try to close Document and PdfWrite before reading > content from "baos". > > > Fabrizio > > - > This SF.net email is spo

Re: [iText-questions] tiff2pdf byte Array problem

2008-03-18 Thread 1T3XT info
Fabrizio Accatino wrote: > Hello, > > I'm not sure but try to close Document and PdfWrite before reading > content from "baos". That's correct. Upon document.close() the Cross-Reference table is written to the byte array. Without the Cross-Reference table the PDF is not valid. -- This answe

Re: [iText-questions] PDFTemplate/General Itext Question

2008-03-18 Thread 1T3XT info
Jeff Sockza wrote: > In my application we have different reports generated based on user > selection(The screen has about 5 checkboxes). Each checkbox generates a > particular report and if a user selects multiple checkboxes, a combined > report is generated. OK. > Each report has its own head

[iText-questions] PDFTemplate/General Itext Question

2008-03-18 Thread Jeff Sockza
Hi All I am a new user of Itext. Currently I am using Inetsoft StyleReports but we are getting performance issues so we decided to evaluate Itext. I have gone through the docs/api's but still I am a beginner. In my application we have different reports generated based on user selection(The scre

Re: [iText-questions] tiff2pdf byte Array problem

2008-03-18 Thread Fabrizio Accatino
Hello, I'm not sure but try to close Document and PdfWrite before reading content from "baos". Fabrizio - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdm

Re: [iText-questions] Scanning Tables of Contents

2008-03-18 Thread 1T3XT info
nabblee wrote: > I'd like to use iText to find the TOC in several software manuals and extract > info from them Before we try to answer this: what do you mean by TOC? If you mean the outline that is shown in a separate pane in Adobe Reader, it's easy to extract the titles and the destinations usi

Re: [iText-questions] itext javadoc

2008-03-18 Thread 1T3XT info
Eli Yasnyi wrote: > Can I download the API javadoc the link > http://itextdocs.lowagie.com/downloads/docs.tar.gz doesnt work. Go to http://www.lowagie.com/iText/download.html and look for documentation. -- This answer is provided by 1T3XT BVBA ---

[iText-questions] Scanning Tables of Contents

2008-03-18 Thread nabblee
I'd like to use iText to find the TOC in several software manuals and extract info from them, such as chapter names and page numbers. I'm very new to doing this kind of thing in PDFs. Is there anything special about a Table of Contents that allows me to spot such entries, or are they just like a

Re: [iText-questions] Using Goolge Chart Api or Eastwood in iText

2008-03-18 Thread jmcmahon
Thanks for your help, but I've realized that the problem was entirely of my making. I included spaces in the url and didn't catch it because when I cut and pasted the url into a browser or a img src tag, it would replace the spaces with %20 or ignore them in the case of the img src tag because it

Re: [iText-questions] Using Goolge Chart Api or Eastwood in iText

2008-03-18 Thread Jonathan Leech
A couple of thoughts: 1) Front iText with Flying Saucer XHTML renderer 2) Inline the image with data:URI. Good luck. jmcmahon wrote: > > I am trying use the http://www.jfree.org/eastwood/index.html Eastwood > Chart Servlet , which is based off the http://code.google.com/apis/chart/ > Google

Re: [iText-questions] tiff2pdf byte Array problem

2008-03-18 Thread marlonbrando
Ok, ByteArrayOutputStream baos =new ByteArrayOutputStream(); Document document = new Document(); PdfWriter writer = PdfWriter.getInstance(document,baos); try { int pages = 0; document.open(); PdfContentByte cb = writer.getDirectContent(); RandomA

Re: [iText-questions] setHorizontalAlignment doesnt take effect :(

2008-03-18 Thread ZelluLoyd
Thanks Paulo. I will check my code referring to your advice. But why works setVerticalAlignment without problems? If both dont work... ok. But the vertical yes and the horizontal no is the strange for me... Paulo Soares wrote: > > If you are using addElement() the alignment comes from the Parag

[iText-questions] itext javadoc

2008-03-18 Thread Eli Yasnyi
Can I download the API javadoc the link http://itextdocs.lowagie.com/downloads/docs.tar.gz doesnt work. Thank you. -- Eli Yasnyi [EMAIL PROTECTED] - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft