Re: [iText-questions] iText 5.0 documentation

2010-01-20 Thread Xavier Le Vourch
As I'm the one who added the maven pom.xml file and the automatic sync
to the maven repositories, I'll have a look at it and update the group
identifier to reflect the package name change. This should not be too
difficult to implement so Maven users can also get iText 5.0.


Best Regards,

Xavier Le Vourch

--
XLV Labs

Publisher of Who Called?, Caller Id application for Android phones:

http://www.xlv-labs.com/whocalled




On Wed, Jan 20, 2010 at 1:09 AM, mkl m...@wir-sind-cool.org wrote:


 1T3XT info wrote:
 mkl wrote:
 That wont be too big a problem. As iText changes substantially, it would
 be
 very much ok to publish the new iText artifacts using a different group
 identifier which may very well be com.itextpdf instead of the former
 com.lowagie. Additionally the mainClass entry has to be updated to
 reflect
 the new packages. At first glance that's all there is to change.

 But that's something that has to be done by the Maven/Doxia/iBiblio
 people, isn't it? That's not something the iText people can do?
 Or am I wrong about this?

 I'm not sure how they do it; quite likely, though, they use the group id
 from the pom file. Changing that id, therefore, would be a good start... ;)

 Regards,   Michael.
 --
 View this message in context: 
 http://old.nabble.com/iText-5.0-documentation-tp27026911p27238618.html
 Sent from the iText - General mailing list archive at Nabble.com.


 --
 Throughout its 18-year history, RSA Conference consistently attracts the
 world's best and brightest in the field, creating opportunities for Conference
 attendees to learn about information security's most important issues through
 interactions with peers, luminaries and emerging and established companies.
 http://p.sf.net/sfu/rsaconf-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/


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-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] Dependency issue with new version of iText 2.1.7 found in maven repository

2009-07-30 Thread Xavier Le Vourch
tomdw wrote:
 Same problem here at our company. Build broken because the
 bouncycastle:bctsp-jdk14:jar:138 dependency is missing. Reason: the maven
 repositories which contain iText do NOT contain the bctsp jar from
 bouncycastle. Can you please upload that?

I've just modified the pom.xml used for iText to point to a new location
on the maven repository that contains all the needed jar files. I'll
test it more this week-end but the issue should be resolved in the next
version.

Note that the Bouncy Castle people do not upload to the maven repository
and I had to submit upload requests in the past for the needed files.
The dependency on the time stamp jar file was added in a recent version
of iText.


In the short term, you can install the jar file in your local repository
cache using:

mvn install:install-file -Dfile=lib/bctsp-jdk14-138.jar
-DgroupId=bouncycastle -DartifactId=bctsp-jdk14 -Dversion=138
-Dpackaging=jar

Running this from iText's top directory will install the jar file and
the dependency will be solved on your system.



Best Regards,

Xavier Le Vourch

--
XLV Labs

Publisher of Who Called?, Caller Id application for Android phones:

http://www.xlv-labs.com/whocalled

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] little API error

2009-07-09 Thread Xavier Le Vourch
Qingyu Han wrote:
 Hi,
 
 I just found an error in the online verion API
 (http://www.1t3xt.info/api/), under class Font, method isItalic():
 
 |boolean| |*isItalic
 http://www.1t3xt.info/api/com/lowagie/text/Font.html#isItalic%28%29*()|
   checks if this font is Bold.
 
 
 I think it should be checks if this font is Italic.

Thanks for pointing this out. It's now fixed in svn and will be in the
next release.


Xavier

--
XLV Labs

Publisher of Who Called?, Caller Id application for Android phones:

http://www.xlv-labs.com/whocalled

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
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] PDF with embedded Flash

2009-05-14 Thread Xavier Le Vourch
Nascif wrote:
 I have generated the pdf using the RichMediaAnnotation that Bruno added
 to iText upon my company's request, but what I am experiencing is
 happening with other pdf files with embedded Flash movies.  
 
 I have great interest in the extension too - my company also wants to create
 PDFs with embedded swfs and data on the fly using iText.
 
 Is this extension going to be added to a future main iText distribution
 (please)? The latest version (2.1.5) is from March 8, but based on the
 e-mail exchange dates, the extension was added between March 20 and March
 30.

If you want to have access to the latest code from svn, a snapshot is
generated daily on my server at:

 http://www.xlv-labs.com/itext/snapshots/

Just to reiterate what's in the introduction there, this is a preview of
the next version and should not be used in production code as it may
contain unstable features.

The API changes are also available at:

http://www.xlv-labs.com/itext/changes/2.1.5-2.1.6-SNAPSHOT/changes.html


That should help you get started with using the RichMedia extension.


Best Regards,

Xavier Le Vourch

--
XLV Labs

Publisher of Who Called?, Caller Id application for Android phones:

http://www.xlv-labs.com/whocalled

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
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] class file has wrong version 48.0, should be 47.0

2009-04-22 Thread Xavier Le Vourch
Alexis Pigeon wrote:
 Hi Rutvik,
 
 2009/4/22 Rutvik Upadhyay rutvikupadh...@hotmail.com:
 Hello All,

 I am using JDK 1.5  iText 2.1.5 Version.

 Below mentioned error occured during compilation:
 
 iText is compiled against JDK 1.4.
 You can find a branch for compilation against JDK 1.5 here :
  http://itext.svn.sourceforge.net/viewvc/itext/branches/ 

 However, IIRC, these branches are not stable.

There are currently two branches that I update after each official
release of iText.

iText-jdk13 can be used as its name implies with the 1.3 JDK (are there
still people using it?). The changes there are minimal and the version
is stable.

iText-jdk15 brings JDK 1.5 syntax to the library. Some of the method
signatures have been changed to include generics and sometimes extra
methods have been added or non generic method signatures changed due to
stricter compilation type checks. That branch is not stable and should
not be used for production code.

It is really a proof of concept that could be used as a starting point
when/if we update the trunk version to use Java 1.5. As Bruno mentioned,
the standard version compiled with Java 1.4 works fine with newer
versions of the JDK, we just don't get the extra benefit of generics in
method signatures.


Best Regards,

Xavier Le Vourch

--
XLV Labs

Publisher of Who Called?, Caller Id application for Android phones:

http://www.xlv-labs.com/whocalled

--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
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


Re: [iText-questions] PdfPTable Header Height (and question about submitting patches)

2009-04-22 Thread Xavier Le Vourch
Sam Gibson wrote:
 Hey guys,
 
 I believe there's a bug in the way that the PdfPTable computes it's
 header heights in the jdk15 branch (I haven't confirmed that it exists
 in other branches). Instead of reading only the header rows to compute
 the height, it was reading all the rows and suming their heights.

 It was causing problems for me in an application that I'm writing so I
 just made the change to my local copy and things seems to be working
 correctly now.


That was a problem introduced during the initial conversion to Java 1.5
syntax or during a later merge after a new release. I've now fixed the
problem in svn and the updated code is similar to the version from the
trunk.

Please make sure to read the post I made earlier today describing the
status of the branches:

http://www.nabble.com/Re%3A-class-file-has-wrong-version-48.0%2C-should-be-%0947.0-p23180908.html


Let me point it out again: the iText-jdk15 branch should not be used for
production code. It is a proof of concept of the migration to Java 1.5.


 I am perhaps vastly misunderstanding the code, but the change seems to
 be correct to me. I'm not clear on how to submit a patch, nothing on the
 website has any info, so I thought I'd try the mailing list.

The standard way is to use the sourceforge tracker for that but posting
on the list works too :)


Best Regards,

Xavier Le Vourch

--
XLV Labs

Publisher of Who Called?, Caller Id application for Android phones:

http://www.xlv-labs.com/whocalled

--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
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


Re: [iText-questions] NullPointerException in PdfWriter.getNewObjectNumber

2009-04-16 Thread Xavier Le Vourch
Michael Schierl wrote:
 Hello again,
 
 now I managed to condense the bad PDF I wrote about in the
 postscriptum of my last email to one small page that still shows the
 behaviour.

I've just added two new tests cases in SVN based on the two pdf files
you sent to the list. The first one is now fixed by Bruno's change but
the one from this thread still fails with a NPE.

Now that there are Junit test cases for those two examples, we shouldn't
get regression problems any longer in future versions...


 This is reproducible both with iText 2.1.5 and with the latest SVN
 (revision 3863). The stacktrace above is from SVN.
 
 By the way, revision 3863 seems to fix my last reported bug in the
 example document I attached, but not in the original document where I
 got it reported. It seemed to be much harder to reproduce it now,
 however. I'll try to build a small new PDF that can reproduce it properly.


Best Regards,

Xavier Le Vourch

--
XLV Labs

Publisher of Who Called?, Caller Id application for Android phones:

http://www.xlv-labs.com/whocalled

--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
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


Re: [iText-questions] iText Version

2009-04-16 Thread Xavier Le Vourch
Tummala-t, Kumar wrote:
 Hi,
  
 We are using iText 1.02(b) for our application.
  
 Now we need to upgrade our app from jdk 1.4.2_13 to jdk 1.5.0_09.
 Please let us know if we need to use any latest version of the iText
 (or) we can continue without any issues with iText 1.02(b) which we
 would prefer to reduce any risks from our application point of view.

Moving from jdk 1.4.2 to 1.5 should not be a problem as Java 1.5 is
backward compatible.

That being said, you do realize that iText 1.02 is really old, released
in February 2004. You should probably consider updating your application
at a later time once your migration to jdk 1.5 is complete as you will
not get support on the mailing list for 1.0.2, should a problem arise.

If needed, iText Software, http://itextsoftware.com/, may provide some
help but that would most likely be in a contract helping you migrate
your code to a recent iText version.



Best Regards,

Xavier Le Vourch

--
XLV Labs

Publisher of Who Called?, Caller Id application for Android phones:

http://www.xlv-labs.com/whocalled

--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
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


Re: [iText-questions] Refactored iText

2009-04-15 Thread Xavier Le Vourch
Paul Hastings wrote:
 Mike Sargent wrote:
 I'm trying to use the latest iText along side BlueDragon server, which 
 
 why? what are you trying to do? if you don't care about using cfdocument, 
 just 
 replace the jar that comes w/BD.
 
 Not being a java programmer, I have no clue how to refactor a jar file.
 
 you don't, you refactor the code. d/l the source, pop it into your java 
 editor 
 (say eclipse)  have it refactor/rename the itext package.


If you absolutely need to have the two versions present at the same
time, there is a tool called jarjar that can repackage a jar file and
rename all classes to use a different prefix.

You can have a look at some examples on their wiki:

http://code.google.com/p/jarjar/wiki/GettingStarted

Of course, you may end up with confusing class loading problems but in
the case of the original poster, it should work fine if he only uses the
classes with the new package name.


Best Regards,

Xavier Le Vourch

--
XLV Labs

Publisher of Who Called?, Caller Id application for Android phones:

http://www.xlv-labs.com/whocalled

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
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


Re: [iText-questions] Compiling 1.3 branch with jdk 1.3 results in The type Class is not generic error

2009-03-04 Thread Xavier Le Vourch

jens.schwendem...@hansgrohe.com wrote:
 Hi List,

 ERROR:
 I have a problem compiling the jdk 1.3 branch of itext using eclipse.
 It gives me this error:
  [...]


This must be a problem with your setup as it works fine from the command
line using the following commands:


svn co
https://itext.svn.sourceforge.net/svnroot/itext/branches/iText-jdk13 .

export JAVA_HOME=/usr/java/jdk1.3.1_20

export PATH=$JAVA_HOME/bin:$PATH

which javac
   /usr/java/jdk1.3.1_20/bin/javac

cd src

ant jar
--

and that works fine.


Best regards,

