Re: [iText-questions] Silent license change?

2009-12-07 Thread Wain, Matthew
Sorry for my naivety on this.  What effect will that have on existing user's 
using older versions of iText code in there current commercial 
projects/products?

What effect will it have using the latest iText (v5 or whatever) in any future 
* products/projects?  i.e. Will we need to pay for it?

*Obviously NOT pretending to pass it off as our own code!

I don't want to get into a situation where I recommend switching all our code 
to iText from ManyImage (IBM) to find out we are financially tied in without 
realising it. (I'm not really familiar with software licenses to be completely 
honest *shame*).

Matthew
-Original Message-
From: Mark Storer [mailto:msto...@autonomy.com]
Sent: 04 December 2009 17:57
To: Post all your questions about iText here
Subject: Re: [iText-questions] Silent license change?


I'd thought there was an announcement, but I get the dev list as well and might 
be getting my wires crossed.

gmane to the rescue:

There are a couple mentions of iText using AGPL going forward hither and yon, 
but nothing OVERT.  Bruno will want to make some official announcment, but he's 
rather busy Actually Writing Code right now.  Here's a completely 
**unofficial** announcement:

The next major release of iText will undergo several Big Changes:
1) The version number will jump (to 5.0?), and both java and c# versions will 
henceforth share the same version.  This is both a Sanity Thing and an effort 
to reflect other significant changes.
2) MPL/LGPL will be dropped in favor of AGPL.  The last MPL/LGPL version of the 
source is iText 4.20, here:
http://itext.svn.sourceforge.net/viewvc/itext/tags/iText_4_2_0/

(yes, iText 420... har har dude)

Yes, the existance of iTextSoftware.com (and the effort to make some money on 
many years of hard work) influenced this decision.

3) All non-PDF code will be moved into separate projects.
4) All the "trunk" stuff is currently being moved (as we speak, see 
aforementioned "Actually Writing Code" comment) into a new package, 
"com.itextpdf.*".  THIS WILL BREAK BINARY COMPATIBILITY WITH EXISTING CODE.  
Given the licensing change, this isn't such a bad thing.  Previous users will 
need to make a Conscious Decision to switch versions, not just drop in a new 
JAR file.
5) iText will be built using java 1.5.  Expect 1.5-isms (generics in 
particular) to creep their way into the source, though I'm not aware of any 
major effort to update en mass.



--Mark Storer 
  Senior Software Engineer 
  Cardiff.com

#include  
typedef std::Disclaimer DisCard; 



> -Original Message-
> From: Vesa Jääskeläinen [mailto:ch...@nic.fi]
> Sent: Friday, December 04, 2009 8:30 AM
> To: iText questions
> Subject: [iText-questions] Silent license change?
> 
> 
> It seems that 1st of December 2009 iText license has been silently
> changed from MPL+LGPL to AGPL.
> 
> Does this mean that iTextSharp will also be switching to 
> AGPL? Currently
> being in MPL+LGPL.
> 
> Eg. So if one wants to use iTextSharp/iText library under Mozilla or
> LPGL license one has to fork the project from 30 Nov 2009?
> 
> --
> 
> Join us December 9, 2009 for the Red Hat Virtual Experience,
> a free event focused on virtualization and cloud computing. 
> Attend in-depth sessions from your desk. Your couch. Anywhere.
> http://p.sf.net/sfu/redhat-sfdev2dev
> ___
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 
> Buy the iText book: http://www.1t3xt.com/docs/book.php
> Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

This email was received from the INTERNET and scanned by the Government Secure 
Intranet anti-virus service supplied by Cable&Wireless in partnership with 
MessageLabs. (CCTM Certificate Number 2009/09/0052.) In case of problems, 
please call your organisation’s IT Helpdesk. 
Communications via the GSi may be automatically logged, monitored and/or 
recorded for legal purposes.

Land Registry's House Price Index is now live. www.landregistry.gov.uk

If you have received this e-mail an

[iText-questions] Release iText 5.0.0

2009-12-07 Thread Bruno Lowagie
Hello all,

5 months after the release of iText 2.1.7, we're now releasing iText 5.

It took a long time to make this release, and we made a huge jump
in the version number for the following reasons:

1. We've upgraded the license to the AGPL as recommended by the
Free Software Foundation for any software which will commonly
be run over a network: http://www.fsf.org/licensing/licenses
2. The package names have changed from com.lowagie to com.itextpdf
That way, my name is no longer "part of the code". I've been
wanting to do this for a very long time because sometimes
people confuse me with the product ;-)
3. We're no longer compiling iText with the JDK 1.4, but with Java 5!
Note that we didn't introduce Java 5 syntax yet, so you may be
able to compile the jar with JDK 1.4 for a while.
4. We've moved the RTF package to a separate project on SF:
https://sourceforge.net/projects/itextrtf/
5. We've dropped plenty of obsolete functionality that hasn't
been supported for years.

For more details about these changes, see the changelog:
http://itextpdf.com/history.php?branch=history.50&node=500

Note that (1) may break the compatibility with the policy used for
your project. (2) will most certainly break all your existing code.
(3), (4), and (5) could also break your existing code.

In other words: it will be impossible to upgrade from the old iText
to iText 5. You'll need to take sufficient time to migrate.

best regards,
Bruno

--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


Re: [iText-questions] Silent license change?

2009-12-07 Thread 1T3XT info
Wain, Matthew wrote:
> What effect will that have on existing user's using older versions of iText 
> code in there current commercial projects/products?

The older versions will no longer be supported, and will eventually die.
Starting a new project with an old iText version is like investing in
VHS cassettes when everybody starts using Blue-Ray disks.

> What effect will it have using the latest iText (v5 or whatever) in any 
> future * products/projects? 
> i.e. Will we need to pay for it?

No, as long as you make the source code of your products/projects
available for free as AGPL software, you don't have to pay anything.
BUT: as soon as you develop commercial activities with the new iText,
you'll have to pay a fee to be released from the AGPL restrictions.

I see that you're working for a governmental organization. This means
you probably won't develop any commercial activities, so it will be
sufficient if you make sure the users of your project/product have a
way to get the source code. I quote the AGPL: "For example, if your
program is a web application, its interface could display a "Source"
link that leads users to an archive of the code."

> I don't want to get into a situation where I recommend switching all our code 
> to iText from ManyImage (IBM)
> to find out we are financially tied in without realising it.

If your project is Free Software, then you don't have any financial
obligation. That's what Free Software is about.
As soon as you expect to make money with your product, you'll need
to pay a fee. That's fair isn't it? iText isn't "free beer" ;-)

Before you ask: I can't give you a concrete price for an iText license,
because that depends entirely on your use of iText. Contact info for
sales inquiries can be found here: http://itextpdf.com/contact.php

It's obvious that a small company using iText to create online invoices
for its customers won't have to pay as much Google will have to pay if
they decide to upgrade iText in Google Analytics, Google Calendar,
Google Docs, etc...
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


Re: [iText-questions] Silent license change?

2009-12-07 Thread martijn.list
1T3XT info wrote:

[snip]
> BUT: as soon as you develop commercial activities with the new iText,
> you'll have to pay a fee to be released from the AGPL restrictions.
[snip]
> As soon as you expect to make money with your product, you'll need
> to pay a fee. That's fair isn't it? iText isn't "free beer" ;-)

AFAIK that's not completely true. You can make money with an open source 
project even if it's using an AGPLv3 licensed library without having to 
pay a license fee to the owner of the AGPLv3 library. The only 
obligation is that your complete project will be AGPLv3 licensed. You 
cannot create a closed source project when you use AGPLv3 licensed code.

Martijn

-- 
Djigzo open source email encryption

--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


[iText-questions] iTextSharp signature with whitespace

2009-12-07 Thread Mikro Trekker
I am using iTextSharp 4.1.6 with SignatureRender set to Description.

If PdfSignatureAppearance.Acro6Layers is set to false then siganture
appearance looks Ok.
If Acro6Layers is set to true, then line(s) filled with whitespace
appear before text "Digitally signed by..." Are these empty lines
expected behaviour ?

--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


Re: [iText-questions] Silent license change?

2009-12-07 Thread Brian Chappell
Was the intent to change the license for the 4.1.6/4.2.0 as well? I notice
that the source on sourceforge now includes the AGPL license rather than the
LGPL/MPL as before. Was that deliberate or accidental? Should we read that
previous versions of iTextSharp are now no longer compatible with those
earlier licenses.

