Re: [iText-questions] Where can I get the current horizontal positionwithin ColumnText/PDFWriter?

2010-04-22 Thread Peter . Henningsen
Hello Paulo, Thanks for the hint! I had a look at that functinality and checked, if ColumnText.go() supports any column-oriented events. In 2.1.7 I did not see anything. I do not see, how tagged chunks would help me, as I do not know beforehand at what word the end of the column will be

[iText-questions] re solution images indesign-server my implementation

2010-04-22 Thread Mathias Nilsson
Hi, I have a high resolution image that is 450x450 dpi and 3983x5524 pixels When adding this it a pdf with IText i use scalePercent(); I use 72 / 450 * 100 and it's 16% scale. When indesign does this the same image is 3912x5454 pixels 450x450 dpi. can anyone give me a hint on how to produce

Re: [iText-questions] performance follow up

2010-04-22 Thread Paulo Soares
Thank you. I'll include your changes. Paulo From: Giovanni Azua [brave...@gmail.com] Sent: Thursday, April 22, 2010 1:02 AM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] performance follow up Hello, Good news ... after applying the

Re: [iText-questions] performance follow up

2010-04-22 Thread Mike Marchywka
Cool, analysis is always a plus and easier to discuss than adjectives. Just a few rather trivial comments. Date: Thu, 22 Apr 2010 02:02:31 +0200 From: To: itext-questions@lists.sourceforge.net Subject: [iText-questions] performance follow up Hello, Good

[iText-questions] Python 2.5 wrapper for iTextSharp

2010-04-22 Thread Ignacio.ruizdeconejo
hi, Maybe this has been answered before... Is there a Python wrapper for the iText DLL that allows me to issue iText(Sharp) calls, under Windows? I'm using Python 2.5 Thanks, Ignacio --

Re: [iText-questions] PdfWriter.getPageNumber() is returning next page number when table ends at the end of page

2010-04-22 Thread suresh . chennupati
I am using 2.1.3 version. Paulo Soares psoa...@glintt.com 04/21/2010 06:50 PM Please respond to Post all your questions about iText here itext-questions@lists.sourceforge.net To Post all your questions about iText here itext-questions@lists.sourceforge.net cc Subject Re:

Re: [iText-questions] re solution images indesign-server my implementation

2010-04-22 Thread Mathias Nilsson
never mind, the itext approach is correct. It is a 3 party that integrates with indesign-server så it must be some fit-in-block that makes this oddness. -- View this message in context: http://old.nabble.com/resolution-images-indesign-server-my-implementation-tp28326082p28327964.html Sent from

Re: [iText-questions] PdfWriter.getPageNumber() is returning next page number when table ends at the end of page

2010-04-22 Thread Paulo Soares
What happens if you use the latest release 5.0.2? Paulo From: suresh.chennup...@judiciary.state.nj.us [suresh.chennup...@judiciary.state.nj.us] Sent: Thursday, April 22, 2010 12:58 PM To: Post all your questions about iText here Subject: Re: [iText-questions]

[iText-questions] problem with rounded corners

2010-04-22 Thread Mathias Nilsson
Hi, I have problems with rounded corners. If I use the cb directly here and don't create a Pdftemplate everythings works fine with the rounded corners but if the background I set every block in my page will get them. cell.setCellEvent( new PdfPCellEvent(){ public void cellLayout(PdfPCell cell,

Re: [iText-questions] What action is requred in terms of License

2010-04-22 Thread Cameron Laird
On Wed, Apr 21, 2010 at 10:17 AM, Paulo Soares psoa...@glintt.com wrote: If you're using it in an intranet you don't have to do anything. If you're exposing the service to the exterior either you provide the source code of your application or you buy a commercial license. ... What does

Re: [iText-questions] What action is requred in terms of License

2010-04-22 Thread Paulo Soares
The intranet I was referring to was in a company where it's only accessed by the employees. In an University the same would apply for faculty members but not for students or faculty members from other Universities. Paulo From: Cameron Laird

Re: [iText-questions] What action is requred in terms of License

2010-04-22 Thread Lu, Tao (MOH)
In our case, we will have a Websphere running on the server side with iText 5 jar file, our intranet employees will use browsers to view and print the pdf files generated by the iText, then send the printed the document to external users. Do we need a commercial license in this case? Many

Re: [iText-questions] What action is requred in terms of License

2010-04-22 Thread Paulo Soares
If it's all done in the intranet by the employees you won't need a license, what you do afterwards with the PDFs is irrelevant. If you expose the service to the internet, even if it has a restricted access only for employees, than you'll need a license as the potential access is universal. By

Re: [iText-questions] PdfWriter.getPageNumber() is returning next page number when table ends at the end of page

2010-04-22 Thread suresh . chennupati
We have portal environment setup using jdk1.4, so i cannot upgrade to latest release 5.0.2 Please let me know if there is any other alternative... Paulo Soares psoa...@glintt.com 04/22/2010 08:07 AM Please respond to Post all your questions about iText here