Xavier Le Vourch



 The type Class is not generic; it cannot be parameterized with arguments ? 
 extends Throwable  Anchor.java
 itext1.3/src/core/com/lowagie/text  line 1  Java Problem
 
 I've installed JDK 1.3.1_20 and configured eclipse accordingly to the 
 tutorial using eclipse to create own itext jars.
 
 GOAL:
 What I want to achieve in the long run is to create PDFs from a notes 
 database. The documents that reside in there have
 attachements. The PDF should contain the notes documents as well as the 
 attachments. I'm pretty sure how to get to this but
 failing at the very beginning :-(
 
 MY BACKGROUND:
 I'm a newb at java, so please be gentle, but I've surely googled and read the 
 faq with no result.
 
 MY (WEB)RESOURCES:
 
 Source Code Branch: 
 http://itext.svn.sourceforge.net/viewvc/itext/branches/iText-jdk13.tar.gz?view=tar
 Tutorial using Eclipse to create own itext jar: 
 http://www.lowagie.com/iText/svn.html
 Only matching google entry with same problem (unsolved):
 http://www.nabble.com/compiling-iText-jdk13-using-Domino-6.5.-The-type-Class-is-not-generic-for-Anchor.java-td20186745.html
 
 Thanks a heap for all suggestions
 
 Cheers. Jens
 
 
 ==
 Erleben Sie Hansgrohe mit Original Design Innovationen 
 auf der ISH 2009 in Frankfurt am Main:
 10. bis 14. Maerz 2009,  Halle 2.0, Stand A.02
 
 You are kindly invited to experience Hansgrohe original design innovations 
 at the ISH fair 2009 in Frankfurt am Main:
 March 10 to 14, 2009,  Hall 2.0, Stand A.02
 ==
 
 
 Hansgrohe AG
 Sitz:
 Auestr. 5-9
 D-77761 Schiltach
 Tel.: +49 7836 51-0
 Fax: +49 7836 51-1300
 E-Mail: i...@hansgrohe.com
 Internet: http://www.hansgrohe.com
 
 Handelsregister
 Amtsgericht Stuttgart HRB 481038
 UST.-IDNR.: DE 812782725
 
 Vorstand:
 Siegfried Gaensslen (Vorsitzender), Richard Grohe (stellv. 
 Vorstandsvorsitzender), Karl-Heinz Hammann, Otto Schinle
 Aufsichtsratsvorsitzender:
 Klaus Grohe
 
 Diese E-Mail enthaelt vertrauliche und / oder rechtlich geschuetzte 
 Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail 
 irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und 
 vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte 
 Weitergabe dieser Mail ist nicht gestattet.
 
 This e-mail may contain confidential and/or privileged information. If you 
 are not the intended recipient (or have received this e-mail in error) please 
 notify the sender immediately and destroy this e-mail. Any unauthorized 
 copying, disclosure or distribution of the material in this e-mail is 
 strictly forbidden.
 
 
 --
 Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
 -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
 -Strategies to boost innovation and cut costs with open source participation
 -Receive a $600 discount off the registration fee with the source code: SFAD
 http://p.sf.net/sfu/XcvMzF8H
 ___
 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


-- 
Xavier Le Vourch

PGP Key (ID 0x896C5947): http://xlv-labs.com/gpg_key.asc
Key fingerprint: 73B3 6370 B8C5 4325 F2D8  4115 0372 5805 896C 5947

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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


Re: [iText-questions] iText-jdk15

2009-02-18 Thread Xavier Le Vourch
Cyr, Pascal wrote:
 Hi.

 I made the SVN checkout from the sourceforge directory for the
 itext-jdk15 code but it doesn’t compile. I looked at the errors and the
 problem is that it uses some code from JSE 6. Since I use Rational
 Software Architect 7.0, which uses jdk 1.5, it doesn’t compile.

First a small disclaimer about the iText-jdk15 version taken from
another email I sent to the list recently:

Please do not use the iText-jdk15 branch for development. It's currently
more of an experiment to figure out what will be needed to switch to
Java 1.5. Some changes were needed to make sure generics worked as
expected. You will not get support from the mailing list by using that
version.

Besides, I only update it after each official release so you will not
get the latest unreleased changes.


 Here are the places where the JSE 6 code is used.
 [...]

Those three classes are part of the toolbox module and even the version
on the trunk requires the 1.6 jdk to compile.

Only the iText.jar and iText-rtf.jar can be built with jdk 1.4 in the
official version and with jdk 1.5 on the iText-jdk15 branch.



Best regards,
Xavier Le Vourch

-- 
Xavier Le Vourch

PGP Key (ID 0x896C5947): http://xlv-labs.com/gpg_key.asc
Key fingerprint: 73B3 6370 B8C5 4325 F2D8  4115 0372 5805 896C 5947

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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

Re: [iText-questions] Problem with latest SVN?

2009-02-08 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Dominic,

Dominic Maricic wrote:
 I just downloaded and built the latest SVN from
 https://itext.svn.sourceforge.net/svnroot/itext/branches/iText-jdk15/ and
 created this Jar:  http://www.nabble.com/file/p21894078/iText-jdk15.jar
 iText-jdk15.jar 
 
 I'm getting an error though when adding a string to a Paragraph object: 
 C:\MyProgram\src\myprogram\myprogram.java:147: cannot find symbol
 symbol  : method add(java.lang.String)
 location: class com.lowagie.text.Paragraph
 content.add(\n);
 
 I looked at the Paragraph.java file which calls Phrase.java and both had
 .add(String) methods so I'm at a loss. Any ideas?


Please do not use the iText-jdk15 branch for development. It's currently
more of an experiment to figure out what will be needed to switch to
Java 1.5. Some changes were needed to make sure generics worked as
expected. You will not get support from the mailing list by using that
version.

Besides, I only update it after each official release so you will not
get the latest unreleased changes.

Instead, use the official version from the svn trunk:

  https://itext.svn.sourceforge.net/svnroot/itext/trunk/


Or if you do not want to build it yourself, a daily snapshot is
generated on my server at:

  http://brittanysoftware.com/itext/snapshots/


BTW, I think the problem when using the 1.5 version, is that add() now
takes an Element as an argument and addObject(Object o) was added to
deal with adding other types to the paragraph.


Best regards,

Xavier Le Vourch

- --
Xavier Le Vourch
Brittany Software, Inc.
xav...@brittanysoftware.com

PGP Key (ID 0x896C5947): http://brittanysoftware.com/gpg_key.asc
Key fingerprint: 73B3 6370 B8C5 4325 F2D8  4115 0372 5805 896C 5947
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmPI7wACgkQA3JYBYlsWUdk0QCeJJy9Vs2qqfnvF1+rloYOzFNd
wS0AniMYBNGNWb7XkRpE9EJcLqupin7+
=b6fH
-END PGP SIGNATURE-

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
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


Re: [iText-questions] iText unit test access?

2009-01-26 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Hi Mark,

Mark Storer wrote:
 I'm trying to port my own funky branch of iText-paulo155 to the trunk 
 (primarily
 for PDF/A and the updated PdfEncryption classes), and would dearly like to run
 some tests so I can have some degree of confidence that I haven't horribly
 broken anything.
 
 These tests aren't available as part of the source download (though the ANT
 files referring to them are...), so I was wondering if I could trouble The
 Powers That Be for access to them.

On a pristine svn checkout, it seems to be working fine for me using one
of the three test targets: 'test', 'test.swing' and 'test.rtf'

The 'jdiff' target needs some setup to point to the previous release but
that's just to generate the API differences and flag the missing @since
tags and does not run junit tests.

As mentioned in the email I inadvertently sent to the user list last
week, I have extra tests on my continuous integration server but that's
just for test coverage and I don't think I've polluted the standard
build with that setup...


Maybe you could contact me offlist to explain your problem in more
details and I can update/fix the build process.


Best regards,

Xavier Le Vourch

- --
Xavier Le Vourch
Brittany Software, Inc.
xav...@brittanysoftware.com

PGP Key (ID 0x896C5947): http://brittanysoftware.com/gpg_key.asc
Key fingerprint: 73B3 6370 B8C5 4325 F2D8  4115 0372 5805 896C 5947
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkl+C5wACgkQA3JYBYlsWUeTTgCeIBV+V/jQZFwiu3kg/1JHBpva
Nr0An2SPBQYdTmW93LneTCttjAPAEzN+
=e33e
-END PGP SIGNATURE-

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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


Re: [iText-questions] iText unit test access?

2009-01-26 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Xavier Le Vourch wrote:
 
 Hi Mark,
 
 Mark Storer wrote:
 I'm trying to port my own funky branch of iText-paulo155 to the trunk 
 (primarily
 for PDF/A and the updated PdfEncryption classes), and would dearly like to 
 run
 some tests so I can have some degree of confidence that I haven't horribly
 broken anything.
 
 These tests aren't available as part of the source download (though the ANT
 files referring to them are...), so I was wondering if I could trouble The
 Powers That Be for access to them.
 
 On a pristine svn checkout, it seems to be working fine for me using one
 of the three test targets: 'test', 'test.swing' and 'test.rtf'

one extra comment: those targets are not available from the standard
build.xml file, you need to use ant -f test.xml test or similar to run
them.


Xavier

- --
Xavier Le Vourch
Brittany Software, Inc.
xav...@brittanysoftware.com

PGP Key (ID 0x896C5947): http://brittanysoftware.com/gpg_key.asc
Key fingerprint: 73B3 6370 B8C5 4325 F2D8  4115 0372 5805 896C 5947
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkl+DVQACgkQA3JYBYlsWUc5ggCglrx6ZTRBImuiS57jClIWmMc2
7MAAoI/gXNH1DdA9y76hBBxXNKSZayfO
=qn+p
-END PGP SIGNATURE-

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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


Re: [iText-questions] [Fatal Error] :22:20: Premature end of file.

2009-01-19 Thread Xavier Le Vourch
John Tunison wrote:
 Hi all,
 
 I'm not sure whether this is user error or a bug in the library, but
 upon switching from iText-2.1.1.jar to iText-2.1.4.jar, one of my PDF
 stamping classes starts failing.  It doesn't throw an exception, it
 merely outputs to stderr:
 
 [Fatal Error] :22:20: Premature end of file.
 
 Any insight?  Am I doing something wrong?  I'll try to build an isolated
 test case as well...

The only location Premature end of file appears in the iText source
code is in class PngImage and it throws an IOException so you must be
catching the exception somewhere up the stack call.

Maybe you've changed some of the images in your application or the
changes in that class since 2.1.1 introduced a problem. In any case,
knowing that the error is related to PNG images should help you isolate
the problem and send us a test case if needed.


Best regards,

Xavier Le Vourch

-- 
Xavier Le Vourch
Brittany Software, Inc.
xav...@brittanysoftware.com

PGP Key (ID 0x896C5947): http://brittanysoftware.com/gpg_key.asc
Key fingerprint: 73B3 6370 B8C5 4325 F2D8  4115 0372 5805 896C 5947

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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


[iText-questions] Code coverage added to CI page for iText-snapshot

2009-01-17 Thread Xavier Le Vourch
Hi guys,

As briefly mentioned in the answer to Kevin's message yesterday, I've
added code coverage to the iText-snapshot page on my hudson server.

Initially I only used the JUnit test cases from the trunk (about 30 test
cases) but then I automatically created test cases for all the examples
at the top level of the svn tree (classroom, in_action, questions) and
that added 399 extra tests.


You can see the increase of coverage from build 50 to 51 when that was
introduced.

The instrumentation is done with Clover (I got an open source license
from Atlassian for use by iText).

The snapshot page (with the historical graph) is at:

 http://hudson.brittanysoftware.com/job/iText-snapshot/

and the latest coverage results in html at:

 http://hudson.brittanysoftware.com/job/iText-snapshot/clover/


The current setup does not include testing of the rtf code but that's on
my to do list...


Let me know what you think of the setup,


Xavier

-- 
Xavier Le Vourch
Brittany Software, Inc.
xav...@brittanysoftware.com

PGP Key (ID 0x896C5947): http://brittanysoftware.com/gpg_key.asc
Key fingerprint: 73B3 6370 B8C5 4325 F2D8  4115 0372 5805 896C 5947

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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


Re: [iText-questions] Code coverage added to CI page for iText-snapshot

2009-01-17 Thread Xavier Le Vourch
Oops, that was intended for the iText developer list, not the user list.

I should have checked the auto completion of email addresses in my mail
client a little bit more carefully...

Xavier


Xavier Le Vourch wrote:
 Hi guys,
 
 As briefly mentioned in the answer to Kevin's message yesterday, I've
 added code coverage to the iText-snapshot page on my hudson server.
 
 Initially I only used the JUnit test cases from the trunk (about 30 test
 cases) but then I automatically created test cases for all the examples
 at the top level of the svn tree (classroom, in_action, questions) and
 that added 399 extra tests.
 
 
 You can see the increase of coverage from build 50 to 51 when that was
 introduced.
 
 The instrumentation is done with Clover (I got an open source license
 from Atlassian for use by iText).
 
 The snapshot page (with the historical graph) is at:
 
  http://hudson.brittanysoftware.com/job/iText-snapshot/
 
 and the latest coverage results in html at:
 
  http://hudson.brittanysoftware.com/job/iText-snapshot/clover/
 
 
 The current setup does not include testing of the rtf code but that's on
 my to do list...
 
 
 Let me know what you think of the setup,
 
 
 Xavier
 


-- 
Xavier Le Vourch
Brittany Software, Inc.
xav...@brittanysoftware.com

PGP Key (ID 0x896C5947): http://brittanysoftware.com/gpg_key.asc
Key fingerprint: 73B3 6370 B8C5 4325 F2D8  4115 0372 5805 896C 5947

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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


Re: [iText-questions] RTF problem with margins

2009-01-12 Thread Xavier Le Vourch
mikees wrote:
 Hi,
 
 I have already the problem, Nobody know please ?

Je ne connais pas le code rtf donc je ne peux pas aider directement mais
c'est toujours plus facile de trouver une solution si un exemple est
fourni (code source, rtf fichier importé, ...) qui permet de reproduire
les problèmes.

Quelle version d'iText est utilisée?

---

I don't really know the rtf part so I cannot help directly but it's
always easier to debug the issue if an example is attached (including
source code, rtf input file, ...) so that the problems can be reproduced.

Which iText version are you using?


Best regards,

Xavier Le Vourch

 
 mikees wrote:
 Hello,

 I have to create a rtf document with many pages. Each page must have
 different margins.
 I tried the method setMargins() but the generated document has the last
 setMargin () for the entire rtf document and not on each page...

 also, I use the method RTFWriter2.importRtfDocument(MyDocument) and all
 page of rtf document have margins of document imported(MyDocument).

 Thanks.

 Sorry for my english, I'm french...:blush:

 


-- 
Xavier Le Vourch
Brittany Software, Inc.
xav...@brittanysoftware.com

PGP Key (ID 0x896C5947): http://brittanysoftware.com/gpg_key.asc
Key fingerprint: 73B3 6370 B8C5 4325 F2D8  4115 0372 5805 896C 5947

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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

Re: [iText-questions] iText memory issue

2009-01-05 Thread Xavier Le Vourch
Paulo Soares wrote:
 http://itext.svn.sourceforge.net/viewvc/itext?view=revrevision=3632
 
 Paulo


In addition, if you want to get a newer version of iText containing this
fix without building it from svn, you can access recent daily snapshots
on my server at:

  http://brittanysoftware.com/itext/snapshots/

The change above was done about 10 days ago.


Best regards,