Regards,
  Brian


--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


Re: [iText-questions] Silent license change?

2009-12-07 Thread 1T3XT info
martijn.list wrote:
> 1T3XT info wrote:
> 
> [snip]
>> BUT: as soon as you develop commercial activities with the new iText,
>> you'll have to pay a fee to be released from the AGPL restrictions.
> [snip]
>> As soon as you expect to make money with your product, you'll need
>> to pay a fee. That's fair isn't it? iText isn't "free beer" ;-)
> 
> AFAIK that's not completely true. You can make money with an open source 
> project even if it's using an AGPLv3 licensed library without having to 
> pay a license fee to the owner of the AGPLv3 library. The only 
> obligation is that your complete project will be AGPLv3 licensed. You 
> cannot create a closed source project when you use AGPLv3 licensed code.

That was what I meant. Thanks for the clarification.

But as soon as you want to remove the AGPL from iText, for instance
in the context of dual licensing, you or the customer that wants to
be released of the restrictions of the AGPL has to buy a license.
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


Re: [iText-questions] Silent license change?

2009-12-07 Thread Paulo Soares
4.1.6/4.2.0 will stay LGPL/MPL forever, it's not possible to change licenses 
retroactively. Newer versions will be AGPL.

Paulo 

> -Original Message-
> From: Brian Chappell [mailto:br...@orcamediauk.co.uk] 
> Sent: Monday, December 07, 2009 12:41 PM
> To: 'Post all your questions about iText here'
> Subject: Re: [iText-questions] Silent license change?
> 
> Was the intent to change the license for the 4.1.6/4.2.0 as 
> well? I notice
> that the source on sourceforge now includes the AGPL license 
> rather than the
> LGPL/MPL as before. Was that deliberate or accidental? Should 
> we read that
> previous versions of iTextSharp are now no longer compatible 
> with those
> earlier licenses.
> 
> Regards,
>   Brian


Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter 
informação confidencial ou legalmente protegida. A incorrecta transmissão desta 
mensagem não significa a perca de confidencialidade. Se esta mensagem for 
recebida por engano, por favor envie-a de volta para o remetente e apague-a do 
seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de 
usar, revelar ou distribuir qualquer parte desta mensagem. 

Disclaimer:
This message is destined exclusively to the intended receiver. It may contain 
confidential or legally protected information. The incorrect transmission of 
this message does not mean the loss of its confidentiality. If this message is 
received by mistake, please send it back to the sender and delete it from your 
system immediately. It is forbidden to any person who is not the intended 
receiver to use, distribute or copy any part of this message.


--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Re: [iText-questions] Silent license change?

2009-12-07 Thread 1T3XT info
Brian Chappell wrote:
> Was the intent to change the license for the 4.1.6/4.2.0 as well? 

Version 5 of iTextSharp will also be AGPL.

> I notice
> that the source on sourceforge now includes the AGPL license rather than the
> LGPL/MPL as before.  Was that deliberate or accidental?

Where did you look? The project is now AGPL,
but the license of the old versions remains.

> Should we read that
> previous versions of iTextSharp are now no longer compatible with those
> earlier licenses.

Versions dating from before 4.2.0 are MPL/LGPL.
Version 4.2.0 was never officially released.
It's an intermediate release to prepare for version 5.
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


Re: [iText-questions] Silent license change?

2009-12-07 Thread Brian Chappell
Thanks for that clarification Paulo, it does leave me a little confused
however.

If you pull the 106 revision (or in fact any revision after 98) the
AssemblyInfo still states a version of 4.1.6 but the license in each file is
AGPL as is the License indicated in the Develop tab of whole the project.
More than a little confusing, until that version number changes isn't this
still 4.1.6? The revision may have changed but the published version number
has remained the same. Where does this leave 4.1.6 rev 106? Is it LGPL/MPL
or is the source supposed to be 5.0.0 and is AGPL?

Maybe a branch would be the better way to get the 5.0.0 tree underway.

-Original Message-
From: Paulo Soares [mailto:psoa...@glintt.com] 
Sent: 07 December 2009 12:48 PM
To: Post all your questions about iText here
Subject: Re: [iText-questions] Silent license change?

4.1.6/4.2.0 will stay LGPL/MPL forever, it's not possible to change licenses
retroactively. Newer versions will be AGPL.

Paulo 




--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


Re: [iText-questions] Silent license change?

2009-12-07 Thread Paulo Soares
From version 99 onward is AGPL as written in the log "Change of license to AGPL 
and removal of a mail address." and as written in all the files, I don't see 
where's the doubt. The next release will be tomorrow and it will be 5.0.0 and 
AGPL. With the next release the assembly info will change to 5.0.0.

Paulo 

> -Original Message-
> From: Brian Chappell [mailto:br...@orcamediauk.co.uk] 
> Sent: Monday, December 07, 2009 1:23 PM
> To: 'Post all your questions about iText here'
> Subject: Re: [iText-questions] Silent license change?
> 
> Thanks for that clarification Paulo, it does leave me a 
> little confused
> however.
> 
> If you pull the 106 revision (or in fact any revision after 98) the
> AssemblyInfo still states a version of 4.1.6 but the license 
> in each file is
> AGPL as is the License indicated in the Develop tab of whole 
> the project.
> More than a little confusing, until that version number 
> changes isn't this
> still 4.1.6? The revision may have changed but the published 
> version number
> has remained the same. Where does this leave 4.1.6 rev 106? 
> Is it LGPL/MPL
> or is the source supposed to be 5.0.0 and is AGPL?
> 
> Maybe a branch would be the better way to get the 5.0.0 tree underway.
> 
> -Original Message-
> From: Paulo Soares [mailto:psoa...@glintt.com] 
> Sent: 07 December 2009 12:48 PM
> To: Post all your questions about iText here
> Subject: Re: [iText-questions] Silent license change?
> 
> 4.1.6/4.2.0 will stay LGPL/MPL forever, it's not possible to 
> change licenses
> retroactively. Newer versions will be AGPL.
> 
> Paulo 


Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter 
informação confidencial ou legalmente protegida. A incorrecta transmissão desta 
mensagem não significa a perca de confidencialidade. Se esta mensagem for 
recebida por engano, por favor envie-a de volta para o remetente e apague-a do 
seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de 
usar, revelar ou distribuir qualquer parte desta mensagem. 

Disclaimer:
This message is destined exclusively to the intended receiver. It may contain 
confidential or legally protected information. The incorrect transmission of 
this message does not mean the loss of its confidentiality. If this message is 
received by mistake, please send it back to the sender and delete it from your 
system immediately. It is forbidden to any person who is not the intended 
receiver to use, distribute or copy any part of this message.


--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Re: [iText-questions] How can I change contents of a text field at signing?

2009-12-07 Thread webpointz

Thank you BUT you keep saying to add as an "OnFocus" event.  The problem is
that there is nowhere that shows an example of this being added in the
documentation or anywhere else.

Would you have an example of the code I would need to add it to the
signature field?