Re: [iText-questions] problem with rounded corners

2010-04-22 Thread Mathias Nilsson
can anyone give me some pointer on why PdfTemplate.roundRectangle() doesn't make fine edges as PdfContentByte does? -- View this message in context: http://old.nabble.com/problem-with-rounded-corners-tp28328340p28329580.html Sent from the iText - General mailing list archive at Nabble.com.

Re: [iText-questions] PdfWriter.getPageNumber() is returning next page number when table ends at the end of page

2010-04-22 Thread Paulo Soares
You should at least try 2.1.7. If that doesn't work you are on your own unless you buy a license and support from itextsoftware. The mailing list only gives support to the latest release. Paulo From: suresh.chennup...@judiciary.state.nj.us

Re: [iText-questions] problem with rounded corners

2010-04-22 Thread Paulo Soares
PdfTemplate extends PdfContentByte, there's no reason why the results shouldn't be the same. It would be helpful to see a pdf with those differences. Paulo From: Mathias Nilsson [wicket.program...@gmail.com] Sent: Thursday, April 22, 2010 3:22 PM To:

Re: [iText-questions] Mergin pdfs

2010-04-22 Thread jdhankins
I've modified your code a bit and have a question. I have a single page pdf with a form (attached as rider_release.pdf). In my database, I have 100's of entrants (first name, last name, etc..), each of which, need to be completed on the form in the rider_release file. I am trying to take the

Re: [iText-questions] problem with rounded corners

2010-04-22 Thread Mathias Nilsson
Hi, Yes I'm sure that there is something in my code making this but I can't find it. I have now managed to remove the sharp edges to smoth but with very odd settings. I must create a round rectangle twice to make it work. @Override public void onRender( PdfContentByte cb ) throws

Re: [iText-questions] Mergin pdfs

2010-04-22 Thread 1T3XT info
jdhankins wrote: I've modified your code a bit and have a question. What code? You didn't read the most documentation. I've attached the concatenatedPDF file so you can reference my output from the code below. Notice how all pages are empty. The first page still retained the form, while

Re: [iText-questions] Python 2.5 wrapper for iTextSharp

2010-04-22 Thread 1T3XT info
Ignacio.ruizdeconejo wrote: hi, Maybe this has been answered before... Is there a Python wrapper for the iText DLL that allows me to issue iText(Sharp) calls, under Windows? I'm using Python 2.5 I don't think there are many Python users on the list. Sorry... -- This answer is provided

Re: [iText-questions] Layers question

2010-04-22 Thread 1T3XT info
Paulo Soares wrote: That's too much code. If a standalone example is provided, one that I can run without having to change anything, then I want to take a look at it as soon as I have the time, which is: not before next Sunday. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ -

Re: [iText-questions] What action is requred in terms of License

2010-04-22 Thread 1T3XT info
David Hoffer wrote: No, versions prior to 5.x had the more friendly license. Nuance: more friendly for people who want to write even more unfriendly code. The license is still friendly for people who write software as friendly as iText. -- This answer is provided by 1T3XT BVBA

Re: [iText-questions] Python 2.5 wrapper for iTextSharp

2010-04-22 Thread Gylfi Ingvason
Use IronPython and iTextSharp. No wrappers needed. -Original Message- From: 1T3XT info [mailto:i...@1t3xt.info] Sent: Thursday, April 22, 2010 12:04 PM To: Post all your questions about iText here Subject: Re: [iText-questions] Python 2.5 wrapper for iTextSharp Ignacio.ruizdeconejo

Re: [iText-questions] What action is requred in terms of License

2010-04-22 Thread Michael Olenick
If you're making money from iText -- with making money being defined as somebody is paying you -- you should pay for it. There's a lot of hard work that went into the creation and support of this awesome tool. The licensing scheme they have for v. 5.0 is already incredibly generous; too generous

Re: [iText-questions] What action is requred in terms of License

2010-04-22 Thread Bruno Lowagie
Michael Olenick wrote: If you're making money from iText -- with making money being defined as somebody is paying you -- you should pay for it. There's a lot of hard work that went into the creation and support of this awesome tool. Thanks! best regards, Bruno

Re: [iText-questions] Where can I get the current horizontal positionwithin ColumnText/PDFWriter?

2010-04-22 Thread 1T3XT info
peter.henning...@wcenter.de wrote: I see two other options to implement the desired functionality: - put code into ColumnText.go() to generate an event whenever the column if full or the text ends. Then pass the current position in that event object - change ColumnText, so the current

Re: [iText-questions] What action is requred in terms of License

2010-04-22 Thread David Hoffer
Hey, I'm not saying they shouldn't be able to make money from this product. But I take issue with making money being defined as somebody is paying you. I thought making money was defined as what's left over after expenses. The cost is too high for small projects. Only the U.S. Government can

Re: [iText-questions] performance follow up

