Re: [iText-questions] Generate PDF, send it to the server and add a Background Image on each page...isthis possible with iText ???

2006-06-03 Thread java.jago
Paulo Soares wrote: > Have a look at > http://article.gmane.org/gmane.comp.java.lib.itext.general/22648. To know > what's the image to replace use PdfContentParser to get the first "Do" > command. The operand will be a name that will point to the image in the > resource dictionary. You don't n

[iText-questions] Embedding fonts directly using PDFGraphics2D..?

2006-06-04 Thread java.jago
Hi, I am using directly an PDFGraphics2D object to "draw" text and images directly in a PDF file. I searched previous posts in this newsgroup and found a couple concerning font-embedding. However, can somebody check if I understood everything correctly ? 1. If I don't use font embedinng it is

Re: [iText-questions] Quickest way to get number of pages in a PDF file

2006-06-08 Thread java.jago
Ricardo Coutinho wrote: > Hi all, > > > > Currently I use the following code to get the number of pages for a PDF….. > > > > …. > > documentReader = new PdfReader(document.getData()); > > documentReader.getNumberOfPages(); > > … > > > > What I want to know is; Is there a quicker way

Re: [iText-questions] Encrypted Pdf is secure - but how do I keep people from stealing my password ?

2006-06-14 Thread java.jago
> I don't ever put a password in my source code > (except for simple examples). I always use a > properties file or something similar. > Of course, the problem remains: if your properties > file is compromised so is your password. Actually that's exacly the point - a properties file would give the

Re: [iText-questions] Encrypted Pdf is secure - but how do I keep people from stealing my password ?

2006-06-14 Thread java.jago
> Based on your story I don't see any reason why the > PDF should be encrypted. Don't encrypt the PDF and > do all client-server communication using SSL. Well, I thought about that - I have my self-written ftp-upload manager in java. I don't know if I can easily extend it with SSL. Moreover, I

Re: [iText-questions] Encrypted Pdf is secure - but how do I keep people from stealing my password ?

2006-06-14 Thread java.jago
> If you want to choose the owner password, > and you want this password to be used for > creating a PDF on the client side, you can > only protect this password 'psychologically'. > Meaning you can obfuscate it, but a hacker > will always be able to retrieve it. Thanks, Actually the program woul

Re: [iText-questions] Encrypted Pdf is secure - but how do I keep people from stealing my password ?

2006-06-15 Thread java.jago
bruno wrote: > java.jago wrote: > > >>>If you want to choose the owner password, >>>and you want this password to be used for >>>creating a PDF on the client side, you can >>>only protect this password 'psychologically'. >>>Mean

[iText-questions] OffTopic: Calendar printing method available - please important!

2006-07-17 Thread java.jago
Hi, I wouldn't ask if it weren't important. Is there a toolkit available with which I give a Graphics2D Object (e.g. from a picture or my component or a PDFGraphics2D) and which then draws a calender on it ? I am talking about a method, that allows to specify year, month and e.g. colors for h

Re: [iText-questions] Anybody adapted Bruno's example ??? - please important!

2006-07-18 Thread java.jago
Thanks Bruno, I will look into it. I wonder if an advanced solution doesn't already exist out there. I did recently a lot of stupid programming just to notice that people already invented the same thing, only 10 times better. I believe there should be a solution already out there - just I can't

[iText-questions] itext Beginner: Does anybody have a Java-classtemplate for an invoice-letter ???

2006-07-22 Thread java.jago
Hi, I wonder if somebody has a template to create a A4 invoice single-page PDF with a NICE layout ??? I thought about a Java class, where you e.g. fill a bean with values like: CompanyLogo (jpg) Sender/Originator --- prints a nice letter header FirstName --- prints a nice letter body LastName

Re: [iText-questions] iText Examples

2006-07-23 Thread java.jago
Hi Todd, I am basically searching the same - I wrote at the 21.07 the following question: itext Beginner: Does anybody have a Java-classtemplate for an invoice-letter ??? Perhaps if any of us finds anything, he can inform the other ? So far I got no answer to my question...but I still hope som