webpointz wrote:
> 
> Thanks...yes, i understand to write as an onFocus event...was just
> wondering HOW I code this when I already have code doing a Mouse Up?  How
> do you write an OnFocus event in iText?
> 
> 
> 
> Leonard Rosenthol-3 wrote:
>> 
>> Add it as an OnFocus event.  I don't see the problem...
>> 
>> Leonard
>> 
>> -Original Message-
>> From: webpointz [mailto:mbeveri...@webpointz.com] 
>> Sent: Wednesday, December 02, 2009 12:04 PM
>> To: itext-questions@lists.sourceforge.net
>> Subject: Re: [iText-questions] How can I change contents of a text field
>> at signing?
>> 
>> 
>> Thanks...I completely understand that.
>> 
>> It works if in Acrobat Pro I add a OnFocus to the signature field with
>> the
>> javascript there...BUT how would I incorporate this code into the iText
>> code?
>> 
>> Thanks
>> 
>> 
>> 
>> 
>> Brian Chappell wrote:
>>> 
>>> While I'm not able to offer a solution here I can talk about the
>>> principle
>>> which may help crystallise your dilemma.
>>> 
>>> When a document is digitally signed, the entire document is encrypted
>>> and
>>> the result of that encryption is stored with the document. This allows
>>> someone with the appropriate key to verify that the document has not
>>> been
>>> tampered with, they can compare a newly encrypted version of the
>>> document
>>> with the stored encryption result (the actual details vary but the
>>> outcome
>>> is the same). As a result, you can't sign a document, change a field and
>>> expect the signature to stand as the document is no longer the same as
>>> the
>>> signed version.
>>> 
>>> This is why you'd need to change the text and then sign the document for
>>> it
>>> to work.
>>> 
>>> Regards,
>>>   Brian
>>> 
>>> -Original Message-
>>> From: webpointz [mailto:mbeveri...@webpointz.com] 
>>> Sent: 02 December 2009 4:21 PM
>>> To: itext-questions@lists.sourceforge.net
>>> Subject: Re: [iText-questions] How can I change contents of a text field
>>> at
>>> signing?
>>> 
>>> 
>>> Hi...basically, the text needs to change ONLY if the signature is
>>> applied.
>>> So I need to change the text THEN have the signature applied and if the
>>> user
>>> cancels the action it reverts back to its original text.
>>> 
>>> As it stands now it appears as though the text is changing AFTER the
>>> signature is dropped in.
>>> Even if I move the text changing above and at the top of the onMouseUp
>>> it
>>> still changes after signing not before.  So, not sure what you meant by
>>> your
>>> answer.
>>> 
>>> 
>>> sign = acroForm.addSignature("sign", 122, 30, 300,
>>> 108).setAction(PdfAction.javaScript("
>>> this.getField('message').value = 'thank you';
>>> var sigCheck = this.getField('sign').value;
>>> 
>>> if (sigCheck != '')
>>> {
>>> ...do something else
>>> }
>>>
>>> ", writer)); 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> Leonard Rosenthol-3 wrote:
 
 Change value then sign.
 
 -Original Message-
 From: webpointz [mailto:mbeveri...@webpointz.com] 
 Sent: Wednesday, December 02, 2009 10:25 AM
 To: itext-questions@lists.sourceforge.net
 Subject: [iText-questions] How can I change contents of a text field at
 signing?
 
 
 I have a PDF that has say a text field called "message" and a digital
 signature field called "sign".
 
 When a user opens the PDF, the "message" field says "welcome" BUT I
 want
 the
 text to change to "thank you" once the document is signed.
 
 My problem is that if I try to dynamically change the text on the
 MOUSEUP
 action of the signing process, the text changes BUT it invalidates the
 signature stating the field "message" was modified after the signature
 was
 applied.
 
 Here is a sample of the code used (using ColdFusion code):
 
sign = acroForm.addSignature("sign", 122, 30, 300,
 108).setAction(PdfAction.javaScript("
 
var sigCheck = this.getField('sign').value;
 
if (sigCheck != '') 
{
this.getField('message').value = 'thank you';
}

", writer));
 
 
 
 
 
 -- 
 View this message in context:

>>> http://old.nabble.com/How-can-I-change-contents-of-a-text-field-at-signing--
>>> tp26610705p26610705.html
 Sent from the iText - General mailing list archive at Nabble.com.
 
 

>>> 
>>> --
 Join us December 9, 2009 for the Red Hat Virtual Experience,
>>

[iText-questions] V5

2009-12-07 Thread John Renfrew
According to Source Forge v5 among other things has:

 

oRemoval of SimpleCell, SimpleTable. 

 

oRemoval of Table, Cell, Row, PdfTable, PdfCell.

 

 

 

Hmmm. Maybe these are used a lot.

 

Are those parts of the new book finished enough to explain the new
alternative methods???  This would clearly enable learning to take place as
part of making some new workflows. Or do we stumble through this list in the
dark for a while

 

john renfrew 

Right Way Up 
Office  +44 1675 475341 
Fax  +44 1675 475342 
Mobile +44 7767 443992

 

--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Re: [iText-questions] V5

2009-12-07 Thread Bruno Lowagie
John Renfrew wrote:
> According to Source Forge v5 among other things has:
> oRemoval of SimpleCell, SimpleTable.

There's almost no documentation available about SimpleCell and 
SimpleTable, so there's no big loss there.

> oRemoval of Table, Cell, Row, PdfTable, PdfCell.

Let me quote from the first edition of the book:
"The major disadvantage of the Table class is that it is no
longer supported." (page 186)
That was written in 2006.
We've been discouraging the use of Table since 2005
if not earlier.

> Hmmm. Maybe these are used a lot.

People still using the Table class either didn't read the book
and didn't listen to what has been said on the mailing list for
years now, or they deliberately chose functionality that was
no longer supported.

> Are those parts of the new book finished enough to explain the new 
> alternative methods??? 

The alternatives were even finished enough in the first edition.

> This would clearly enable learning to take place 
> as part of making some new workflows. Or do we stumble through this list 
> in the dark for a while

No darkness there.
PdfPTable is sufficient as replacement for Table.
Page events are sufficient as replacement for HeaderFooter.
(HeaderFooter wasn't even mentioned in the first edition
because it was scheduled for removal.)

--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


Re: [iText-questions] How can I change contents of a text field at signing?

2009-12-07 Thread wasegraves
Mr/Mrs Google is your friend. Hint: Search for "AcroJS.pdf"; then in the PDF, 
search for "onFocus".

Cheers,
Bill Segraves



- Original Message 
From: webpointz 
To: itext-questions@lists.sourceforge.net
Sent: Mon, December 7, 2009 11:30:25 AM
Subject: Re: [iText-questions] How can I change contents of a text field at 
signing?


Thank you BUT you keep saying to add as an "OnFocus" event.  The problem is
that there is nowhere that shows an example of this being added in the
documentation or anywhere else.

Would you have an example of the code I would need to add it to the
signature field?




webpointz wrote:
> 
> Thanks...yes, i understand to write as an onFocus event...was just
> wondering HOW I code this when I already have code doing a Mouse Up?  How
> do you write an OnFocus event in iText?
> 
> 
> 
> Leonard Rosenthol-3 wrote:
>> 
>> Add it as an OnFocus event.  I don't see the problem...
>> 
>> Leonard
>> 
>> -Original Message-
>> From: webpointz [mailto:mbeveri...@webpointz..com] 
>> Sent: Wednesday, December 02, 2009 12:04 PM
>> To: itext-questions@lists.sourceforge.net
>> Subject: Re: [iText-questions] How can I change contents of a text field
>> at signing?
>> 
>> 
>> Thanks...I completely understand that.
>> 
>> It works if in Acrobat Pro I add a OnFocus to the signature field with
>> the
>> javascript there...BUT how would I incorporate this code into the iText
>> code?
>> 
>> Thanks
>> 
>> 
>> 
>> 
>> Brian Chappell wrote:
>>> 
>>> While I'm not able to offer a solution here I can talk about the
>>> principle
>>> which may help crystallise your dilemma.
>>> 
>>> When a document is digitally signed, the entire document is encrypted
>>> and
>>> the result of that encryption is stored with the document. This allows
>>> someone with the appropriate key to verify that the document has not
>>> been
>>> tampered with, they can compare a newly encrypted version of the
>>> document
>>> with the stored encryption result (the actual details vary but the
>>> outcome
>>> is the same). As a result, you can't sign a document, change a field and
>>> expect the signature to stand as the document is no longer the same as
>>> the
>>> signed version.
>>> 
>>> This is why you'd need to change the text and then sign the document for
>>> it
>>> to work.
>>> 
>>> Regards,
>>>  Brian
>>> 
>>> -Original Message-
>>> From: webpointz [mailto:mbeveri...@webpointz.com] 
>>> Sent: 02 December 2009 4:21 PM
>>> To: itext-questions@lists.sourceforge.net
>>> Subject: Re: [iText-questions] How can I change contents of a text field
>>> at
>>> signing?
>>> 
>>> 
>>> Hi...basically, the text needs to change ONLY if the signature is
>>> applied.
>>> So I need to change the text THEN have the signature applied and if the
>>> user
>>> cancels the action it reverts back to its original text.
>>> 
>>> As it stands now it appears as though the text is changing AFTER the
>>> signature is dropped in.
>>> Even if I move the text changing above and at the top of the onMouseUp
>>> it
>>> still changes after signing not before.  So, not sure what you meant by
>>> your
>>> answer.
>>> 
>>> 
>>> sign = acroForm.addSignature("sign", 122, 30, 300,
>>> 108).setAction(PdfAction.javaScript("
>>>                this.getField('message').value = 'thank you';
>>>                var sigCheck = this.getField('sign').value;
>>> 
>>>                if (sigCheck != '')
>>>                {
>>>                    ...do something else
>>>                }
>>>        
>>>        ", writer)); 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> Leonard Rosenthol-3 wrote:
 
 Change value then sign.
 
 -Original Message-
 From: webpointz [mailto:mbeveri...@webpointz.com] 
 Sent: Wednesday, December 02, 2009 10:25 AM
 To: itext-questions@lists.sourceforge.net
 Subject: [iText-questions] How can I change contents of a text field at
 signing?
 
 
 I have a PDF that has say a text field called "message" and a digital
 signature field called "sign".
 
 When a user opens the PDF, the "message" field says "welcome" BUT I
 want
 the
 text to change to "thank you" once the document is signed.
 
 My problem is that if I try to dynamically change the text on the
 MOUSEUP
 action of the signing process, the text changes BUT it invalidates the
 signature stating the field "message" was modified after the signature
 was
 applied.
 
 Here is a sample of the code used (using ColdFusion code):
 
     sign = acroForm.addSignature("sign", 122, 30, 300,
 108).setAction(PdfAction.javaScript("
 
         var sigCheck = this.getField('sign').value;
 
         if (sigCheck != '') 
         {
         this.getField('message').value = 'thank you';
         }
     
     ", writer));
 
 
 
 
 
 -- 
 View this message in context:

>>> http://old.nabble.com/How-ca

Re: [iText-questions] How can I change contents of a text field at signing?

2009-12-07 Thread Bruno Lowagie
webpointz wrote:
> Thank you BUT you keep saying to add as an "OnFocus" event.  The problem is
> that there is nowhere that shows an example of this being added in the
> documentation or anywhere else.

Did you really look everywhere?

> Would you have an example of the code I would need to add it to the
> signature field?

Click on the link that is on the bottom of each mail sent to the mailing
list: http://1t3xt.info/tutorials/keywords/

Knowing that you need some JavaScript functionality that responds
on the onFocus event (see for instance p498 of the first edition
of "iText in Action"), you click on the keyword "JavaScript" to
find this page:
http://1t3xt.info/tutorials/keywords/index.php?page=keyword&id=535

Now click on the first link you see:
http://1t3xt.info/examples/browse/?page=example&id=438

Now download that example, and study it closely.
Especially this line:

noAction.put(new PdfName("Fo"),
PdfAction.javaScript("setReadOnly(true);", stamper.getWriter()));

Please don't pretend the documentation that is provided for free
is insufficient, because that's not very respectful.

--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


Re: [iText-questions] How can I change contents of a text field at signing?

2009-12-07 Thread webpointz

Actually...we purchased the documentation (your book) and we are appreciative
of all of the work you did and still do, but frankly we aren't JAVA people
and we are scripting tranlsations to coldfusion, then we ask a question and
instead of helpful answers we get involved in a game of "clue".

Its terribly frustrating at times and as i mentioned, we aren't piggybacking
on "free" documentation..we purchased the book itself.

I guess I will keep trying given that nobody seems to want to provide
assistance other than clues.

Thanks again



Bruno Lowagie-3 wrote:
> 
> webpointz wrote:
>> Thank you BUT you keep saying to add as an "OnFocus" event.  The problem
>> is
>> that there is nowhere that shows an example of this being added in the
>> documentation or anywhere else.
> 
> Did you really look everywhere?
> 
>> Would you have an example of the code I would need to add it to the
>> signature field?
> 
> Click on the link that is on the bottom of each mail sent to the mailing
> list: http://1t3xt.info/tutorials/keywords/
> 
> Knowing that you need some JavaScript functionality that responds
> on the onFocus event (see for instance p498 of the first edition
> of "iText in Action"), you click on the keyword "JavaScript" to
> find this page:
> http://1t3xt.info/tutorials/keywords/index.php?page=keyword&id=535
> 
> Now click on the first link you see:
> http://1t3xt.info/examples/browse/?page=example&id=438
> 
> Now download that example, and study it closely.
> Especially this line:
> 
> noAction.put(new PdfName("Fo"),
> PdfAction.javaScript("setReadOnly(true);", stamper.getWriter()));
> 
> Please don't pretend the documentation that is provided for free
> is insufficient, because that's not very respectful.
> 
> --
> Join us December 9, 2009 for the Red Hat Virtual Experience,
> a free event focused on virtualization and cloud computing. 
> Attend in-depth sessions from your desk. Your couch. Anywhere.
> http://p.sf.net/sfu/redhat-sfdev2dev
> ___
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 
> Buy the iText book: http://www.1t3xt.com/docs/book.php
> Check the site with examples before you ask questions:
> http://www.1t3xt.info/examples/
> You can also search the keywords list:
> http://1t3xt.info/tutorials/keywords/
> 
> 

-- 
View this message in context: 
http://old.nabble.com/How-can-I-change-contents-of-a-text-field-at-signing--tp26610705p26680477.html
Sent from the iText - General mailing list archive at Nabble.com.


--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


Re: [iText-questions] How can I change contents of a text field at signing?

2009-12-07 Thread Mike Marchywka



I don't want to clutter the list but this is a cultural/etiquette question on
which everyone has an opinion. LOL. 




> Date: Mon, 7 Dec 2009 09:11:54 -0800
> From: 
> To: itext-questions@lists.sourceforge.net
> Subject: Re: [iText-questions] How can I change contents of a text field at 
> signing?
>
>
> Actually...we purchased the documentation (your book) and we are appreciative
> of all of the work you did and still do, but frankly we aren't JAVA people
> and we are scripting tranlsations to coldfusion, then we ask a question and
> instead of helpful answers we get involved in a game of "clue".


Many on the list are busy and don't have time for clue, a one line answer is 
probably
easier. But, several seemed upset when I would respond "grep the source code" 
in the spirit of "teach a man to fish." My condolensces if you are using CF ( 
no 
offense to Adobe, and Leo has convinced me many problems I had experienced as a 
PDF
user were do to customers not the product itself) as it does have a lot of 
quirks and personally
if you did know java I would suggest something like servlet for itext ( 
although writing your own
java server is not difficult either, and CF can talk to that too if you want to 
offload stuff to it). 

If you don't know java, and want to use java, sun has excellent resources and 
google confined to 
sun.com will usually find an answer. This even comes up on other "java" lists ( 
like j2me people who
don't know normal java )...


>
> Its terribly frustrating at times and as i mentioned, we aren't piggybacking
> on "free" documentation..we purchased the book itself.

AFAIK the book is probably not intended to be a java book. 

>
> I guess I will keep trying given that nobody seems to want to provide
> assistance other than clues.

Sometimes that is all people have time to figure out if you can only outline 
your
problem, sometimes that is all that seems apropos for free.

>
> Thanks again
>
>
>
> Bruno Lowagie-3 wrote:
>>
>> webpointz wrote:
>>> Thank you BUT you keep saying to add as an "OnFocus" event. The problem
>>> is
>>> that there is nowhere that shows an example of this being added in the
>>> documentation or anywhere else.
>>
>> Did you really look everywhere?
>>
>>> Would you have an example of the code I would need to add it to the
>>> signature field?
>>
>> Click on the link that is on the bottom of each mail sent to the mailing
>> list: http://1t3xt.info/tutorials/keywords/
>>
>> Knowing that you need some JavaScript functionality that responds
>> on the onFocus event (see for instance p498 of the first edition
>> of "iText in Action"), you click on the keyword "JavaScript" to
>> find this page:
>> http://1t3xt.info/tutorials/keywords/index.php?page=keyword&id=535
>>
>> Now click on the first link you see:
>> http://1t3xt.info/examples/browse/?page=example&id=438
>>
>> Now download that example, and study it closely.
>> Especially this line:
>>
>> noAction.put(new PdfName("Fo"),
>> PdfAction.javaScript("setReadOnly(true);", stamper.getWriter()));
>>
>> Please don't pretend the documentation that is provided for free
>> is insufficient, because that's not very respectful.
>>
>> --
>> Join us December 9, 2009 for the Red Hat Virtual Experience,
>> a free event focused on virtualization and cloud computing.
>> Attend in-depth sessions from your desk. Your couch. Anywhere.
>> http://p.sf.net/sfu/redhat-sfdev2dev
>> ___
>> iText-questions mailing list
>> iText-questions@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/itext-questions
>>
>> Buy the iText book: http://www.1t3xt.com/docs/book.php
>> Check the site with examples before you ask questions:
>> http://www.1t3xt.info/examples/
>> You can also search the keywords list:
>> http://1t3xt.info/tutorials/keywords/
>>
>>
>
> --
> View this message in context: 
> http://old.nabble.com/How-can-I-change-contents-of-a-text-field-at-signing--tp26610705p26680477.html
> Sent from the iText - General mailing list archive at Nabble.com.
>
>
> --
> Join us December 9, 2009 for the Red Hat Virtual Experience,
> a free event focused on virtualization and cloud computing.
> Attend in-depth sessions from your desk. Your couch. Anywhere.
> http://p.sf.net/sfu/redhat-sfdev2dev
> ___
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
> Buy the iText book: http://www.1t3xt.com/docs/book.php
> Check the site with examples before you ask questions: 
> http://www.1t3xt.info/examples/
> You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
  

Re: [iText-questions] How can I change contents of a text field at signing?

2009-12-07 Thread wasegraves
Webpointz,

Actually, you didn't. If the book contained ALL of the documentation, it would 
be huge and much more costly to purchase.

What you perceive as a game of "clue" is simple to explain. You, who presumably 
are being paid for your efforts, are asking a many dedicated professionals to 
do YOUR work for you, for free. If all of us were to set out to do your work 
for you, can you imagine the amount of work that would be wasted?

You are expected to do your own work and show it BEFORE asking questions about 
it. YOUR work involves searching all of the documentation, which you clearly 
have not done.

I "gave" you a hint on how to find the pertinent documentation you had 
overlooked. YOU are the one who is expected to apply it to your own situation.

Cheers,
Bill Segraves



- Original Message 
From: webpointz 
To: itext-questions@lists.sourceforge.net
Sent: Mon, December 7, 2009 12:11:54 PM
Subject: Re: [iText-questions] How can I change contents of a text field at 
signing?


Actually...we purchased the documentation (your book) and we are appreciative
of all of the work you did and still do, but frankly we aren't JAVA people
and we are scripting tranlsations to coldfusion, then we ask a question and
instead of helpful answers we get involved in a game of "clue".

Its terribly frustrating at times and as i mentioned, we aren't piggybacking
on "free" documentation..we purchased the book itself.

I guess I will keep trying given that nobody seems to want to provide
assistance other than clues.

Thanks again



Bruno Lowagie-3 wrote:
> 
> webpointz wrote:
>> Thank you BUT you keep saying to add as an "OnFocus" event.  The problem
>> is
>> that there is nowhere that shows an example of this being added in the
>> documentation or anywhere else.
> 
> Did you really look everywhere?
> 
>> Would you have an example of the code I would need to add it to the
>> signature field?
> 
> Click on the link that is on the bottom of each mail sent to the mailing
> list: http://1t3xt.info/tutorials/keywords/
> 
> Knowing that you need some JavaScript functionality that responds
> on the onFocus event (see for instance p498 of the first edition
> of "iText in Action"), you click on the keyword "JavaScript" to
> find this page:
> http://1t3xt.info/tutorials/keywords/index.php?page=keyword&id=535
> 
> Now click on the first link you see:
> http://1t3xt.info/examples/browse/?page=example&id=438
> 
> Now download that example, and study it closely.
> Especially this line:
> 
> noAction.put(new PdfName("Fo"),
>        PdfAction.javaScript("setReadOnly(true);", stamper..getWriter()));
> 
> Please don't pretend the documentation that is provided for free
> is insufficient, because that's not very respectful.
> 
> --
> Join us December 9, 2009 for the Red Hat Virtual Experience,
> a free event focused on virtualization and cloud computing. 
> Attend in-depth sessions from your desk. Your couch. Anywhere.
> http://p.sf.net/sfu/redhat-sfdev2dev
> ___
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 
> Buy the iText book: http://www.1t3xt.com/docs/book.php
> Check the site with examples before you ask questions:
> http://www.1t3xt.info/examples/
> You can also search the keywords list:
> http://1t3xt.info/tutorials/keywords/
> 
> 

-- 
View this message in context: 
http://old.nabble.com/How-can-I-change-contents-of-a-text-field-at-signing--tp26610705p26680477.html
Sent from the iText - General mailing list archive at Nabble..com.


--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/



--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info

Re: [iText-questions] How can I change contents of a text field at signing?

2009-12-07 Thread Bruno Lowagie
webpointz wrote:
> I guess I will keep trying given that nobody seems to want to provide
> assistance other than clues.

Clues???

You ask for an example, and I'm giving you a fully fledged example:
>> Now click on the first link you see:
>> http://1t3xt.info/examples/browse/?page=example&id=438
>>
>> Now download that example, and study it closely.

I even tell you which line you need:

>> Especially this line:
>>
>> noAction.put(new PdfName("Fo"),
>> PdfAction.javaScript("setReadOnly(true);", stamper.getWriter()));

That's not a clue!!! That example shows exactly how to
add an onFocus event to a field in an AcroForm!

--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


[iText-questions] HTMLWorker support for ROWSPAN - Modifying IncCell.java

2009-12-07 Thread Sebastian Ariel Cortes
Hi, i'm using HTMLWorker to convert some HTML to PDF.

The problem is that HTMLWorker is not supporting RowSpan. I readed in
some post that HTMLWorker was created before rowspan support.

I modified the class com.lowagie.text.html.simpleparser.IncCell adding
next code after the colspan check in the constructor and now
HTMLWorker is working great with rowspan:

String rowspanvalue = props.getProperty("rowspan");
if (rowspanvalue != null)
cell.setRowspan((Integer.parseInt(rowspanvalue)));

Have you tried this? Do you see some future problem doing this?

I'm using 2.1.7 version of iText.

Thanks in advance,
Sebastian

--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


[iText-questions] previous version of site available?

2009-12-07 Thread Tomislav Stojcevich
Is there anyway to make the pre 5x version of the website available to
help support those that still have legacy usage of the 2x version?

--tom

--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


[iText-questions] FW: How can I change contents of a text field at signing?

2009-12-07 Thread John Renfrew
Webpointz,

Actually, you didn't. If the book contained ALL of the documentation, it
would be huge and much more costly to purchase.

>> Some of us would not mind that. In fact a whole series of proper books,
starting with iText for Dummies would be just fine. No free support, but a
peg in the ground that wasn’t moved every time someone had a whizzo idea
about how to make things better

What you perceive as a game of "clue" is simple to explain. You, who
presumably are being paid for your efforts, are asking a many dedicated
professionals to do YOUR work for you, for free. If all of us were to set
out to do your work for you, can you imagine the amount of work that would
be wasted?

You are expected to do your own work and show it BEFORE asking questions
about it. YOUR work involves searching all of the documentation, which you
clearly have not done.

I "gave" you a hint on how to find the pertinent documentation you had
overlooked. YOU are the one who is expected to apply it to your own
situation.


>> It is MUCH easier NOT to shout than to be supportive and kind. The
attitude of people like you should not be the first price one has to pay for
putting shortcomings and inadequacy into the public arena.

>> So. There is much assumption too that we would not be prepared to pay for
software and have properly written up help. Your desire to keep software
'free' - not in the monetary sense - could be tempered with your desire to
be seen as a gentle sage rather than a bludgeoning ogre with attitudes more
suited to the Victorian world many of us are glad to have left behind.

>> please stop shouting at people it is really 'bucket dipper' behaviour



Cheers,
Bill Segraves

john renfrew 
Right Way Up 
Office  +44 1675 475341 
Fax  +44 1675 475342 
Mobile +44 7767 443992

-Original Message-
From: wasegraves [mailto:wasegra...@bellsouth.net] 
Sent: 07 December 2009 17:46
To: Post all your questions about iText here
Subject: Re: [iText-questions] How can I change contents of a text field at
signing?

Webpointz,

Actually, you didn't. If the book contained ALL of the documentation, it
would be huge and much more costly to purchase.

What you perceive as a game of "clue" is simple to explain. You, who
presumably are being paid for your efforts, are asking a many dedicated
professionals to do YOUR work for you, for free. If all of us were to set
out to do your work for you, can you imagine the amount of work that would
be wasted?

You are expected to do your own work and show it BEFORE asking questions
about it. YOUR work involves searching all of the documentation, which you
clearly have not done.

I "gave" you a hint on how to find the pertinent documentation you had
overlooked. YOU are the one who is expected to apply it to your own
situation.

Cheers,
Bill Segraves



- Original Message 
From: webpointz 
To: itext-questions@lists.sourceforge.net
Sent: Mon, December 7, 2009 12:11:54 PM
Subject: Re: [iText-questions] How can I change contents of a text field at
signing?


Actually...we purchased the documentation (your book) and we are
appreciative
of all of the work you did and still do, but frankly we aren't JAVA people
and we are scripting tranlsations to coldfusion, then we ask a question and
instead of helpful answers we get involved in a game of "clue".

Its terribly frustrating at times and as i mentioned, we aren't piggybacking
on "free" documentation..we purchased the book itself.

I guess I will keep trying given that nobody seems to want to provide
assistance other than clues.

Thanks again



Bruno Lowagie-3 wrote:
> 
> webpointz wrote:
>> Thank you BUT you keep saying to add as an "OnFocus" event.  The problem
>> is
>> that there is nowhere that shows an example of this being added in the
>> documentation or anywhere else.
> 
> Did you really look everywhere?
> 
>> Would you have an example of the code I would need to add it to the
>> signature field?
> 
> Click on the link that is on the bottom of each mail sent to the mailing
> list: http://1t3xt.info/tutorials/keywords/
> 
> Knowing that you need some JavaScript functionality that responds
> on the onFocus event (see for instance p498 of the first edition
> of "iText in Action"), you click on the keyword "JavaScript" to
> find this page:
> http://1t3xt.info/tutorials/keywords/index.php?page=keyword&id=535
> 
> Now click on the first link you see:
> http://1t3xt.info/examples/browse/?page=example&id=438
> 
> Now download that example, and study it closely.
> Especially this line:
> 
> noAction.put(new PdfName("Fo"),
>        PdfAction.javaScript("setReadOnly(true);", stamper..getWriter()));
> 
> Please don't pretend the documentation that is provided for free
> is insufficient, because that's not very respectful.
> 
>

--
> Join us December 9, 2009 for the Red Hat Virtual Experience,
> a free event focused on virtualization and cloud computing. 
> Attend in-d

[iText-questions] Changes to iText book (Manning)

2009-12-07 Thread Michael Stringham
I own the first edition of the iText book, published by Manning. What
changes will there be, in the second edition of the book? I'm thinking of
purchasing the MEAP version, if needed.
--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Re: [iText-questions] previous version of site available?

2009-12-07 Thread Mark Storer
It's all in SVN.  If you get everything from the 4_2_0 tag, you'll be able to 
ANT up a local copy of the web site (though it may take a little extra work 
hither and yon... getting the JavaDocs built requires that you have a pointer 
to a previous version for @since checks for example).



--Mark Storer 
  Senior Software Engineer 
  Cardiff.com

#include  
typedef std::Disclaimer DisCard; 



> -Original Message-
> From: Tomislav Stojcevich [mailto:stojcevi...@gmail.com]
> Sent: Monday, December 07, 2009 10:10 AM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-questions] previous version of site available?
> 
> 
> Is there anyway to make the pre 5x version of the website available to
> help support those that still have legacy usage of the 2x version?
> 
> --tom
> 
> --
> 
> Join us December 9, 2009 for the Red Hat Virtual Experience,
> a free event focused on virtualization and cloud computing. 
> Attend in-depth sessions from your desk. Your couch. Anywhere.
> http://p.sf.net/sfu/redhat-sfdev2dev
> ___
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 
> Buy the iText book: http://www.1t3xt.com/docs/book.php
> Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


Re: [iText-questions] FW: How can I change contents of a text field at signing?

2009-12-07 Thread wasegraves
fyi, john, the caps in my previous to webpoinz were for emphasis, rather than 
shouting. you obviously missed my more direct earlier response to the op, in 
which i pointed him directly to the documentation he had missed. cheers, bill s.

p.s. in addition, i was gently trying to point out to the op that he was asking 
hundreds, perhaps thousands of people, for help doing something he was 
perfectly capable of doing himself. in news/discussion groups, it is considered 
to be extremely rude to ask many people at once to do your work for you.



- Original Message 
From: John Renfrew 
To: iText-questions@lists.sourceforge.net
Sent: Mon, December 7, 2009 1:16:52 PM
Subject: [iText-questions] FW: How can I change contents of a text field at 
signing?

Webpointz,

...
>> It is MUCH easier NOT to shout than to be supportive and kind. The
attitude of people like you should not be the first price one has to pay for
putting shortcomings and inadequacy into the public arena.

>> So. There is much assumption too that we would not be prepared to pay for
software and have properly written up help. Your desire to keep software
'free' - not in the monetary sense - could be tempered with your desire to
be seen as a gentle sage rather than a bludgeoning ogre with attitudes more
suited to the Victorian world many of us are glad to have left behind.

>> please stop shouting at people it is really 'bucket dipper' behaviour
...
john renfrew 
Right Way Up 
Office  +44 1675 475341 
Fax  +44 1675 475342 
Mobile +44 7767 443992
...


--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


Re: [iText-questions] How can I change contents of a text field at signing?

2009-12-07 Thread webpointz

Thanks Bruno...this is actually very helpful and gives me greater insight.

My only concern now is how to add an EXTRA event to the same acrofield.

Thanks to all...and as a side note, I am NOT asking for anyone to write my
code thank you very much...I asked a simple question, I thought...it's a
FANTASTIC API.  On another note, sometimes we workers are held to a certain
coding environment (coldfusion) and we are not permitted to change the
customer's entire server strategy but work within it.

I had no idea that "noAction.put" was a reference to "OnFocus".

Thanks for the examples Bruno...your work is very much appreciated.



Bruno Lowagie-3 wrote:
> 
> webpointz wrote:
>> I guess I will keep trying given that nobody seems to want to provide
>> assistance other than clues.
> 
> Clues???
> 
> You ask for an example, and I'm giving you a fully fledged example:
>>> Now click on the first link you see:
>>> http://1t3xt.info/examples/browse/?page=example&id=438
>>>
>>> Now download that example, and study it closely.
> 
> I even tell you which line you need:
> 
>>> Especially this line:
>>>
>>> noAction.put(new PdfName("Fo"),
>>> PdfAction.javaScript("setReadOnly(true);",
>>> stamper.getWriter()));
> 
> That's not a clue!!! That example shows exactly how to
> add an onFocus event to a field in an AcroForm!
> 
> --
> Join us December 9, 2009 for the Red Hat Virtual Experience,
> a free event focused on virtualization and cloud computing. 
> Attend in-depth sessions from your desk. Your couch. Anywhere.
> http://p.sf.net/sfu/redhat-sfdev2dev
> ___
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 
> Buy the iText book: http://www.1t3xt.com/docs/book.php
> Check the site with examples before you ask questions:
> http://www.1t3xt.info/examples/
> You can also search the keywords list:
> http://1t3xt.info/tutorials/keywords/
> 
> 

-- 
View this message in context: 
http://old.nabble.com/How-can-I-change-contents-of-a-text-field-at-signing--tp26610705p26682163.html
Sent from the iText - General mailing list archive at Nabble.com.


--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


Re: [iText-questions] FW: How can I change contents of a text field at signing?

2009-12-07 Thread webpointz

Wow...terribly sorry for asking a question.

I came here because there are experts in here that presumably know more
about the inner workings of iText than I do.  Pointing me to a 692 page PDF
is not exactly helpful, given that it references event examples that pertain
specifically to writing Acroscript directly using Acrobat product and not
iText for Java.

I am not expecting anyone to help me write my code...in fact when someone
asks me for input on a subject such as CF which I know well...I don't
lambast them and hurl insults at them...quite the opposite...I try to be
direct and give them a working example in hopes they are encouraged to use
the product more and at the same time learn something new.

Since using iText I have found it to be an amazing API and what I have
accomplished with it I am quite proud of...but again, I did go through the
documentation, but being a non JAVA person, simply sought out some advice
such as "try using this syntax".  I certainly didn't envision my
professional credentials being questioned and insulted.

That being said...I do appreciate the advice.



wasegraves wrote:
> 
> fyi, john, the caps in my previous to webpoinz were for emphasis, rather
> than shouting. you obviously missed my more direct earlier response to the
> op, in which i pointed him directly to the documentation he had missed.
> cheers, bill s.
> 
> p.s. in addition, i was gently trying to point out to the op that he was
> asking hundreds, perhaps thousands of people, for help doing something he
> was perfectly capable of doing himself. in news/discussion groups, it is
> considered to be extremely rude to ask many people at once to do your work
> for you.
> 
> 
> 
> - Original Message 
> From: John Renfrew 
> To: iText-questions@lists.sourceforge.net
> Sent: Mon, December 7, 2009 1:16:52 PM
> Subject: [iText-questions] FW: How can I change contents of a text field
> at signing?
> 
> Webpointz,
> 
> ...
>>> It is MUCH easier NOT to shout than to be supportive and kind. The
> attitude of people like you should not be the first price one has to pay
> for
> putting shortcomings and inadequacy into the public arena.
> 
>>> So. There is much assumption too that we would not be prepared to pay
>>> for
> software and have properly written up help. Your desire to keep software
> 'free' - not in the monetary sense - could be tempered with your desire to
> be seen as a gentle sage rather than a bludgeoning ogre with attitudes
> more
> suited to the Victorian world many of us are glad to have left behind.
> 
>>> please stop shouting at people it is really 'bucket dipper' behaviour
> ...
> john renfrew 
> Right Way Up 
> Office  +44 1675 475341 
> Fax  +44 1675 475342 
> Mobile +44 7767 443992
> ...
> 
> 
> --
> Join us December 9, 2009 for the Red Hat Virtual Experience,
> a free event focused on virtualization and cloud computing. 
> Attend in-depth sessions from your desk. Your couch. Anywhere.
> http://p.sf.net/sfu/redhat-sfdev2dev
> ___
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 
> Buy the iText book: http://www.1t3xt.com/docs/book.php
> Check the site with examples before you ask questions:
> http://www.1t3xt.info/examples/
> You can also search the keywords list:
> http://1t3xt.info/tutorials/keywords/
> 
> 

-- 
View this message in context: 
http://old.nabble.com/FW%3A-How-can-I-change-contents-of-a-text-field-at%09signing--tp26681577p26682614.html
Sent from the iText - General mailing list archive at Nabble.com.


--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Re: [iText-questions] previous version of site available?

2009-12-07 Thread Bruno Lowagie
Tomislav Stojcevich wrote:
> Is there anyway to make the pre 5x version of the website available to
> help support those that still have legacy usage of the 2x version?

What web site? Is 1t3xt.info down?
I can still see it. Maybe it's a temporary problem.

--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


Re: [iText-questions] HTMLWorker support for ROWSPAN - Modifying IncCell.java

2009-12-07 Thread Bruno Lowagie
Sebastian Ariel Cortes wrote:
> Hi, i'm using HTMLWorker to convert some HTML to PDF.
> 
> The problem is that HTMLWorker is not supporting RowSpan. I readed in
> some post that HTMLWorker was created before rowspan support.
> 
> I modified the class com.lowagie.text.html.simpleparser.IncCell adding
> next code after the colspan check in the constructor and now
> HTMLWorker is working great with rowspan:
> 
> String rowspanvalue = props.getProperty("rowspan");
> if (rowspanvalue != null)
> cell.setRowspan((Integer.parseInt(rowspanvalue)));
> 
> Have you tried this? Do you see some future problem doing this?
> 
> I'm using 2.1.7 version of iText.

You've fixed the problem correctly.
The only problem I see, is the fact that there are still some
rowspan bugs in iText 2.1.7. These bugs are fixed in iText 5.
These bugs are not related to your HTMLWorker patch, they also
occur if you create the PdfPTable from code (instead of from HTML).

--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


Re: [iText-questions] Changes to iText book (Manning)

2009-12-07 Thread Bruno Lowagie
Michael Stringham wrote:
> I own the first edition of the iText book, published by Manning. What 
> changes will there be, in the second edition of the book? I'm thinking 
> of purchasing the MEAP version, if needed.

The changes are substantial.
Download chapter 2 from Manning's site and you'll find out
the approach is very different. The book will also explain
how to fill out static and dynamic XFA forms: that wasn't
possible when I wrote the first book.
In chapter 2, you'll learn about tabs and vertical position marks.
That functionality isn't as sexy as XFA, but it didn't exist either
3 years ago.
The same goes for concatenating documents with remote destinations:
you can now convert them into local destinations after concatenating
them. There's plenty of small examples like that that are new.
best regards,
Bruno

--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


Re: [iText-questions] How can I change contents of a text field at signing?

2009-12-07 Thread wasegraves
Wow! I had no idea my suggestion would be taken in such a negative light. 
Because the OP made no mention of the AcroJS PDF in his "nowhere ... in the 
documentation" comment, I felt he might benefit from looking at it. If the 
conversation had not turned sour so abruptly, I might have added that the 
AcroJS PDF is the source of authority on what JS methods are supported by Adobe 
Acrobat and Reader, and consequently, is an important part of the huge amount 
of documentation available to iText users.

In hopes that peace will break out this season, I wish you a Merry Christmas 
and Happy New Year,
Bill Segraves



- Original Message 
From: wasegraves 
To: Post all your questions about iText here 

Sent: Mon, December 7, 2009 11:56:44 AM
Subject: Re: [iText-questions] How can I change contents of a text field at 
signing?

Mr/Mrs Google is your friend. Hint: Search for "AcroJS.pdf"; then in the PDF, 
search for "onFocus".

Cheers,
Bill Segraves



- Original Message 
From: webpointz 
To: itext-questions@lists.sourceforge.net
Sent: Mon, December 7, 2009 11:30:25 AM
Subject: Re: [iText-questions] How can I change contents of a text field at 
signing?


Thank you BUT you keep saying to add as an "OnFocus" event.  The problem is
that there is nowhere that shows an example of this being added in the
documentation or anywhere else.

Would you have an example of the code I would need to add it to the
signature field?




webpointz wrote:
> 
> Thanks...yes, i understand to write as an onFocus event...was just
> wondering HOW I code this when I already have code doing a Mouse Up?  How
> do you write an OnFocus event in iText?
> 
> 
> 
> Leonard Rosenthol-3 wrote:
>> 
>> Add it as an OnFocus event.  I don't see the problem...
>> 
>> Leonard
>> 
>> -Original Message-
>> From: webpointz [mailto:mbeveri...@webpointz..com] 
>> Sent: Wednesday, December 02, 2009 12:04 PM
>> To: itext-questions@lists.sourceforge.net
>> Subject: Re: [iText-questions] How can I change contents of a text field
>> at signing?
>> 
>> 
>> Thanks...I completely understand that.
>> 
>> It works if in Acrobat Pro I add a OnFocus to the signature field with
>> the
>> javascript there...BUT how would I incorporate this code into the iText
>> code?
>> 
>> Thanks
>> 
>> 
>> 
>> 
>> Brian Chappell wrote:
>>> 
>>> While I'm not able to offer a solution here I can talk about the
>>> principle
>>> which may help crystallise your dilemma.
>>> 
>>> When a document is digitally signed, the entire document is encrypted
>>> and
>>> the result of that encryption is stored with the document.. This allows
>>> someone with the appropriate key to verify that the document has not
>>> been
>>> tampered with, they can compare a newly encrypted version of the
>>> document
>>> with the stored encryption result (the actual details vary but the
>>> outcome
>>> is the same). As a result, you can't sign a document, change a field and
>>> expect the signature to stand as the document is no longer the same as
>>> the
>>> signed version.
>>> 
>>> This is why you'd need to change the text and then sign the document for
>>> it
>>> to work.
>>> 
>>> Regards,
>>>  Brian
>>> 
>>> -Original Message-
>>> From: webpointz [mailto:mbeveri...@webpointz.com] 
>>> Sent: 02 December 2009 4:21 PM
>>> To: itext-questions@lists.sourceforge.net
>>> Subject: Re: [iText-questions] How can I change contents of a text field
>>> at
>>> signing?
>>> 
>>> 
>>> Hi...basically, the text needs to change ONLY if the signature is
>>> applied.
>>> So I need to change the text THEN have the signature applied and if the
>>> user
>>> cancels the action it reverts back to its original text.
>>> 
>>> As it stands now it appears as though the text is changing AFTER the
>>> signature is dropped in.
>>> Even if I move the text changing above and at the top of the onMouseUp
>>> it
>>> still changes after signing not before.  So, not sure what you meant by
>>> your
>>> answer.
>>> 
>>> 
>>> sign = acroForm.addSignature("sign", 122, 30, 300,
>>> 108).setAction(PdfAction.javaScript("
>>>                this.getField('message').value = 'thank you';
>>>                var sigCheck = this.getField('sign').value;
>>> 
>>>                if (sigCheck != '')
>>>                {
>>>                    ...do something else
>>>                }
>>>        
>>>        ", writer)); 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> Leonard Rosenthol-3 wrote:
 
 Change value then sign.
 
 -Original Message-
 From: webpointz [mailto:mbeveri...@webpointz.com] 
 Sent: Wednesday, December 02, 2009 10:25 AM
 To: itext-questions@lists.sourceforge.net
 Subject: [iText-questions] How can I change contents of a text field at
 signing?
 
 
 I have a PDF that has say a text field called "message" and a digital
 signature field called "sign".
 
 When a user opens the PDF, the "message" field says "welcome" BUT I
 want
 the

Re: [iText-questions] Silent license change?

2009-12-07 Thread Vesa Jääskeläinen
Hi,

Do you mind making iTextSharp 4.1.7 or 4.2.0 or what ever version of the
svn revision 98. That would make life a bit easier for us maintaining
old software if there is release for the last LGPL+MPL version license.
License change for other projects matching the AGPL ain't that pretty
task at this time. I was kinda waiting for those my small patches to
come to official release.

And if you are not. What is the preferred version number for that
revision? 4.1.6.98 ?

Oh. And if you really want to sell the 5.0 you might want to reconsider
publishing pricing on the web...

Thanks,
Vesa Jääskeläinen

Paulo Soares wrote:
> From version 99 onward is AGPL as written in the log "Change of license to 
> AGPL and removal of a mail address." and as written in all the files, I don't 
> see where's the doubt. The next release will be tomorrow and it will be 5.0.0 
> and AGPL. With the next release the assembly info will change to 5.0.0.
> 
> Paulo 
> 
>> -Original Message-
>> From: Brian Chappell [mailto:br...@orcamediauk.co.uk] 
>> Sent: Monday, December 07, 2009 1:23 PM
>> To: 'Post all your questions about iText here'
>> Subject: Re: [iText-questions] Silent license change?
>>
>> Thanks for that clarification Paulo, it does leave me a 
>> little confused
>> however.
>>
>> If you pull the 106 revision (or in fact any revision after 98) the
>> AssemblyInfo still states a version of 4.1.6 but the license 
>> in each file is
>> AGPL as is the License indicated in the Develop tab of whole 
>> the project.
>> More than a little confusing, until that version number 
>> changes isn't this
>> still 4.1.6? The revision may have changed but the published 
>> version number
>> has remained the same. Where does this leave 4.1.6 rev 106? 
>> Is it LGPL/MPL
>> or is the source supposed to be 5.0.0 and is AGPL?
>>
>> Maybe a branch would be the better way to get the 5.0.0 tree underway.
>>
>> -Original Message-
>> From: Paulo Soares [mailto:psoa...@glintt.com] 
>> Sent: 07 December 2009 12:48 PM
>> To: Post all your questions about iText here
>> Subject: Re: [iText-questions] Silent license change?
>>
>> 4.1.6/4.2.0 will stay LGPL/MPL forever, it's not possible to 
>> change licenses
>> retroactively. Newer versions will be AGPL.
>>
>> Paulo 
> 
> 
> Aviso Legal:
> 
> Esta mensagem é destinada exclusivamente ao destinatário. Pode conter 
> informação confidencial ou legalmente protegida. A incorrecta transmissão 
> desta mensagem não significa a perca de confidencialidade. Se esta mensagem 
> for recebida por engano, por favor envie-a de volta para o remetente e 
> apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o 
> destinatário de usar, revelar ou distribuir qualquer parte desta mensagem. 
> 
> 
> 
> Disclaimer:
> 
> This message is destined exclusively to the intended receiver. It may contain 
> confidential or legally protected information. The incorrect transmission of 
> this message does not mean the loss of its confidentiality. If this message 
> is received by mistake, please send it back to the sender and delete it from 
> your system immediately. It is forbidden to any person who is not the 
> intended receiver to use, distribute or copy any part of this message.
> 
> 
> 
> 
> 
> 
> 
> --
> Join us December 9, 2009 for the Red Hat Virtual Experience,
> a free event focused on virtualization and cloud computing. 
> Attend in-depth sessions from your desk. Your couch. Anywhere.
> http://p.sf.net/sfu/redhat-sfdev2dev
> 
> 
> 
> 
> ___
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 
> Buy the iText book: http://www.1t3xt.com/docs/book.php
> Check the site with examples before you ask questions: 
> http://www.1t3xt.info/examples/
> You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


[iText-questions] controlling whitespace with PdfContentByte.ShowText

2009-12-07 Thread Ben Vogan
Hi all,

 

I am trying to build a PDF based on OCR data and to place the text
behind the source image.  I am running into problems getting proper
spacing between words.  I am able to get the text position to match the
image using PdfContentByte.SetTextMatrix and PdfContentByte.ShowText for
each individual character (including whitespace characters) however when
selecting the text in the produced PDF there are very few (and randomly
placed) spaces between words.  I also tried using
PdfContentByte.ShowText on entire words and lines (although the text
size no longer matched the image as closely) but again there were only a
few randomly placed spaces.

 

I tried calculating the character and word spacing for a particular line
of OCR text and scaling those values to match the PDF size and setting
PdfContentByte.SetWordSpacing and PdfContentByte.SetCharacterSpacing but
it did not appear to have any effect.

 

How do I control whitespace when using PdfContentByte.ShowText?  

 

Thanks,

--Ben

--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Re: [iText-questions] Silent license change?

2009-12-07 Thread Brian Chappell
Sorry Paulo, but what do you mean you don't see where there's doubt? You
have the potential of multiple DLLs all reporting 4.1.6 as their version and
no way of telling if it's a LGPL/MPL or and AGPL licensed release unless you
are working from the source. That's confusion to me. The announcement was
that 5.0.0 and on would be AGPL yet 4.1.6 SVN revision 99 to 106 (at least)
has had the license changed from LGPL/MPL to AGPL.

I'm not against the change of license, it's your software you do what you
want, but I do need to have a clear understanding of what version is
licensed how and when so that I can make sure I'm in compliance until your
sales team get around to contacting me. 

-Original Message-
From: Paulo Soares [mailto:psoa...@glintt.com] 
Sent: 07 December 2009 3:31 PM
To: Post all your questions about iText here
Subject: Re: [iText-questions] Silent license change?

>From version 99 onward is AGPL as written in the log "Change of license to
AGPL and removal of a mail address." and as written in all the files, I
don't see where's the doubt. The next release will be tomorrow and it will
be 5.0.0 and AGPL. With the next release the assembly info will change to
5.0.0.

Paulo 



--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


[iText-questions] Row Spans in Long Tables

2009-12-07 Thread Pranit

Hi,
I have been using iText for a while now, I have upgraded to the 2.1.7
version. I am trying to use it to generate reports in the pdf format. 

The problem I am facing is that when there are huge tables and I use row
spans, the row spans span onto a few pages making the report difficult to
understand as there an entire column without data sometimes even two.

Can anybody suggest me how to repeat the row data only once on each page if
there is a span and the page has to go to the next page?

Also I have noticed that the performance takes a big hit when I have tables
who implement a lot of row spans, is there any particular explanation for
that?


Thanks

Pranit
-- 
View this message in context: 
http://old.nabble.com/Row-Spans-in-Long-Tables-tp26687235p26687235.html
Sent from the iText - General mailing list archive at Nabble.com.


--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


Re: [iText-questions] Row Spans in Long Tables

2009-12-07 Thread 1T3XT info
Pranit wrote:
> The problem I am facing is that when there are huge tables and I use row
> spans, the row spans span onto a few pages making the report difficult to
> understand as there an entire column without data sometimes even two.

Isn't that a consequence that was to be expected when using rowspan?
Depending on the context, you could:
- use a table header (that way the column isn't entirely empty)
- switch to using nested tables (I don't know if this solves anything,
   but it could give you more control).
- use table/cell events (again: without seeing the project and the
   data that goes into the table, I can guarantee this solves anything.)
- ...

> Can anybody suggest me how to repeat the row data only once on each page if
> there is a span and the page has to go to the next page?

At first sight, I'd say: don't add the content that needs to be
repeated to the cell, but add it to a cell event.

> Also I have noticed that the performance takes a big hit when I have tables
> who implement a lot of row spans, is there any particular explanation for
> that?

If you use rowspan, iText has to "think several rows ahead".
While constructing the rows, it has to "look back several rows".
That's expensive in terms of CPU.
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/