Xavier Le Vourch


 -Original Message-
 From: Mallin, Eoin [mailto:emal...@revenue.ie] 
 Sent: Monday, January 05, 2009 12:18 PM
 To: itext-questions@lists.sourceforge.net
 Subject: Re: [iText-questions] iText memory issue


 Hi,
 following on from my mail on the 23/12, we've built a version 
 a iText which
 explicitly calls on the end() method on the Deflater object in the
 com.lowagie.text.pdf.PdfStream class. This has successfully 
 resolved our
 memory issue on Solaris 9. The Sun Bug ID that describes this issue is
 4797189 (http://bugs.sun.com/view_bug.do?bug_id=4797189). Can this be
 included in a future release of iText? We're reluctant to release the
 binaries we've built as this would affect backward 
 compatibility with future
 versions. I've attached a copy of the code changes I've made.

 Many thanks,
 Eoin Mallin

-- 
Xavier Le Vourch
Brittany Software, Inc.
xav...@brittanysoftware.com

PGP Key (ID 0x896C5947): http://brittanysoftware.com/gpg_key.asc
Key fingerprint: 73B3 6370 B8C5 4325 F2D8  4115 0372 5805 896C 5947

--
___
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


Re: [iText-questions] tiff2pdf - pdf image does not match tiff

2008-12-29 Thread Xavier Le Vourch
Ravi Desai wrote:
 Hi,
 
 We are trying to use iText Library for converting Fax TIFF images to
 PDF. We are observing that with the following code snippet, the output
 PDF page size matches the input TIFF page size but the image within the
 PDF is shrunk by approx 1/4inch when compared to the input TIFF File.
 
 What may be the possible reason for this shrinkage? How can this be
 corrected?

You need to make sure that Document.setPageSize() is called before
open() to have any impact for the first page. In your code, the first
page size will always be LETTER.


Xavier

-- 
Xavier Le Vourch
Brittany Software, Inc.
xav...@brittanysoftware.com

PGP Key (ID 0x896C5947): http://brittanysoftware.com/gpg_key.asc
Key fingerprint: 73B3 6370 B8C5 4325 F2D8  4115 0372 5805 896C 5947

--
___
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


Re: [iText-questions] Found bug in BaseFont's handling of .ttc fonts

2008-12-27 Thread Xavier Le Vourch
mister bean wrote:
 Creating BaseFonts from .ttc files give spurious DocumentException errors.
 This appears to be caused by this error at the end of line 567 of
 com.lowagie.text.pdf.BaseFont.java:
 
 [...] || nameBase.toLowerCase().indexOf(.ttc,)
 
 The literal for the ending of the file name should be .ttc not .ttc, 
 
 That is, there should be no comma.
 
 Unless I'm crazy (always a possibility!) can this be fixed?

Based on the javadoc for the method, font names can be of the form
msgothic.ttc,1 so it seems that the indexOf() should do the job fine
at least for the part detecting the type of font used.

Could you provide more info on how you're using the method and what's
causing the exception? The full stack trace and a small self contained
example would also be helpful.


Thanks,

Xavier

-- 
Xavier Le Vourch
Brittany Software, Inc.
xav...@brittanysoftware.com

PGP Key (ID 0x896C5947): http://brittanysoftware.com/gpg_key.asc
Key fingerprint: 73B3 6370 B8C5 4325 F2D8  4115 0372 5805 896C 5947

--
___
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


Re: [iText-questions] RTF/iText on the mainframe

2008-08-09 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

ek1975 wrote:
| Xavier,
| Thanks for your help. I appreciate it. Could you tell me what JRE version
| were used to create these jar files please? If it's 1.4.2, I can download
| it. Otherwise I will follow your instructions to create my own jar file.

The jars are created using the standard compilation options defined in
the src/ant configuration files so they are compatible with 1.4.

FYI, the core and rtf packages work with 1.4+ and the toolbox and rups
require 1.5+ so you should be fine using the snapshot jar files.


Xavier


| Thanks again
|
|
|
| Xavier Le Vourch wrote:
| ek1975 wrote:
| | Hello,
| | I tried to create the jar files following the instructions at
| | http://www.lowagie.com/iText/svn.html. The output jar files were
| | itext-hyph-xml, iTextAsian and iTextAsianCmaps. I didn't find any
| iText.jar
| | file.
| | The version of iText  I have on the mainframe is 2.0.4. Should I do
| | something else to create the iText.jar file. Could you throw me a few
| | pointers when you get a chance please? Thanks.
| |
|
| The easiest way to generate the jar files yourself is probably to call
| ant jar jar.rtf from the src directory once you've checked out a fresh
| copy of the code from svn (using svn co
| https://itext.svn.sourceforge.net/svnroot/itext/trunk; from the command
| line for instance). The jar files will be generated in the lib directory.
|
| Alternatively, if you don't want to compile the code yourself, a
| snapshot of the development version is automatically generated daily on
| my server and it now contains Howard's changes. It's located at:
|
| ~  http://brittanysoftware.com/itext/snapshots/
|
| You'll need to get both the iText-2.1.4-SNAPSHOT.jar and
| iText-rtf-2.1.4-SNAPSHOT.jar archives.
|
|
| Best regards,
|
| Xavier Le Vourch
|
- --
Xavier Le Vourch
Brittany Software, Inc.
[EMAIL PROTECTED]

PGP Key (ID 0x896C5947): http://brittanysoftware.com/gpg_key.asc
Key fingerprint: 73B3 6370 B8C5 4325 F2D8  4115 0372 5805 896C 5947
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFInet6A3JYBYlsWUcRAp9pAJ0Tp87QgVsKaL+7r2mhgL6Pv+U9ggCcCrJ5
WkCQyBQTVfhPHwtBR47GU+Y=
=xN+r
-END PGP SIGNATURE-

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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


Re: [iText-questions] RTF/iText on the mainframe

2008-08-08 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

ek1975 wrote:
| Hello,
| I tried to create the jar files following the instructions at
| http://www.lowagie.com/iText/svn.html. The output jar files were
| itext-hyph-xml, iTextAsian and iTextAsianCmaps. I didn't find any
iText.jar
| file.
| The version of iText  I have on the mainframe is 2.0.4. Should I do
| something else to create the iText.jar file. Could you throw me a few
| pointers when you get a chance please? Thanks.
|

The easiest way to generate the jar files yourself is probably to call
ant jar jar.rtf from the src directory once you've checked out a fresh
copy of the code from svn (using svn co
https://itext.svn.sourceforge.net/svnroot/itext/trunk; from the command
line for instance). The jar files will be generated in the lib directory.

Alternatively, if you don't want to compile the code yourself, a
snapshot of the development version is automatically generated daily on
my server and it now contains Howard's changes. It's located at:

~  http://brittanysoftware.com/itext/snapshots/

You'll need to get both the iText-2.1.4-SNAPSHOT.jar and
iText-rtf-2.1.4-SNAPSHOT.jar archives.


Best regards,

Xavier Le Vourch


|
|
|
| Paulo Soares wrote:
| That was fast! It would be nice if the OP could test it in the mainframe.
|
| Paulo
|
| - Original Message -
| From: Howard Shank [EMAIL PROTECTED]
| To: Post all your questions about iText here
| itext-questions@lists.sourceforge.net
| Sent: Wednesday, August 06, 2008 8:31 PM
| Subject: Re: [iText-questions] RTF/iText on the mainframe
|
|
| SVN has been updated with the changes recommended by Paulo to support
the
| proper byte output. Hopefully it will produce the correct output now for
| RTF
| files.
|
| Regards,
| Howard Shank


- --
Xavier Le Vourch
Brittany Software, Inc.
[EMAIL PROTECTED]

PGP Key (ID 0x896C5947): http://brittanysoftware.com/gpg_key.asc
Key fingerprint: 73B3 6370 B8C5 4325 F2D8  4115 0372 5805 896C 5947
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFInJXNA3JYBYlsWUcRAuF4AJ45/zlFmH/BQ/Dc10HSkfje4eDUeQCglUBX
Rdb8GW/oNbQwFoAF4iEax0Y=
=67ZG
-END PGP SIGNATURE-

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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


Re: [iText-questions] Proble HTML to PDF with iText

2008-07-10 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Oliver Constanso Fernandez wrote:
| Hello,
|
| I'm using iText to convert an String containing HTML to PDF with iText.
| The html is well generated, and just shows an image with IMG tag. I can
| see the HTML page correctly. The problem is when I want to convert it to
| a PDF document with iText, the code throws the following Exception:
|
| Exception occurred during event dispatching:
| ExceptionConverter: org.xml.sax.SAXParseException: required string
| (expected IMG)
| at gnu.xml.aelfred2.SAXDriver.fatal(SAXDriver.java:911)
| at gnu.xml.aelfred2.XmlParser.error(XmlParser.java:369)
| at gnu.xml.aelfred2.XmlParser.require(XmlParser.java:2573)
| at gnu.xml.aelfred2.XmlParser.parseETag(XmlParser.java:1131)
| at gnu.xml.aelfred2.XmlParser.parseContent(XmlParser.java:1202)
| at gnu.xml.aelfred2.XmlParser.parseElement(XmlParser.java:1038)
| ...
|
|
| The String containing the HTML is the following:
|
| String html = HTMLBODYIMG SRC=\Earth.gif\/BODY/HTML;

That line does not contain valid html code. The IMG tag is not
terminated. You should use:
IMG SRC=\Earth.gif\/



Best regards,

Xavier Le Vourch

- --
Xavier Le Vourch
Brittany Software, Inc.
[EMAIL PROTECTED]

PGP Key (ID 0x896C5947): http://brittanysoftware.com/gpg_key.asc
Key fingerprint: 73B3 6370 B8C5 4325 F2D8  4115 0372 5805 896C 5947
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIdjONA3JYBYlsWUcRAj42AJ99P0V9hRMGoSWWCHxDECk85wPpbACfZUg+
59wl5uSsCQmg4zPZv2L0RrM=
=rleI
-END PGP SIGNATURE-

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar


Re: [iText-questions] Sorting image files by timestamp

2008-06-11 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

pcman wrote:
| Hi,
|
| I am using the following command line to generate a pdf from a list of
image
| files.
|
| # java -cp itext-2.0.0.jar com.lowagie.tools.plugins.PhotoAlbum
|
| However when viewing the pdf, the images are sorted alphabetically by
| filename.  I want the
| images to be sorted by timestamp instead.  Is this possible and is there a
| parameter
| I can use?

This has nothing to do with iText and is a very basic Java question. A
quick google search would have returned links such as:

http://forum.java.sun.com/thread.jspa?threadID=418132messageID=1850175

Please do at least a cursory google search before posting to the mailing
list.


Best regards,

Xavier Le Vourch

- --
Xavier Le Vourch
Brittany Software, Inc.
[EMAIL PROTECTED]

PGP Key (ID 0x896C5947): http://brittanysoftware.com/gpg_key.asc
Key fingerprint: 73B3 6370 B8C5 4325 F2D8  4115 0372 5805 896C 5947
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIUD5lA3JYBYlsWUcRAmvcAJ9HlayV3um2NUu2dJcNeBcMrSEeFwCfX2RX
zPzGle6/rN9CelTmfau1MpA=
=lo0x
-END PGP SIGNATURE-

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar


Re: [iText-questions] Adding custom properties to PDF

2008-05-22 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

dayvidpow wrote:
| The easiest way is to put your data as extra keys in the info
dictionary. If
| you want it more hidden they can go to the catalog dictionary.
|
| Are there any sample / example code as to how to accomplish this?
|

I don't think there's any example for that online. To create the custom
data, use Document.addHeader() as in:

~document.addHeader(key1, value1);


To retrieve the meta data, use PdfReader.getInfo(). This will return a
hash table with all the meta data.

~   reader.getInfo().get(key1)

will return value1 based on the code sample above.


I hope this helps,


Xavier


- --
Xavier Le Vourch
Brittany Software, Inc.
[EMAIL PROTECTED]

PGP Key (ID 0x896C5947): http://brittanysoftware.com/gpg_key.asc
Key fingerprint: 73B3 6370 B8C5 4325 F2D8  4115 0372 5805 896C 5947
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFINemIA3JYBYlsWUcRAiByAKCCxuYKjY88qpDRsOyFPAMEkLwyiQCgkf2O
JxepcUY2oZvVMp08eJlftQY=
=hx6+
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar


Re: [iText-questions] Changing Page Numbers on the PDF Pages Tab

2008-05-19 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

dayvidpow wrote:
| I would like to know if it is possible to use iText to change the Page
| Numbers which are displayed below each Page Thumbnail Image on the PDF
| Pages Tab (when the PDF is viewed using Acrobat Reader) ? If so how can it
| be done ?
| Please see the attached image from a PDF showing exactly what i am
referring
| to:-
| http://www.nabble.com/file/p17316743/pdf_clip.gif pdf_clip.gif

Yes, it's possible to do it with iText, see the Page Labels example in
the tutorial:

http://itextdocs.lowagie.com/tutorial/objects/bookmarks/index.php



Best Regards,

Xavier Le Vourch

- --
Xavier Le Vourch
Brittany Software, Inc.
[EMAIL PROTECTED]

PGP Key (ID 0x896C5947): http://brittanysoftware.com/gpg_key.asc
Key fingerprint: 73B3 6370 B8C5 4325 F2D8  4115 0372 5805 896C 5947
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIMaXnA3JYBYlsWUcRAmlhAJ94p8c/BR0fxWLFryrr/JVxsJ5H0QCfVECa
/Uth1yN/BHWYJdCZTMex5AQ=
=dagl
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar


Re: [iText-questions] help me with my project

2008-04-14 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



You will not be able to mix and match classes from the two packages,
even if their code is identical except for the package name. That's a
feature of the Java classloader and there is no way you'll manage to
cast from one package to the other.

You should work with the renamed packages exclusively or make sure that
the only communication between the two libraries are complete pdf files
(in a byte array for instance) and not low level items like Document or
Section as those will be incompatible. If you only exchange pdf
documents, you should also update the real iText library to 2.1.0 to
make sure you get the benefits of the newer library.


Best regards,

Xavier Le Vourch


lakota wrote:
| Hello
|
| I have problem. I have a document with several sections.
|
| I am working with some library for example this name yupi.jar
| inside od this package is the complete structure of itext 1.3 pbut with
| other packages names.
|
| My document has several sections, I am arranged one of them. But I use
| the real package lowagie itext 1.3
|
| I have a problem with the compatibility with the namesnow
|
| new yupi.text.Document --other parts of the project
|
| new com.lowagie.text.Document;--I use this
|
| The problem is the castException...of coursebut how can i join both
| librarieswith diferent namein theory have the same structure
|
| thanks
|
|
| 
|
| -
| This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
| Don't miss this year's exciting event. There's still time to save $100.
| Use priority code J8TL2D2.
|
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
|
|
| 
|
| ___
| iText-questions mailing list
| iText-questions@lists.sourceforge.net
| https://lists.sourceforge.net/lists/listinfo/itext-questions
|
| Do you like iText?
| Buy the iText book: http://www.1t3xt.com/docs/book.php
| Or leave a tip: https://tipit.to/itexttipjar


- --
Xavier Le Vourch
Brittany Software, Inc.
[EMAIL PROTECTED]

PGP Key (ID 0x896C5947): http://brittanysoftware.com/gpg_key.asc
Key fingerprint: 73B3 6370 B8C5 4325 F2D8  4115 0372 5805 896C 5947
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIBANfA3JYBYlsWUcRAjjvAJ9skmya3ebtquLZ2KaGG4iXkr3JZQCglkcZ
pLjZ86k86bj1SKrTO9F/rcU=
=fB0K
-END PGP SIGNATURE-

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar


Re: [iText-questions] Maven (again)

2008-04-04 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Bruno Lowagie wrote:
| See http://jira.codehaus.org/browse/MAVENUPLOAD-2003
| for more information.

That request has now been processed. The upload request for bouncy
castle 138 I submitted a few days ago was also processed. The current
status is:


iText 2.1.0:

The itext-2.1.0.jar file was updated in the maven repository. People who
already downloaded it will need to erase the previous version stored in
~/.m2/repository/com/lowagie/itext/2.1.0 and after that, everything
works fine once the new jar file is downloaded again.

iText 2.0.8:

It works out of the box as the bouncy castle dependencies are now
resolved correctly. Nothing needs to be done in the local repository.


The iText build scripts have also been updated to correctly create the
maven bundles so future releases should go a lot more smoothly...


Best Regards,

Xavier Le Vourch

- --
Xavier Le Vourch
Brittany Software, Inc.
[EMAIL PROTECTED]

PGP Key (ID 0x896C5947): http://brittanysoftware.com/gpg_key.asc
Key fingerprint: 73B3 6370 B8C5 4325 F2D8  4115 0372 5805 896C 5947
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH9oH9A3JYBYlsWUcRAqs7AJ0bJ1lMHjyoxQIxSWgd4iM/ihLfsgCeN3S7
Q0YJxddpZqJI7JIro9dmzNU=
=HECU
-END PGP SIGNATURE-

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar


Re: [iText-questions] FW: iText question

2008-04-04 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Bailey, Jay wrote:
| Question: where do I get com.lowagie.tools.plugins.
|

This is part of the iText toolbox project located at:

http://itexttoolbox.sourceforge.net

That project will probably be merged at least partially back into the
main iText project in the future.


Best regards,

Xavier Le Vourch

- --
Xavier Le Vourch
Brittany Software, Inc.
[EMAIL PROTECTED]

PGP Key (ID 0x896C5947): http://brittanysoftware.com/gpg_key.asc
Key fingerprint: 73B3 6370 B8C5 4325 F2D8  4115 0372 5805 896C 5947
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH9oNQA3JYBYlsWUcRAqZ3AJ9ThpqpHiQviOB++1gdP4kOtabp0QCfXFFv
fMAB5c648mHCRGxoYT7EeNM=
=nvOf
-END PGP SIGNATURE-

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar


Re: [iText-questions] Problem: java.lang.NoSuchMethodError in new iText version!!!!

2008-04-02 Thread Xavier Le Vourch
jgmaux wrote:
 Ok,
 
 Thanks.  Are there any documentation?
  


I'm kind of late in this discussion but I posted a link to the jdiff 
output between the 2.0.8 and 2.1.0 javadocs last week after another 
question about a deprecated method was asked.

The jdiff output between 2.0.8 and 2.1.0 can be found at:

http://brittanysoftware.com/itext/changes/2.0.8-2.1.0


 From there, you can access the list of added, removed or modified methods.

It's not a simple flat list of removed methods but you can have access 
to the documentation for the removed method from there and find the old 
deprecated method.


Best Regards,

Xavier Le Vourch



 
 Bruno Lowagie escribió:
 jgmaux wrote:
   
 com.lowagie.text.Cell  -- .setNoWrap(boolean)
 

 setMaxLines(1)

   
 com.lowagie.text.Table -- setSpaceBetweenCells(float)
 

 setSpacing(float);

 br,
 Bruno

 -
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services for
 just about anything Open Source.
 http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
 ___
 iText-questions mailing list
 iText-questions@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/itext-questions

 Do you like iText?
 Buy the iText book: http://www.1t3xt.com/docs/book.php
 Or leave a tip: https://tipit.to/itexttipjar


   
 
 
 
 
 -
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services for
 just about anything Open Source.
 http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
 
 
 
 
 ___
 iText-questions mailing list
 iText-questions@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/itext-questions
 
 Do you like iText?
 Buy the iText book: http://www.1t3xt.com/docs/book.php
 Or leave a tip: https://tipit.to/itexttipjar


-- 
Xavier Le Vourch
Brittany Software, Inc.
[EMAIL PROTECTED]

PGP Key (ID 0x896C5947): http://brittanysoftware.com/gpg_key.asc
Key fingerprint: 73B3 6370 B8C5 4325 F2D8  4115 0372 5805 896C 5947

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar


Re: [iText-questions] How to embed a SWF inside a PDF with ITEXT???

2008-04-01 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

jgmaux wrote:
| Hi,
|
| How to embed a SWF inside a PDF with ITEXT???
|
| It's possible?
|

Yes, it's possible :) Have a look at the annotation examples in the
tutorial:

http://itextdocs.lowagie.com/tutorial/objects/anchors/index.php

Look for Media clip and adapt the example there: you'll need to change
the mime type to application/x-shockwave-flash for swf files.

PdfFileSpecification gives you the option to embed the file in the pdf
or to use an external url using fileEmbedded() and fileExtern()
respectively.


Xavier

- --
Xavier Le Vourch
Brittany Software, Inc.
[EMAIL PROTECTED]

PGP Key (ID 0x896C5947): http://brittanysoftware.com/gpg_key.asc
Key fingerprint: 73B3 6370 B8C5 4325 F2D8  4115 0372 5805 896C 5947
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH8rG2A3JYBYlsWUcRAqL1AJ9lbMRP7uQNdqZ9r1cOu+AGdqzdhQCeKrYf
XRoSaWNpDPRnh70SA77qtrQ=
=0XcA
-END PGP SIGNATURE-

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar


Re: [iText-questions] Release iText 2.1.0

2008-03-28 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Tim Troy wrote:
| I have a regression problem with 2.1.0.  I am using the DisplayTag 1.1
| library with export to pdf option.  Everything is fine with 2.0.4.  I
| did a drop-in replacement of the iText jar.  The exception thrown by
| the server is:
| javax.servlet.ServletException:
| com.lowagie.text.Table.setDefaultVerticalAlignment(I)V


This method has been removed as it was deprecated since 2.0.3. The
deprecated message mentioned using getDefaultCell() and
com.lowagie.text.Cell.setVerticalAlignment(int) instead so it should be
pretty easy to adapt the code.


Note that a number of deprecated methods have been removed in 2.1.0 so
similar issues may occur for other methods but they were all deprecated
for several versions so developers had time to adapt their code, at
least that's the theory but we all know how that works...


Best regards,

Xavier Le Vourch


- --
Xavier Le Vourch
Brittany Software, Inc.
[EMAIL PROTECTED]

PGP Key (ID 0x896C5947): http://brittanysoftware.com/gpg_key.asc
Key fingerprint: 73B3 6370 B8C5 4325 F2D8  4115 0372 5805 896C 5947
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH7UgKA3JYBYlsWUcRAgSiAJ0Waotyp3CAp0dGdJP9Xxlz8MnUJgCgl9gC
Vc4BUJMNdTSvXmRVYYqIlZ0=
=UdmJ
-END PGP SIGNATURE-

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/


[iText-questions] Deprecated methods removed in iText 2.1.0

2008-03-28 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


As I just mentioned in a previous message, a number of deprecated
methods have been removed in iText 2.1.0. All of them had been
deprecated for a long time, i.e. 2.0.3 or so.

To help people migrate to the new version, the jdiff output we use for
QA testing is now online at:

http://brittanysoftware.com/itext/changes/2.0.8-2.1.0


~From there, you can access the javadoc for the removed methods to get
the suggested workaround for instance.

In the future, those pages will probably be moved to the official 1T3XT
server and be generated for each new release.


Best regards,

Xavier Le Vourch


- --
Xavier Le Vourch
Brittany Software, Inc.
[EMAIL PROTECTED]

PGP Key (ID 0x896C5947): http://brittanysoftware.com/gpg_key.asc
Key fingerprint: 73B3 6370 B8C5 4325 F2D8  4115 0372 5805 896C 5947
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH7VI7A3JYBYlsWUcRAhh9AJ4lXrDjqMknbhL8yFqLg4cUgUPCpwCgpadu
1MuloYT+5uIrAJDhuAyf3g4=
=6xLa
-END PGP SIGNATURE-

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/


Re: [iText-questions] Extracting Images from PDF using iText

2008-03-26 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

dayvidpow wrote:
| Hi iText gurus,
| I would like to know if iText provides any support for extracting images
| from an existing PDF document? If so, could someone please point me to an
| example or some sample code as to how this maybe done? If not, please feel
| free to suggest some other tool or API that maybe used to accomplish image
| extraction.

It's possible to use iText to process the content of pdf files but it's
not the best way to extract images. As mentioned several times on the
list before, look at other tools such as pdfbox or jpedal that are more
suited for that task.


Best regards,

Xavier Le Vourch

- --
Xavier Le Vourch
Brittany Software, Inc.
[EMAIL PROTECTED]

PGP Key (ID 0x896C5947): http://brittanysoftware.com/gpg_key.asc
Key fingerprint: 73B3 6370 B8C5 4325 F2D8  4115 0372 5805 896C 5947
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH6rB4A3JYBYlsWUcRAmHLAJ0c3lqhrkZSY3kG/D8p6thCttfedwCeKKu2
8xCt3LvIRwfD0A+1O3sMpQI=
=6k0C
-END PGP SIGNATURE-

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/


[iText-questions] Snapshot versions of recent changes available (was Re: Bug in DocumentFont when loading Differences)

2008-03-24 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Hi,

For everybody interested in getting access to snapshots of the recent
changes in the svn repository, I've set up a small script on my server
that will build snapshots daily and keep the latest five versions.

The iText version returned by Document.getVersion() and inserted in the
metadata of the generated pdf files also contains the svnversion id as a
build identifier. It will be similar to iText 2.1.0-SNAPSHOT build 3182
(by lowagie.com).

The snapshots can be accessed at:

http://brittanysoftware.com/itext/snapshots/

Note that the snapshots should be used mainly to validate recent bug
fixes and should not be used on production systems as they are after all
snapshots and there is no guarantee as of the stability of the builds...


Best regards,

Xavier Le Vourch



Gavin Disney wrote:
| Bruno,
|
| Thanks again. Don't rush the release on my account!
|
| Regards,
| Gavin
|
| - Original Message 
| From: Bruno Lowagie [EMAIL PROTECTED]
| To: Post all your questions about iText here
| itext-questions@lists.sourceforge.net
| Sent: Friday, March 21, 2008 2:11:21 AM
| Subject: Re: [iText-questions] Bug in DocumentFont when loading
Differences
|
| Gavin Disney wrote:
|   Great!  Thanks very much.
|
| I've added you to the acknowledgments list:
| http://www.1t3xt.com/about/acknowledgments/index.php?page=peopleid=178
| http://www.1t3xt.com/about/acknowledgments/index.php?page=peopleid=178
|
| I was preparing the new release, but unfortunately my son had to return
| to the hospital; see http://lowagie.com/maand.php?year=2008month=3#776
| http://lowagie.com/maand.php?year=2008month=3#776
| http://www.nabble.com/-personal-message--some-bad-news-p15636777.html
| I'll try finishing the release next week.
|
| best regards,
| Bruno
|
| -
| This SF.net email is sponsored by: Microsoft
| Defy all challenges. Microsoft(R) Visual Studio 2008.
| http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
| ___
| iText-questions mailing list
| iText-questions@lists.sourceforge.net
| mailto:iText-questions@lists.sourceforge.net
| https://lists.sourceforge.net/lists/listinfo/itext-questions
| Buy the iText book: http://itext.ugent.be/itext-in-action/
|
|
| 
|
| -
| This SF.net email is sponsored by: Microsoft
| Defy all challenges. Microsoft(R) Visual Studio 2008.
| http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
|
|
| 
|
| ___
| iText-questions mailing list
| iText-questions@lists.sourceforge.net
| https://lists.sourceforge.net/lists/listinfo/itext-questions
| Buy the iText book: http://itext.ugent.be/itext-in-action/


- --
Xavier Le Vourch
Brittany Software, Inc.
[EMAIL PROTECTED]

PGP Key (ID 0x896C5947): http://brittanysoftware.com/gpg_key.asc
Key fingerprint: 73B3 6370 B8C5 4325 F2D8  4115 0372 5805 896C 5947
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH5/MGA3JYBYlsWUcRAugAAKCU61CeC7NMPpq6Dgp+CUxguPcqzwCfe040
pm1eJTGxRo7URT9HZqYIuL0=
=8j+Q
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/


Re: [iText-questions] copyright clarification

2008-02-24 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

K. V. Sreerama Murthy wrote:
| Dear Sir/Madam,
|
| As part of our software, we are using some iText functionality for
| on-the-fly PDF modification. Is it okay if we commercially sell this
| software? What copyright / other info should we include as part of our
| distribution?
|

See the following FAQ entries:

Can I use iText in a commercial/propriety/closed source application?
~  http://itext.ugent.be/library/question.php?id=14

and:

Is iText really free?
~  http://itext.ugent.be/library/question.php?id=12


Best regards,

Xavier Le Vourch


- --
Xavier Le Vourch
Brittany Software, Inc.
[EMAIL PROTECTED]

PGP Key (ID 0x896C5947): http://brittanysoftware.com/gpg_key.asc
Key fingerprint: 73B3 6370 B8C5 4325 F2D8  4115 0372 5805 896C 5947
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHwcURA3JYBYlsWUcRAmIlAJ9qW0daT4IW/HsqR2gjYwQmziVeVgCeJruS
BMnsX6Wg/V4HXRUCJSsh+W4=
=40u+
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/


Re: [iText-questions] MultiColumnText getting this error on our Unix server

2008-02-14 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

pmartin wrote:
|
| java.lang.SecurityException: class com.lowagie.text.pdf.MultiColumnT
| ext's signer information does not match signer information of other
classes in
| the same package

Please make sure you don't have several versions of the iText jar
package in your classpath as it's the likely cause for the exception.

The newer iText.jar files are signed and this creates the issue but I
believe the real cause is different iText packages on the class path as
all classes on the com.lowagie.text.pdf are signed at the same time
during the release process.


Xavier

- --
Xavier Le Vourch
Brittany Software, Inc.
[EMAIL PROTECTED]

PGP Key (ID 0x896C5947): http://brittanysoftware.com/gpg_key.asc
Key fingerprint: 73B3 6370 B8C5 4325 F2D8  4115 0372 5805 896C 5947
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHtMh5A3JYBYlsWUcRAmsOAKCXEZLCzVcYwvbBiRUZRGfZaMk5wgCfcK9X
ADOcsfF5zLQdYKxFsgvAKks=
=QXqL
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/


Re: [iText-questions] iText 2.0.8 has been released

2008-01-25 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Bruno Lowagie wrote:
| Hello all,
|
| I have just released iText 2.0.8.


The svn branches for jdk 1.3 and jdk 1.5 have been updated and are now
in sync with the 2.0.8 version.


Best regards,

Xavier


- --
Xavier Le Vourch
Brittany Software, Inc.
[EMAIL PROTECTED]

PGP Key (ID 0x896C5947): http://brittanysoftware.com/gpg_key.asc
Key fingerprint: 73B3 6370 B8C5 4325 F2D8  4115 0372 5805 896C 5947
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHmoSUA3JYBYlsWUcRAoHnAKCVspfLOS9CfvMzUnSFwsv+TQxdjgCePNIq
QMmbdU1vSP74pwZAxQaN9Fk=
=wnTf
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/


Re: [iText-questions] fill PDF Form on the fly

2008-01-24 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Sarah1 wrote:
| Dear itext friends:
|
| I need help:
|
| [...]
| 4. I DON'T want to save the pdf form with data on the disk.
|
| I'm using servlet, jsp, struts now. The only way I know how to do is, to
| save the PDF form file with data on the file system, but it's too many
| records in database, and I need save tons of PDF files. I want doing it on
| the fly.


PdfWriter instances are created using an OutputStream so you can use a
ByteArrayOutputStream and keep the pdf content in memory before sending
it to the client.


Best regards,

Xavier Le Vourch

- --
Xavier Le Vourch
Brittany Software, Inc.
[EMAIL PROTECTED]

PGP Key (ID 0x896C5947): http://brittanysoftware.com/gpg_key.asc
Key fingerprint: 73B3 6370 B8C5 4325 F2D8  4115 0372 5805 896C 5947
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHmPhuA3JYBYlsWUcRAojtAJ0YkTkepMCUucQAic8RCkGSLneOHQCeMUsI
ZQEzf8ym5hwm6zjlhC65kyY=
=m6uo
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/


Re: [iText-questions] iText-Mini-Jar for Applet

2008-01-08 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

akuehne wrote:
 Hi all,
 
 we are running a free signature verification service ( http://sig-check.eu/
 ) for PKCS7 files. Now we are on the way to support signed PDFs. 
 
 A major design goal is NOT to transfer users documents to our server but to
 do the hashing within the client's environment using an applet. This works
 like a charm using iText, but for an applet context the iText.jar is a bit
 bloated. So I tried to strip all fonts and other 'useless' stuff and made it
 down to 800 kB. Still heavy load for slow connections !
 
 Does anyone has experience in tailoring iText for a very special  / limited
 purpose ? Or is every effort to shrink  it further than that doomed to fail
 ?

Have you tried to use shrinking tools such as ProGuard to remove the
unused code? This should significantly reduce the jar size if you're
only using iText for signature verification.


Xavier

- --
Xavier Le Vourch
Brittany Software, Inc.
[EMAIL PROTECTED]

PGP Key (ID 0x896C5947): http://brittanysoftware.com/gpg_key.asc
Key fingerprint: 73B3 6370 B8C5 4325 F2D8  4115 0372 5805 896C 5947
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHg8NDA3JYBYlsWUcRAl48AJsFgev29zQAaCrKlfg/bpfsr09pTgCglziV
hW3C2nRbxTbAJeOsFA1bNxo=
=/d7x
-END PGP SIGNATURE-

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/


Re: [iText-questions] (no subject)

2008-01-07 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Mukherjee, Sankar wrote:
 
  Which version of itext has this XmpWriter class -  import
 com.lowagie.text.xml.xmp.XmpWriter?

Looking at the svn repository, it was first introduced in version 1.3.4,
more than 2 years ago.


Xavier


 
 Thanks
 
 sankar
 


- --
Xavier Le Vourch
Brittany Software, Inc.
[EMAIL PROTECTED]

PGP Key (ID 0x896C5947): http://brittanysoftware.com/gpg_key.asc
Key fingerprint: 73B3 6370 B8C5 4325 F2D8  4115 0372 5805 896C 5947
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHgpT5A3JYBYlsWUcRAsR+AJ9b9n6fWl3ClqEkPCn23FLLqYGgAgCeJcbx
HIkzT+5MCERicCZxoTOzmo8=
=ytHl
-END PGP SIGNATURE-

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/


Re: [iText-questions] Create a PDF with an image content

2007-12-19 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Web Specialist wrote:
 Hi all. I'm using iText with ColdFusion to create PDF files. Easy. But
 I'll want to create a PDF file with an image like content. In resume:
 I'll want to embed a jpg image inside a PDF file. That PDF contains only
 that image. Any tutorial? Mr Google doesn't help me. ;-)


Unless I misunderstood your question, Google is indeed your friend.
Searching for itext jpeg, the first result is the iText tutorial page:

http://itextdocs.lowagie.com/tutorial/objects/images/

and the first example there explains how to load images of different types.


Xavier

- --
Xavier Le Vourch
Brittany Software, Inc.
[EMAIL PROTECTED]

PGP Key (ID 0x896C5947): http://brittanysoftware.com/gpg_key.asc
Key fingerprint: 73B3 6370 B8C5 4325 F2D8  4115 0372 5805 896C 5947
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHabdiA3JYBYlsWUcRAp36AJ9z1PjoB8mj77m4mKwKBX9FP4Tu8gCfXpnm
xPuiXRvIPPBrTgwXflZ3CRs=
=YAvA
-END PGP SIGNATURE-

-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/


Re: [iText-questions] identify color pages plugin

2007-12-18 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Bruno Waes wrote:
 
 if i understand correctly those two dll files are precompiled for
 windows and they contain the
 Java_com_lowagie_tools_plugins_IdentifyColorPages_colordetectnative
 method signature.

That's correct.

 I have put them in a jar and made them available in my WEB-INF/lib
 
 But i still get an error:
 java.lang.UnsatisfiedLinkError: no gsdll32 in java.library.path
 
 i would have expected an error that the method can not be found or so,
 because i created my own class.
 

I'd suggest for you to get a simple JNI example to work with your setup
first before adapting the code from the iText toolbox to avoid
compounding unrelated problems.

Also, there are some JNI issues related to web applications. A quick
google search found this:

http://forum.java.sun.com/thread.jspa?threadID=780109tstart=180


 I also tried to compile the linux part of the code. but i am getting
 some weird errors:
 debian-etch:~/thingy# make
 gcc -c -Wall -I/root/thingy/gs- gpl-8.54.dfsg.1/src
 -I/opt/java/jdk1.6.0/include -I/opt/java/jdk1.6.0/include/linux

The source was compiled and tested with 8.15 and it looks like some
changes are needed for newer versions.

 i hope i don't get too much off-topic on this mailinglist, but i have
 found really little info on how to make your own JNI-ghostscript links.

Note that the toolbox code is not as stable as the core iText library,
specially the ghostscript part so you'll need to adapt the code to make
it work for your own project.


Xavier

- --
Xavier Le Vourch
Brittany Software, Inc.
[EMAIL PROTECTED]

PGP Key (ID 0x896C5947): http://brittanysoftware.com/gpg_key.asc
Key fingerprint: 73B3 6370 B8C5 4325 F2D8  4115 0372 5805 896C 5947
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHaAghA3JYBYlsWUcRAt4sAJ4tcSQXjaxXNgYhj2KWs05QX+8b8ACfan2F
9IexVEHseju0b4OTBt09itU=
=dB0W
-END PGP SIGNATURE-

-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/


Re: [iText-questions] identify color pages plugin

2007-12-17 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Bruno Waes wrote:
 
 The identifyColorPages works when i run the toolbox. Now i want to
 integrate this code into my webapp.
 When i call
 System.loadLibrary(gsdll32);
 i get a
 java.lang.UnsatisfiedLinkError: no gsdll32 in java.library.path
 
 now i am a little confused, i am kinda new to these 'native' calls.
 
 my development environment is windows and my production env is linux, i
 have GS installed on both, because for now i call it through
 imagemagicks convert in an exec() method.
 
 i see in the LibLoader code there is a check for windows environment ...
 does this mean this solution wont work at all on linux, or are there
 specific libraries for linux?
 
 if (System.getProperty(os.name
 http://os.name).startsWith(Windows )) {
 System.loadLibrary(gsdll32);
 }
 
 
 so basicly my questions are whether this is a windows only solution and
 if not, how do i add the libraries to the classpath?

The gsdll32 dll is only needed for Windows. For Linux, the javastub
shared library uses the GS library from /usr/lib directly.

So in order for it to work on Windows, you need to have the gsdll32.dll
and javastub.dll libraries in your path and on Linux, only
libjavastub.so is needed. The dll/src directory contains everything to
build the library on Linux.


Xavier

- --
Xavier Le Vourch
Brittany Software, Inc.
[EMAIL PROTECTED]

PGP Key (ID 0x896C5947): http://brittanysoftware.com/gpg_key.asc
Key fingerprint: 73B3 6370 B8C5 4325 F2D8  4115 0372 5805 896C 5947
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHZq6uA3JYBYlsWUcRAt5lAJ0efXrkmR6/a2UJiqK4f6bRe3lheQCcDcxM
vvbkXsIfrbrJ/ByexQ76rn8=
=ZFuq
-END PGP SIGNATURE-

-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/


Re: [iText-questions] Invalid signature file digest for Manifest main attributes (2.0.7)

2007-12-08 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Samuel B. Quiring wrote:
 I have a small test program that uses iText.  It's been working fine for
 weeks.  Today I downloaded itext-2.0.7.jar and replaced
 itext-2.0.6.jar.  I rebuilt - no problems.  When I tried to execute, I
 received this stack dump shown below.  Any ideas?


Starting with 2.0.7, the official iText jar file is now signed by Bruno.
It seems that your problem comes from the repackaging of parts of the
official jar file done during your build process.

As a first step, you could try to run you application using your own
classes and the official jar file to see if it works in that situation.

If that works then, you'll need to have a closer look at how you're
repackaging the classes. It's probably best to keep the official jar as
is and just add it as a dependency in the manifest file for your
test.jar file.


Xavier


 I should probably mention that my build.xml file builds a single .jar
 from my simple test program and the itext-2.0.7.jar.  To do this it
 unzips all the .jar files my code depends on (only itext-2.0.7.jar in
 this case) and then jars everything up into one big .jar with my main
 class called out in the manifest.
  
 I invoke my test program like this:java -jar test.jar
  
 Exception in thread main java.lang.SecurityException: Invalid
 signature file digest for Manifest main attributes
 at sun.security.util.SignatureFileVerifier.processImpl(Unknown
 Source)
 at sun.security.util.SignatureFileVerifier.process(Unknown Source)
 at java.util.jar.JarVerifier.processEntry(Unknown Source)
 at java.util.jar.JarVerifier.update(Unknown Source)
 at java.util.jar.JarFile.initializeVerifier(Unknown Source)
 at java.util.jar.JarFile.getInputStream(Unknown Source)
 at sun.misc.URLClassPath$JarLoader$1.getInputStream(Unknown Source)
 at sun.misc.Resource.cachedInputStream(Unknown Source)
 at sun.misc.Resource.getByteBuffer(Unknown Source)
 at java.net.URLClassLoader.defineClass(Unknown Source)
 at java.net.URLClassLoader.access$100(Unknown Source)
 at java.net.URLClassLoader$1.run(Unknown Source)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(Unknown Source)
 at java.lang.ClassLoader.loadClass(Unknown Source)
 at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
 at java.lang.ClassLoader.loadClass(Unknown Source)
 at java.lang.ClassLoader.loadClassInternal(Unknown Source)
 

- --
Xavier Le Vourch
Brittany Software, Inc.
[EMAIL PROTECTED]

PGP Key (ID 0x896C5947): http://brittanysoftware.com/gpg_key.asc
Key fingerprint: 73B3 6370 B8C5 4325 F2D8  4115 0372 5805 896C 5947
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHWxGkA3JYBYlsWUcRAtgQAJ9DEgLXDTIyBGkOuNyKGbq9pUxECACgjMOZ
MYSIoVCwskqCPc7hA7IWX3M=
=AtIK
-END PGP SIGNATURE-

-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/


Re: [iText-questions] iText ant build

2007-12-06 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Howard Shank wrote:
 Xavier,
 
 What should the @since version be at this time?


Use @since 2.0.8, as it's the next scheduled version.

Also, when you build from the current svn code, you'll see that the
version id is 2.0.8-SNAPSHOT to make sure you can easily differentiate
it from the previously released version.


Xavier

- --
Xavier Le Vourch
Brittany Software, Inc.
[EMAIL PROTECTED]

PGP Key (ID 0x896C5947): http://brittanysoftware.com/gpg_key.asc
Key fingerprint: 73B3 6370 B8C5 4325 F2D8  4115 0372 5805 896C 5947
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHWCUUA3JYBYlsWUcRAqQfAJ9IjdX085yKwlm2rBRYQQXrX7e9SQCdGQx+
47zkE5X6Gde3LYMNe5ix5AE=
=sPFd
-END PGP SIGNATURE-

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/


Re: [iText-questions] iText ant build

2007-12-05 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Howard Shank wrote:
 Strange but... I am able to run all the ant tasks in the build.xml except for 
 docs.tar.gz and javadoc.
 
 Error:
 Buildfile: D:\Development\OpenSource\iText\itext-core\main\src\build.xml
 javadoc:
 javadoc:
   [javadoc] Generating Javadoc
   [javadoc] Javadoc execution
 BUILD FAILED
 D:\Development\OpenSource\iText\itext-core\main\src\build.xml:52: The 
 following error occurred while executing this line:
 D:\Development\OpenSource\iText\itext-core\main\src\ant\site.xml:65: Javadoc 
 failed: java.io.IOException: CreateProcess: javadoc.exe -J-Xmx128m -d 
 D:\Development\OpenSource\iText\itext-core\main\build\docs -private -header 
 a href=http://itext.ugent.be/itext-in-action/; target=_blankimg 
 src=http://itext.ugent.be/img/lowagie_3d.jpg; border=0 //a -classpath 
 D:\Development\OpenSource\iText\itext-core\main\build\bin;D:\Development\OpenSource\iText\itext-core\main\lib\bcmail-jdk14-138.jar;D:\Development\OpenSource\iText\itext-core\main\lib\bcprov-jdk14-138.jar
  -sourcepath D:\Development\OpenSource\iText\itext-core\main\src -version 
 -author -link http://java.sun.com/j2se/1.4/docs/api/ -link 
 http://www.bouncycastle.org/docs/docs1.4/ com.lowagie.text 
 com.lowagie.text.factories com.lowagie.text.html 
 com.lowagie.text.html.simpleparser com.lowagie.text.pdf 
 com.lowagie.text.pdf.codec com.lowagie.text.pdf.codec..wmf 
 com.lowagie.text.pdf.collection
 com.lowagie.text.pdf.crypto com.lowagie.text.pdf.events 
 com.lowagie.text.pdf.fonts com.lowagie.text.pdf.hyphenation 
 com.lowagie.text.pdf.interfaces com.lowagie.text.pdf.”
 Total time: 1 second
 
 Any ideas?


The only recent change was me adding the -J-Xmx128m flag as otherwise
javadoc couldn't process your recent changes and with that flag, the
ant javadoc command works for me on Linux and Windows with jdk 1.6.

Try increasing that value to see if that makes a difference.


BTW, one of the new targets I added in test.xml checks that all new
features have a @since javadoc tag and that fails on your recent changes
but maybe Mark already forwarded that info to you.


Xavier

- --
Xavier Le Vourch
Brittany Software, Inc.
[EMAIL PROTECTED]

PGP Key (ID 0x896C5947): http://brittanysoftware.com/gpg_key.asc
Key fingerprint: 73B3 6370 B8C5 4325 F2D8  4115 0372 5805 896C 5947
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHVx6fA3JYBYlsWUcRAo3TAKChN5K0fFlAv3GGM/mB13TelBp60QCeM2o5
0W6OEcA50HlYjM8Muy+pMiI=
=yXZD
-END PGP SIGNATURE-

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/


Re: [iText-questions] iText 2.0.7 was released

2007-11-28 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


The 2.0.7 changes have also been applied to the jdk13 and jdk15 branches
 in subversion.


Xavier

- --
Xavier Le Vourch
Brittany Software, Inc.
[EMAIL PROTECTED]

PGP Key (ID 0x896C5947): http://brittanysoftware.com/gpg_key.asc
Key fingerprint: 73B3 6370 B8C5 4325 F2D8  4115 0372 5805 896C 5947
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHTbc8A3JYBYlsWUcRAgfrAJ9drvmEF9StlEpAguYaZO8DZ6Wp6gCfXcE3
FSI9iM+Rp+d/vqT5kHozwZc=
=xnLx
-END PGP SIGNATURE-

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/


Re: [iText-questions] iText:PdfReader page count issue with adobe reader 8.x?

2007-11-19 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:
 Hello,
 
 PdfReader reader = new PdfReader(pdfFile);
 int pageCount = reader.getNumberOfPages();
 
 getNumberOfPages() in above line of code returns
 the correct number of pages most of the times, when the document in question 
 (pdfFile) is a reader 7 PDF document,
 But it throws the exception below for reader 8.x PDF documents.
 We would need to get page count and we would need to let users use reader 8. 
 How to get the number of pages off reader 8.x pdf documents? Any help on this 
 you could provide would be greatly appreciated.
 

Could you forward a pdf that shows this behavior? Which iText version
are you using?


Xavier


- --
Xavier Le Vourch
Brittany Software, Inc.
[EMAIL PROTECTED]

PGP Key (ID 0x896C5947): http://brittanysoftware.com/gpg_key.asc
Key fingerprint: 73B3 6370 B8C5 4325 F2D8  4115 0372 5805 896C 5947
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHQiJnA3JYBYlsWUcRAl37AJ9UzkSNYFu4EAbJRdulyXXF9qgfHwCeLm+s
usTvuarPqr2YFvN1ajfm/O8=
=8S0G
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/


Re: [iText-questions] rotate a watermark

2007-11-06 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I think the problem is that you're not using degrees to specify the
rotation.

You should replace:

img.setRotationDegrees((float)Math.PI / 4); //rotate 45 degrees

with:

img.setRotation((float)Math.PI / 4); //rotate 45 degrees

or use 45 in the call to setRotationDegrees() as your existing code will
rotate the text less than one degree.

Xavier


Damian Harvey wrote:
 Is it possible to rotate a watermark created using getOverContent()? I
 haven't seen this in any examples and it isn't working for me.
 
 I am using the following code but it is ignoring the rotation. I suspect
 this is from the absolute positioning. The image is created and the
 opacity is fine but it is not rotated at all.
 
 Thanks,
 
 Damian.
 
 
 PdfContentByte over = stamper.getOverContent(1);
 PdfTemplate watermark = over.createTemplate(500, 500);
 BaseFont bf = BaseFont.createFont(BaseFont.HELVETICA, BaseFont.WINANSI ,
 BaseFont.EMBEDDED);
 watermark.beginText();
 watermark.setFontAndSize(bf, 72);
 watermark.setTextMatrix(0,0);
 
 //I want to be able to internationalise this text
 watermark.showText(Draft Copy);
 
 watermark.endText();
 
 Image img = Image.getInstance(watermark);
 img.setAbsolutePosition(75, 400);
 img.setRotationDegrees((float)Math.PI / 4); //rotate 45 degrees
 
 PdfGState gs1 = new PdfGState();
 gs1.setFillOpacity(0.4f);
 over.setGState(gs1);
 
 over.addImage(img);
 
 -- 
 Damian Harvey
 Director
 Locus Software Ltd
 www.locussoftware.co.uk http://www.locussoftware.co.uk
 
 
 
 
 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now  http://get.splunk.com/
 
 
 
 
 ___
 iText-questions mailing list
 iText-questions@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/itext-questions
 Buy the iText book: http://itext.ugent.be/itext-in-action/


- --
Xavier Le Vourch
Brittany Software, Inc.
[EMAIL PROTECTED]

PGP Key: http://brittanysoftware.com/gpg_key.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHMKnIA3JYBYlsWUcRAuLPAJwNdSqOx3qJBQArYduHN+5LPWEdEACfchxz
K7gJ4mWyZba4hfmUVJEV46U=
=Ur3b
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/


Re: [iText-questions] Error with itext-2.0.6.jar

2007-10-26 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


iText requires java 1.4 and you're trying to use it with a 1.3 compiler.

There are branches in svn for java 1.3 and 5.0 support and they have
been synchronized to the 2.0.6 release.

In your case, you can build a version to be used with java 1.3 using:

svn co
https://itext.svn.sourceforge.net/svnroot/itext/branches/iText-jdk13 .

cd src
ant jar

It will build the iText jar file in lib/iText-jdk13.jar with the version
name iText-jdk13 2.0.6 (by lowagie.com).


Xavier



sanjay patel wrote:
 I get the below error when trying to compile a java file using 
 itext-2.0.6.jar. I
 have tried it by including the jar file in the classpath and also by 
 extracting
 class files to full directory paths. I still get the error. I even tried 
 removing
 the DocumentException.class file from its directory, then I get the same 
 error for
 other classes. Is this a bad download of the itext-2.0.6.jar file? Do I need 
 to get
 a different version of the class file?
 
 *
 /usr/java131/bin/javac txt2rtf.java
 txt2rtf.java:20: cannot access com.lowagie.text.DocumentException
 bad class file:
 /home/spatel/java/itext-2.0.6.jar(com/lowagie/text/DocumentException.class)
 class file has wrong version 48.0, should be 47.0
 Please remove or make sure it appears in the correct subdirectory of the 
 classpath.
  throws IOException, DocumentException
  ^
 1 error
 
 *
 
 Any info is appreciated.
 Thanks.
 SHP.


- --
Xavier Le Vourch
Brittany Software, Inc.
[EMAIL PROTECTED]

PGP Key: http://brittanysoftware.com/gpg_key.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHImBMA3JYBYlsWUcRAhhPAJ9vz2604xtTxPrmXmfE645D0c31PQCeLKtm
W2+ygNeo/NcZ9WUq5IjW1lk=
=URhi
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/


Re: [iText-questions] Out of memory when concatenating -- I haveread the previous threads

2007-10-10 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


I've reproduced the problem with your test case when using iText 1.3.

Using the latest version of iText doesn't work as the included pdf is
password protected but using iText 1.5.3 works fine even with a 500k
stack limit.

So it looks like you need to update to a newer iText version to fix the
problem and updating to iText 1.5.3 should be easier than to a 2.0.x
based version.


Xavier


dhyton wrote:
 Sure ... I put together a directory with my source code (Test only), the
 source file, and even a dos batch file with the heap set to 500k.  I have
 uploaded it with this message.
 
 Paulo Soares wrote:
 The tests I made didn't indicate any leaks. As I said before, I
 concatenated 1000 files each with 500k using a heap space of 64M. Can
 you send me a couple of your files?

 Paulo 


- --
Xavier Le Vourch
Brittany Software, Inc.
[EMAIL PROTECTED]

PGP Key: http://brittanysoftware.com/gpg_key.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHDQdbA3JYBYlsWUcRAhZ0AJ9WJp9d/+LfEwxclpYE+G0hAkwRhgCeIgBk
JR33KTxAX+vO8YAK3Hr1M5g=
=Gydx
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/


Re: [iText-questions] Urgetn help needed with simple question!

2007-10-10 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

bleuciel musicien wrote:
 
 
 Very simple question:

 Input byte[] of tiff image
 Outputbyte[] of PDF


 Please tell EXACTLY which methods on which classes I have to call to
 do this.


Very simple answer: read the fine documentation :)

Complete answer with EXACT methods: ask for consulting rates...

Intermediate answer: here are some pointers to get you started, starting
with the tutorial example and then the classes you'll need to look at to
adapt the code.

Tiff example in the tutorial:

http://itextdocs.lowagie.com/tutorial/objects/images/tiff/index.php#top

TiffImage API:

http://itext.ugent.be/library/api/com/lowagie/text/pdf/codec/TiffImage.html

RandomAccessFileOrArray constructor for byte[] argument:

http://itext.ugent.be/library/api/com/lowagie/text/pdf/RandomAccessFileOrArray.html#RandomAccessFileOrArray(byte[])

ByteArrayOutputStream:

http://java.sun.com/j2se/1.5.0/docs/api/java/io/ByteArrayOutputStream.html


With those links, you should be able to modify the tutorial example code
to use a ByteArrayOutputStream for output, create a
RandomAccessFileOrArray object from the byte input and use the TiffImage
methods to create the pdf.

Short of writing the code/assignment myself, that's all I can provide
for now...


Xavier



 Please an accurate answer.
 
 THANKS A LOT FOR YOUR HELP.
 
 Niko.
 


- --
Xavier Le Vourch
Brittany Software, Inc.
[EMAIL PROTECTED]

PGP Key: http://brittanysoftware.com/gpg_key.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHDUudA3JYBYlsWUcRAonlAJ0RQZgp38JIna8SADRWu0M1FDy3wgCgpcdN
xHcC3u8ApAo8ADCAtyFxDHY=
=FLES
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/


Re: [iText-questions] iText 2.0.6 released

2007-10-05 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Bruno Lowagie wrote:
 Hello all,
 
 this afternoon I released iText 2.0.6.
 
 There isn't a lot of new functionality apart from support for
 JPEG2000 (jp2 and j2k) and base64 encoded images in XFA, but
 the release fixes a lot of problems that were reported with
 respect to iText 2.0.5.


The svn branches for the jdk 1.3 and jdk 1.5 based versions have also
been updated to include all changes up to 2.0.6.

The svn repositories can be accessed at:

https://itext.svn.sourceforge.net/svnroot/itext/branches/iText-jdk13

and

https://itext.svn.sourceforge.net/svnroot/itext/branches/iText-jdk15



Xavier

- --
Xavier Le Vourch
Brittany Software, Inc.
[EMAIL PROTECTED]

PGP Key: http://brittanysoftware.com/gpg_key.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHBnl1A3JYBYlsWUcRAglFAJ41ZkqCQULVoM/yNQC7KxPlIqhbJQCeIH8U
iL3tXvJqQjt3OpA5y+2KQAY=
=9Kw8
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/


Re: [iText-questions] ErrorCode: 4000; Error Message: Unrecognized PDF content displayed in PDF/SigQ

2007-10-01 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Leonard Rosenthol wrote:
 I opened this PDF up in Acrobat 8.1 and it says that the document  
 hasn't been modified since it was signed, but the signature's  
 validity is unknown - which is correct since I don't have this sig in  
 my keystore.
 
 What am I missing?


Whether the signature is added as trusted or not, I get the same 4000
error code (Unrecognized Pdf Content) in the document integrity tab the
original poster mentioned and this does not involve the timestamp code
which is not yet part of the official iText library, but just adding a
signature to a basic document.

I thought that this could help figure out where the 4000 error code was
coming from... I don't know if this error is normal or whether the
signing code contains some code that is not completely following the Pdf
reference. BTW, that was tested with Acrobat Reader 8.1.1 on Linux.


Xavier




 Leonard
 
 On Sep 30, 2007, at 1:30 PM, Xavier Le Vourch wrote:
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hi,

 I've got the same problem with the timestamping code but in fact,  
 while
 trying to get a small example together, I've found that the same error
 occurs also with just the signing part.

 The signing code is based on the doc to sign doc at:

  http://itextpdf.sourceforge.net/howtosign.html#howtosign


 The two pdf files are attached.

 The Java code consists of:

 =
 com.lowagie.text.Document.compress = false;
 KeyStore ks = KeyStore.getInstance(pkcs12);
 ks.load(new FileInputStream(KEYSTORE), PASSWORD.toCharArray());
 String alias = (String)ks.aliases().nextElement();
 PrivateKey key = (PrivateKey)ks.getKey(alias, PASSWORD.toCharArray());
 Certificate[] chain = ks.getCertificateChain(alias);
 PdfReader reader = new PdfReader(IN);
 FileOutputStream fout = new FileOutputStream(OUT);
 PdfStamper stp = PdfStamper.createSignature(reader, fout, '\0');
 PdfSignatureAppearance sap = stp.getSignatureAppearance();
 sap.setCrypto(key, chain, null, PdfSignatureAppearance.WINCER_SIGNED);
 sap.setReason(REASON);
 sap.setLocation(LOCATION);
 // comment next line to have an invisible signature
 sap.setVisibleSignature(new Rectangle(100, 100, 200, 200), 1, null);
 stp.close();
 =


 
 
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 iText-questions mailing list
 iText-questions@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/itext-questions
 Buy the iText book: http://itext.ugent.be/itext-in-action/


- --
Xavier Le Vourch
Brittany Software, Inc.
[EMAIL PROTECTED]

PGP Key: http://brittanysoftware.com/gpg_key.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHAR6+A3JYBYlsWUcRAnB4AJ42cd2j66iJ0wSuTMJTKMn4C8evZACfeqlp
lZakeWgkoAYKtQd+lFiExTQ=
=os4v
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/


Re: [iText-questions] ErrorCode: 4000; Error Message: Unrecognized PDF content displayed in PDF/SigQ conformance report dialog box under View Document Integrity properties button under Legal Tab as

2007-09-30 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

I've got the same problem with the timestamping code but in fact, while
trying to get a small example together, I've found that the same error
occurs also with just the signing part.

The signing code is based on the doc to sign doc at:

http://itextpdf.sourceforge.net/howtosign.html#howtosign


The two pdf files are attached.

The Java code consists of:

=
com.lowagie.text.Document.compress = false;
KeyStore ks = KeyStore.getInstance(pkcs12);
ks.load(new FileInputStream(KEYSTORE), PASSWORD.toCharArray());
String alias = (String)ks.aliases().nextElement();
PrivateKey key = (PrivateKey)ks.getKey(alias, PASSWORD.toCharArray());
Certificate[] chain = ks.getCertificateChain(alias);
PdfReader reader = new PdfReader(IN);
FileOutputStream fout = new FileOutputStream(OUT);
PdfStamper stp = PdfStamper.createSignature(reader, fout, '\0');
PdfSignatureAppearance sap = stp.getSignatureAppearance();
sap.setCrypto(key, chain, null, PdfSignatureAppearance.WINCER_SIGNED);
sap.setReason(REASON);
sap.setLocation(LOCATION);
// comment next line to have an invisible signature
sap.setVisibleSignature(new Rectangle(100, 100, 200, 200), 1, null);
stp.close();
=



Xavier


Leonard Rosenthol wrote:
 Without seeing the actual PDF in question - there is NO WAY to determine
 why you are getting that message.
 
 Leonard
 
 On Sep 28, 2007, at 1:03 PM, Gurpreet Singh wrote:
 
 Hi,

 Thanks to Aiken Sam and Paulo for providing the Timestamp example for
 signing the pdf. I am using the itext 1.4.4 version, java 1.4.2,
 bouncy castle API for java 1.4.2 and  TSA server as
 adobe-timestamp.geotrust.com/tsa
 http://adobe-timestamp.geotrust.com/tsa. I have tried with iText
 version 2.0.4 also, but same error is coming. I am using FOP to
 generate the pdf contents using itext to create a signed pdf. 

 I am using the same example as posted at the following location and
 able to generate the pdf:

 http://www.nabble.com/PDF-Digital-signature-with-timestamp---using-Time-Stamp-Authority---example-t4147508.html
 http://www.nabble.com/PDF-Digital-signature-with-timestamp---using-Time-Stamp-Authority---example-t4147508.html


 On opening the pdf, it shows the blue ribbon and says that The
 document was certified by [EMAIL PROTECTED] mailto:[EMAIL PROTECTED], 
 company with
 the valid certificate issued by GeoTrust CA for adobe. I am able to
 see the following message as well on clicking the Signature properties
 button:

 1. The document has not been modified since it was modified.
 2. The signer identity is valid.
 3. Signature is timestamped.

 But when i am going to Legal Tab and clicking the View Document
 Integrity properties button, then in the PDF/SigQ conformance report
 dialog box. I am getting the error message as:

  *4000 Unrecognized PDF content. *
 *Unrecognized PDF content: The document contains PDF content or custom
 content not supported by the current version of Adobe Reader.*

 *The document contain rich content that cannot be reliably suppressed.
 contact the document author regarding whether you should sign or trust
 the signature in this document. *

 Please see the above error in the attached image file.

 What i can think of that i have an image in gif format as a logo in
 the PDF. So, is that creating the problem?  OR something else. I tried
 to search on google but didin't find anything useful.

 Any help or pointer towards resolution will be helpful. Thanks in
 advance for help.

 Thanks
 Gurpreet Singh
 abc.JPG


- --
Xavier Le Vourch
Brittany Software, Inc.
[EMAIL PROTECTED]

PGP Key: http://brittanysoftware.com/gpg_key.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG/900A3JYBYlsWUcRAikGAKCD3ZqeXdAZW3p4ja6nQD2XizKtgACdF0xR
KqyC94KplUaBUED+VIkX+lI=
=xwUR
-END PGP SIGNATURE-


unsigned.pdf
Description: Adobe PDF document


demo_only_signed.pdf
Description: Adobe PDF document
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/


Re: [iText-questions] ClassCastException in PdfCopyFieldsImp.updateCalculationOrder()

2007-09-12 Thread Xavier Le Vourch
nleduc wrote:
 
 I don't know exactly which version of iText we are using (maybe someone
 could tell me if there is somewhere in the jar file I can find that).
 

