Re: [iText-questions] Suppressing coloured background when printing PDF?

2005-01-13 Thread Paulo Soares
PdfLayer layer1 = new PdfLayer("no printer", writer); layer1.setOnPanel(false); layer1.setPrint("print", false); layer1.setView(true); PdfLayer layer2 = new PdfLayer("Print Layer", writer); layer2.setOn(false); PdfLayerMembership combi = new PdfLayerMembership(writer); combi.addMember(layer1); comb

Re: [iText-questions] Suppressing coloured background when printing PDF?

2005-01-13 Thread Rhino
Yes, please send that example! Rhino - Original Message - From: "Paulo Soares" <[EMAIL PROTECTED]> To: "Rhino" <[EMAIL PROTECTED]>; "itext" Sent: Thursday, January 13, 2005 12:55 PM Subject: RE: [iText-questions] Suppressing coloured background when printing PDF? That's easy to do wit

[iText-questions] ColumnText with irregular columns

2005-01-13 Thread John Gregory
I'm using a ColumnText with irregular column shapes. If I try to add paragraphs to it, I get an exception telling me that I can't use irregular column shapes in "composite" mode. I gather that this means that I need to add text to the ColumnText using Phrases. Right so far? So, now I'd like to

[iText-questions] setting the horizontal rule in html