2010-04-22 Thread 1T3XT info
Paulo Soares wrote: Thank you. I'll include your changes. Due to the lack of time, I wasn't able to follow the discussion, but I've just read the latest mails, and I also want to thank you for the performance tests and improvements. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/

Re: [iText-questions] What action is requred in terms of License

2010-04-22 Thread Michael Olenick
Then tell them what the project is and what you can afford. Seriously -- that applies for all software components. If you're working for a Fortune 1000 call the person who licenses software and ask them to work something out. If you're working for a smaller company, or on your own, know that if

Re: [iText-questions] What action is requred in terms of License

2010-04-22 Thread Michael Schmodt
2010/4/22 Bruno Lowagie br...@lowagie.com Michael Olenick wrote: If you're making money from iText -- with making money being defined as somebody is paying you -- you should pay for it. There's a lot of hard work that went into the creation and support of this awesome tool. Thanks!

Re: [iText-questions] performance follow up

2010-04-22 Thread Giovanni Azua
Hello, On Apr 22, 2010, at 6:49 PM, 1T3XT info wrote: Paulo Soares wrote: Thank you. I'll include your changes. Due to the lack of time, I wasn't able to follow the discussion, but I've just read the latest mails, and I also want to thank you for the performance tests and improvements.

Re: [iText-questions] performance follow up

2010-04-22 Thread Paulo Soares
Post in this list, that way it won't be lost. Paulo - Original Message - From: Giovanni Azua To: Post all your questions about iText here Sent: Thursday, April 22, 2010 8:38 PM Subject: Re: [iText-questions] performance follow up Hello, On Apr 22, 2010, at 6:49 PM,

Re: [iText-questions] What action is requred in terms of License

2010-04-22 Thread Christoph Wagner
Hi, The license fees were magnitudes beyond the complete project budgets with very strict obligations. I am really willing to obtain a license and to pay several 100 $ for it and I find it absolutely ok for the developers to earn money with their fantastic library. But: The current license

Re: [iText-questions] What action is requred in terms of License

2010-04-22 Thread David Hoffer
Hi Michael, I feel your pain, I am in similar situation. The commercial side of the licensing is geared for very big projects only, nothing small. I had no choice but to use 2.x and FOP will be next if I need more. Again I don't need free but I need something manageable. -Dave On Thu, Apr 22,

Re: [iText-questions] performance follow up

2010-04-22 Thread Giovanni Azua
Hello Mike, On Apr 22, 2010, at 12:22 PM, Mike Marchywka wrote: This of course is where you consult Mark Twain. LOL. iText is or isn't better than before ( for some particular use case) irrespective of the data you currently have but the question is does the data allow you to reject the

Re: [iText-questions] performance follow up

2010-04-22 Thread trumpetinc
I like your approach! A simple if (ch 32) return false; at the very top would give the most bang for the least effort (if you do go the bitmask route, be sure to include unit tests!). I know there were a lot of calls to this method, but I'm curious: in your pofiling, how much of the total

Re: [iText-questions] performance follow up

2010-04-22 Thread Giovanni Azua
Hello, On Apr 22, 2010, at 10:59 PM, Giovanni Azua wrote: PRTokeniser.isWhitespace is a simple boolean condition that just happen to be called gazillion times e.g. 35'622'000 times for my test workload ... if instead of doing it like: public static final boolean isWhitespace(int ch) {

Re: [iText-questions] performance follow up

2010-04-22 Thread trumpetinc
The semantics are different (the JSE call includes more characters in it's definition of whitespace than the PDF spec). Not saying that it can't be easily done, but throwing an if statement at it and seeing what impact it has on performance is pretty easy also. What was the overall time %age

Re: [iText-questions] performance follow up

2010-04-22 Thread Mike Marchywka
From: brave...@gmail.com Date: Thu, 22 Apr 2010 23:22:36 +0200 To: brave...@gmail.com CC: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] performance follow up Hello, On Apr 22, 2010, at 10:59 PM, Giovanni Azua wrote:

Re: [iText-questions] performance follow up

2010-04-22 Thread Paulo Soares
FYI I already use a table to map the char to the result for the delimiter testing and the speed improvement was zero in relation to plain comparisons. Paulo - Original Message - From: trumpetinc To: itext-questions@lists.sourceforge.net Sent: Thursday, April 22, 2010 10:30 PM

Re: [iText-questions] performance follow up

2010-04-22 Thread Giovanni Azua
Hello, On Apr 22, 2010, at 11:30 PM, trumpetinc wrote: The semantics are different (the JSE call includes more characters in it's definition of whitespace than the PDF spec). Not saying that it can't be easily done, but throwing an if statement at it and seeing what impact it has on

Re: [iText-questions] performance follow up

2010-04-22 Thread Mike Marchywka
From: Date: Thu, 22 Apr 2010 22:59:43 +0200 To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] performance follow up Hello Mike, On Apr 22, 2010, at 12:22 PM, Mike Marchywka wrote: This of course is where you consult Mark Twain.