System.out.println(com.lowagie.text.Document.getVersion());

will print out the iText version.


Xavier

-- 
Xavier Le Vourch
Brittany Software, Inc.
[EMAIL PROTECTED]

PGP Key: http://brittanysoftware.com/gpg_key.asc

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/


Re: [iText-questions] iText with JDK 1.3

2007-08-27 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dhiraj Shrivastava wrote:
 I was able to compile my code with itext.jar which I compiled with
 JDK1.3 but at runtime it gives NoClassFoundError exception. See the
 stacktrace below:
  
 ==
 com.ibm.ejs.container.CreateFailureException:
 java.lang.reflect.InvocationTargetException; nested exception is:
  java.lang.reflect.InvocationTargetException
 java.lang.reflect.InvocationTargetException:
 java.lang.NoClassDefFoundError : com/lowagie/text/pdf/PdfWriter
 ==
  
 Any idea, why it would happen? Compile time there is no problem only at
 run time it is giving this error.

This looks like a classpath problem and is probably not related to iText
itself but to your local setup if you managed to compile with 1.3.



 Note: If anyone else has got a jar compiled with JDK1.3 then please sare
 it with me.


There is a branch in svn that contains all the changes and support jar
files needed to compile with 1.3. All the changes in the official
version, i.e. the trunk, up to 2.0.4 have been merged in the 1.3 branch.