2005-01-13 Thread Vithi Agarwal
Hello Developers, We are using IText for our reporting in HTML and PDF output format. and we want to create a horizontal rule in our html page, we have looked and found many ways of doing it in the pdf, but couldnt do so in the html report. cases tried: img (black gif) tag and scaleabsolute(widt

Re: [iText-questions] PDF Headers and Footers after calling pdfWriter.reorderPages

2005-01-13 Thread Paulo Soares
- Original Message - From: "Domenick Lacertosa" <[EMAIL PROTECTED]> To: Sent: Thursday, January 13, 2005 3:18 PM Subject: [iText-questions] PDF Headers and Footers after calling pdfWriter.reorderPages I have generated a table of contents in pdf, and it appears at the end of the documen

Re: [iText-questions] how to set document properties (from archive thread post)

2005-01-13 Thread Paulo Soares
PdfCopy doesn't allow adding new content or changing the properties. You'll have to reload the resulting pdf in PdfStamper to do it. - Original Message - From: "Woodchuck" <[EMAIL PROTECTED]> To: "itext" Sent: Thursday, January 13, 2005 5:53 PM Subject: [iText-questions] how to set docum

[iText-questions] how to set document properties (from archive thread post)

2005-01-13 Thread Woodchuck
bump. can anyone help on this? --- Woodchuck <[EMAIL PROTECTED]> wrote: > Date: Wed, 12 Jan 2005 08:38:12 -0800 (PST) > From: Woodchuck <[EMAIL PROTECTED]> > Subject: iText: how to set document properties (from archive thread > post) > To: itext > > hihi all, > > i searched the archives and

[iText-questions] Projects using itext

2005-01-13 Thread amine ab.
We have an 8-processors/16 GB HP-UX. we will produce about 10 pdf (10 pages per document). every page may contain a simple table header, one or more tables (max 5 columns, 100 lines) in a 2-columns body and a simple footer. Paulo could you give me an estimation of the time of processing pdf? T

[iText-questions] RTF TOC Question

2005-01-13 Thread Domenick Lacertosa
Title: Message I created a TOC in rtf, and I was wondering if it was possible at all to show the table of contents without the user having to right-click->generate the table of contents from word.    Thanks, Dom  

[iText-questions] Section Header Location in PDF and RTF

2005-01-13 Thread Domenick Lacertosa
Title: Message I would like to keep a section title, along with text and an image, all on the same page.  If there is not room for all 3 pieces of information, I would like to insert a page break.  The section's text and image are of dynamic heights.  Any help would be appreciated.   Thanks

RE: [iText-questions] Suppressing coloured background when printing PDF?

2005-01-13 Thread Paulo Soares
That's easy to do with layers in Acrobat 6 and later; it's impossible for earlier versions. I can send you an example if you want. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Rhino > Sent: Thursday, January 13, 2005 5:10 PM > To: itext > Sub

[iText-questions] Suppressing coloured background when printing PDF?

2005-01-13 Thread Rhino
Is it possible to generate a PDF that has a coloured background when you view it but to turn off the colour programmatically within the PDF when the user goes to print the document? My document is a resume and it has a colour background. It looks great when I display it in Acrobat. When I print it

RE: [iText-questions] Whats in a document

2005-01-13 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Todd Harris > Sent: Thursday, January 13, 2005 3:18 PM > To: Itext List > Subject: [iText-questions] Whats in a document > > Is there any to find the last location that was written to? No. > Or

RE: [iText-questions] plotting graphs

2005-01-13 Thread Paulo Soares
You can use non opaque colors but images will allways be 100% opaque. There are other options depending on how you do the shading. > -Original Message- > From: Todd Harris [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 13, 2005 3:54 PM > To: Paulo Soares > Cc: Itext List > Subject:

Re: [iText-questions] plotting graphs

2005-01-13 Thread Todd Harris
When I do this, is there any way to draw an area that is not 100% opaque? Currently I'm shading an area and when I switch over to using the createGraphics to get a Graphics2D object I wind up with this solid greay area that I can't see through. Todd On Tue, 11 Jan 2005 22:47:39 -, Paulo Soares

[iText-questions] Re: problem with images that dont fit rest of the page space,are placed on next page

2005-01-13 Thread Domenick Lacertosa
Title: Message I'm not sure I understand what you are saying completely.   Are you saying that you have some text, followed by an image, and then some more text? You add the first text, and add the image, and add the rest of the text, and if the image doesn't fit on the page, the result is

[iText-questions] PDF Headers and Footers after calling pdfWriter.reorderPages

2005-01-13 Thread Domenick Lacertosa
Title: Message I have generated a table of contents in pdf, and it appears at the end of the document.  Every page but the first one has a header, and a footer with the page number (by design).   I then call pdfWriter.reorderPages to move the TOC to the second page.  That is when I run into

RE: [iText-questions] problem with images that dont fit rest of the page space,are placed on next page

2005-01-13 Thread Paulo Soares
PdfWriter. setStrictImageSequence(true) > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Nenko Ivanov > Sent: Thursday, January 13, 2005 2:09 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] problem with images that dont

[iText-questions] values from a bean or a database in pdf

2005-01-13 Thread Trosien, Michael
Title: values from a bean or a database in pdf Hi*, I have a problem using iText, XML and the SAXParser. It's not really a problem, but a question. I use XML for describe the pdf I want to generate with iText. I use the SAXiTextHandler. Now I'm looking for an easy way to define XML-Tags like

[iText-questions] Whats in a document

2005-01-13 Thread Todd Harris
Is there any to find the last location that was written to? Or whats the lowest point on the page that contains any information? --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt

[iText-questions] new tutorial chapters

2005-01-13 Thread Bruno Lowagie
Hello all, for some reason I didn't get any mail from the mailinglist today. I see in the archives there were a lot of posts, I guess I'll receive them with some delay. Anyway, I'm sending this mail to inform you that I wrote two chapters on PdfPTable (as I promised yesterday). These are the URLS:

[iText-questions] problem with images that dont fit rest of the page space,are placed on next page

2005-01-13 Thread Nenko Ivanov
Hi all, I searched this list but didn't find the answer of my problem. So I have abstract class that builds report. So this class has methods like addParagraph, addImage and so on. I made my HTML and PDF implementation for building report. But the problem i have is: When I add image to the Document

[iText-questions] two bugs maybe

2005-01-13 Thread kahuna
Hello, 1. In rtf document when I setWidth() of a table to 100% it seems that it does not concider the page margins... 2. When in pdf document the cells has long text and page break inside the cell borders goes out of the table... Im using Table class, because Im generating both rtfs and pdfs fro

[iText-questions] Could not load the following font

2005-01-13 Thread Carla Pereira Ribeiro
Hi,   I have used JasperReports in OC4J(JSP Server). The problem is: When I have tried generate the output in PDF, I have got the following error message from JREXception: Could not load the following font : pdfFontName   : HelveticapdfEncoding   : CP1252isPdfEmbedded : false   I have put

RE: [iText-questions] Problem adding Barcode to PDFContentByte

2005-01-13 Thread Paulo Soares
Works for me and the generated stream is correct. Your error comes from somewhere else. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Maribel MarcoSent: Thursday, January 13, 2005 10:31 AMTo: itext-questions@lists.sourceforge.netSubject: [iText-questions

RE: [iText-questions] Encrypting using Certificates

2005-01-13 Thread Paulo Soares
No. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Wahaj > Sent: Thursday, January 13, 2005 9:47 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Encrypting using Certificates > > Hi All, > > Is it possible using iT

[iText-questions] Problem adding Barcode to PDFContentByte

2005-01-13 Thread Maribel Marco
Hi! I am having the following problem:  I generate a Barcode128 and I add the corresponding Image to a contentByte.  Apparently it works well but when I open de generated pdf document I get the following message "illegal operation 'q' into a text object"   This is my code:     Barcode128 cod12

[iText-questions] Encrypting using Certificates

2005-01-13 Thread Wahaj
Hi All, Is it possible using iText to do Certificate based encryption as done by Adobe Acrobat in addition to the password based ? Regards, Wahaj --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition

Re: [iText-questions] 'continued..' in the succeeding pages in rtf - (needed badly). Thanks

2005-01-13 Thread Mark Hall
On Thursday 13 January 2005 10:45, Rex Ramos wrote: > Image img = Image.getInstance("logo2.jpg"); > Phrase ph = new Phrase(new Chunk(img, 20, 20)); > HeaderFooter header = new RtfHeaderFooter(ph); > > document.open(); > document.setHeader(header); > > BUT when i have it as not part of the header,

Re: [iText-questions] 'continued..' in the succeeding pages in rtf - (needed badly). Thanks

2005-01-13 Thread Rex Ramos
Hi Mark, IS there something wrong with this? The image won't show up as header Image img = Image.getInstance("logo2.jpg"); Phrase ph = new Phrase(new Chunk(img, 20, 20)); HeaderFooter header = new RtfHeaderFooter(ph); document.open(); document.setHeader(header); BUT

RE: [iText-questions] I have a question for iText.jar

2005-01-13 Thread Paulo Soares
Use a PdfPTable and all will be well. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of ??? > Sent: Thursday, January 13, 2005 3:34 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] I have a question for iText.jar > > > I'

Re: [iText-questions] Need a quick solution

2005-01-13 Thread srikanth . reddy
Thanks, it worked. Avuldapur Srikanth Reddy Tata Consultancy Services Limited Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com "Paulo Soares" <[EMAIL PROTECTED]> 01/13/2005 01:58 PM Please respond to "Paulo Soares" <[EMAIL PROTECTED]> To <[EMAIL PROTECTED]> cc Subject Re:

AW: [iText-questions] Table.setAutoFillEmptyCells

2005-01-13 Thread Volland, Heiko
Thanks a lot, Steve. PdfPTable works fine and as I recognized, it offers more options than just Table. And you are right, there are no problems with Table.setAutoFillEmptyCells... it has been a mistake in my (a bit complex) implementation. With kind regards Heiko Volland -Ursprüngliche Nac

Re: [iText-questions] 'continued..' in the succeeding pages in rtf - (needed badly). Thanks

2005-01-13 Thread Mark Hall
On Thursday 13 January 2005 09:33, Rex Ramos wrote: > LOGO( a gif file, right justified) > TICKET DESIGNATOR - REVISION ID (in big fonts, > centered, next line after the logo) > > > AND the succeeding pages would look like > > LOGO( a gif file, right justified) > TICKET DESIGNATOR - REVISION ID

Re: [iText-questions] Need a quick solution

2005-01-13 Thread Paulo Soares
doc.setPageSize(PageSize.A4.rotate()); - Original Message - From: <[EMAIL PROTECTED]> To: "Paulo Soares" <[EMAIL PROTECTED]> Cc: Sent: Thursday, January 13, 2005 5:16 AM Subject: RE: [iText-questions] Need a quick solution > > Soares, > > Thanks for your help on displaying tables across

Re: [iText-questions] 'continued..' in the succeeding pages in rtf - (needed badly). Thanks

2005-01-13 Thread Rex Ramos
Hi, Yes, the header(a text with logo) should be printed on every page. Actually it's not more of a header. I would consider it as a title of the document( since it's also printed in big fonts). The only difference between the 1st page and that of the succeeding pages is that the title of first pag

