<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:www.nabble.com,2006:forum-2701</id>
	<title>Nabble - iText - General</title>
	<updated>2008-10-10T16:35:27Z</updated>
	<link rel="self" type="application/atom+xml" href="http://www.nabble.com/iText---General-f2701.xml" />
	<link rel="alternate" type="text/html" href="http://www.nabble.com/iText---General-f2701.html" />
	<subtitle type="html">iText is a Java-PDF library which contains classes that generate documents in the Portable Document Format (PDF) and/or HTML.</subtitle>
	
<entry>
	<id>tag:www.nabble.com,2006:post-19927865</id>
	<title>'Could not find XObject named Xi1' error after using PdfCopy with PageStamp</title>
	<published>2008-10-10T16:35:27Z</published>
	<updated>2008-10-10T16:35:27Z</updated>
	<author>
		<name>Kevin Day</name>
	</author>
	<content type="html">We are having a problem with PdfCopy (and PdfSmartCopy) generating PDFs that give the following error in Acrobat when navigating to any page except the first page:
&lt;br&gt;&lt;br&gt;Could not find XObject named 'Xi1'
&lt;br&gt;&lt;br&gt;&lt;br&gt;The stamped content appears on the first page of the PDF only. &amp;nbsp;Subsequent pages show the original content, but not the stamp content.
&lt;br&gt;&lt;br&gt;&lt;br&gt;We have traced the trigger to whether we re-instantiate the PdfReader used for the content source of the stamp for every single output page. &amp;nbsp;If we re-use the PdfReader from page to page, we get the above error. &amp;nbsp;If we create a new PdfReader for every page, we do not get the above error.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Here is test code that will recreate the problem (if you change resetStampEachPage to true, the PDF generated behaves properly):
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; public void mergeAndStampPdf(File[] in, File out, File stamp) throws Exception {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Document document = new Document();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PdfCopy writer = new PdfSmartCopy(document, new FileOutputStream(out));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; document.open();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; boolean resetStampEachPage = false;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int stampPageNum = 1;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PdfReader stampReader = new PdfReader(stamp.getPath());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for (int inNum = 0; inNum &amp;lt; in.length; inNum++){
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // create a reader for the input document
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PdfReader documentReader = new PdfReader(in[inNum].getPath());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for (int pageNum = 1; pageNum &amp;lt;= documentReader.getNumberOfPages(); pageNum++){
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // import a page from the main file
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PdfImportedPage mainPage = writer.getImportedPage(documentReader, pageNum);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // make a stamp from the page and get under content...
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PdfCopy.PageStamp pageStamp = writer.createPageStamp(mainPage);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // import a page from a file with the stamp...
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (resetStampEachPage)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; stampReader = new PdfReader(stamp.getPath());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PdfImportedPage stampPage = writer.getImportedPage(stampReader, stampPageNum++);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // add the stamp template, update stamp, and add the page
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; pageStamp.getOverContent().addTemplate(stampPage, 0, 0);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; pageStamp.alterContents();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; writer.addPage(mainPage);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (stampPageNum &amp;gt; stampReader.getNumberOfPages())
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; stampPageNum = 1;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; writer.close(); 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; document.close();
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;It seems odd to me that it wouldn't be legal to call getImportedPage on the same reader more than once (after all, we are calling getImportedPage on the source file reader multiple times without issue).
&lt;br&gt;&lt;br&gt;I noticed in the source for PdfCopy#createPageStamp() that it says that it modifies the Reader instance, but I'm assuming this refers to the reader associated with the page passed in to createPageStamp.
&lt;br&gt;&lt;br&gt;Any ideas on what's going on here (or are we mis-using something)?
&lt;br&gt;&lt;br&gt;Thanks!
&lt;br&gt;&lt;br&gt;- K
&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;iText-questions mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19927865&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;iText-questions@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/itext-questions&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/itext-questions&lt;/a&gt;&lt;br&gt;&lt;br&gt;Buy the iText book: &lt;a href=&quot;http://www.1t3xt.com/docs/book.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.com/docs/book.php&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/%27Could-not-find-XObject-named-Xi1%27-error-after-using-PdfCopy-with-PageStamp-tp19927865p19927865.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19927100</id>
	<title>Re: Converting RowSpantoNestedTablesQuestion(AGAIN)</title>
	<published>2008-10-10T15:22:18Z</published>
	<updated>2008-10-10T15:22:18Z</updated>
	<author>
		<name>Stew Meyers</name>
	</author>
	<content type="html">Thanks for the reply, Paulo. &amp;nbsp;Interestingly I've had very good success with
&lt;br&gt;the Table object for both PDF and RTF generation. &amp;nbsp;I have had to make a few
&lt;br&gt;changes/fixes to the code in some instances, but it has worked well for us,
&lt;br&gt;which is why I'm reluctant to get off it even though it is not supported any
&lt;br&gt;more (a shame really since it has some very distinct advantages over the
&lt;br&gt;current model). &amp;nbsp; I have thought about how I can apply nested tables in many
&lt;br&gt;different scenarios, but have not been able to devise an algorithm that
&lt;br&gt;would work consistently, and I don't have a lot of time myself to work on
&lt;br&gt;it.
&lt;br&gt;&lt;br&gt;What we have been looking at however, is using the Table object for headers
&lt;br&gt;and footers. &amp;nbsp;I can use it for RTF headers/footers through the
&lt;br&gt;RtfHeaderFooter class, but there is unfortunately not a PdfHeaderFooter
&lt;br&gt;class that supports Tables, and WriteSelectedRows() is not supported in the
&lt;br&gt;Table class. &amp;nbsp;I have created a PdfHeaderFooter class and have been trying to
&lt;br&gt;integrate it with PdfDocument, but have hit some roadblocks mainly because
&lt;br&gt;I'm not very familiar with the code. &amp;nbsp;If you do have any suggestions about
&lt;br&gt;how best to use the Table class for PDF headers and footers, it would
&lt;br&gt;certainly be welcome!
&lt;br&gt;&lt;br&gt;Thanks and I certainly do appreciate your efforts with this nice product.
&lt;br&gt;&lt;br&gt;- Stew
&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: Paulo Soares [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19927100&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;psoares@...&lt;/a&gt;] 
&lt;br&gt;Sent: Friday, October 10, 2008 5:38 PM
&lt;br&gt;To: Post all your questions about iText here
&lt;br&gt;Subject: Re: [iText-questions] Converting
&lt;br&gt;RowSpantoNestedTablesQuestion(AGAIN)
&lt;br&gt;&lt;br&gt;Table class has all kind of rendering problems. PdfPTable was created to 
&lt;br&gt;alleviate this even if some features were not present at the time, 
&lt;br&gt;reliability was more important. Rowspan would be nice to have but PdfPTable 
&lt;br&gt;had to start simple and now I don't have the time, the need or the 
&lt;br&gt;motivation to do it. So, it's nested tables, some workaround you may devise 
&lt;br&gt;or some other pdf creation tool. If your workaround is a rowspan to nested 
&lt;br&gt;table converter your contribution would be most welcomed.
&lt;br&gt;&lt;br&gt;Paulo
&lt;br&gt;&lt;br&gt;----- Original Message ----- 
&lt;br&gt;From: &amp;quot;Stewart Meyers&amp;quot; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19927100&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;smeyers@...&lt;/a&gt;&amp;gt;
&lt;br&gt;To: &amp;quot;'Post all your questions about iText here'&amp;quot; 
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19927100&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;itext-questions@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Sent: Friday, October 10, 2008 8:47 PM
&lt;br&gt;Subject: Re: [iText-questions] Converting RowSpan 
&lt;br&gt;toNestedTablesQuestion(AGAIN)
&lt;br&gt;&lt;br&gt;&lt;br&gt;Alleni,
&lt;br&gt;&lt;br&gt;Thank you so much for looking at the issue and coming up with a solution.
&lt;br&gt;You are correct that the problem is not basic rowspan, but more complicated
&lt;br&gt;scenarios. &amp;nbsp;Unfortunately I have no idea ahead of time what type of row and
&lt;br&gt;column span a user is going to want, so you can see why this is a difficult
&lt;br&gt;problem. &amp;nbsp;Due to this issue, we are considering trying to modify iText
&lt;br&gt;source code to allow the use of the older Table class (which supports
&lt;br&gt;rowspan) to be used in headers and footers, or moving to another pdf
&lt;br&gt;creation tool if we can't make that work. &amp;nbsp;I am still at a loss to
&lt;br&gt;understand why this functionality was removed; if iText creators had it in
&lt;br&gt;the older Table class, and they keep telling users to use nested tables,
&lt;br&gt;then why can't the iText product automatically handle the creation of nested
&lt;br&gt;tables based on the rowspan value?
&lt;br&gt;&lt;br&gt;Anyhow, thanks again for the time you spent on looking at this.
&lt;br&gt;&lt;br&gt;- Stew
&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: Alleni [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19927100&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;alleni@...&lt;/a&gt;]
&lt;br&gt;Sent: Wednesday, October 08, 2008 8:57 AM
&lt;br&gt;To: Post all your questions about iText here
&lt;br&gt;Subject: Re: [iText-questions] Converting RowSpan toNested
&lt;br&gt;TablesQuestion(AGAIN)
&lt;br&gt;&lt;br&gt;&amp;gt;From the following URL:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://itextdocs.lowagie.com/tutorial/objects/tables/index.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://itextdocs.lowagie.com/tutorial/objects/tables/index.php&lt;/a&gt;&lt;br&gt;&lt;br&gt;search for &amp;quot;nested tables&amp;quot;
&lt;br&gt;&lt;br&gt;It seems like your problem is not how to do a basic rowspan but a more
&lt;br&gt;complicated multi rowspan table.
&lt;br&gt;&lt;br&gt;Basically if you take your original example you could convert it to
&lt;br&gt;something like the following.
&lt;br&gt;&lt;br&gt;&amp;lt;table style=&amp;quot;border:1px solid&amp;quot; border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;tr&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;td style=&amp;quot;border-right:1px solid&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;table border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;tr&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;td style=&amp;quot;height:42px;border-bottom:1px
&lt;br&gt;solid;&amp;quot;&amp;gt;1&amp;lt;/td&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/tr&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;tr&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;td&amp;gt;6&amp;lt;/td&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;tr&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/table&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/td&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;td&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;table border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;tr&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;td style=&amp;quot;border-bottom:1px
&lt;br&gt;solid;border-right:1px solid&amp;quot;&amp;gt;2&amp;lt;/td&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;td style=&amp;quot;border-bottom:1px solid&amp;quot;&amp;gt;3&amp;lt;/td&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/tr&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;tr&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;td style=&amp;quot;border-right:1px solid;&amp;quot;&amp;gt;4&amp;lt;/td&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;td&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;table border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot;
&lt;br&gt;cellpadding=&amp;quot;0&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;tr&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;td style=&amp;quot;border-bottom:1px
&lt;br&gt;solid;&amp;quot;&amp;gt;5&amp;lt;/td&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/tr&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;tr&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;td&amp;gt;7&amp;lt;/td&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/tr&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/table&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/td&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/tr&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/table&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/td&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/tr&amp;gt;
&lt;br&gt;&amp;lt;/table&amp;gt;
&lt;br&gt;&lt;br&gt;The main problem with this sample is the &amp;quot;height:42px&amp;quot; as it is not
&lt;br&gt;dynamic and if your content contains multiple lines of data you would
&lt;br&gt;need to adjust this value.
&lt;br&gt;&lt;br&gt;If you create your cells before adding the one with the &amp;quot;height:42px&amp;quot;
&lt;br&gt;you may be able to calculate the height to get the results you want -
&lt;br&gt;but it will take a little work.
&lt;br&gt;&lt;br&gt;Good luck
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Tue, Oct 7, 2008 at 2:33 PM, Stewart Meyers &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19927100&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;smeyers@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; Geez; I'm just asking for some help on a specific issue that I cannot
&lt;br&gt;figure
&lt;br&gt;&amp;gt; out how to do with nested tables, which was my original question. &amp;nbsp;I have
&lt;br&gt;&amp;gt; provided an example of what of what I need to do as a PdfPTable, but
&lt;br&gt;cannot
&lt;br&gt;&amp;gt; figure out how to do it. &amp;nbsp;As I mentioned in my previous thread of this
&lt;br&gt;same
&lt;br&gt;&amp;gt; issue, I have purchased and read the examples in the book, but they are
&lt;br&gt;very
&lt;br&gt;&amp;gt; simple and don't address situations where there are overlapping cells in
&lt;br&gt;&amp;gt; spanned rows. &amp;nbsp;If you load the HTML table that I provided in my example,
&lt;br&gt;you
&lt;br&gt;&amp;gt; will see what I mean. &amp;nbsp;Do you know of a specific example that addresses
&lt;br&gt;this
&lt;br&gt;&amp;gt; issue? &amp;nbsp;If you do, I would certainly appreciate a link to it or any other
&lt;br&gt;&amp;gt; information.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thank you
&lt;br&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great
&lt;br&gt;prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;iText-questions mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19927100&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;iText-questions@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/itext-questions&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/itext-questions&lt;/a&gt;&lt;br&gt;&lt;br&gt;Buy the iText book: &lt;a href=&quot;http://www.1t3xt.com/docs/book.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.com/docs/book.php&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;iText-questions mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19927100&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;iText-questions@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/itext-questions&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/itext-questions&lt;/a&gt;&lt;br&gt;&lt;br&gt;Buy the iText book: &lt;a href=&quot;http://www.1t3xt.com/docs/book.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.com/docs/book.php&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Converting-RowSpan-to-Nested-Tables-Question-%28AGAIN%29-tp19862864p19927100.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19926934</id>
	<title>Re: Converting RowSpan toNestedTablesQuestion(AGAIN)</title>
	<published>2008-10-10T14:38:11Z</published>
	<updated>2008-10-10T14:38:11Z</updated>
	<author>
		<name>Paulo Soares</name>
	</author>
	<content type="html">Table class has all kind of rendering problems. PdfPTable was created to 
&lt;br&gt;alleviate this even if some features were not present at the time, 
&lt;br&gt;reliability was more important. Rowspan would be nice to have but PdfPTable 
&lt;br&gt;had to start simple and now I don't have the time, the need or the 
&lt;br&gt;motivation to do it. So, it's nested tables, some workaround you may devise 
&lt;br&gt;or some other pdf creation tool. If your workaround is a rowspan to nested 
&lt;br&gt;table converter your contribution would be most welcomed.
&lt;br&gt;&lt;br&gt;Paulo
&lt;br&gt;&lt;br&gt;----- Original Message ----- 
&lt;br&gt;From: &amp;quot;Stewart Meyers&amp;quot; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19926934&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;smeyers@...&lt;/a&gt;&amp;gt;
&lt;br&gt;To: &amp;quot;'Post all your questions about iText here'&amp;quot; 
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19926934&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;itext-questions@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Sent: Friday, October 10, 2008 8:47 PM
&lt;br&gt;Subject: Re: [iText-questions] Converting RowSpan 
&lt;br&gt;toNestedTablesQuestion(AGAIN)
&lt;br&gt;&lt;br&gt;&lt;br&gt;Alleni,
&lt;br&gt;&lt;br&gt;Thank you so much for looking at the issue and coming up with a solution.
&lt;br&gt;You are correct that the problem is not basic rowspan, but more complicated
&lt;br&gt;scenarios. &amp;nbsp;Unfortunately I have no idea ahead of time what type of row and
&lt;br&gt;column span a user is going to want, so you can see why this is a difficult
&lt;br&gt;problem. &amp;nbsp;Due to this issue, we are considering trying to modify iText
&lt;br&gt;source code to allow the use of the older Table class (which supports
&lt;br&gt;rowspan) to be used in headers and footers, or moving to another pdf
&lt;br&gt;creation tool if we can't make that work. &amp;nbsp;I am still at a loss to
&lt;br&gt;understand why this functionality was removed; if iText creators had it in
&lt;br&gt;the older Table class, and they keep telling users to use nested tables,
&lt;br&gt;then why can't the iText product automatically handle the creation of nested
&lt;br&gt;tables based on the rowspan value?
&lt;br&gt;&lt;br&gt;Anyhow, thanks again for the time you spent on looking at this.
&lt;br&gt;&lt;br&gt;- Stew
&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: Alleni [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19926934&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;alleni@...&lt;/a&gt;]
&lt;br&gt;Sent: Wednesday, October 08, 2008 8:57 AM
&lt;br&gt;To: Post all your questions about iText here
&lt;br&gt;Subject: Re: [iText-questions] Converting RowSpan toNested
&lt;br&gt;TablesQuestion(AGAIN)
&lt;br&gt;&lt;br&gt;&amp;gt;From the following URL:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://itextdocs.lowagie.com/tutorial/objects/tables/index.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://itextdocs.lowagie.com/tutorial/objects/tables/index.php&lt;/a&gt;&lt;br&gt;&lt;br&gt;search for &amp;quot;nested tables&amp;quot;
&lt;br&gt;&lt;br&gt;It seems like your problem is not how to do a basic rowspan but a more
&lt;br&gt;complicated multi rowspan table.
&lt;br&gt;&lt;br&gt;Basically if you take your original example you could convert it to
&lt;br&gt;something like the following.
&lt;br&gt;&lt;br&gt;&amp;lt;table style=&amp;quot;border:1px solid&amp;quot; border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;tr&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;td style=&amp;quot;border-right:1px solid&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;table border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;tr&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;td style=&amp;quot;height:42px;border-bottom:1px
&lt;br&gt;solid;&amp;quot;&amp;gt;1&amp;lt;/td&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/tr&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;tr&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;td&amp;gt;6&amp;lt;/td&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;tr&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/table&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/td&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;td&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;table border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;tr&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;td style=&amp;quot;border-bottom:1px
&lt;br&gt;solid;border-right:1px solid&amp;quot;&amp;gt;2&amp;lt;/td&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;td style=&amp;quot;border-bottom:1px solid&amp;quot;&amp;gt;3&amp;lt;/td&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/tr&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;tr&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;td style=&amp;quot;border-right:1px solid;&amp;quot;&amp;gt;4&amp;lt;/td&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;td&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;table border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot;
&lt;br&gt;cellpadding=&amp;quot;0&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;tr&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;td style=&amp;quot;border-bottom:1px
&lt;br&gt;solid;&amp;quot;&amp;gt;5&amp;lt;/td&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/tr&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;tr&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;td&amp;gt;7&amp;lt;/td&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/tr&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/table&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/td&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/tr&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/table&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/td&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/tr&amp;gt;
&lt;br&gt;&amp;lt;/table&amp;gt;
&lt;br&gt;&lt;br&gt;The main problem with this sample is the &amp;quot;height:42px&amp;quot; as it is not
&lt;br&gt;dynamic and if your content contains multiple lines of data you would
&lt;br&gt;need to adjust this value.
&lt;br&gt;&lt;br&gt;If you create your cells before adding the one with the &amp;quot;height:42px&amp;quot;
&lt;br&gt;you may be able to calculate the height to get the results you want -
&lt;br&gt;but it will take a little work.
&lt;br&gt;&lt;br&gt;Good luck
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Tue, Oct 7, 2008 at 2:33 PM, Stewart Meyers &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19926934&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;smeyers@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; Geez; I'm just asking for some help on a specific issue that I cannot
&lt;br&gt;figure
&lt;br&gt;&amp;gt; out how to do with nested tables, which was my original question. &amp;nbsp;I have
&lt;br&gt;&amp;gt; provided an example of what of what I need to do as a PdfPTable, but
&lt;br&gt;cannot
&lt;br&gt;&amp;gt; figure out how to do it. &amp;nbsp;As I mentioned in my previous thread of this
&lt;br&gt;same
&lt;br&gt;&amp;gt; issue, I have purchased and read the examples in the book, but they are
&lt;br&gt;very
&lt;br&gt;&amp;gt; simple and don't address situations where there are overlapping cells in
&lt;br&gt;&amp;gt; spanned rows. &amp;nbsp;If you load the HTML table that I provided in my example,
&lt;br&gt;you
&lt;br&gt;&amp;gt; will see what I mean. &amp;nbsp;Do you know of a specific example that addresses
&lt;br&gt;this
&lt;br&gt;&amp;gt; issue? &amp;nbsp;If you do, I would certainly appreciate a link to it or any other
&lt;br&gt;&amp;gt; information.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thank you
&lt;br&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;iText-questions mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19926934&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;iText-questions@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/itext-questions&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/itext-questions&lt;/a&gt;&lt;br&gt;&lt;br&gt;Buy the iText book: &lt;a href=&quot;http://www.1t3xt.com/docs/book.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.com/docs/book.php&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Converting-RowSpan-to-Nested-Tables-Question-%28AGAIN%29-tp19862864p19926934.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19925008</id>
	<title>Re: Converting RowSpan toNested TablesQuestion(AGAIN)</title>
	<published>2008-10-10T12:47:01Z</published>
	<updated>2008-10-10T12:47:01Z</updated>
	<author>
		<name>Stew Meyers</name>
	</author>
	<content type="html">Alleni,
&lt;br&gt;&lt;br&gt;Thank you so much for looking at the issue and coming up with a solution.
&lt;br&gt;You are correct that the problem is not basic rowspan, but more complicated
&lt;br&gt;scenarios. &amp;nbsp;Unfortunately I have no idea ahead of time what type of row and
&lt;br&gt;column span a user is going to want, so you can see why this is a difficult
&lt;br&gt;problem. &amp;nbsp;Due to this issue, we are considering trying to modify iText
&lt;br&gt;source code to allow the use of the older Table class (which supports
&lt;br&gt;rowspan) to be used in headers and footers, or moving to another pdf
&lt;br&gt;creation tool if we can't make that work. &amp;nbsp;I am still at a loss to
&lt;br&gt;understand why this functionality was removed; if iText creators had it in
&lt;br&gt;the older Table class, and they keep telling users to use nested tables,
&lt;br&gt;then why can't the iText product automatically handle the creation of nested
&lt;br&gt;tables based on the rowspan value?
&lt;br&gt;&lt;br&gt;Anyhow, thanks again for the time you spent on looking at this.
&lt;br&gt;&lt;br&gt;- Stew
&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: Alleni [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19925008&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;alleni@...&lt;/a&gt;] 
&lt;br&gt;Sent: Wednesday, October 08, 2008 8:57 AM
&lt;br&gt;To: Post all your questions about iText here
&lt;br&gt;Subject: Re: [iText-questions] Converting RowSpan toNested
&lt;br&gt;TablesQuestion(AGAIN)
&lt;br&gt;&lt;br&gt;&amp;gt;From the following URL:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://itextdocs.lowagie.com/tutorial/objects/tables/index.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://itextdocs.lowagie.com/tutorial/objects/tables/index.php&lt;/a&gt;&lt;br&gt;&lt;br&gt;search for &amp;quot;nested tables&amp;quot;
&lt;br&gt;&lt;br&gt;It seems like your problem is not how to do a basic rowspan but a more
&lt;br&gt;complicated multi rowspan table.
&lt;br&gt;&lt;br&gt;Basically if you take your original example you could convert it to
&lt;br&gt;something like the following.
&lt;br&gt;&lt;br&gt;&amp;lt;table style=&amp;quot;border:1px solid&amp;quot; border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;tr&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;td style=&amp;quot;border-right:1px solid&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 	 &amp;nbsp;&amp;lt;table border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 	 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;tr&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 	 &amp;nbsp; &amp;nbsp; &amp;nbsp;	&amp;lt;td style=&amp;quot;height:42px;border-bottom:1px
&lt;br&gt;solid;&amp;quot;&amp;gt;1&amp;lt;/td&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 	 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/tr&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 	 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;tr&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 	 &amp;nbsp; &amp;nbsp; &amp;nbsp;	&amp;lt;td&amp;gt;6&amp;lt;/td&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 	 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;tr&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 	 &amp;nbsp;&amp;lt;/table&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/td&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;td&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 	 &amp;lt;table border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 	 	 &amp;lt;tr&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 	 		&amp;lt;td style=&amp;quot;border-bottom:1px
&lt;br&gt;solid;border-right:1px solid&amp;quot;&amp;gt;2&amp;lt;/td&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;td style=&amp;quot;border-bottom:1px solid&amp;quot;&amp;gt;3&amp;lt;/td&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/tr&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;tr&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 	&amp;lt;td style=&amp;quot;border-right:1px solid;&amp;quot;&amp;gt;4&amp;lt;/td&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 	&amp;lt;td&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 		&amp;lt;table border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot;
&lt;br&gt;cellpadding=&amp;quot;0&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 			&amp;lt;tr&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 				&amp;lt;td style=&amp;quot;border-bottom:1px
&lt;br&gt;solid;&amp;quot;&amp;gt;5&amp;lt;/td&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 			&amp;lt;/tr&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 			&amp;lt;tr&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 				&amp;lt;td&amp;gt;7&amp;lt;/td&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 			&amp;lt;/tr&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 		&amp;lt;/table&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 	&amp;lt;/td&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/tr&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/table&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/td&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/tr&amp;gt;
&lt;br&gt;&amp;lt;/table&amp;gt;
&lt;br&gt;&lt;br&gt;The main problem with this sample is the &amp;quot;height:42px&amp;quot; as it is not
&lt;br&gt;dynamic and if your content contains multiple lines of data you would
&lt;br&gt;need to adjust this value.
&lt;br&gt;&lt;br&gt;If you create your cells before adding the one with the &amp;quot;height:42px&amp;quot;
&lt;br&gt;you may be able to calculate the height to get the results you want -
&lt;br&gt;but it will take a little work.
&lt;br&gt;&lt;br&gt;Good luck
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Tue, Oct 7, 2008 at 2:33 PM, Stewart Meyers &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19925008&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;smeyers@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; Geez; I'm just asking for some help on a specific issue that I cannot
&lt;br&gt;figure
&lt;br&gt;&amp;gt; out how to do with nested tables, which was my original question. &amp;nbsp;I have
&lt;br&gt;&amp;gt; provided an example of what of what I need to do as a PdfPTable, but
&lt;br&gt;cannot
&lt;br&gt;&amp;gt; figure out how to do it. &amp;nbsp;As I mentioned in my previous thread of this
&lt;br&gt;same
&lt;br&gt;&amp;gt; issue, I have purchased and read the examples in the book, but they are
&lt;br&gt;very
&lt;br&gt;&amp;gt; simple and don't address situations where there are overlapping cells in
&lt;br&gt;&amp;gt; spanned rows. &amp;nbsp;If you load the HTML table that I provided in my example,
&lt;br&gt;you
&lt;br&gt;&amp;gt; will see what I mean. &amp;nbsp;Do you know of a specific example that addresses
&lt;br&gt;this
&lt;br&gt;&amp;gt; issue? &amp;nbsp;If you do, I would certainly appreciate a link to it or any other
&lt;br&gt;&amp;gt; information.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thank you
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great
&lt;br&gt;prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;iText-questions mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19925008&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;iText-questions@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/itext-questions&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/itext-questions&lt;/a&gt;&lt;br&gt;&lt;br&gt;Buy the iText book: &lt;a href=&quot;http://www.1t3xt.com/docs/book.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.com/docs/book.php&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;iText-questions mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19925008&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;iText-questions@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/itext-questions&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/itext-questions&lt;/a&gt;&lt;br&gt;&lt;br&gt;Buy the iText book: &lt;a href=&quot;http://www.1t3xt.com/docs/book.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.com/docs/book.php&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Converting-RowSpan-to-Nested-Tables-Question-%28AGAIN%29-tp19862864p19925008.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19919756</id>
	<title>Adding Header and Footer to more than one page</title>
	<published>2008-10-10T07:46:02Z</published>
	<updated>2008-10-10T07:46:02Z</updated>
	<author>
		<name>chaitu</name>
	</author>
	<content type="html">&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; we are using onEndpage event for Adding Header and Footer.Its working fine for when data exceeds to one page.But we are getting problem when Data Exceeds more than one page at a time.Its unable to add header and Footer for the middle &amp;nbsp;pages.
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Adding-Header-and-Footer-to-more-than-one-page-tp19919756p19919756.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19916319</id>
	<title>Re: PDF/A validation - problem in DublinCoreSchema</title>
	<published>2008-10-10T04:04:45Z</published>
	<updated>2008-10-10T04:04:45Z</updated>
	<author>
		<name>Paulo Soares-3</name>
	</author>
	<content type="html">Add your patch here &lt;a href=&quot;https://sourceforge.net/tracker2/?group_id=15255&amp;atid=315255&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker2/?group_id=15255&amp;atid=315255&lt;/a&gt;&amp;nbsp;so that it's not forgotten.
&lt;br&gt;&lt;br&gt;Paulo 
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: Katja Sondermann [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19916319&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;k.sondermann@...&lt;/a&gt;] 
&lt;br&gt;&amp;gt; Sent: Friday, October 10, 2008 11:44 AM
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19916319&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;itext-questions@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Subject: [iText-questions] PDF/A validation - problem in 
&lt;br&gt;&amp;gt; DublinCoreSchema
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hi there,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; We're currently implementing the writing of PDF/A documents 
&lt;br&gt;&amp;gt; by using iText, but found a problem during the validation of 
&lt;br&gt;&amp;gt; the documents in Adobe Acrobat 9.
&lt;br&gt;&amp;gt; The Preflight tool shows an error message like &amp;quot;XMP property 
&lt;br&gt;&amp;gt; not predefined and no extension schema present&amp;quot;. &amp;nbsp;The detail 
&lt;br&gt;&amp;gt; description says that the &amp;quot;description&amp;quot; and &amp;quot;title&amp;quot; values 
&lt;br&gt;&amp;gt; are not valid, so I had a look at the DublinCoreSchema and 
&lt;br&gt;&amp;gt; it's specification. The specification says these attributes 
&lt;br&gt;&amp;gt; have the type &amp;quot;language alternative&amp;quot;, so I tested it to use 
&lt;br&gt;&amp;gt; an XmpArray of type ALTERNATIVE in the DublinCoreSchema for 
&lt;br&gt;&amp;gt; those two attributes, which solves the problem (validation is 
&lt;br&gt;&amp;gt; ok in Acrobat 9). Is it possible to include this in one of 
&lt;br&gt;&amp;gt; the next iText versions (we use 2.1.3)?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Best regards,
&lt;br&gt;&amp;gt; Katja
&lt;/div&gt;&lt;/div&gt;&lt;br&gt;Aviso Legal:
&lt;br&gt;Esta mensagem é destinada exclusivamente ao destinatário. Pode conter informação confidencial ou legalmente protegida. A incorrecta transmissão desta mensagem não significa a perca de confidencialidade. Se esta mensagem for recebida por engano, por favor envie-a de volta para o remetente e apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de usar, revelar ou distribuir qualquer parte desta mensagem. 
&lt;br&gt;&lt;br&gt;Disclaimer:
&lt;br&gt;This message is destined exclusively to the intended receiver. It may contain confidential or legally protected information. The incorrect transmission of this message does not mean the loss of its confidentiality. If this message is received by mistake, please send it back to the sender and delete it from your system immediately. It is forbidden to any person who is not the intended receiver to use, distribute or copy any part of this message.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br /&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;iText-questions mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19916319&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;iText-questions@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/itext-questions&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/itext-questions&lt;/a&gt;&lt;br&gt;&lt;br&gt;Buy the iText book: &lt;a href=&quot;http://www.1t3xt.com/docs/book.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.com/docs/book.php&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/PDF-A-validation---problem-in-DublinCoreSchema-tp19916062p19916319.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19916062</id>
	<title>PDF/A validation - problem in DublinCoreSchema</title>
	<published>2008-10-10T03:44:06Z</published>
	<updated>2008-10-10T03:44:06Z</updated>
	<author>
		<name>Katja Sondermann</name>
	</author>
	<content type="html">Hi there,
&lt;br&gt;&lt;br&gt;We’re currently implementing the writing of PDF/A documents by using iText, but found a problem during the validation of the documents in Adobe Acrobat 9.
&lt;br&gt;The Preflight tool shows an error message like “XMP property not predefined and no extension schema present”. &amp;nbsp;The detail description says that the “description” and “title” values are not valid, so I had a look at the DublinCoreSchema and it’s specification. The specification says these attributes have the type “language alternative”, so I tested it to use an XmpArray of type ALTERNATIVE in the DublinCoreSchema for those two attributes, which solves the problem (validation is ok in Acrobat 9). Is it possible to include this in one of the next iText versions (we use 2.1.3)?
&lt;br&gt;&lt;br&gt;Best regards,
&lt;br&gt;Katja
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
&lt;br&gt;Ideal für Modem und ISDN: &lt;a href=&quot;http://www.gmx.net/de/go/smartsurfer&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gmx.net/de/go/smartsurfer&lt;/a&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;iText-questions mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19916062&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;iText-questions@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/itext-questions&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/itext-questions&lt;/a&gt;&lt;br&gt;&lt;br&gt;Buy the iText book: &lt;a href=&quot;http://www.1t3xt.com/docs/book.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.com/docs/book.php&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/PDF-A-validation---problem-in-DublinCoreSchema-tp19916062p19916062.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19914989</id>
	<title>Re: Intelligent Mail Barcodes</title>
	<published>2008-10-10T02:20:38Z</published>
	<updated>2008-10-10T02:20:38Z</updated>
	<author>
		<name>Paulo Soares-3</name>
	</author>
	<content type="html">&amp;nbsp;
&lt;br&gt;&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: O'Brien.Kerry [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19914989&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kerry.OBrien@...&lt;/a&gt;] 
&lt;br&gt;&amp;gt; Sent: Thursday, October 09, 2008 11:04 PM
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19914989&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;itext-questions@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Subject: [iText-questions] Intelligent Mail Barcodes
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Will there be iText support for the new IMB barcode format in 
&lt;br&gt;&amp;gt; the near future?
&lt;br&gt;&lt;br&gt;Probably not.
&lt;br&gt;&lt;br&gt;Paulo
&lt;br&gt;&lt;br&gt;Aviso Legal:
&lt;br&gt;Esta mensagem é destinada exclusivamente ao destinatário. Pode conter informação confidencial ou legalmente protegida. A incorrecta transmissão desta mensagem não significa a perca de confidencialidade. Se esta mensagem for recebida por engano, por favor envie-a de volta para o remetente e apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de usar, revelar ou distribuir qualquer parte desta mensagem. 
&lt;br&gt;&lt;br&gt;Disclaimer:
&lt;br&gt;This message is destined exclusively to the intended receiver. It may contain confidential or legally protected information. The incorrect transmission of this message does not mean the loss of its confidentiality. If this message is received by mistake, please send it back to the sender and delete it from your system immediately. It is forbidden to any person who is not the intended receiver to use, distribute or copy any part of this message.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br /&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;iText-questions mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19914989&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;iText-questions@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/itext-questions&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/itext-questions&lt;/a&gt;&lt;br&gt;&lt;br&gt;Buy the iText book: &lt;a href=&quot;http://www.1t3xt.com/docs/book.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.com/docs/book.php&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Intelligent-Mail-Barcodes-tp19914850p19914989.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19909054</id>
	<title>Re: SetAnchor, AddTemplate &amp; GetImportedPage</title>
	<published>2008-10-09T15:07:24Z</published>
	<updated>2008-10-09T15:07:24Z</updated>
	<author>
		<name>Paulo Soares</name>
	</author>
	<content type="html">You need PdfStamper.
&lt;br&gt;&lt;br&gt;Paulo
&lt;br&gt;&lt;br&gt;----- Original Message ----- 
&lt;br&gt;From: &amp;quot;William Rickards&amp;quot; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19909054&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;itext@...&lt;/a&gt;&amp;gt;
&lt;br&gt;To: &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19909054&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;itext-questions@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Sent: Thursday, October 09, 2008 9:48 PM
&lt;br&gt;Subject: Re: [iText-questions] SetAnchor, AddTemplate &amp; GetImportedPage
&lt;br&gt;&lt;br&gt;&lt;br&gt;Reading the archives it seems that I need to use the PDFCopy object.
&lt;br&gt;I'll have to see how that changes my generation process.
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Will Rickards
&lt;br&gt;&lt;br&gt;On Thu, Oct 9, 2008 at 4:41 PM, William Rickards &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19909054&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;itext@...&lt;/a&gt;&amp;gt; 
&lt;br&gt;wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Okay, SetAnchor normally works.
&lt;br&gt;&amp;gt; The problem is I am processing a pdf in two passes.
&lt;br&gt;&amp;gt; So that I can do a table of contents.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; So in the first pass pdf I use SetAnchor.
&lt;br&gt;&amp;gt; In the second pass I'm reading the first pass page and writing it to
&lt;br&gt;&amp;gt; the second pass document with:
&lt;br&gt;&amp;gt; m_objContentByte.AddTemplate(m_wrtReport.GetImportedPage(rdrFirstPassReport,
&lt;br&gt;&amp;gt; intPage), 1, 0, 0, 1, 0, 0)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; And then my url links aren't working.
&lt;br&gt;&amp;gt; Is there anyway to pull that information as well from the first pass 
&lt;br&gt;&amp;gt; document?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Will Rickards
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Wed, Oct 8, 2008 at 12:54 PM, William Rickards
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19909054&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;itext@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; What am I doing wrong?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I have a table. &amp;nbsp;At the end or beginning of the table I want a cell
&lt;br&gt;&amp;gt;&amp;gt; which has the text &amp;quot;Email&amp;quot; and it should be a url link to the actual
&lt;br&gt;&amp;gt;&amp;gt; email.
&lt;br&gt;&amp;gt;&amp;gt; It will be a network path like 
&lt;br&gt;&amp;gt;&amp;gt; \\servername\sharename\foldername\filename.msg.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; What I've tried so far:
&lt;br&gt;&amp;gt;&amp;gt; Note that all the previous cells have paragraph objects.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ' This method tries to use PdfAction
&lt;br&gt;&amp;gt;&amp;gt; Dim objAction As iTextSharp.text.pdf.PdfAction
&lt;br&gt;&amp;gt;&amp;gt; objAction = New iTextSharp.text.pdf.PdfAction(&amp;quot;&lt;a href=&quot;http://www.google.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.google.com/&lt;/a&gt;&amp;quot;)
&lt;br&gt;&amp;gt;&amp;gt; objCell = New iTextSharp.text.pdf.PdfPCell(New
&lt;br&gt;&amp;gt;&amp;gt; iTextSharp.text.Phrase(New iTextSharp.text.Chunk(&amp;quot;Google&amp;quot;,
&lt;br&gt;&amp;gt;&amp;gt; m_fntArial8).SetAction(objAction)))
&lt;br&gt;&amp;gt;&amp;gt; InitCell(objCell, 1)
&lt;br&gt;&amp;gt;&amp;gt; With objCell
&lt;br&gt;&amp;gt;&amp;gt; .HorizontalAlignment = iTextSharp.text.pdf.PdfPCell.ALIGN_LEFT
&lt;br&gt;&amp;gt;&amp;gt; .Border = m_intHitBorder
&lt;br&gt;&amp;gt;&amp;gt; .Colspan = 3
&lt;br&gt;&amp;gt;&amp;gt; End With
&lt;br&gt;&amp;gt;&amp;gt; objTable.AddCell(objCell)
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ' This method tries to use SetAnchor
&lt;br&gt;&amp;gt;&amp;gt; objCell = New iTextSharp.text.pdf.PdfPCell(New
&lt;br&gt;&amp;gt;&amp;gt; iTextSharp.text.Phrase(New iTextSharp.text.Chunk(&amp;quot;Google&amp;quot;,
&lt;br&gt;&amp;gt;&amp;gt; m_fntArial8).SetAnchor(&amp;quot;&lt;a href=&quot;http://www.google.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.google.com/&lt;/a&gt;&amp;quot;)))
&lt;br&gt;&amp;gt;&amp;gt; InitCell(objCell, 1)
&lt;br&gt;&amp;gt;&amp;gt; With objCell
&lt;br&gt;&amp;gt;&amp;gt; .HorizontalAlignment = iTextSharp.text.pdf.PdfPCell.ALIGN_LEFT
&lt;br&gt;&amp;gt;&amp;gt; .Border = m_intHitBorder
&lt;br&gt;&amp;gt;&amp;gt; .Colspan = 3
&lt;br&gt;&amp;gt;&amp;gt; End With
&lt;br&gt;&amp;gt;&amp;gt; objTable.AddCell(objCell)
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt; Will Rickards
&lt;/div&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;iText-questions mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19909054&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;iText-questions@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/itext-questions&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/itext-questions&lt;/a&gt;&lt;br&gt;&lt;br&gt;Buy the iText book: &lt;a href=&quot;http://www.1t3xt.com/docs/book.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.com/docs/book.php&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Re%3A-SetAnchor%2C-AddTemplate---GetImportedPage-tp19908186p19909054.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19914850</id>
	<title>Intelligent Mail Barcodes</title>
	<published>2008-10-09T15:03:42Z</published>
	<updated>2008-10-09T15:03:42Z</updated>
	<author>
		<name>O'Brien.Kerry</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 3.2//EN&quot;&gt;
&lt;HTML&gt;
&lt;HEAD&gt;
&lt;META HTTP-EQUIV=&quot;Content-Type&quot; CONTENT=&quot;text/html; charset=us-ascii&quot;&gt;
&lt;META NAME=&quot;Generator&quot; CONTENT=&quot;MS Exchange Server version 6.5.7653.38&quot;&gt;
&lt;TITLE&gt;Intelligent Mail Barcodes&lt;/TITLE&gt;
&lt;/HEAD&gt;
&lt;BODY&gt;
&lt;!-- Converted from text/rtf format --&gt;

&lt;P DIR=LTR&gt;&lt;SPAN LANG=&quot;en-us&quot;&gt;&lt;/SPAN&gt;&lt;SPAN LANG=&quot;en-us&quot;&gt;&lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;Will there be&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN LANG=&quot;en-us&quot;&gt;&lt;/SPAN&gt;&lt;SPAN LANG=&quot;en-us&quot;&gt; &lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;iText&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN LANG=&quot;en-us&quot;&gt;&lt;/SPAN&gt;&lt;SPAN LANG=&quot;en-us&quot;&gt; &lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;support for the new IMB barcode format in the near future?&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN LANG=&quot;en-us&quot;&gt;&lt;/SPAN&gt;&lt;SPAN LANG=&quot;en-us&quot;&gt;&lt;/SPAN&gt;&lt;/P&gt;


&lt;DIV&gt;
__________________________________________________________________________________________________&lt;BR&gt;
&lt;BR&gt;
CONFIDENTIALITY NOTICE: This email from the State of California is for the sole use of the intended recipient and may contain confidential and privileged information.  Any unauthorized review or use, including disclosure or distribution, is prohibited.  If you are not the intended recipient, please contact the sender and destroy all copies of this email.  &lt;BR&gt;
&lt;BR&gt;
&lt;/DIV&gt;&lt;/BODY&gt;
&lt;/HTML&gt;&lt;br /&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;iText-questions mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19914850&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;iText-questions@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/itext-questions&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/itext-questions&lt;/a&gt;&lt;br&gt;&lt;br&gt;Buy the iText book: &lt;a href=&quot;http://www.1t3xt.com/docs/book.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.com/docs/book.php&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Intelligent-Mail-Barcodes-tp19914850p19914850.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19908191</id>
	<title>Re: SetAnchor, AddTemplate &amp; GetImportedPage</title>
	<published>2008-10-09T13:48:57Z</published>
	<updated>2008-10-09T13:48:57Z</updated>
	<author>
		<name>William Rickards</name>
	</author>
	<content type="html">Reading the archives it seems that I need to use the PDFCopy object.
&lt;br&gt;I'll have to see how that changes my generation process.
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Will Rickards
&lt;br&gt;&lt;br&gt;On Thu, Oct 9, 2008 at 4:41 PM, William Rickards &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19908191&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;itext@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Okay, SetAnchor normally works.
&lt;br&gt;&amp;gt; The problem is I am processing a pdf in two passes.
&lt;br&gt;&amp;gt; So that I can do a table of contents.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; So in the first pass pdf I use SetAnchor.
&lt;br&gt;&amp;gt; In the second pass I'm reading the first pass page and writing it to
&lt;br&gt;&amp;gt; the second pass document with:
&lt;br&gt;&amp;gt; m_objContentByte.AddTemplate(m_wrtReport.GetImportedPage(rdrFirstPassReport,
&lt;br&gt;&amp;gt; intPage), 1, 0, 0, 1, 0, 0)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; And then my url links aren't working.
&lt;br&gt;&amp;gt; Is there anyway to pull that information as well from the first pass document?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Will Rickards
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Wed, Oct 8, 2008 at 12:54 PM, William Rickards
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19908191&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;itext@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; What am I doing wrong?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I have a table. &amp;nbsp;At the end or beginning of the table I want a cell
&lt;br&gt;&amp;gt;&amp;gt; which has the text &amp;quot;Email&amp;quot; and it should be a url link to the actual
&lt;br&gt;&amp;gt;&amp;gt; email.
&lt;br&gt;&amp;gt;&amp;gt; It will be a network path like \\servername\sharename\foldername\filename.msg.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; What I've tried so far:
&lt;br&gt;&amp;gt;&amp;gt; Note that all the previous cells have paragraph objects.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ' This method tries to use PdfAction
&lt;br&gt;&amp;gt;&amp;gt; Dim objAction As iTextSharp.text.pdf.PdfAction
&lt;br&gt;&amp;gt;&amp;gt; objAction = New iTextSharp.text.pdf.PdfAction(&amp;quot;&lt;a href=&quot;http://www.google.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.google.com/&lt;/a&gt;&amp;quot;)
&lt;br&gt;&amp;gt;&amp;gt; objCell = New iTextSharp.text.pdf.PdfPCell(New
&lt;br&gt;&amp;gt;&amp;gt; iTextSharp.text.Phrase(New iTextSharp.text.Chunk(&amp;quot;Google&amp;quot;,
&lt;br&gt;&amp;gt;&amp;gt; m_fntArial8).SetAction(objAction)))
&lt;br&gt;&amp;gt;&amp;gt; InitCell(objCell, 1)
&lt;br&gt;&amp;gt;&amp;gt; With objCell
&lt;br&gt;&amp;gt;&amp;gt; .HorizontalAlignment = iTextSharp.text.pdf.PdfPCell.ALIGN_LEFT
&lt;br&gt;&amp;gt;&amp;gt; .Border = m_intHitBorder
&lt;br&gt;&amp;gt;&amp;gt; .Colspan = 3
&lt;br&gt;&amp;gt;&amp;gt; End With
&lt;br&gt;&amp;gt;&amp;gt; objTable.AddCell(objCell)
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ' This method tries to use SetAnchor
&lt;br&gt;&amp;gt;&amp;gt; objCell = New iTextSharp.text.pdf.PdfPCell(New
&lt;br&gt;&amp;gt;&amp;gt; iTextSharp.text.Phrase(New iTextSharp.text.Chunk(&amp;quot;Google&amp;quot;,
&lt;br&gt;&amp;gt;&amp;gt; m_fntArial8).SetAnchor(&amp;quot;&lt;a href=&quot;http://www.google.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.google.com/&lt;/a&gt;&amp;quot;)))
&lt;br&gt;&amp;gt;&amp;gt; InitCell(objCell, 1)
&lt;br&gt;&amp;gt;&amp;gt; With objCell
&lt;br&gt;&amp;gt;&amp;gt; .HorizontalAlignment = iTextSharp.text.pdf.PdfPCell.ALIGN_LEFT
&lt;br&gt;&amp;gt;&amp;gt; .Border = m_intHitBorder
&lt;br&gt;&amp;gt;&amp;gt; .Colspan = 3
&lt;br&gt;&amp;gt;&amp;gt; End With
&lt;br&gt;&amp;gt;&amp;gt; objTable.AddCell(objCell)
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt; Will Rickards
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;iText-questions mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19908191&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;iText-questions@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/itext-questions&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/itext-questions&lt;/a&gt;&lt;br&gt;&lt;br&gt;Buy the iText book: &lt;a href=&quot;http://www.1t3xt.com/docs/book.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.com/docs/book.php&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Re%3A-SetAnchor%2C-AddTemplate---GetImportedPage-tp19908186p19908191.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19908186</id>
	<title>Re: SetAnchor, AddTemplate &amp; GetImportedPage</title>
	<published>2008-10-09T13:41:47Z</published>
	<updated>2008-10-09T13:41:47Z</updated>
	<author>
		<name>William Rickards</name>
	</author>
	<content type="html">Okay, SetAnchor normally works.
&lt;br&gt;The problem is I am processing a pdf in two passes.
&lt;br&gt;So that I can do a table of contents.
&lt;br&gt;&lt;br&gt;So in the first pass pdf I use SetAnchor.
&lt;br&gt;In the second pass I'm reading the first pass page and writing it to
&lt;br&gt;the second pass document with:
&lt;br&gt;m_objContentByte.AddTemplate(m_wrtReport.GetImportedPage(rdrFirstPassReport,
&lt;br&gt;intPage), 1, 0, 0, 1, 0, 0)
&lt;br&gt;&lt;br&gt;And then my url links aren't working.
&lt;br&gt;Is there anyway to pull that information as well from the first pass document?
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Will Rickards
&lt;br&gt;&lt;br&gt;On Wed, Oct 8, 2008 at 12:54 PM, William Rickards
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19908186&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;itext@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; What am I doing wrong?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have a table. &amp;nbsp;At the end or beginning of the table I want a cell
&lt;br&gt;&amp;gt; which has the text &amp;quot;Email&amp;quot; and it should be a url link to the actual
&lt;br&gt;&amp;gt; email.
&lt;br&gt;&amp;gt; It will be a network path like \\servername\sharename\foldername\filename.msg.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; What I've tried so far:
&lt;br&gt;&amp;gt; Note that all the previous cells have paragraph objects.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ' This method tries to use PdfAction
&lt;br&gt;&amp;gt; Dim objAction As iTextSharp.text.pdf.PdfAction
&lt;br&gt;&amp;gt; objAction = New iTextSharp.text.pdf.PdfAction(&amp;quot;&lt;a href=&quot;http://www.google.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.google.com/&lt;/a&gt;&amp;quot;)
&lt;br&gt;&amp;gt; objCell = New iTextSharp.text.pdf.PdfPCell(New
&lt;br&gt;&amp;gt; iTextSharp.text.Phrase(New iTextSharp.text.Chunk(&amp;quot;Google&amp;quot;,
&lt;br&gt;&amp;gt; m_fntArial8).SetAction(objAction)))
&lt;br&gt;&amp;gt; InitCell(objCell, 1)
&lt;br&gt;&amp;gt; With objCell
&lt;br&gt;&amp;gt; .HorizontalAlignment = iTextSharp.text.pdf.PdfPCell.ALIGN_LEFT
&lt;br&gt;&amp;gt; .Border = m_intHitBorder
&lt;br&gt;&amp;gt; .Colspan = 3
&lt;br&gt;&amp;gt; End With
&lt;br&gt;&amp;gt; objTable.AddCell(objCell)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ' This method tries to use SetAnchor
&lt;br&gt;&amp;gt; objCell = New iTextSharp.text.pdf.PdfPCell(New
&lt;br&gt;&amp;gt; iTextSharp.text.Phrase(New iTextSharp.text.Chunk(&amp;quot;Google&amp;quot;,
&lt;br&gt;&amp;gt; m_fntArial8).SetAnchor(&amp;quot;&lt;a href=&quot;http://www.google.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.google.com/&lt;/a&gt;&amp;quot;)))
&lt;br&gt;&amp;gt; InitCell(objCell, 1)
&lt;br&gt;&amp;gt; With objCell
&lt;br&gt;&amp;gt; .HorizontalAlignment = iTextSharp.text.pdf.PdfPCell.ALIGN_LEFT
&lt;br&gt;&amp;gt; .Border = m_intHitBorder
&lt;br&gt;&amp;gt; .Colspan = 3
&lt;br&gt;&amp;gt; End With
&lt;br&gt;&amp;gt; objTable.AddCell(objCell)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Will Rickards
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;iText-questions mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19908186&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;iText-questions@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/itext-questions&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/itext-questions&lt;/a&gt;&lt;br&gt;&lt;br&gt;Buy the iText book: &lt;a href=&quot;http://www.1t3xt.com/docs/book.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.com/docs/book.php&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Re%3A-SetAnchor%2C-AddTemplate---GetImportedPage-tp19908186p19908186.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19904221</id>
	<title>Re: Positioning text</title>
	<published>2008-10-09T09:56:11Z</published>
	<updated>2008-10-09T09:56:11Z</updated>
	<author>
		<name>Paulo Soares-3</name>
	</author>
	<content type="html">See &lt;a href=&quot;http://itextdocs.lowagie.com/tutorial/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://itextdocs.lowagie.com/tutorial/&lt;/a&gt;&amp;nbsp;or buy the book.
&lt;br&gt;&lt;br&gt;Paulo 
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: Lopes, James [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19904221&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jlopes@...&lt;/a&gt;] 
&lt;br&gt;&amp;gt; Sent: Thursday, October 09, 2008 2:29 PM
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19904221&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;itext-questions@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Subject: [iText-questions] Positioning text
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I want to position &amp;quot;Label&amp;quot;, &amp;quot;Product&amp;quot; information using iText 
&lt;br&gt;&amp;gt; how can this be done?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;/div&gt;Aviso Legal:
&lt;br&gt;Esta mensagem é destinada exclusivamente ao destinatário. Pode conter informação confidencial ou legalmente protegida. A incorrecta transmissão desta mensagem não significa a perca de confidencialidade. Se esta mensagem for recebida por engano, por favor envie-a de volta para o remetente e apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de usar, revelar ou distribuir qualquer parte desta mensagem. 
&lt;br&gt;&lt;br&gt;Disclaimer:
&lt;br&gt;This message is destined exclusively to the intended receiver. It may contain confidential or legally protected information. The incorrect transmission of this message does not mean the loss of its confidentiality. If this message is received by mistake, please send it back to the sender and delete it from your system immediately. It is forbidden to any person who is not the intended receiver to use, distribute or copy any part of this message.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br /&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;iText-questions mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19904221&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;iText-questions@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/itext-questions&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/itext-questions&lt;/a&gt;&lt;br&gt;&lt;br&gt;Buy the iText book: &lt;a href=&quot;http://www.1t3xt.com/docs/book.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.com/docs/book.php&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Positioning-text-tp19899953p19904221.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19899953</id>
	<title>Positioning text</title>
	<published>2008-10-09T06:28:46Z</published>
	<updated>2008-10-09T06:28:46Z</updated>
	<author>
		<name>Lopes, James</name>
	</author>
	<content type="html">&lt;html xmlns:o=&quot;urn:schemas-microsoft-com:office:office&quot; xmlns:w=&quot;urn:schemas-microsoft-com:office:word&quot; xmlns=&quot;http://www.w3.org/TR/REC-html40&quot;&gt;

&lt;head&gt;
&lt;META HTTP-EQUIV=&quot;Content-Type&quot; CONTENT=&quot;text/html; charset=us-ascii&quot;&gt;
&lt;meta name=Generator content=&quot;Microsoft Word 11 (filtered medium)&quot;&gt;


&lt;/head&gt;

&lt;body lang=EN-US link=blue vlink=purple&gt;

&lt;div class=Section1&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;I want to position &amp;#8220;Label&amp;#8221;, &amp;#8220;Product&amp;#8221;
information using iText how can this be done?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/body&gt;

&lt;/html&gt;
&lt;br /&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;iText-questions mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19899953&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;iText-questions@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/itext-questions&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/itext-questions&lt;/a&gt;&lt;br&gt;&lt;br&gt;Buy the iText book: &lt;a href=&quot;http://www.1t3xt.com/docs/book.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.com/docs/book.php&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Positioning-text-tp19899953p19899953.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19895794</id>
	<title>Re: Unable to validate eID signature through iText</title>
	<published>2008-10-09T03:00:38Z</published>
	<updated>2008-10-09T03:00:38Z</updated>
	<author>
		<name>Fhomasp</name>
	</author>
	<content type="html">It seems I've had a classic case of Murphy's law. &amp;nbsp;One needs all certificates from the eID repository to be able to validate all the eID cards. &amp;nbsp;I forgot a few of them (5 of about 45 certificates) including the one for Specimen eID's. &amp;nbsp;After adding them the validation process works like a charm.
&lt;br&gt;It also seems like I don't need a CertificateFactory to do that. &amp;nbsp;Just an instantiated Collection (which I've instantiated as ArrayList with an add statement will do.)
&lt;br&gt;I also used the convenience Class X509Utils. &amp;nbsp;Here's one line, which got repeated about 45 times. &amp;nbsp;Of course I'll narrow it down to a few lines automating the process.
&lt;br&gt;&lt;br&gt;Collection certCol = new ArrayList();
&lt;br&gt;certCol.add(X509Utils.deriveCertificateFrom(new FileInputStream(&amp;quot;C:\\eid\\certificates\\card\\citizen200616.crt&amp;quot;)));
&lt;br&gt;&lt;br&gt;&lt;br&gt;I also added a bit of code to extract useful info from a signature. &amp;nbsp;In this case the useful info is for Belgian eID cards, but getting this info for other kinds of electronic signatures is very similar.
&lt;br&gt;Here's the code:
&lt;br&gt;&lt;br&gt;/**
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* De subject fields for Belgian eID cards are sequenced as listed below:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* &amp;nbsp;i = X
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* 0: Rijksregisternummer
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* 1: Firstname + Name + (signature)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* 2: family name
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* 3: Firstnames (plural if applicable)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* 4: &amp;quot;BE&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* All fields are enclosed in an ArrayList with one element.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; &amp;nbsp; private void extractSubjectFields() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Map test = PdfPKCS7.getSubjectFields(verifiedSig.getSigningCertificate()).values;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int i = 0;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for(Iterator subjectIter = test.keySet().iterator();subjectIter.hasNext();i++)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Object key = subjectIter.next();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ArrayList&amp;lt;String&amp;gt; subjectList = null;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; switch(i) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case 0:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //All fields are of type ArrayList containing one value.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; subjectList = (ArrayList)test.get(key);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.rijksRegisterNummer = subjectList.get(0);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case 1: break;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case 2:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; subjectList = (ArrayList)test.get(key);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.familienaam = subjectList.get(0);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case 3:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; subjectList = (ArrayList)test.get(key);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.voornamen = subjectList.get(0);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; default: break;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Fhomasp wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Hey all..
&lt;br&gt;&lt;br&gt;So I've been able to place an eID signature on a PDF document. &amp;nbsp;But no matter which certificate I try I cannot seem to validate the signature programatically. &amp;nbsp;Something in the code must be off because using the GoDot test script that comes with its source code the self-signed signatures are validated. &amp;nbsp;Even a certain few certificates are created in a eid.data folder on the root dir. &amp;nbsp;Trying any of those certificates in the code doesn't work either.
&lt;br&gt;&lt;br&gt;Here's the code:
&lt;br&gt;&lt;br&gt;public class SignatureFields {
&lt;br&gt;&amp;nbsp; &amp;nbsp; private String VeldNaam;
&lt;br&gt;&amp;nbsp; &amp;nbsp; private Boolean signatureCoversWholeDocument,documentOrigineel;
&lt;br&gt;&amp;nbsp; &amp;nbsp; private PdfPKCS7 verifiedSig;
&lt;br&gt;&amp;nbsp; &amp;nbsp; Calendar signDatum;
&lt;br&gt;&amp;nbsp; &amp;nbsp; Certificate [] certificaten;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; public SignatureFields(AcroFields fields,String name) &amp;nbsp;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(fields == null || name == null)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; throw new IllegalArgumentException(&amp;quot;Geen null waarden in de constructor parameters&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; KeyStore ks = null;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Collection certCol = new ArrayList();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; try {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CertificateFactory certificateFactory = CertificateFactory.getInstance(&amp;quot;X509&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; certCol = certificateFactory.generateCertificates(new FileInputStream(&amp;quot;C:\\eid\\certificates\\gov\\RootCertificate.crt&amp;quot;)); &amp;nbsp;// todo naar classpath
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; certCol.addAll(certificateFactory.generateCertificates(new FileInputStream(&amp;quot;C:\\eid\\certificates\\belgiumrca2.crt&amp;quot;)));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; certCol.addAll(certificateFactory.generateCertificates(new FileInputStream(&amp;quot;C:\\eid\\certificates\\belgiumrca.crt&amp;quot;)));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;// &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ks = KeyStore.getInstance(KeyStore.getDefaultType());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ks = PdfPKCS7.loadCacertsKeyStore();
&lt;br&gt;&lt;br&gt;// &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ks.load(null,null);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; X509Certificate certificate = null;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for(Iterator iter = certCol.iterator();iter.hasNext();)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; certificate = (X509Certificate)iter.next();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.err.println(certificate.getIssuerDN().getName());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ks.setCertificateEntry(certificate.getSerialNumber().toString(Character.MAX_RADIX),certificate);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println(&amp;quot;SigName: &amp;quot;+name+&amp;quot;\n&amp;quot;+fields.getRevision(name)+&amp;quot; of &amp;quot;+fields.getTotalRevisions());
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.VeldNaam = name;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.signatureCoversWholeDocument=fields.signatureCoversWholeDocument(VeldNaam);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.verifiedSig=fields.verifySignature(name);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; signDatum = verifiedSig.getSignDate();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; certificaten = verifiedSig.getCertificates();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println(PdfPKCS7.getSubjectFields(verifiedSig.getSigningCertificate()));
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Object fails[] = PdfPKCS7.verifyCertificates(certificaten,ks,null,signDatum);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(fails!=null)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for(int i = 0;i&amp;lt;fails.length;i++)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println(fails[i]);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }else
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println(&amp;quot;no fails, validated ok!&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.documentOrigineel=verifiedSig.verify(); // document unchanged == true
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } catch (SignatureException e) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TechnicalException te = TechnicalException.wrap(e,this);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; te.log();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;catch (Exception e){
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TechnicalException te = TechnicalException.wrap(e,this);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; te.log();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;}
&lt;br&gt;&lt;br&gt;The output I get, more or less, is as following.
&lt;br&gt;Note that using a real eID instead of a specimen eID doesn't change anything save from a few output fields.
&lt;br&gt;&lt;br&gt;CN=Belgium Root CA, C=BE
&lt;br&gt;CN=Belgium Root CA2, C=BE
&lt;br&gt;CN=Belgium Root CA, C=BE
&lt;br&gt;SigName: form1[0].Pagina[3].KlantVaphHandtekening[0]
&lt;br&gt;1 of 1
&lt;br&gt;{SN=[71715100070], CN=[Alice SPECIMEN (Signature)], SURNAME=[SPECIMEN], GIVENNAME=[Alice Geldigekaart3064], C=[BE]}
&lt;br&gt;&lt;br&gt;&amp;nbsp; [0] &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Version: 3
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SerialNumber: 1208925819615795016340300
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;IssuerDN: C=BE,CN=SPECIMEN Citizen CA
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Start Date: Mon Dec 11 13:53:54 CET 2006
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Final Date: Thu Dec 11 13:53:54 CET 2008
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SubjectDN: C=BE,CN=Alice SPECIMEN (Signature),SURNAME=SPECIMEN,GIVENNAME=Alice Geldigekaart3064,SERIALNUMBER=71715100070
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Public Key: RSA Public Key
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; modulus: 84c9468d06037bf1404c9276852a7d03280ec4641cbd528da0dae2239198985c5bd93f6600f0bd436801775f572a10e7b02f5b5f703540afcb99ec8a5a0b438d7a52fa166ddc895b3813632dc046135713713b2b9921a6388f79d85affbce100105f7eec5113cc885da29c2243828dd4297856d6453e81839ad2e4bacea0509b
&lt;br&gt;&amp;nbsp; &amp;nbsp; public exponent: 10001
&lt;br&gt;&lt;br&gt;&amp;nbsp; Signature Algorithm: SHA1withRSA
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Signature: 3ba19e1c8675a94e8efd10ea3105042cef62c8ae
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;5023c7147ab458b37b6aa5da2bece87c554fe887
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;a54fb4e2e91f4141dcbc7f8cd68e7249f07df68b
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;b789b4f256b516e1703c138170db67e6a212d655
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;dd044cde2a723c9bbfb59e857c8e08359171c87b
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;be177c313aa323b57c80352350004370fef8dc87
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;76d5e782867557e62125f50c81443469a259be16
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;77361a510787ffb9613a62941b65662b2bb7dc22
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;604f2131e4e546125a2c8944343dffef75d8c89a
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;b8d098ba111f24107fe100833b9a82f73b417d2a
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;8ebd3b7dd9d91a6af3d0621bc7e63ba96aec3502
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;f18a72134e666adcdbad0c24765bf3307f2c553f
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1433f27e28716ada3515010b45ba534e
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Extensions: 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;critical(false) 2.5.29.32 value = DER Sequence
&lt;br&gt;&amp;nbsp; &amp;nbsp; DER Sequence
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ObjectIdentifier(0.3.2062.9.6.1.31.4.1)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DER Sequence
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DER Sequence
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ObjectIdentifier(1.3.6.1.5.5.7.2.1)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; IA5String(&lt;a href=&quot;http://repository.specimen-eid.belgium.be&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://repository.specimen-eid.belgium.be&lt;/a&gt;) 
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;critical(false) 1.3.6.1.5.5.7.1.3 value = DER Sequence
&lt;br&gt;&amp;nbsp; &amp;nbsp; DER Sequence
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ObjectIdentifier(0.3.3062.9.6.7.2)
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;critical(true) KeyUsage: 0x40
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;critical(false) 2.5.29.35 value = DER Sequence
&lt;br&gt;&amp;nbsp; &amp;nbsp; Tagged [0] IMPLICIT 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DER Octet String[20] 
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;critical(false) 2.5.29.31 value = DER Sequence
&lt;br&gt;&amp;nbsp; &amp;nbsp; DER Sequence
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Tagged [0]
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Tagged [0]
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Tagged [6] IMPLICIT 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DER Octet String[47] 
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;critical(false) NetscapeCertType: 0x20
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;critical(false) 1.3.6.1.5.5.7.1.1 value = DER Sequence
&lt;br&gt;&amp;nbsp; &amp;nbsp; DER Sequence
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ObjectIdentifier(1.3.6.1.5.5.7.48.2)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Tagged [6] IMPLICIT 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DER Octet String[50] 
&lt;br&gt;&amp;nbsp; &amp;nbsp; DER Sequence
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ObjectIdentifier(1.3.6.1.5.5.7.48.1)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Tagged [6] IMPLICIT 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DER Octet String[35] 
&lt;br&gt;&lt;br&gt;&lt;br&gt;Cannot be verified against the KeyStore or the certificate chain
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Unable-to-validate-eID-signature-through-iText-tp19858732p19895794.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19895506</id>
	<title>Re: Itext e-book doesn't provide information -	copy anchors and destinations to another document.</title>
	<published>2008-10-09T02:31:02Z</published>
	<updated>2008-10-09T02:31:02Z</updated>
	<author>
		<name>Paulo Soares-3</name>
	</author>
	<content type="html">Call PdfReader.consolidateNamedDestinations(). More details only with the PDFs to be able to reproduce the problem. 
&lt;br&gt;&lt;br&gt;Paulo
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: Chris Richards [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19895506&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;evilgeenius@...&lt;/a&gt;] 
&lt;br&gt;&amp;gt; Sent: Thursday, October 09, 2008 10:07 AM
&lt;br&gt;&amp;gt; To: Post all your questions about iText here
&lt;br&gt;&amp;gt; Subject: Re: [iText-questions] Itext e-book doesn't provide 
&lt;br&gt;&amp;gt; information - copy anchors and destinations to another document.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On Wed, Oct 8, 2008 at 7:26 PM, Mark Storer 
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19895506&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mstorer@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 	Paulo Soares &amp;lt;psoares &amp;lt;at&amp;gt; glintt.com&amp;gt; writes:
&lt;br&gt;&amp;gt; 	
&lt;br&gt;&amp;gt; 	&amp;gt;
&lt;br&gt;&amp;gt; 	&amp;gt; The links should work as far as each doc is 
&lt;br&gt;&amp;gt; concearned. How are
&lt;br&gt;&amp;gt; 	&amp;gt; you using PdfCopy?
&lt;br&gt;&amp;gt; 	&amp;gt;
&lt;br&gt;&amp;gt; 	&amp;gt; Paulo
&lt;br&gt;&amp;gt; 	&amp;gt;
&lt;br&gt;&amp;gt; 	
&lt;br&gt;&amp;gt; 	
&lt;br&gt;&amp;gt; 	Internal named destinations, as Paulo implies, should be fine.
&lt;br&gt;&amp;gt; 	They contain an object reference to the page they link 
&lt;br&gt;&amp;gt; to, rather
&lt;br&gt;&amp;gt; 	than a page number.
&lt;br&gt;&amp;gt; 	
&lt;br&gt;&amp;gt; 	The only thing I can think of is that they are actually 
&lt;br&gt;&amp;gt; JS actions
&lt;br&gt;&amp;gt; 	with page numbers written in script.
&lt;br&gt;&amp;gt; 	
&lt;br&gt;&amp;gt; 	Remote go-to actions use page numbers rather than internal
&lt;br&gt;&amp;gt; 	references for obvious reasons. &amp;nbsp;I suppose it's possible that
&lt;br&gt;&amp;gt; 	your document could be &amp;quot;remotely&amp;quot; linking to itself...
&lt;br&gt;&amp;gt; 	
&lt;br&gt;&amp;gt; 	Can we see your code &amp; the files you're using?
&lt;br&gt;&amp;gt; 	
&lt;br&gt;&amp;gt; 	--Mark Storer
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; Here is the code, its a method that joins several PDFs togethor.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;public static void Collate(DocumentWithRange [] pages, 
&lt;br&gt;&amp;gt; String fileDestination) throws IOPdfException
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String pdfFile = &amp;quot;&amp;quot;;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; try
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FileOutputStream fileOut = new 
&lt;br&gt;&amp;gt; FileOutputStream(fileDestination); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String firstDocument = pages[0].getFileName();
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PdfReader reader = new PdfReader(firstDocument);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Document document = new 
&lt;br&gt;&amp;gt; Document(reader.getPageSizeWithRotation(1)); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PdfCopy copy = new PdfCopy(document, fileOut);
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; document.open();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for (int i = 0; i &amp;lt; pages.length; i = i + 2)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DocumentWithRange docWithrange = pages[i];
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; reader = new 
&lt;br&gt;&amp;gt; PdfReader(docWithrange.getFileName());
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String pageRange = docWithrange.getPageRange(); 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //include all pages from the PDF?
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(pageRange.equalsIgnoreCase(&amp;quot;all&amp;quot;))
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; pageRange=&amp;quot;1-&amp;quot;+reader.getNumberOfPages();
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //add page range to copy
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; reader.selectPages(pageRange);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for (int p = 1; p &amp;lt;= 
&lt;br&gt;&amp;gt; reader.getNumberOfPages(); p++)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; copy.addPage(copy.getImportedPage(reader, p));
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; document.close(); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fileOut.close(); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } catch &amp;nbsp;(IOException e) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .....
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;....
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;gt; }
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The links don't work even when I include a whole document , I 
&lt;br&gt;&amp;gt; get the error message :
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;quot;The documents page tree contains an invalid node&amp;quot;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The original document is generated using iText, and uses 
&lt;br&gt;&amp;gt; Anchors to create the links. &amp;nbsp;So nothing out of the norm such 
&lt;br&gt;&amp;gt; as JS actions.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks
&lt;br&gt;&amp;gt; Chris
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;/div&gt;Aviso Legal:
&lt;br&gt;Esta mensagem é destinada exclusivamente ao destinatário. Pode conter informação confidencial ou legalmente protegida. A incorrecta transmissão desta mensagem não significa a perca de confidencialidade. Se esta mensagem for recebida por engano, por favor envie-a de volta para o remetente e apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de usar, revelar ou distribuir qualquer parte desta mensagem. 
&lt;br&gt;&lt;br&gt;Disclaimer:
&lt;br&gt;This message is destined exclusively to the intended receiver. It may contain confidential or legally protected information. The incorrect transmission of this message does not mean the loss of its confidentiality. If this message is received by mistake, please send it back to the sender and delete it from your system immediately. It is forbidden to any person who is not the intended receiver to use, distribute or copy any part of this message.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br /&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;iText-questions mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19895506&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;iText-questions@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/itext-questions&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/itext-questions&lt;/a&gt;&lt;br&gt;&lt;br&gt;Buy the iText book: &lt;a href=&quot;http://www.1t3xt.com/docs/book.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.com/docs/book.php&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Itext-e-book-doesn%27t-provide-information---copy-anchors-and-destinations-to-another-document.-tp19881210p19895506.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19895353</id>
	<title>Re: Itext e-book doesn't provide information - copy anchors and destinations to another document.</title>
	<published>2008-10-09T02:06:50Z</published>
	<updated>2008-10-09T02:06:50Z</updated>
	<author>
		<name>ChrisR</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;On Wed, Oct 8, 2008 at 7:26 PM, Mark Storer &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19895353&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mstorer@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;div class=&quot;Ih2E3d&quot;&gt;Paulo Soares &amp;lt;psoares &amp;lt;at&amp;gt; &lt;a href=&quot;http://glintt.com&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;glintt.com&lt;/a&gt;&amp;gt; writes:&lt;br&gt;
&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; The links should work as far as each doc is concearned. How are&lt;br&gt;
&amp;gt; you using PdfCopy?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Paulo&lt;br&gt;
&amp;gt;&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;Internal named destinations, as Paulo implies, should be fine.&lt;br&gt;
They contain an object reference to the page they link to, rather&lt;br&gt;
than a page number.&lt;br&gt;
&lt;br&gt;
The only thing I can think of is that they are actually JS actions&lt;br&gt;
with page numbers written in script.&lt;br&gt;
&lt;br&gt;
Remote go-to actions use page numbers rather than internal&lt;br&gt;
references for obvious reasons. &amp;nbsp;I suppose it&amp;#39;s possible that&lt;br&gt;
your document could be &amp;quot;remotely&amp;quot; linking to itself...&lt;br&gt;
&lt;br&gt;
Can we see your code &amp;amp; the files you&amp;#39;re using?&lt;br&gt;
&lt;br&gt;
--Mark Storer&lt;/blockquote&gt;&lt;div&gt;&amp;nbsp;&lt;br&gt;Here is the code, its a method that joins several PDFs togethor.&lt;br&gt;&lt;br&gt;&amp;nbsp;public static void Collate(DocumentWithRange [] pages, String fileDestination) throws IOPdfException&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; String pdfFile = &amp;quot;&amp;quot;;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; try&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FileOutputStream fileOut = new FileOutputStream(fileDestination);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; String firstDocument = pages[0].getFileName();&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PdfReader reader = new PdfReader(firstDocument);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Document document = new Document(reader.getPageSizeWithRotation(1));&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PdfCopy copy = new PdfCopy(document, fileOut);&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; document.open();&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for (int i = 0; i &amp;lt; pages.length; i = i + 2)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DocumentWithRange docWithrange = pages[i];&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; reader = new PdfReader(docWithrange.getFileName());&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; String pageRange = docWithrange.getPageRange(); &lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //include all pages from the PDF?&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(pageRange.equalsIgnoreCase(&amp;quot;all&amp;quot;))&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pageRange=&amp;quot;1-&amp;quot;+reader.getNumberOfPages();&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //add page range to copy&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; reader.selectPages(pageRange);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for (int p = 1; p &amp;lt;= reader.getNumberOfPages(); p++)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; copy.addPage(copy.getImportedPage(reader, p));&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; document.close();&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fileOut.close();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } catch&amp;nbsp; (IOException e) {&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .....&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;
}&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
The links don&amp;#39;t work even when I include a whole document , I get the error message :&lt;br&gt;
&lt;br&gt;
&amp;quot;The documents page tree contains an invalid node&amp;quot;&lt;br&gt;&lt;br&gt;The original document is generated using iText, and uses Anchors to create the links.&amp;nbsp; So nothing out of the norm such as JS actions.&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks&lt;br&gt;
Chris&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
&lt;br /&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;iText-questions mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19895353&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;iText-questions@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/itext-questions&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/itext-questions&lt;/a&gt;&lt;br&gt;&lt;br&gt;Buy the iText book: &lt;a href=&quot;http://www.1t3xt.com/docs/book.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.com/docs/book.php&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Itext-e-book-doesn%27t-provide-information---copy-anchors-and-destinations-to-another-document.-tp19881210p19895353.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19884662</id>
	<title>Re: Itext e-book doesn't provide information - copy	anchors and destinations to another document.</title>
	<published>2008-10-08T11:26:27Z</published>
	<updated>2008-10-08T11:26:27Z</updated>
	<author>
		<name>Mark Storer-3</name>
	</author>
	<content type="html">Paulo Soares &amp;lt;psoares &amp;lt;at&amp;gt; glintt.com&amp;gt; writes:
&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The links should work as far as each doc is concearned. How are 
&lt;br&gt;&amp;gt; you using PdfCopy?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Paulo
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;Internal named destinations, as Paulo implies, should be fine. &amp;nbsp;
&lt;br&gt;They contain an object reference to the page they link to, rather
&lt;br&gt;than a page number.
&lt;br&gt;&lt;br&gt;The only thing I can think of is that they are actually JS actions 
&lt;br&gt;with page numbers written in script.
&lt;br&gt;&lt;br&gt;Remote go-to actions use page numbers rather than internal 
&lt;br&gt;references for obvious reasons. &amp;nbsp;I suppose it's possible that
&lt;br&gt;your document could be &amp;quot;remotely&amp;quot; linking to itself... 
&lt;br&gt;&lt;br&gt;Can we see your code &amp; the files you're using?
&lt;br&gt;&lt;br&gt;--Mark Storer
&lt;br&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&