It's located in:

  https://itext.svn.sourceforge.net/svnroot/itext/branches/iText-jdk13


To generate a 1.3 version:

1) svn co
https://itext.svn.sourceforge.net/svnroot/itext/branches/iText-jdk13
iText-jdk13

2) cd iText-jdk13/src

3) ant jar

The iText jar file named iText-jdk13.jar will be created in the lib
directory.

Note that the jar file is named differently and that the version string
in the source code has also been changed to reflect that the code is
coming from the 1.3 branch. Right now the version string is:

iText-jdk13 2.0.4 (by lowagie.com)

Let me know if you encounter problems using the code in the branch.


Xavier

- --
Xavier Le Vourch
Brittany Software, Inc.
[EMAIL PROTECTED]

PGP Key: http://brittanysoftware.com/gpg_key.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG0v1vA3JYBYlsWUcRAvjuAJ4hqxXyuUeYNo0vX74WmuXaA/gJiACeK632
rfCu4h9uUxYeUV+Hb22umto=
=DF45
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/


Re: [iText-questions] XML Schema or DTD

2007-07-11 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Bruno Lowagie wrote:
 [EMAIL PROTECTED] wrote:
 I couldn't find the XmlWriter.
 
 Why don't you get XmlWriter from the attic in SVN?
 
 I see that the attic isn't present in SVN,
 you can find it in the old CVS repository:
 http://itext.cvs.sourceforge.net/*checkout*/itext/src/com/lowagie/text/xml/XmlWriter.java