RE: [iText-questions] Need a quick solution

2005-01-13 Thread srikanth . reddy
Soares, Thanks for your help on displaying tables across pages. I would like to set default page type as landscape, how can I do it? I tried using doc.setPageSize(PageSize.A4); Thanks in advance. Regards, Avuldapur Srikanth Reddy Tata Consultancy Services Limited Mailto: [EMAIL PROTECTED

[iText-questions] I have a question for iText.jar

2005-01-13 Thread 최명수
I'm java programmer in south Korea I have a question. I want to view "watermark" on PDF-File so I try it but I can't see table because of watermark Why watermark cover table line? I attatched my java file and PDF file Please anwser me as soon as possible Thank you for reading Hello.pdf D

[iText-questions] Revised Example for Problem with RTF Spacing in iText 1.2

2005-01-13 Thread Rhino
I see that the code example I posted earlier to illustrate my problems with RTF was trucncated; this is a shorter version of the same program that illustrates all the problems I mentioned. If someone could tell me what I'm doing wrong, I'd appreciate it. ===

Re: [iText-questions] 'continued..' in the succeeding pages in rtf - (needed badly). Thanks

2005-01-13 Thread Mark Hall
On Thursday 13 January 2005 03:07, Rex Ramos wrote: > I really need your help. A friend suggested me to > use Itext for rtf file generation. But while I was > using it I encountered a difficulty in doing this: I > need to redisplay a header/title(a text with > logo)-with 'continued..' also displaye