FYI, the file is also there in the subversion repository but the attic
concept doesn't exist in svn. To access the deleted files, you can
browse the xml directory and use an older revision, 2500 for instance,
in the sticky revision field.

XmlWriter.java will be there and looking at the log for the file, it says:
(Current path doesn't exist after revision 2554)

So to access the last version of XmlWriter.java, use:

http://itext.svn.sourceforge.net/viewvc/itext/trunk/src/com/lowagie/text/xml/XmlWriter.java?view=logpathrev=2554


Or if you don't want to deal with older revisions, you could browse the
source tree for the 1.4.7 version in the tags directory at:

http://itext.svn.sourceforge.net/viewvc/itext/tags/iText_1_4_7/src/com/lowagie/text/xml/



Xavier

- --
Xavier Le Vourch
Brittany Software, Inc.
[EMAIL PROTECTED]

PGP Key: http://brittanysoftware.com/gpg_key.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGlSkDA3JYBYlsWUcRAlb+AJ4+RyLskbDQ6hw1byHSpQYcxwU4VACfadcK
O8p+pmdTTvD3gDO4r7hQ1eQ=
=2leB
-END PGP SIGNATURE-

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/


Re: [iText-questions] Hello. I need to run concat_pdf.java on Linux

2007-06-04 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Vera Lucero wrote:
 Do you have any examples on how to run iText.jar on Linux?  I copied the
 iText.jar and concat_pdf.java to Linux and trying to set it up to run. I
 got the following response from Bruno Lowagie.  Thanks.  Vera
 

Short answer: the following command line will start the concat tool:

java -cp ../lib/iText.jar com.lowagie.tools.concat_pdf in1.pdf in2.pdf
out.pdf

Longer answer:

As Bruno pointed out, this has nothing to do with iText. Please have a
look at the jdk documentation for Linux to get familiar with the tools
and options:

http://java.sun.com/javase/6/docs/technotes/tools/index.html

or for the classpath documentation:

http://java.sun.com/javase/6/docs/technotes/tools/solaris/classpath.html



Xavier


 
 Hello,
 
 you asked a strange question in the wrong place:
 
  
 
 Hello.  Thanks for concat.pdf I've used it on Windows to solve a
 
 problem with Oracle Report Writer and being able to concat 3-4 reports
 
 into 1 pdf.  Now, we are moving the apps to HTMLDB and a Linux server.
 
 I there a way I can get the iText.jar and concat_pdf.java compiled or a
 
 version of the code for Linux?  Do you have any other suggestions for
 
 the same capablities in Linux?  Thanks, Vera
 
  
 
 The question is strange, because it's Java: I run the same compiled code
 
 on Windows, Debian Linux, Sun Solaris,... This really is a non-issue. If
 you have further questions, please post them on the appropriate
 
 place: mail them to itext-questions@lists.sourceforge.net
 
  
 
 br,
 
 Bruno
 


- --
Xavier Le Vourch
Brittany Software, Inc.
[EMAIL PROTECTED]

PGP Key: http://brittanysoftware.com/gpg_key.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGZJT8A3JYBYlsWUcRAvoZAJ9zXFsJ4heCDBFRwWyZQiY0YBNbRgCeLHjB
IM6xQEsyNfT0xC28QZ2MWAs=
=4XPg
-END PGP SIGNATURE-

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/


Re: [iText-questions] unmappable character for encoding UTF8

2007-03-15 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Paulo Soares wrote:
 The files can't be converted to UTF-8 just because the original poster
 is using an UTF-8 locale, probably in Linux. I'll change the comments to
 be all ASCII now that someone has locate them...

Paulo,

There are more problems on Linux with the encoding (I'm using
en_US.UTF-8 as the default encoding). I've attached the warnings I
get with the current cvs version. In the past, I just added
'encoding=Latin1' to the javac options.

Let me know if you want me to fix the problems in cvs or if you'll look
at them too.


Xavier

- --
Xavier Le Vourch
Brittany Software, Inc.
[EMAIL PROTECTED]

PGP Key: http://brittanysoftware.com/gpg_key.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF+YPQA3JYBYlsWUcRAmyVAJ91yC97CF+TmIokAvJSc4ol3AKcpACfbk0r
LEwj/hbQUc5VbPcw7F3rP58=
=qA8a
-END PGP SIGNATURE-
[javac] /home/xlv/dev/iText/src/com/lowagie/text/pdf/AcroFields.java:977: 
warning: unmappable character for encoding UTF8
[javac]  * The value of this entry replaces that of the F entry in the 
form�s corresponding annotation dictionary.br
[javac] 
   ^
[javac] /home/xlv/dev/iText/src/com/lowagie/text/pdf/AcroFields.java:978: 
warning: unmappable character for encoding UTF8
[javac]  * lisetflags - a set of flags to be set (turned on) in the F 
entry of the form�s corresponding
[javac] 
 ^
[javac] /home/xlv/dev/iText/src/com/lowagie/text/pdf/AcroFields.java:980: 
warning: unmappable character for encoding UTF8
[javac]  * liclrflags - a set of flags to be cleared (turned off) in 
the F entry of the form�s corresponding
[javac] 
  ^
[javac] /home/xlv/dev/iText/src/com/lowagie/text/pdf/AcroFields.java:984: 
warning: unmappable character for encoding UTF8
[javac]  * of this entry replaces that of the Ff entry in the form�s 
corresponding field dictionary.br
[javac]   ^
[javac] /home/xlv/dev/iText/src/com/lowagie/text/pdf/AcroFields.java:985: 
warning: unmappable character for encoding UTF8
[javac]  * lisetfflags - a set of flags to be set (turned on) in the 
Ff entry of the form�s corresponding
[javac] 
   ^
[javac] /home/xlv/dev/iText/src/com/lowagie/text/pdf/AcroFields.java:987: 
warning: unmappable character for encoding UTF8
[javac]  * liclrfflags - a set of flags to be cleared (turned off) in 
the Ff entry of the form�s corresponding
[javac] 
^
[javac] /home/xlv/dev/iText/src/com/lowagie/text/pdf/BaseField.java:625: 
warning: unmappable character for encoding UTF8
[javac] /** Gets the maximum length of the field�s text, in 
characters.
[javac] ^
[javac] /home/xlv/dev/iText/src/com/lowagie/text/pdf/BaseField.java:626: 
warning: unmappable character for encoding UTF8
[javac]  * @return the maximum length of the field�s text, in 
characters.
[javac]   ^
[javac] /home/xlv/dev/iText/src/com/lowagie/text/pdf/BaseField.java:632: 
warning: unmappable character for encoding UTF8
[javac] /** Sets the maximum length of the field�s text, in 
characters.
[javac] ^
[javac] /home/xlv/dev/iText/src/com/lowagie/text/pdf/BaseField.java:634: 
warning: unmappable character for encoding UTF8
[javac]  * @param maxCharacterLength the maximum length of the 
field�s text, in characters
[javac] ^
[javac] 
/home/xlv/dev/iText/src/com/lowagie/text/pdf/PdfPublicKeySecurityHandler.java:81:
 warning: unmappable character for encoding UTF8
[javac]  * (INCLUDING, BUT NOT LIMITED TO�, PROCUREMENT OF SUBSTITUTE 
GOODS OR SERVICES;
[javac]  ^
[javac] /home/xlv/dev/iText/src/com/lowagie/text/pdf/PdfWriter.java:2377: 
warning: unmappable character for encoding UTF8
[javac]  * of the page�s page group for use in the transparent
[javac]   ^
[javac] 
/home/xlv/dev/iText/src/com/lowagie/text/rtf/AbstractRtfField.java:28: warning: 
unmappable character for encoding UTF8
[javac]  * LGPL license (the �GNU LIBRARY GENERAL PUBLIC LICENSE�), in 
which case the
[javac]  ^
[javac] 
/home/xlv/dev/iText/src/com/lowagie/text/rtf/AbstractRtfField.java:28

Re: [iText-questions] unmappable character for encoding UTF8

2007-03-15 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Nan Null wrote:
 
 There are more than those files listed by Stuart.  They're below
 (included those listed by Stuart).  This is in version 2.

I've now committed more encoding changes into cvs. I don't get any
encoding warnings on Linux any longer using my default en_US.UTF-8 encoding.

Let me know if I missed a few for your default encoding.


Xavier

- --
Xavier Le Vourch
Brittany Software, Inc.
[EMAIL PROTECTED]

PGP Key: http://brittanysoftware.com/gpg_key.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF+aDHA3JYBYlsWUcRAuRJAKCkxjlyOr7oOkN0jVCLCA+X+fN1dwCghpsy
S+IAZjaIvrJ3lT5viLNST7g=
=ACPY
-END PGP SIGNATURE-

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/


Re: [iText-questions] Glyph outlines artifacted when rendering Type 1 fonts on OS X.

2006-08-22 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Andrey Seryukov wrote:
 
 Here's a problem. We have a Type 1 font from high quality font set that looks 
 different on screen and on exported page. The difference is rather peculiar 
 and 
 can be described as round shapes become more like a diamond. Many if not 
 all 
 gplyphs that have round portions are affected. I can e-mail and/or attach a 
 sample screenshot or PDF file.
 
 Is this a known effect?


I've reported a problem to Apple about a similar problem back in January
but it hasn't been fixed so far. The bug id is 4424164, J2SE50R4DP5
Quartz: TYPE1 fonts not rendered correctly

They fixed two other font problems I reported earlier, one related to
Type 1, the other to the fontpath but this bug has been in their bug
database for a while now...


In my case, disabling Quartz was the solution to get the rendering done
correctly.

Try using -Dapple.awt.graphics.UseQuartz=false to see if it solves your
problem. Doing so means that the same rendering engine used on Windows
and Linux will be used instead of the Apple specific code.



Xavier

- --
Xavier Le Vourch
Brittany Software, Inc.
[EMAIL PROTECTED]

PGP Key: http://brittanysoftware.com/gpg_key.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE6zJQA3JYBYlsWUcRAqf+AJ43Tx807KvWn2ZB6fr6jUBysuPIdACfdb76
QPYRruic+KcQisTBt93RYYk=
=+hvU
-END PGP SIGNATURE-

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions


Re: [iText-questions] Possible File Resource Leak

2005-12-20 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

John Pruitt wrote:
 Actually, I am converting pdfs to tiff. We have a special case where our
 pdfs all consist of full-page images. I use iText to get to the image
 streams in the pdf, and use JAI to encode the images to tiff.

The problem may not be with iText but with JAI.

I had a similar problem in the past using JAI.create with the
filestore argument: the file was not closed by JAI once the image was
saved. When I replaced filestore with encode after creating the file
explicitly, the problem disappeared.

You may have the same problem if you're passing a file name instead of a
file stream to JAI.


Xavier

- --
Xavier Le Vourch
Brittany Software, Inc.
[EMAIL PROTECTED]

PGP Key: http://brittanysoftware.com/gpg_key.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFDqEwJA3JYBYlsWUcRAmOeAKCl8y/80t87PrTlFIv5W60uOWSXMACginxB
G5Yuw9+80UTODzMPgIwEjcQ=
=X40d
-END PGP SIGNATURE-


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions


Re: [iText-questions] Some help with doing watermarking in a servlet.

2005-11-01 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Chris Liles wrote:
 
 So I have hacked up the servlet example from the website to get my pdf 
 looking how I want it to.  I would like to add a watermark. The example for 
 the watermarking uses a PdfContentByte object. From looking at the other 
 examples, to get a PdfContentByte I need to writer.getDirectContent() with 
 writer being a PdfWriter object. 
 From the servlet example I don't have a PdfWriter object, I just call 
 PdfWriter.getInstance(document, baos)
 
 I can't figure out how to adapt the code to get a PdfContentByte object in my 
 servlet.
 
 Can anyone tell me how to get a PdfContentByte object from just having 
 PdfWriter.getInstance(document, baos)??


Just replace the line above from the servlet example with:

PdfWriter writer = PdfWriter.getInstance(document, baos);


and then use writer.getDirectContent() to insert the watermark based
on the watermark example code.


Xavier

- --
Xavier Le Vourch
Brittany Software, Inc.
[EMAIL PROTECTED]

PGP Key: http://brittanysoftware.com/gpg_key.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDaAprA3JYBYlsWUcRAiHtAJ40BgrM30j950vEW+m4W+It7HeeUACeOR26
dNAFCst6p6P0CgIwRsVtBgA=
=KDDZ
-END PGP SIGNATURE-


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions


Re: [iText-questions] Thumbnails in PDF with iText

2005-07-27 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Markus Enders wrote:

 
 As our PDFs just consists of  images placed on PDF-Pages (a single image
 per page), I may use the same image to produce the thumbnail-image. Just
 need to know how I add thumbnails ;-)

setThumbnail() in PdfWriter() will insert an image for the current page.



Xavier


- --
Xavier Le Vourch
Brittany Software, Inc.
[EMAIL PROTECTED]

PGP Key: http://brittanysoftware.com/gpg_key.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC58DIA3JYBYlsWUcRAo5/AJ9lfycEZMsdCQgPZpHQ514W8fsZPQCbB9Vo
7yJ2B/Ut3EXdg4iZTq1sSqA=
=2GPf
-END PGP SIGNATURE-


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions


Re: [iText-questions] iText and PDF Images

2005-04-27 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dewey, Jeff wrote:
 Does iText now, or will it ever, support PDF images directly without
 first converting them to tif?

I'm not sure what you mean by PDF images.

If you mean transforming a pdf into an image, this cannot be done with
iText.

If you mean importing pages from an existing pdf into a new one, it can
be done with PdfImportedPage. See the PdfWriter paragraph at:

http://itext.sourceforge.net/tutorial/general/copystamp/

or the TwoOnOne example directly:

http://itext.sourceforge.net/examples/com/lowagie/examples/general/copystamp/TwoOnOne.java

The imported page can be resized and/or rotated using a transformation
matrix.


Xavier

- --
Xavier Le Vourch
Brittany Software, Inc.
[EMAIL PROTECTED]

PGP Key: http://brittanysoftware.com/gpg_key.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCb8R9A3JYBYlsWUcRAmzRAKCU2igy2hVJmRHYWuMY1EIgdaRvLgCdGhr2
MX7/+xrwn9zm6j+lquLIAdU=
=zPey
-END PGP SIGNATURE-


---
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions


Re: [iText-questions] iText version

2005-04-22 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Bill Ambrosini wrote:
 How do I figure out what version of iText I have been using?
 I have iText.jar and the source that I donwloaded a little over a year ago.
 

Call Document.getVersion() or look at the properties of a generated pdf
file.


Xavier


- --
Xavier Le Vourch
Brittany Software, Inc.
[EMAIL PROTECTED]

PGP Key: http://brittanysoftware.com/gpg_key.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCaTn8A3JYBYlsWUcRAt0yAJ0U0HdfSd548EG8QxpKzV2D79dR2ACaApy/
wdaK2JPCa+60oeRvy4coAZ4=
=AOIU
-END PGP SIGNATURE-


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions


Re: [iText-questions] How to set Keywords using iText

2005-04-20 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Siegfried Goeschl wrote:
 Hi folks,
 
 I'm sure it's my mistake but I can't figure out how to set the
 Keywords found in the Document Properties for a PDF document 
 any ideas?!
 

It's in the Document class:

public boolean addKeywords(String keywords)



Xavier

- --
Xavier Le Vourch
Brittany Software, Inc.
[EMAIL PROTECTED]

PGP Key: http://brittanysoftware.com/gpg_key.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCZtckA3JYBYlsWUcRAvLrAKCMwQtYZGcZUr6VnDg8r0E1iCFkbACgo3iR
G8x1X+cmPsPHyskWW9tGqnI=
=OWJI
-END PGP SIGNATURE-


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions


Re: [iText-questions] adding page numbers

2005-02-07 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
See the headers_and_watermarks.java example at
http://itextpdf.sourceforge.net/
Andre Fourie wrote:
| Hi all,
|
| We are creating multiple page PDFs and want to put at the bottom of
| each page, the text 'Page x of totalPages'. Is there an easy way to do
| this? Or do you have to know the total number of pages that are going
| to be generated up front, before you start to create the PDF?
|
| Thanks!
| André
|
|
| ---
| SF email is sponsored by - The IT Product Guide
| Read honest  candid reviews on hundreds of IT Products from real users.
| Discover which products truly live up to the hype. Start reading now.
| http://ads.osdn.com/?ad_ide95alloc_id396op=click
| ___
| iText-questions mailing list
| iText-questions@lists.sourceforge.net
| https://lists.sourceforge.net/lists/listinfo/itext-questions
- --
Xavier Le Vourch
Brittany Software, Inc.
[EMAIL PROTECTED]
PGP Key: http://brittanysoftware.com/gpg_key.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCB8M6A3JYBYlsWUcRAgtOAJ4gsA7D3O0GMZST3jMU9evwYB2dCwCeKKlO
RmeBh4X9PGZVYRGqJqm+x9E=
=ge8X
-END PGP SIGNATURE-
---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95alloc_id396op=click
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions


[iText-questions] Problems with TIFF image

2004-09-21 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I'm having problems with a TIFF image. It's processed correctly by iText
but Acrobat Reader will not display (or print) the resulting pdf file.
The offending TIFF (5159762.tif), another valid TIFF and the output of
the read_tiffs.java example on those two images are located on my server:
http://brittanysoftware.com/bugs/3605703.tif
http://brittanysoftware.com/bugs/5159762.tif
http://brittanysoftware.com/bugs/many_tiffs.pdf
The error in Acrobat Reader is a drawing error occurred on the second
page of the pdf file but the image file does not seem to be corrupted.
The tests are done with the paulo 138 version and displayed with Acrobat
Reader 6.0.2 but another user had problems with a different version of
the reader as well.
Is there any other way to insert the TIFF images? From previous messages
on the list, it seems that the JAI package has some limitations but
would it work better in this case?
Thanks,
Xavier
- --
Xavier Le Vourch
Brittany Software, Inc.
[EMAIL PROTECTED]
PGP Key: http://brittanysoftware.com/gpg_key.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBUO5uA3JYBYlsWUcRAtl5AJwJ3G4mYxT0MazeyCIaXwQGKRGnWQCfSW4a
0msw/WumaWI129MZSlo48MU=
=8y6+
-END PGP SIGNATURE-
---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions