<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-2701</id>
	<title>Nabble - iText - General</title>
	<updated>2009-11-12T10:37:51Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/iText---General-f2701.xml" />
	<link rel="alternate" type="text/html" href="http://old.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:old.nabble.com,2006:post-26324063</id>
	<title>Re: columns borders</title>
	<published>2009-11-12T10:37:51Z</published>
	<updated>2009-11-12T10:37:51Z</updated>
	<author>
		<name>1T3XT info</name>
	</author>
	<content type="html">lester fajardo wrote:
&lt;br&gt;&amp;gt; Hello.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I am putting text into a pdf using columns, using multicolumnText object 
&lt;br&gt;&amp;gt; and paragraphs, but have not found any property to set border width to 
&lt;br&gt;&amp;gt; the columns, i mean i want a line drawn for each column not just the 
&lt;br&gt;&amp;gt; separating space.
&lt;br&gt;&lt;br&gt;There's no such property. Use page events.
&lt;br&gt;If page events don't rime with your MultiColumnText,
&lt;br&gt;use ColumnText and draw the shapes you need using
&lt;br&gt;moveTo() and lineTo() or rectangle().
&lt;br&gt;-- 
&lt;br&gt;This answer is provided by 1T3XT BVBA
&lt;br&gt;&lt;a href=&quot;http://www.1t3xt.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.com/&lt;/a&gt;&amp;nbsp;- &lt;a href=&quot;http://www.1t3xt.info&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;iText-questions mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26324063&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;Check the site with examples before you ask questions: &lt;a href=&quot;http://www.1t3xt.info/examples/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info/examples/&lt;/a&gt;&lt;br&gt;You can also search the keywords list: &lt;a href=&quot;http://1t3xt.info/tutorials/keywords/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.info/tutorials/keywords/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/columns-borders-tp26323764p26324063.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26323764</id>
	<title>columns borders</title>
	<published>2009-11-12T10:19:11Z</published>
	<updated>2009-11-12T10:19:11Z</updated>
	<author>
		<name>lester fajardo</name>
	</author>
	<content type="html">Hello.&lt;br&gt;&lt;br&gt;I am putting text into a pdf using columns, using multicolumnText object and paragraphs, but have not found any property to set border width to the columns, i mean i want a line drawn for each column not just the separating space.&lt;br&gt;
&lt;br&gt;MultiColumnText columns = new MultiColumnText();&lt;br&gt;            columns.AddRegularColumns(72, 72 * 7.5f, 36, 5);&lt;br&gt;&lt;br&gt;&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;iText-questions mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26323764&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;Check the site with examples before you ask questions: &lt;a href=&quot;http://www.1t3xt.info/examples/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info/examples/&lt;/a&gt;&lt;br&gt;You can also search the keywords list: &lt;a href=&quot;http://1t3xt.info/tutorials/keywords/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.info/tutorials/keywords/&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/columns-borders-tp26323764p26323764.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26323094</id>
	<title>Re: Small problem with PdfPCell spanning more thanone page</title>
	<published>2009-11-12T09:40:46Z</published>
	<updated>2009-11-12T09:40:46Z</updated>
	<author>
		<name>Paulo Soares-3</name>
	</author>
	<content type="html">It may be a rounding bug. Please post the complete code required to generate 
&lt;br&gt;the PDF ([Shortened for brevity] is not very useful and the devil is always 
&lt;br&gt;in the details).
&lt;br&gt;&lt;br&gt;Paulo
&lt;br&gt;&lt;br&gt;----- Original Message ----- 
&lt;br&gt;From: &amp;quot;Brian Lovett&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26323094&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;BrianLovett@...&lt;/a&gt;&amp;gt;
&lt;br&gt;To: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26323094&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, November 12, 2009 5:24 PM
&lt;br&gt;Subject: [iText-questions] Small problem with PdfPCell spanning more thanone 
&lt;br&gt;page
&lt;br&gt;&lt;br&gt;&lt;br&gt;Hey Guys,
&lt;br&gt;&lt;br&gt;I am using iTextSharp 4.1.6.0. &amp;nbsp;I noticed that when a PdfPCell contains text 
&lt;br&gt;that forces it to span multiple pages, if the final line of text before the 
&lt;br&gt;page break falls in just the right place, that line will be repeated on the 
&lt;br&gt;next page (generic sample attached). &amp;nbsp;I worked around it by adjusting the 
&lt;br&gt;top and bottom margin by a point or two.
&lt;br&gt;&lt;br&gt;The meat of the code I used to create the attachment is below. &amp;nbsp;I am unsure 
&lt;br&gt;if the problem is with my code, iText, Reader, or some combination as I was 
&lt;br&gt;unable to find anything in the documentation or searches.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MemoryStream m = new MemoryStream();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Document objDocument = new Document(PageSize.LETTER, 20f, 20f, 
&lt;br&gt;35f, 33f);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Response.ContentType = &amp;quot;application/pdf&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PdfWriter objWriter = PdfWriter.GetInstance(objDocument, m);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; objWriter.PageEvent = objMyEvent;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; objDocument.Open();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PdfPTable objTable = new PdfPTable(1);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PdfPCell objCell = null;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; objTable.SplitLate = false;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for (int i = 0; i &amp;lt; 4; i++)
&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; objCell = new PdfPCell(new Phrase(&amp;quot;Lorem ipsum dolor sit 
&lt;br&gt;amet [Shortened for brevity]&amp;quot;, FontFactory.GetFont(&amp;quot;Arial&amp;quot;, 10f)));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; objTable.AddCell(objCell);
&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; objDocument.Add(objTable);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; objDocument.Close();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Response.OutputStream.Write(m.GetBuffer(), 0, 
&lt;br&gt;m.GetBuffer().Length);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Response.OutputStream.Flush();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Response.OutputStream.Close();
&lt;br&gt;Thanks,
&lt;br&gt;Brian
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;iText-questions mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26323094&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;Check the site with examples before you ask questions: &lt;a href=&quot;http://www.1t3xt.info/examples/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info/examples/&lt;/a&gt;&lt;br&gt;You can also search the keywords list: &lt;a href=&quot;http://1t3xt.info/tutorials/keywords/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.info/tutorials/keywords/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Small-problem-with-PdfPCell-spanning-more-than-one-page-tp26322828p26323094.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26322828</id>
	<title>Small problem with PdfPCell spanning more than one page</title>
	<published>2009-11-12T09:24:13Z</published>
	<updated>2009-11-12T09:24:13Z</updated>
	<author>
		<name>Brian Lovett</name>
	</author>
	<content type="html">&lt;html xmlns:v=&quot;urn:schemas-microsoft-com:vml&quot; xmlns:o=&quot;urn:schemas-microsoft-com:office:office&quot; xmlns:w=&quot;urn:schemas-microsoft-com:office:word&quot; xmlns:m=&quot;http://schemas.microsoft.com/office/2004/12/omml&quot; xmlns=&quot;http://www.w3.org/TR/REC-html40&quot;&gt;

&lt;head&gt;
&lt;meta http-equiv=Content-Type content=&quot;text/html; charset=us-ascii&quot;&gt;
&lt;meta name=Generator content=&quot;Microsoft Word 12 (filtered medium)&quot;&gt;

&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapedefaults v:ext=&quot;edit&quot; spidmax=&quot;1026&quot; /&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapelayout v:ext=&quot;edit&quot;&gt;
  &lt;o:idmap v:ext=&quot;edit&quot; data=&quot;1&quot; /&gt;
 &lt;/o:shapelayout&gt;&lt;/xml&gt;&lt;![endif]--&gt;
&lt;/head&gt;

&lt;body lang=EN-US link=blue vlink=purple&gt;

&lt;div class=Section1&gt;

&lt;p class=MsoNormal&gt;Hey Guys,&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;I am using iTextSharp 4.1.6.0.&amp;nbsp; I noticed that when a
PdfPCell contains text that forces it to span multiple pages, if the final line
of text before the page break falls in just the right place, that line will be
repeated on the next page (generic sample attached).&amp;nbsp; I worked around it
by adjusting the top and bottom margin by a point or two.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;The meat of the code I used to create the attachment is
below.&amp;nbsp; I am unsure if the problem is with my code, iText, Reader, or some
combination as I was unable to find anything in the documentation or searches.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-family:&quot;Courier New&quot;'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
MemoryStream m = new MemoryStream();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-family:&quot;Courier New&quot;'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
Document objDocument = new Document(PageSize.LETTER, 20f, 20f, 35f, 33f);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-family:&quot;Courier New&quot;'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
Response.ContentType = &amp;quot;application/pdf&amp;quot;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-family:&quot;Courier New&quot;'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
PdfWriter objWriter = PdfWriter.GetInstance(objDocument, m);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-family:&quot;Courier New&quot;'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
objWriter.PageEvent = objMyEvent;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-family:&quot;Courier New&quot;'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
objDocument.Open();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-family:&quot;Courier New&quot;'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
PdfPTable objTable = new PdfPTable(1);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-family:&quot;Courier New&quot;'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
PdfPCell objCell = null;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-family:&quot;Courier New&quot;'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
objTable.SplitLate = false;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-family:&quot;Courier New&quot;'&gt;&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; 4; i++)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-family:&quot;Courier New&quot;'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-family:&quot;Courier New&quot;'&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;
objCell = new PdfPCell(new Phrase(&amp;quot;Lorem ipsum dolor sit amet [Shortened
for brevity]&amp;quot;, FontFactory.GetFont(&amp;quot;Arial&amp;quot;, 10f)));&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-family:&quot;Courier New&quot;'&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;
objTable.AddCell(objCell);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-family:&quot;Courier New&quot;'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-family:&quot;Courier New&quot;'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
objDocument.Add(objTable);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-family:&quot;Courier New&quot;'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
objDocument.Close();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-family:&quot;Courier New&quot;'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
Response.OutputStream.Write(m.GetBuffer(), 0, m.GetBuffer().Length);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-family:&quot;Courier New&quot;'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
Response.OutputStream.Flush();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-family:&quot;Courier New&quot;'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
Response.OutputStream.Close();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black'&gt;Thanks,&lt;/span&gt;&lt;span style='font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;'&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black'&gt;Brian &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/body&gt;

&lt;/html&gt;
&lt;br /&gt; &lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;iText-questions mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26322828&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;Check the site with examples before you ask questions: &lt;a href=&quot;http://www.1t3xt.info/examples/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info/examples/&lt;/a&gt;&lt;br&gt;You can also search the keywords list: &lt;a href=&quot;http://1t3xt.info/tutorials/keywords/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.info/tutorials/keywords/&lt;/a&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;Sample.pdf&lt;/strong&gt; (37K) &lt;a href=&quot;http://old.nabble.com/attachment/26322828/0/Sample.pdf&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Small-problem-with-PdfPCell-spanning-more-than-one-page-tp26322828p26322828.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26322484</id>
	<title>Re: iText tutorial problem: Page x of y Example correction</title>
	<published>2009-11-12T09:04:12Z</published>
	<updated>2009-11-12T09:04:12Z</updated>
	<author>
		<name>1T3XT info</name>
	</author>
	<content type="html">Wain, Matthew wrote:
&lt;br&gt;&amp;gt; Hi Bruno/Paulo (or mailing list users whom it may concern):
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; As people are not to keen to be contacted directly, I've had to post 
&lt;br&gt;&amp;gt; this here, so apologies if it's wrong in advance
&lt;br&gt;&lt;br&gt;This is the right place.
&lt;br&gt;Thanks for the correction.
&lt;br&gt;&lt;br&gt;However:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // starting on page 3, a watermark with an Image that is made 
&lt;br&gt;&amp;gt; transparent
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (writer.getPageNumber() &amp;gt;= 3) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cb.setGState(gstate);
&lt;br&gt;&lt;br&gt;That's an example on &lt;a href=&quot;http://itextdocs.lowagie.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://itextdocs.lowagie.com/&lt;/a&gt;&lt;br&gt;I really should remove those pages because they are really, really, 
&lt;br&gt;really obsolete.
&lt;br&gt;-- 
&lt;br&gt;This answer is provided by 1T3XT BVBA
&lt;br&gt;&lt;a href=&quot;http://www.1t3xt.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.com/&lt;/a&gt;&amp;nbsp;- &lt;a href=&quot;http://www.1t3xt.info&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;iText-questions mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26322484&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;Check the site with examples before you ask questions: &lt;a href=&quot;http://www.1t3xt.info/examples/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info/examples/&lt;/a&gt;&lt;br&gt;You can also search the keywords list: &lt;a href=&quot;http://1t3xt.info/tutorials/keywords/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.info/tutorials/keywords/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/iText-tutorial-problem%3A-Page-x-of-y-Example-correction-tp26321982p26322484.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26322418</id>
	<title>Re: How to remove the &quot;background&quot; of an Acroform with iText</title>
	<published>2009-11-12T09:03:48Z</published>
	<updated>2009-11-12T09:03:48Z</updated>
	<author>
		<name>Mark Storer-2</name>
	</author>
	<content type="html">If all you want is the form fields, you can go into each page's PdfDictionary and chop out PdfName.CONTENTS and PdfName.RESOURCES. &amp;nbsp;You'll want to do this in PdfReader and then call removeUnusedObjects(). &amp;nbsp;Only after you've yanked out everything you don't want do you create a Stamper.
&lt;br&gt;&lt;br&gt;PdfReader reader = new PdfReader(...)
&lt;br&gt;int numPages = reader.getNumberOfPages();
&lt;br&gt;for(int i = 1; i &amp;lt;= numPages; ++i) { // pages are 1-indexed
&lt;br&gt;&amp;nbsp; PdfDictionary pageDict = reader.getPageN( i );
&lt;br&gt;&amp;nbsp; pageDict.remove( PdfName.CONTENTS );
&lt;br&gt;&amp;nbsp; pageDict.remove( PdfName.RESOURCES );
&lt;br&gt;}
&lt;br&gt;reader.removeUnusedObjects(); // removes any orphaned images/fonts/etc
&lt;br&gt;&lt;br&gt;PdfStamper stamper = new PdfStamper( reader, ... );
&lt;br&gt;...
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;--Mark Storer 
&lt;br&gt;&amp;nbsp; Senior Software Engineer 
&lt;br&gt;&amp;nbsp; Cardiff.com
&lt;br&gt;&lt;br&gt;#include &amp;lt;disclaimer&amp;gt; 
&lt;br&gt;typedef std::Disclaimer&amp;lt;Cardiff&amp;gt; DisCard; 
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: Smicky [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26322418&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;michael.bourak@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; Sent: Thursday, November 12, 2009 12:01 AM
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26322418&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] How to remove the &amp;quot;background&amp;quot; of 
&lt;br&gt;&amp;gt; an Acroform
&lt;br&gt;&amp;gt; with iText
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; To build an acroform, I started from an existing PDF and used 
&lt;br&gt;&amp;gt; Acrobat pro to
&lt;br&gt;&amp;gt; put fields on it. The existing PDF is what I call here the 
&lt;br&gt;&amp;gt; &amp;quot;background&amp;quot; (not
&lt;br&gt;&amp;gt; sure if there is a better terminology)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; For my projet I need to generate : 
&lt;br&gt;&amp;gt; - A PDF, flattened, with the fields filled with dynamic data: 
&lt;br&gt;&amp;gt; that's ok !
&lt;br&gt;&amp;gt; - AA PDF, flattened, with ONLY the fields filled with dynamic 
&lt;br&gt;&amp;gt; data (i.e.
&lt;br&gt;&amp;gt; WITHOUT the PDF &amp;quot;background&amp;quot;) : is this possible in iText to 
&lt;br&gt;&amp;gt; remove the
&lt;br&gt;&amp;gt; &amp;quot;background&amp;quot; of the PDF and keep only Acroform fields (and their
&lt;br&gt;&amp;gt; position...)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I thought I could copy the acroform and insert it on a blank 
&lt;br&gt;&amp;gt; pdf page or
&lt;br&gt;&amp;gt; something but I'm not sure if it's possible or if there is a 
&lt;br&gt;&amp;gt; better way to
&lt;br&gt;&amp;gt; do this.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; View this message in context: 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/How-to-remove-the-%22background%22-of-an&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/How-to-remove-the-%22background%22-of-an&lt;/a&gt;&lt;/div&gt;-Acroform-with-iText-tp26285820p26285820.html
&lt;br&gt;Sent from the iText - General mailing list archive at Nabble.com.
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;iText-questions mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26322418&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;Check the site with examples before you ask questions: &lt;a href=&quot;http://www.1t3xt.info/examples/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info/examples/&lt;/a&gt;&lt;br&gt;You can also search the keywords list: &lt;a href=&quot;http://1t3xt.info/tutorials/keywords/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.info/tutorials/keywords/&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;iText-questions mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26322418&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;Check the site with examples before you ask questions: &lt;a href=&quot;http://www.1t3xt.info/examples/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info/examples/&lt;/a&gt;&lt;br&gt;You can also search the keywords list: &lt;a href=&quot;http://1t3xt.info/tutorials/keywords/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.info/tutorials/keywords/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-remove-the-%22background%22-of-an-Acroform-with-iText-tp26285820p26322418.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26321982</id>
	<title>iText tutorial problem: Page x of y Example correction</title>
	<published>2009-11-12T08:36:20Z</published>
	<updated>2009-11-12T08:36:20Z</updated>
	<author>
		<name>Wain, Matthew</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
&lt;HTML&gt;&lt;HEAD&gt;
&lt;META HTTP-EQUIV=&quot;Content-Type&quot; CONTENT=&quot;text/html; charset=iso-8859-1&quot;&gt;


&lt;META content=&quot;MSHTML 6.00.2900.3627&quot; name=GENERATOR&gt;&lt;/HEAD&gt;
&lt;BODY&gt;
&lt;DIV&gt;&lt;SPAN class=421274415-12112009&gt;&lt;FONT face=Arial size=2&gt;Hi Bruno/Paulo (or 
mailing list users whom it may concern):&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=421274415-12112009&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=421274415-12112009&gt;&lt;FONT face=Arial size=2&gt;As people are not to 
keen to be contacted directly, I've had to post this here, so apologies if it's 
wrong in advance (as I'm not registered with the mailing list yet).&amp;nbsp; This 
is not a question, I'm merely trying to be helpful with people getting error's 
with 'unbalanced states' trying to run the example program 
supplied.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=421274415-12112009&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=421274415-12112009&gt;&lt;FONT face=Arial size=2&gt;I was looking at 
your example for page numbering and total pages example (as I'll be looking to 
put page numbering + total pages, mid page rather than in the footer), and the 
code example&amp;nbsp;shown is seemingly incorrect (sorry if this is not the 
case).&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=421274415-12112009&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=421274415-12112009&gt;&lt;FONT face=Arial size=2&gt;To get it running I 
had to add in an extra cb.restoreState() into an else&amp;nbsp;block&amp;nbsp;(as shown 
just above the cb.sanityCheck() ):-&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=421274415-12112009&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=421274415-12112009&gt;&lt;FONT face=Arial size=2&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // starting on page 3, a 
watermark with an Image that is made 
transparent&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if 
(writer.getPageNumber() &amp;gt;= 3) 
{&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; 
cb.setGState(gstate);&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; 
cb.setColorFill(Color.red);&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; 
cb.beginText();&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; 
cb.setFontAndSize(helv, 
48);&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; 
cb.showTextAligned(Element.ALIGN_CENTER, &quot;Watermark Opacity &quot; + 
writer.getPageNumber(), document.getPageSize().getWidth() / 2, 
document.getPageSize().getHeight() / 2, 
45);&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; 
cb.endText();&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
cb.addImage(headerImage, headerImage.getWidth(), 0, 0, headerImage.getHeight(), 
440, 80);&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; 
catch(Exception 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;&amp;nbsp;&amp;nbsp; 
throw new 
ExceptionConverter(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; 
}&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; 
cb.restoreState();&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;FONT color=#0000ff&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;FONT color=#000000&gt;else 
{&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;cb.restoreState();&amp;nbsp;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
}&lt;/FONT&gt;&lt;BR&gt;&lt;/FONT&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
cb.sanityCheck();&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=421274415-12112009&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=421274415-12112009&gt;&lt;FONT face=Arial size=2&gt;All the best 
:)&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Regards,&lt;B&gt;&lt;/B&gt;&lt;/FONT&gt; &lt;/P&gt;
&lt;P&gt;&lt;B&gt;&lt;FONT face=Arial size=2&gt;Matthew Wain&lt;/FONT&gt;&lt;/B&gt;&amp;nbsp;&lt;BR&gt;&lt;FONT face=Arial size=1&gt;&lt;STRONG&gt;Software Engineer&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;SPAN class=421274415-12112009&gt;&lt;FONT face=Arial size=2&gt;UK.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;p&gt;&lt;span style=&quot;font-family:'Arial';font-size:11pt;&quot;&gt;Land Registry's House Price Index is now live. www.landregistry.gov.uk&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family:'Arial';font-size:11pt;&quot;&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family:'Arial';font-size:11pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family:'Arial';font-size:11pt;&quot;&gt;If you have received this e-mail and it was not intended for you, please let us know, and then delete it. Please treat our communications in confidence, as you would expect us to treat yours. Land Registry checks all mail and attachments for known viruses, however, you are advised that you open any attachments at your own risk.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family:'Arial';font-size:12pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family:'Arial';font-size:12pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;BR&gt;
The original of this email was scanned for viruses by the Government Secure Intranet virus scanning service supplied by Cable&amp;Wireless in partnership with MessageLabs. (CCTM Certificate Number 2009/09/0052.) On leaving the GSi this email was certified virus free.&lt;BR&gt;
Communications via the GSi may be automatically logged, monitored and/or recorded for legal purposes.&lt;BR&gt;
&lt;/BODY&gt;&lt;/HTML&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;iText-questions mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26321982&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;Check the site with examples before you ask questions: &lt;a href=&quot;http://www.1t3xt.info/examples/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info/examples/&lt;/a&gt;&lt;br&gt;You can also search the keywords list: &lt;a href=&quot;http://1t3xt.info/tutorials/keywords/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.info/tutorials/keywords/&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/iText-tutorial-problem%3A-Page-x-of-y-Example-correction-tp26321982p26321982.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26320328</id>
	<title>Re: add bookmark at runtime</title>
	<published>2009-11-12T07:05:28Z</published>
	<updated>2009-11-12T07:05:28Z</updated>
	<author>
		<name>lester fajardo</name>
	</author>
	<content type="html">well, i just can say &amp;quot;Thanks&amp;quot;&lt;br&gt;&lt;br&gt;your help made me reach my goal.&lt;br&gt;&lt;br&gt;just one thing, i didnt expect from you to code it for me, i just wanted a hint, you could said &amp;quot;hey, you can achieve that with outlines !!&amp;quot; and i would be read everything about outlines.&lt;br&gt;
&lt;br&gt;btw, putting aside all this, i share your thougts about crystal reports, i have 15 years using it&lt;br&gt;&lt;br&gt;Thx again&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Thu, Nov 12, 2009 at 7:35 AM, 1T3XT info &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26320328&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;info@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&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;im&quot;&gt;lester fajardo wrote:&lt;br&gt;
&amp;gt; i think all those samples help a bit, but many of the helpful ones are&lt;br&gt;
&amp;gt; using &amp;quot;lowagie&amp;quot;, etc, java samples, mayb you have not noticed that i am&lt;br&gt;
&amp;gt; using c sharp&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;Same difference.&lt;br&gt;
Just imagine that Java is pseudo code if you don&amp;#39;t like Java.&lt;br&gt;
The same objects and methods are present in C#.&lt;br&gt;
&lt;div class=&quot;im&quot;&gt;--&lt;br&gt;
This answer is provided by 1T3XT BVBA&lt;br&gt;
&lt;a href=&quot;http://www.1t3xt.com/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.com/&lt;/a&gt; - &lt;a href=&quot;http://www.1t3xt.info&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
------------------------------------------------------------------------------&lt;br&gt;
&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day&lt;br&gt;
trial. Simplify your report design, integration and deployment - and focus on&lt;br&gt;
what you do best, core application coding. Discover what&amp;#39;s new with&lt;br&gt;
Crystal Reports now.  &lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;
_______________________________________________&lt;br&gt;
iText-questions mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26320328&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;_blank&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;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.com/docs/book.php&lt;/a&gt;&lt;br&gt;
Check the site with examples before you ask questions: &lt;a href=&quot;http://www.1t3xt.info/examples/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info/examples/&lt;/a&gt;&lt;br&gt;
You can also search the keywords list: &lt;a href=&quot;http://1t3xt.info/tutorials/keywords/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.info/tutorials/keywords/&lt;/a&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;iText-questions mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26320328&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;Check the site with examples before you ask questions: &lt;a href=&quot;http://www.1t3xt.info/examples/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info/examples/&lt;/a&gt;&lt;br&gt;You can also search the keywords list: &lt;a href=&quot;http://1t3xt.info/tutorials/keywords/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.info/tutorials/keywords/&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/add-bookmark-at-runtime-tp26304148p26320328.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26319391</id>
	<title>Re: How does the ETSI TS 102 778-4 PAdES-LTV DSS mechanism work in Adobe Acrobat Reader 9.2?</title>
	<published>2009-11-12T06:11:53Z</published>
	<updated>2009-11-12T06:11:53Z</updated>
	<author>
		<name>frleong</name>
	</author>
	<content type="html">Thanks. Yes, Andreas. I know about it. In fact, offline OCSP works if i don't add the embedded OCSP information to the DSS and leave only the OCSP info in the signature only.
&lt;br&gt;&lt;br&gt;Francisco
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;----- Original Message ----
&lt;br&gt;Hi Francesco,
&lt;br&gt;&lt;br&gt;my favourite pitfall with offline OCSP is the nextUpdate-Value in the OCSP response. If it's 'null' ( what's the default value for many OCSP responders ) the Reader ignores it. 
&lt;br&gt;&lt;br&gt;Greetings
&lt;br&gt;&lt;br&gt;Andreas
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;iText-questions mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26319391&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;Check the site with examples before you ask questions: &lt;a href=&quot;http://www.1t3xt.info/examples/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info/examples/&lt;/a&gt;&lt;br&gt;You can also search the keywords list: &lt;a href=&quot;http://1t3xt.info/tutorials/keywords/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.info/tutorials/keywords/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-does-the-ETSI-TS-102-778-4-PAdES-LTV-DSS-mechanism-work-in-Adobe-Acrobat-Reader-9.2--tp26316037p26319391.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26319228</id>
	<title>Re: iText form manipulation : Acroform of XFA...</title>
	<published>2009-11-12T06:03:24Z</published>
	<updated>2009-11-12T06:03:24Z</updated>
	<author>
		<name>Leonard Rosenthol-3</name>
	</author>
	<content type="html">XFA is NOT an Adobe only product, there are other companies that offers XFA-based solutions. However, I am not aware of any open-source libraries in this area. iText has limited support for XFA (mostly reading &amp; writing it as a blob), but since it is XML you can do most things outside of iText anyway.
&lt;br&gt;&lt;br&gt;The one big thing that you can't do with iText (or any other open source solution at this time) is flattening/rendering the XFA. &amp;nbsp;For that, you will need a solution such as Adobe's LiveCycle ES servers...
&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: Smicky [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26319228&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;michael.bourak@...&lt;/a&gt;] 
&lt;br&gt;Sent: Thursday, November 12, 2009 8:42 AM
&lt;br&gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26319228&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;itext-questions@...&lt;/a&gt;
&lt;br&gt;Subject: [iText-questions] iText form manipulation : Acroform of XFA...
&lt;br&gt;&lt;br&gt;&lt;br&gt;Hi,
&lt;br&gt;&lt;br&gt;I need to generate PDF documents and want to use a form as a template. Just
&lt;br&gt;like the IText &amp;quot;accreditation card&amp;quot; exemple. I will then fill fields and
&lt;br&gt;merge PDF &amp; form to produce a PDF server side.
&lt;br&gt;&lt;br&gt;So far, I've played with Acroforms with success but I miss some formating
&lt;br&gt;options
&lt;br&gt;&lt;br&gt;I've tried to design a form with LiveCycle Designer, which I think produces
&lt;br&gt;XFA forms. With this, I can produce some advanced layout but I wonder :
&lt;br&gt;&lt;br&gt;- will I be able to &amp;quot;flatten&amp;quot; the XFA Form and the background PDF ? 
&lt;br&gt;- will I have access to &amp;quot;floating fields&amp;quot; via IText
&lt;br&gt;- will I ultimately need another library that IText or even Adobe server
&lt;br&gt;software to manipulate XFA form because it's an Adobe &amp;quot;only&amp;quot; product ?
&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks a lot.
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;View this message in context: &lt;a href=&quot;http://old.nabble.com/iText-form-manipulation-%3A-Acroform-of-XFA...-tp26318857p26318857.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/iText-form-manipulation-%3A-Acroform-of-XFA...-tp26318857p26318857.html&lt;/a&gt;&lt;br&gt;Sent from the iText - General mailing list archive at Nabble.com.
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;iText-questions mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26319228&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;Check the site with examples before you ask questions: &lt;a href=&quot;http://www.1t3xt.info/examples/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info/examples/&lt;/a&gt;&lt;br&gt;You can also search the keywords list: &lt;a href=&quot;http://1t3xt.info/tutorials/keywords/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.info/tutorials/keywords/&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;iText-questions mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26319228&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;Check the site with examples before you ask questions: &lt;a href=&quot;http://www.1t3xt.info/examples/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info/examples/&lt;/a&gt;&lt;br&gt;You can also search the keywords list: &lt;a href=&quot;http://1t3xt.info/tutorials/keywords/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.info/tutorials/keywords/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/iText-form-manipulation-%3A-Acroform-of-XFA...-tp26318857p26319228.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26319236</id>
	<title>Re: iText form manipulation : Acroform of XFA...</title>
	<published>2009-11-12T06:02:54Z</published>
	<updated>2009-11-12T06:02:54Z</updated>
	<author>
		<name>1T3XT info</name>
	</author>
	<content type="html">Smicky wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I need to generate PDF documents and want to use a form as a template. Just
&lt;br&gt;&amp;gt; like the IText &amp;quot;accreditation card&amp;quot; exemple. I will then fill fields and
&lt;br&gt;&amp;gt; merge PDF &amp; form to produce a PDF server side.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; So far, I've played with Acroforms with success but I miss some formating
&lt;br&gt;&amp;gt; options
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I've tried to design a form with LiveCycle Designer, which I think produces
&lt;br&gt;&amp;gt; XFA forms. With this, I can produce some advanced layout but I wonder :
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; - will I be able to &amp;quot;flatten&amp;quot; the XFA Form and the background PDF ? 
&lt;/div&gt;&lt;br&gt;No.
&lt;br&gt;&lt;br&gt;&amp;gt; - will I have access to &amp;quot;floating fields&amp;quot; via IText
&lt;br&gt;&lt;br&gt;You will be able to fill out the form,
&lt;br&gt;but you'll have a hard time changing other field properties.
&lt;br&gt;Also: this functionality is under development.
&lt;br&gt;It will be discussed in chapter 8 of the new book,
&lt;br&gt;but I'm not even halfway writing chapter 7.
&lt;br&gt;&lt;br&gt;&amp;gt; - will I ultimately need another library that IText or even Adobe server
&lt;br&gt;&amp;gt; software to manipulate XFA form because it's an Adobe &amp;quot;only&amp;quot; product ?
&lt;br&gt;&lt;br&gt;It depends.
&lt;br&gt;&lt;br&gt;For instance: if you want to sign the form,
&lt;br&gt;you'll need to fund iText development.
&lt;br&gt;Note that the new iText functionality in this area
&lt;br&gt;will be released as AGPL, not as MPL/LGPL,
&lt;br&gt;so you may want to pay for it anyway.
&lt;br&gt;&lt;br&gt;If you need Reader Enabling you'll need Adobe products
&lt;br&gt;(that's also true for AcroForm technology).
&lt;br&gt;-- 
&lt;br&gt;This answer is provided by 1T3XT BVBA
&lt;br&gt;&lt;a href=&quot;http://www.1t3xt.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.com/&lt;/a&gt;&amp;nbsp;- &lt;a href=&quot;http://www.1t3xt.info&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;iText-questions mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26319236&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;Check the site with examples before you ask questions: &lt;a href=&quot;http://www.1t3xt.info/examples/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info/examples/&lt;/a&gt;&lt;br&gt;You can also search the keywords list: &lt;a href=&quot;http://1t3xt.info/tutorials/keywords/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.info/tutorials/keywords/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/iText-form-manipulation-%3A-Acroform-of-XFA...-tp26318857p26319236.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26318857</id>
	<title>iText form manipulation : Acroform of XFA...</title>
	<published>2009-11-12T05:42:21Z</published>
	<updated>2009-11-12T05:42:21Z</updated>
	<author>
		<name>Smicky</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I need to generate PDF documents and want to use a form as a template. Just like the IText &amp;quot;accreditation card&amp;quot; exemple. I will then fill fields and merge PDF &amp; form to produce a PDF server side.
&lt;br&gt;&lt;br&gt;So far, I've played with Acroforms with success but I miss some formating options
&lt;br&gt;&lt;br&gt;I've tried to design a form with LiveCycle Designer, which I think produces XFA forms. With this, I can produce some advanced layout but I wonder :
&lt;br&gt;&lt;br&gt;- will I be able to &amp;quot;flatten&amp;quot; the XFA Form and the background PDF ? 
&lt;br&gt;- will I have access to &amp;quot;floating fields&amp;quot; via IText
&lt;br&gt;- will I ultimately need another library that IText or even Adobe server software to manipulate XFA form because it's an Adobe &amp;quot;only&amp;quot; product ?
&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks a lot.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/iText-form-manipulation-%3A-Acroform-of-XFA...-tp26318857p26318857.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26316386</id>
	<title>Re: How does the ETSI TS 102 778-4 PAdES-LTV DSS mechanism work in Adobe Acrobat Reader 9.2?</title>
	<published>2009-11-12T02:22:27Z</published>
	<updated>2009-11-12T02:22:27Z</updated>
	<author>
		<name>Andreas Kuehne-2</name>
	</author>
	<content type="html">Hi Francesco,
&lt;br&gt;&lt;br&gt;my favourite pitfall with offline OCSP is the nextUpdate-Value in the OCSP response. If it's 'null' ( what's the default value for many OCSP responders ) the Reader ignores it. 
&lt;br&gt;&lt;br&gt;Greetings
&lt;br&gt;&lt;br&gt;Andreas
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;----- Original Message ----
&lt;br&gt;From: Francisco Leong &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26316386&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;frleong88@...&lt;/a&gt;&amp;gt;
&lt;br&gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26316386&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;itext-questions@...&lt;/a&gt;
&lt;br&gt;Sent: Thu, November 12, 2009 10:50:26 AM
&lt;br&gt;Subject: [iText-questions] How does the ETSI TS 102 778-4 PAdES-LTV DSS mechanism work in Adobe Acrobat Reader 9.2?
&lt;br&gt;&lt;br&gt;Hello,
&lt;br&gt;&amp;nbsp;
&lt;br&gt;I am trying to implement the ETSI TS 102 778-Part 4, related to the extension of Long Term Validation of Signatures using iText. It consists of adding a Document Security Store (DSS) to the catalog. I THINK I've successfully added DSS and related members by modifying iText's source code. But I have found the following strange behavior. Here are the steps I've performed:
&lt;br&gt;&amp;nbsp;
&lt;br&gt;1. I've signed a blank PDF and embedded OCSP information in the signature (without adding DSS). I call this file B1.
&lt;br&gt;2. I revoke the cert. I can still validate the file if I set &amp;quot;Use the time at which the signature was created&amp;quot; option. 
&lt;br&gt;3. If I set &amp;quot;Use Current Time&amp;quot; option, the file will not validate because the cert has been revoked. So far, so good. 
&lt;br&gt;4. I undo the revocation and I've signed the same PDF file and embedded the same OCSP response bytes BOTH in the signature and the DSS. I call this file B2.
&lt;br&gt;5. I think I may have done something wrong, but this B2 file ALWAYS leads to ONLINE verification of the file regardless of the verification options I've set. Acrobat Reader 9.2 refuses to do off-line verification of the signature, despite having the embedded revocation information.
&lt;br&gt;&lt;br&gt;I suspect I may not have embedded the right OCSP bytes in the DSS. The OCSP bytes are the OCSP response bytes I've obtained from the OcspClientBouncyCastle class that comes with iText 2.1.7. These bytes are passed to PdfPKCS7.getAuthenticatedAttributeBytes to embed the OCSP revocation info in the signature. They are also reused and put in the Signature VRI dictionary's OCSP entry as described in the ETSI document. Have I done anything wrong? Thanks.
&lt;br&gt;&lt;br&gt;Francisco
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;iText-questions mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26316386&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;Check the site with examples before you ask questions: &lt;a href=&quot;http://www.1t3xt.info/examples/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info/examples/&lt;/a&gt;&lt;br&gt;You can also search the keywords list: &lt;a href=&quot;http://1t3xt.info/tutorials/keywords/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.info/tutorials/keywords/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;iText-questions mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26316386&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;Check the site with examples before you ask questions: &lt;a href=&quot;http://www.1t3xt.info/examples/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info/examples/&lt;/a&gt;&lt;br&gt;You can also search the keywords list: &lt;a href=&quot;http://1t3xt.info/tutorials/keywords/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.info/tutorials/keywords/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-does-the-ETSI-TS-102-778-4-PAdES-LTV-DSS-mechanism-work-in-Adobe-Acrobat-Reader-9.2--tp26316037p26316386.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26316089</id>
	<title>Re: Drawing pie, bar charts using iText</title>
	<published>2009-11-12T01:56:04Z</published>
	<updated>2009-11-12T01:56:04Z</updated>
	<author>
		<name>Paulo Soares-3</name>
	</author>
	<content type="html">That's better done with JFreeChart. See 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/projects/jfreechart/files/2.%20Documentation/Version%200.8.1/jfreechart2pdf-v2.pdf/download&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/projects/jfreechart/files/2.%20Documentation/Version%200.8.1/jfreechart2pdf-v2.pdf/download&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;Paulo
&lt;br&gt;&lt;br&gt;----- Original Message ----- 
&lt;br&gt;From: &amp;quot;Thilip Kumar S&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26316089&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;thilipks@...&lt;/a&gt;&amp;gt;
&lt;br&gt;To: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26316089&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, November 12, 2009 9:16 AM
&lt;br&gt;Subject: [iText-questions] Drawing pie, bar charts using iText
&lt;br&gt;&lt;br&gt;&lt;br&gt;Can anyone give me some examples of drawing pie, bar charts in PDF using 
&lt;br&gt;iText?
&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks in advance.
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;iText-questions mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26316089&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;Check the site with examples before you ask questions: &lt;a href=&quot;http://www.1t3xt.info/examples/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info/examples/&lt;/a&gt;&lt;br&gt;You can also search the keywords list: &lt;a href=&quot;http://1t3xt.info/tutorials/keywords/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.info/tutorials/keywords/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Drawing-pie%2C-bar-charts-using-iText-tp26315870p26316089.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26316037</id>
	<title>How does the ETSI TS 102 778-4 PAdES-LTV DSS mechanism work in Adobe Acrobat Reader 9.2?</title>
	<published>2009-11-12T01:50:26Z</published>
	<updated>2009-11-12T01:50:26Z</updated>
	<author>
		<name>frleong</name>
	</author>
	<content type="html">Hello,
&lt;br&gt; 
&lt;br&gt;I am trying to implement the ETSI TS 102 778-Part 4, related to the extension of Long Term Validation of Signatures using iText. It consists of adding a Document Security Store (DSS) to the catalog. I THINK I've successfully added DSS and related members by modifying iText's source code. But I have found the following strange behavior. Here are the steps I've performed:
&lt;br&gt; 
&lt;br&gt;1. I've signed a blank PDF and embedded OCSP information in the signature (without adding DSS). I call this file B1.
&lt;br&gt;2. I revoke the cert. I can still validate the file if I set &amp;quot;Use the time at which the signature was created&amp;quot; option. 
&lt;br&gt;3. If I set &amp;quot;Use Current Time&amp;quot; option, the file will not validate because the cert has been revoked. So far, so good. 
&lt;br&gt;4. I undo the revocation and I've signed the same PDF file and embedded the same OCSP response bytes BOTH in the signature and the DSS. I call this file B2.
&lt;br&gt;5. I think I may have done something wrong, but this B2 file ALWAYS leads to ONLINE verification of the file regardless of the verification options I've set. Acrobat Reader 9.2 refuses to do off-line verification of the signature, despite having the embedded revocation information.
&lt;br&gt;&lt;br&gt;I suspect I may not have embedded the right OCSP bytes in the DSS. The OCSP bytes are the OCSP response bytes I've obtained from the OcspClientBouncyCastle class that comes with iText 2.1.7. These bytes are passed to PdfPKCS7.getAuthenticatedAttributeBytes to embed the OCSP revocation info in the signature. They are also reused and put in the Signature VRI dictionary's OCSP entry as described in the ETSI document. Have I done anything wrong? Thanks.
&lt;br&gt;&lt;br&gt;Francisco
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;iText-questions mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26316037&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;Check the site with examples before you ask questions: &lt;a href=&quot;http://www.1t3xt.info/examples/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info/examples/&lt;/a&gt;&lt;br&gt;You can also search the keywords list: &lt;a href=&quot;http://1t3xt.info/tutorials/keywords/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.info/tutorials/keywords/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-does-the-ETSI-TS-102-778-4-PAdES-LTV-DSS-mechanism-work-in-Adobe-Acrobat-Reader-9.2--tp26316037p26316037.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26315870</id>
	<title>Drawing pie, bar charts using iText</title>
	<published>2009-11-12T01:16:21Z</published>
	<updated>2009-11-12T01:16:21Z</updated>
	<author>
		<name>Thilip Kumar S</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
&lt;HTML dir=ltr&gt;&lt;HEAD&gt;
&lt;META http-equiv=Content-Type content=&quot;text/html; charset=unicode&quot;&gt;
&lt;META content=&quot;MSHTML 6.00.2900.5726&quot; name=GENERATOR&gt;&lt;/HEAD&gt;
&lt;BODY&gt;
&lt;DIV&gt;&lt;FONT face=Arial color=#000000 size=2&gt;Can anyone give me some examples of 
drawing pie, bar charts in PDF using iText?&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;Thanks in advance.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;br&gt;This electronic mail (including any attachment thereto) may be confidential and privileged and is intended only for the individual or entity named above. Any unauthorized use, printing, copying, disclosure or dissemination of this communication may be subject to legal restriction or sanction. Accordingly, if you are not the intended recipient, please notify the sender by replying to this email immediately and delete this email (and any attachment thereto) from your computer system...Thank You.
&lt;br&gt;&lt;/BODY&gt;&lt;/HTML&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;iText-questions mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26315870&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;Check the site with examples before you ask questions: &lt;a href=&quot;http://www.1t3xt.info/examples/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info/examples/&lt;/a&gt;&lt;br&gt;You can also search the keywords list: &lt;a href=&quot;http://1t3xt.info/tutorials/keywords/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.info/tutorials/keywords/&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Drawing-pie%2C-bar-charts-using-iText-tp26315870p26315870.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26315419</id>
	<title>Barcode and stamper</title>
	<published>2009-11-12T00:41:57Z</published>
	<updated>2009-11-12T00:41:57Z</updated>
	<author>
		<name>John Renfrew</name>
	</author>
	<content type="html">&lt;html xmlns:v=&quot;urn:schemas-microsoft-com:vml&quot; xmlns:o=&quot;urn:schemas-microsoft-com:office:office&quot; xmlns:w=&quot;urn:schemas-microsoft-com:office:word&quot; xmlns:m=&quot;http://schemas.microsoft.com/office/2004/12/omml&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 12 (filtered medium)&quot;&gt;

&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapedefaults v:ext=&quot;edit&quot; spidmax=&quot;1026&quot; /&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapelayout v:ext=&quot;edit&quot;&gt;
  &lt;o:idmap v:ext=&quot;edit&quot; data=&quot;1&quot; /&gt;
 &lt;/o:shapelayout&gt;&lt;/xml&gt;&lt;![endif]--&gt;
&lt;/head&gt;

&lt;body lang=EN-GB link=blue vlink=purple&gt;

&lt;div class=Section1&gt;

&lt;p class=MsoNormal&gt;I have spent the last week following the examples and book
and have lots of success creating a barcode in a single cell using writeselectedrows
in a writer, and I am able to place a barcode using column text in a stamper&amp;#8230;..
I have got to adding text using settextmatrix AND barcode in columntext into
the same content byte and can do all that I need to do, but then I need to
scale the barcode img to get it to the size I want&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;But I am struggling with adding a table in contentbyte in a
stamper. Can get the text in, but not any table cells following that. Am I
missing a trick ,or is column text the best way to do it???&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;&lt;span style='font-size:13.5pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:purple'&gt;john
renfrew&lt;/span&gt;&lt;span style='color:#1F497D'&gt; &lt;/span&gt;&lt;span style='font-size:12.0pt;
font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D'&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:gray'&gt;Right Way
Up&lt;/span&gt;&lt;span style='color:#1F497D'&gt; &lt;br&gt;
&lt;/span&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;
color:gray'&gt;Office&amp;nbsp; +44 1675 475341&lt;/span&gt;&lt;span style='color:#1F497D'&gt; &lt;br&gt;
&lt;/span&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;
color:gray'&gt;Fax&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; +44 1675 475342&lt;/span&gt;&lt;span style='color:#1F497D'&gt; &lt;br&gt;
&lt;/span&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;
color:gray'&gt;Mobile +44 7767 443992&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/body&gt;

&lt;/html&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;iText-questions mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26315419&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;Check the site with examples before you ask questions: &lt;a href=&quot;http://www.1t3xt.info/examples/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info/examples/&lt;/a&gt;&lt;br&gt;You can also search the keywords list: &lt;a href=&quot;http://1t3xt.info/tutorials/keywords/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.info/tutorials/keywords/&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Barcode-and-stamper-tp26315419p26315419.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26315105</id>
	<title>Re: How to remove the &quot;background&quot; of an Acroform with iText</title>
	<published>2009-11-12T00:26:14Z</published>
	<updated>2009-11-12T00:26:14Z</updated>
	<author>
		<name>1T3XT info</name>
	</author>
	<content type="html">Smicky wrote:
&lt;br&gt;&amp;gt; I thought I could copy the acroform and insert it on a blank pdf page
&lt;br&gt;&lt;br&gt;Oops, I just checked; it's in iText 2.1.7.
&lt;br&gt;So you can use PdfCopyForms...
&lt;br&gt;-- 
&lt;br&gt;This answer is provided by 1T3XT BVBA
&lt;br&gt;&lt;a href=&quot;http://www.1t3xt.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.com/&lt;/a&gt;&amp;nbsp;- &lt;a href=&quot;http://www.1t3xt.info&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;iText-questions mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26315105&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;Check the site with examples before you ask questions: &lt;a href=&quot;http://www.1t3xt.info/examples/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info/examples/&lt;/a&gt;&lt;br&gt;You can also search the keywords list: &lt;a href=&quot;http://1t3xt.info/tutorials/keywords/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.info/tutorials/keywords/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-remove-the-%22background%22-of-an-Acroform-with-iText-tp26285820p26315105.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26315092</id>
	<title>Re: How to remove the &quot;background&quot; of an Acroform with iText</title>
	<published>2009-11-12T00:25:16Z</published>
	<updated>2009-11-12T00:25:16Z</updated>
	<author>
		<name>1T3XT info</name>
	</author>
	<content type="html">Smicky wrote:
&lt;br&gt;&amp;gt; I thought I could copy the acroform and insert it on a blank pdf page or
&lt;br&gt;&amp;gt; something
&lt;br&gt;&lt;br&gt;The class PdfCopyForms was created for that purpose,
&lt;br&gt;but it's not released yet.
&lt;br&gt;-- 
&lt;br&gt;This answer is provided by 1T3XT BVBA
&lt;br&gt;&lt;a href=&quot;http://www.1t3xt.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.com/&lt;/a&gt;&amp;nbsp;- &lt;a href=&quot;http://www.1t3xt.info&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;iText-questions mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26315092&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;Check the site with examples before you ask questions: &lt;a href=&quot;http://www.1t3xt.info/examples/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info/examples/&lt;/a&gt;&lt;br&gt;You can also search the keywords list: &lt;a href=&quot;http://1t3xt.info/tutorials/keywords/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.info/tutorials/keywords/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-remove-the-%22background%22-of-an-Acroform-with-iText-tp26285820p26315092.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26314624</id>
	<title>Re: add bookmark at runtime</title>
	<published>2009-11-11T23:35:57Z</published>
	<updated>2009-11-11T23:35:57Z</updated>
	<author>
		<name>1T3XT info</name>
	</author>
	<content type="html">lester fajardo wrote:
&lt;br&gt;&amp;gt; i think all those samples help a bit, but many of the helpful ones are 
&lt;br&gt;&amp;gt; using &amp;quot;lowagie&amp;quot;, etc, java samples, mayb you have not noticed that i am 
&lt;br&gt;&amp;gt; using c sharp
&lt;br&gt;&lt;br&gt;Same difference.
&lt;br&gt;Just imagine that Java is pseudo code if you don't like Java.
&lt;br&gt;The same objects and methods are present in C#.
&lt;br&gt;-- 
&lt;br&gt;This answer is provided by 1T3XT BVBA
&lt;br&gt;&lt;a href=&quot;http://www.1t3xt.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.com/&lt;/a&gt;&amp;nbsp;- &lt;a href=&quot;http://www.1t3xt.info&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;iText-questions mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26314624&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;Check the site with examples before you ask questions: &lt;a href=&quot;http://www.1t3xt.info/examples/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info/examples/&lt;/a&gt;&lt;br&gt;You can also search the keywords list: &lt;a href=&quot;http://1t3xt.info/tutorials/keywords/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.info/tutorials/keywords/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/add-bookmark-at-runtime-tp26304148p26314624.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26314619</id>
	<title>Re: Itext tooltip generation</title>
	<published>2009-11-11T23:35:00Z</published>
	<updated>2009-11-11T23:35:00Z</updated>
	<author>
		<name>1T3XT info</name>
	</author>
	<content type="html">6QT5S wrote:
&lt;br&gt;&amp;gt; I am unable to generate tooltip for a pdfpcell. It would be of great help if
&lt;br&gt;&amp;gt; someone shares knowledge about displaying a tooltip for every cell of the
&lt;br&gt;&amp;gt; Table
&lt;br&gt;&lt;br&gt;Read chapter 10 of the book to find out more about cell events.
&lt;br&gt;Combine that knowledge with these examples:
&lt;br&gt;&lt;a href=&quot;http://1t3xt.be/?X0f5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.be/?X0f5&lt;/a&gt;&amp;nbsp;(tip appears when you double click)
&lt;br&gt;&lt;a href=&quot;http://1t3xt.be/?X0fc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.be/?X0fc&lt;/a&gt;&amp;nbsp;(tip appears when on mouse over)
&lt;br&gt;&lt;a href=&quot;http://1t3xt.be/?X116&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.be/?X116&lt;/a&gt;&amp;nbsp;(a pop-up appears on mouse over)
&lt;br&gt;&lt;br&gt;Do not just try one example, start with the first,
&lt;br&gt;then go on with the second, end with the third.
&lt;br&gt;There's a learning traject involved.
&lt;br&gt;-- 
&lt;br&gt;This answer is provided by 1T3XT BVBA
&lt;br&gt;&lt;a href=&quot;http://www.1t3xt.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.com/&lt;/a&gt;&amp;nbsp;- &lt;a href=&quot;http://www.1t3xt.info&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;iText-questions mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26314619&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;Check the site with examples before you ask questions: &lt;a href=&quot;http://www.1t3xt.info/examples/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info/examples/&lt;/a&gt;&lt;br&gt;You can also search the keywords list: &lt;a href=&quot;http://1t3xt.info/tutorials/keywords/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.info/tutorials/keywords/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Itext-tooltip-generation-tp26305775p26314619.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26308386</id>
	<title>Re: add bookmark at runtime</title>
	<published>2009-11-11T12:46:17Z</published>
	<updated>2009-11-11T12:46:17Z</updated>
	<author>
		<name>lester fajardo</name>
	</author>
	<content type="html">oh, man.&lt;br&gt;&lt;br&gt;again, i dont have a doubt and sit and ask.&lt;br&gt;&lt;br&gt;i think all those samples help a bit, but many of the helpful ones are using &amp;quot;lowagie&amp;quot;, etc, java samples, mayb you have not noticed that i am using c sharp&lt;br&gt;
&lt;br&gt;thx anyway, i will continue my search&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Nov 11, 2009 at 8:30 PM, 1T3XT info &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26308386&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;info@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&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;im&quot;&gt;lester fajardo wrote:&lt;br&gt;
&amp;gt; &amp;quot;You can certainly use iText to create such a PDF PROVIDED&amp;quot;&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;EVERY MAIL SENT TO THE MAILING LIST HAS A LINK TO:&lt;br&gt;
&lt;div class=&quot;im&quot;&gt;&lt;a href=&quot;http://1t3xt.info/tutorials/keywords/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.info/tutorials/keywords/&lt;/a&gt;&lt;br&gt;
&lt;/div&gt;SEE BELOW IF YOU DON&amp;#39;T BELIEVE ME.&lt;br&gt;
&lt;br&gt;
Please go to that page.&lt;br&gt;
Use Ctrl+F to find the word &amp;quot;Bookmarks&amp;quot;.&lt;br&gt;
&lt;br&gt;
Wow, somebody even made categories:&lt;br&gt;
Bookmarks&lt;br&gt;
    actions&lt;br&gt;
    colors and styles&lt;br&gt;
    create as HashMap&lt;br&gt;
    creation with Chapter/Section&lt;br&gt;
    retrieve as HashMap&lt;br&gt;
    retrieve as XML&lt;br&gt;
    update existing bookmarks&lt;br&gt;
&lt;br&gt;
Creation of bookmarks with Chapter/Section is only one way to do it.&lt;br&gt;
Click on one of those links, for instance: &lt;a href=&quot;http://1t3xt.be/?X187&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.be/?X187&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
Wow again! Plenty of examples that could help you on your way.&lt;br&gt;
For instance: &lt;a href=&quot;http://1t3xt.be/?X02c&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.be/?X02c&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
Hey, seems like that example was taken from chapter 13 of the book.&lt;br&gt;
Didn&amp;#39;t I just recommend that chapter?&lt;br&gt;
&lt;br&gt;
Please don&amp;#39;t act as if it&amp;#39;s that hard to find that information.&lt;br&gt;
It&amp;#39;s kind of insulting for the person who did all the work&lt;br&gt;
putting that information online.&lt;br&gt;
&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;
------------------------------------------------------------------------------&lt;br&gt;
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day&lt;br&gt;
trial. Simplify your report design, integration and deployment - and focus on&lt;br&gt;
what you do best, core application coding. Discover what&amp;#39;s new with&lt;br&gt;
Crystal Reports now.  &lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;
_______________________________________________&lt;br&gt;
iText-questions mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26308386&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;_blank&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;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.com/docs/book.php&lt;/a&gt;&lt;br&gt;
Check the site with examples before you ask questions: &lt;a href=&quot;http://www.1t3xt.info/examples/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info/examples/&lt;/a&gt;&lt;br&gt;
You can also search the keywords list: &lt;a href=&quot;http://1t3xt.info/tutorials/keywords/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.info/tutorials/keywords/&lt;/a&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;iText-questions mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26308386&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;Check the site with examples before you ask questions: &lt;a href=&quot;http://www.1t3xt.info/examples/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info/examples/&lt;/a&gt;&lt;br&gt;You can also search the keywords list: &lt;a href=&quot;http://1t3xt.info/tutorials/keywords/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.info/tutorials/keywords/&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/add-bookmark-at-runtime-tp26304148p26308386.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26308062</id>
	<title>Re: add bookmark at runtime</title>
	<published>2009-11-11T12:30:19Z</published>
	<updated>2009-11-11T12:30:19Z</updated>
	<author>
		<name>1T3XT info</name>
	</author>
	<content type="html">lester fajardo wrote:
&lt;br&gt;&amp;gt; &amp;quot;You can certainly use iText to create such a PDF PROVIDED&amp;quot;
&lt;br&gt;&lt;br&gt;EVERY MAIL SENT TO THE MAILING LIST HAS A LINK TO:
&lt;br&gt;&lt;a href=&quot;http://1t3xt.info/tutorials/keywords/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.info/tutorials/keywords/&lt;/a&gt;&lt;br&gt;SEE BELOW IF YOU DON'T BELIEVE ME.
&lt;br&gt;&lt;br&gt;Please go to that page.
&lt;br&gt;Use Ctrl+F to find the word &amp;quot;Bookmarks&amp;quot;.
&lt;br&gt;&lt;br&gt;Wow, somebody even made categories:
&lt;br&gt;Bookmarks
&lt;br&gt;&amp;nbsp; &amp;nbsp; actions
&lt;br&gt;&amp;nbsp; &amp;nbsp; colors and styles
&lt;br&gt;&amp;nbsp; &amp;nbsp; create as HashMap
&lt;br&gt;&amp;nbsp; &amp;nbsp; creation with Chapter/Section
&lt;br&gt;&amp;nbsp; &amp;nbsp; retrieve as HashMap
&lt;br&gt;&amp;nbsp; &amp;nbsp; retrieve as XML
&lt;br&gt;&amp;nbsp; &amp;nbsp; update existing bookmarks
&lt;br&gt;&lt;br&gt;Creation of bookmarks with Chapter/Section is only one way to do it.
&lt;br&gt;Click on one of those links, for instance: &lt;a href=&quot;http://1t3xt.be/?X187&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.be/?X187&lt;/a&gt;&lt;br&gt;&lt;br&gt;Wow again! Plenty of examples that could help you on your way.
&lt;br&gt;For instance: &lt;a href=&quot;http://1t3xt.be/?X02c&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.be/?X02c&lt;/a&gt;&lt;br&gt;&lt;br&gt;Hey, seems like that example was taken from chapter 13 of the book.
&lt;br&gt;Didn't I just recommend that chapter?
&lt;br&gt;&lt;br&gt;Please don't act as if it's that hard to find that information.
&lt;br&gt;It's kind of insulting for the person who did all the work
&lt;br&gt;putting that information online.
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;iText-questions mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26308062&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;Check the site with examples before you ask questions: &lt;a href=&quot;http://www.1t3xt.info/examples/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info/examples/&lt;/a&gt;&lt;br&gt;You can also search the keywords list: &lt;a href=&quot;http://1t3xt.info/tutorials/keywords/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.info/tutorials/keywords/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/add-bookmark-at-runtime-tp26304148p26308062.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26308060</id>
	<title>Re: is a pdf file coming out of pdf file	concatination always valid?</title>
	<published>2009-11-11T12:27:24Z</published>
	<updated>2009-11-11T12:27:24Z</updated>
	<author>
		<name>Leonard Rosenthol-3</name>
	</author>
	<content type="html">Fonts with the same name on different pages are completely valid according to ISO 32000-1.
&lt;br&gt;&lt;br&gt;Leonard
&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: Carsten Hammer [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26308060&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Carsten.Hammer@...&lt;/a&gt;] 
&lt;br&gt;Sent: Wednesday, November 11, 2009 3:19 PM
&lt;br&gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26308060&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;itext-questions@...&lt;/a&gt;
&lt;br&gt;Subject: Re: [iText-questions] is a pdf file coming out of pdf file concatination always valid?
&lt;br&gt;&lt;br&gt;After applying the change Paulo suggested Adobe Reader 8 displays two 
&lt;br&gt;truetypefonts in both cases (out.pdf, out2.pdf). Without the change 
&lt;br&gt;Reader only finds 1 (truetype subsetted) font in the case of identical 
&lt;br&gt;names (out2.pdf).
&lt;br&gt;&lt;br&gt;More interesting than to find bugs in different versions of reader or 
&lt;br&gt;acrobat seems to me the question if the files generated by my sample 
&lt;br&gt;programm are in every way valid and if applications or printers failing 
&lt;br&gt;to process them are right or wrong..
&lt;br&gt;&lt;br&gt;Best regards,
&lt;br&gt;Carsten
&lt;br&gt;&lt;br&gt;Leonard Rosenthol schrieb:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; That hasn't been the case since Acrobat 5 (aka we fixed it in Acrobat 6).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Leonard
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: Paulo Soares [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26308060&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;psoares@...&lt;/a&gt;] 
&lt;br&gt;&amp;gt; Sent: Wednesday, November 11, 2009 5:43 AM
&lt;br&gt;&amp;gt; To: Post all your questions about iText here
&lt;br&gt;&amp;gt; Subject: Re: [iText-questions] is a pdf file coming out of pdf file concatination always valid?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I don't know where Acrobat stands now but with earlier versions it would get confused with different subset fonts with the same prefix. It may be wiser to call PdfReader.shuffleSubsetNames() just in case.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Paulo
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ________________________________________
&lt;br&gt;&amp;gt; From: Carsten Hammer [&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26308060&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Carsten.Hammer@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; Sent: Tuesday, November 10, 2009 11:42 PM
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26308060&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;itext-questions@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Subject: [iText-questions] is a pdf file coming out of pdf file concatination always valid?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; while investigating some problems with concatenation of pdf files the question came up if it is neccessary to recreate the &amp;quot;font-subset-prefix&amp;quot; to prevent a name clash. I do not see a obvious problem not doing this in the pdf reference manual. Acrobat does not seem to care. If you run the attached Java class two nearly identical pdf files will be generated &amp;quot;StandardType1Fonts1.pdf&amp;quot; and &amp;quot;StandardType1Fonts2.pdf&amp;quot;. In another step these two files are joined in another file &amp;quot;out.pdf&amp;quot;. There seems to be no prefix processing.
&lt;br&gt;&amp;gt; PDFSmartcopy throws out one copy of the font. The last file &amp;quot;out2.pdf&amp;quot;
&lt;br&gt;&amp;gt; is created by copying &amp;quot;StandardType1Fonts1.pdf&amp;quot; twice into the same file. Because of using the same input file twice the prefix is always the same. There is no big difference - Acrobat shows only one font because of the same name.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Are there any known problems using itext's PDFCopy/PDFSmartCopy to merge pdf files?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Best regards,
&lt;br&gt;&amp;gt; Carsten
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Aviso Legal: Esta mensagem ? destinada exclusivamente ao destinat?rio. Pode conter informa??o confidencial ou legalmente protegida. A incorrecta transmiss?o desta mensagem n?o significa a perca de confidencialidade. Se esta mensagem for recebida por engano, por favor envie-a de volta para o remetente e apague-a do seu sistema de imediato. ? proibido a qualquer pessoa que n?o o destinat?rio de usar, revelar ou distribuir qualquer parte desta mensagem. &amp;nbsp; Disclaimer: This message is destined exclusively to the intended receiver. It may contain confidential or legally protected information. The incorrect transmission of this message does not mean the loss of its confidentiality. If this message is received by mistake, please send it back to the sender and delete it from your system immediately
&lt;br&gt;&amp;gt; &amp;nbsp;. 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;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; iText-questions mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26308060&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;iText-questions@...&lt;/a&gt;
&lt;br&gt;&amp;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;&amp;gt; 
&lt;br&gt;&amp;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;&amp;gt; Check the site with examples before you ask questions: &lt;a href=&quot;http://www.1t3xt.info/examples/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info/examples/&lt;/a&gt;&lt;br&gt;&amp;gt; You can also search the keywords list: &lt;a href=&quot;http://1t3xt.info/tutorials/keywords/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.info/tutorials/keywords/&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;iText-questions mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26308060&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;Check the site with examples before you ask questions: &lt;a href=&quot;http://www.1t3xt.info/examples/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info/examples/&lt;/a&gt;&lt;br&gt;You can also search the keywords list: &lt;a href=&quot;http://1t3xt.info/tutorials/keywords/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.info/tutorials/keywords/&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;iText-questions mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26308060&amp;i=7&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;Check the site with examples before you ask questions: &lt;a href=&quot;http://www.1t3xt.info/examples/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info/examples/&lt;/a&gt;&lt;br&gt;You can also search the keywords list: &lt;a href=&quot;http://1t3xt.info/tutorials/keywords/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.info/tutorials/keywords/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/is-a-pdf-file-coming-out-of-pdf-file-concatination-always-valid--tp26293532p26308060.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26307908</id>
	<title>Re: is a pdf file coming out of pdf file concatination always valid?</title>
	<published>2009-11-11T12:18:45Z</published>
	<updated>2009-11-11T12:18:45Z</updated>
	<author>
		<name>carsten hammer</name>
	</author>
	<content type="html">After applying the change Paulo suggested Adobe Reader 8 displays two 
&lt;br&gt;truetypefonts in both cases (out.pdf, out2.pdf). Without the change 
&lt;br&gt;Reader only finds 1 (truetype subsetted) font in the case of identical 
&lt;br&gt;names (out2.pdf).
&lt;br&gt;&lt;br&gt;More interesting than to find bugs in different versions of reader or 
&lt;br&gt;acrobat seems to me the question if the files generated by my sample 
&lt;br&gt;programm are in every way valid and if applications or printers failing 
&lt;br&gt;to process them are right or wrong..
&lt;br&gt;&lt;br&gt;Best regards,
&lt;br&gt;Carsten
&lt;br&gt;&lt;br&gt;Leonard Rosenthol schrieb:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; That hasn't been the case since Acrobat 5 (aka we fixed it in Acrobat 6).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Leonard
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: Paulo Soares [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307908&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;psoares@...&lt;/a&gt;] 
&lt;br&gt;&amp;gt; Sent: Wednesday, November 11, 2009 5:43 AM
&lt;br&gt;&amp;gt; To: Post all your questions about iText here
&lt;br&gt;&amp;gt; Subject: Re: [iText-questions] is a pdf file coming out of pdf file concatination always valid?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I don't know where Acrobat stands now but with earlier versions it would get confused with different subset fonts with the same prefix. It may be wiser to call PdfReader.shuffleSubsetNames() just in case.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Paulo
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ________________________________________
&lt;br&gt;&amp;gt; From: Carsten Hammer [&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307908&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Carsten.Hammer@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; Sent: Tuesday, November 10, 2009 11:42 PM
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307908&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;itext-questions@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Subject: [iText-questions] is a pdf file coming out of pdf file concatination always valid?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; while investigating some problems with concatenation of pdf files the question came up if it is neccessary to recreate the &amp;quot;font-subset-prefix&amp;quot; to prevent a name clash. I do not see a obvious problem not doing this in the pdf reference manual. Acrobat does not seem to care. If you run the attached Java class two nearly identical pdf files will be generated &amp;quot;StandardType1Fonts1.pdf&amp;quot; and &amp;quot;StandardType1Fonts2.pdf&amp;quot;. In another step these two files are joined in another file &amp;quot;out.pdf&amp;quot;. There seems to be no prefix processing.
&lt;br&gt;&amp;gt; PDFSmartcopy throws out one copy of the font. The last file &amp;quot;out2.pdf&amp;quot;
&lt;br&gt;&amp;gt; is created by copying &amp;quot;StandardType1Fonts1.pdf&amp;quot; twice into the same file. Because of using the same input file twice the prefix is always the same. There is no big difference - Acrobat shows only one font because of the same name.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Are there any known problems using itext's PDFCopy/PDFSmartCopy to merge pdf files?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Best regards,
&lt;br&gt;&amp;gt; Carsten
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Aviso Legal: Esta mensagem ? destinada exclusivamente ao destinat?rio. Pode conter informa??o confidencial ou legalmente protegida. A incorrecta transmiss?o desta mensagem n?o significa a perca de confidencialidade. Se esta mensagem for recebida por engano, por favor envie-a de volta para o remetente e apague-a do seu sistema de imediato. ? proibido a qualquer pessoa que n?o o destinat?rio de usar, revelar ou distribuir qualquer parte desta mensagem. &amp;nbsp; Disclaimer: This message is destined exclusively to the intended receiver. It may contain confidential or legally protected information. The incorrect transmission of this message does not mean the loss of its confidentiality. If this message is received by mistake, please send it back to the sender and delete it from your system immediately
&lt;br&gt;&amp;gt; &amp;nbsp;. 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;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; iText-questions mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307908&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;iText-questions@...&lt;/a&gt;
&lt;br&gt;&amp;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;&amp;gt; 
&lt;br&gt;&amp;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;&amp;gt; Check the site with examples before you ask questions: &lt;a href=&quot;http://www.1t3xt.info/examples/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info/examples/&lt;/a&gt;&lt;br&gt;&amp;gt; You can also search the keywords list: &lt;a href=&quot;http://1t3xt.info/tutorials/keywords/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.info/tutorials/keywords/&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;iText-questions mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307908&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;Check the site with examples before you ask questions: &lt;a href=&quot;http://www.1t3xt.info/examples/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info/examples/&lt;/a&gt;&lt;br&gt;You can also search the keywords list: &lt;a href=&quot;http://1t3xt.info/tutorials/keywords/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.info/tutorials/keywords/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/is-a-pdf-file-coming-out-of-pdf-file-concatination-always-valid--tp26293532p26307908.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26307767</id>
	<title>Re: add bookmark at runtime</title>
	<published>2009-11-11T12:10:03Z</published>
	<updated>2009-11-11T12:10:03Z</updated>
	<author>
		<name>lester fajardo</name>
	</author>
	<content type="html">not that book&lt;br&gt;&lt;br&gt;as i wrote in the first email.&lt;br&gt;&lt;br&gt;i have read the adobe guide to js, and other sites like&lt;br&gt;&lt;a href=&quot;http://itextdocs.lowagie.com/tutorial/objects/anchors/index.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://itextdocs.lowagie.com/tutorial/objects/anchors/index.php&lt;/a&gt;&lt;br&gt;
&lt;br&gt;true is that i am new to itext, but as said, i am not sitting here and asking how to do it without any effort. I told you that i tried putting chapter sections, etc, and also the js approach, i dont need the exact code, just a way to follow ( a bit more specific that what you wrote about &amp;quot;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt;You can certainly use iText to create such a PDF PROVIDED&lt;/span&gt;&amp;quot;)&lt;br&gt;
&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Nov 11, 2009 at 7:54 PM, Leonard Rosenthol &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307767&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lrosenth@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&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 link=&quot;blue&quot; vlink=&quot;purple&quot; lang=&quot;EN-US&quot;&gt;

&lt;div&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt;Have you read the iText book?  Looked at the samples?  &lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt; &lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt;Leonard&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt; &lt;/span&gt;&lt;/p&gt;

&lt;div style=&quot;border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;&quot;&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;From:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt; lester fajardo
[mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307767&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lefajardo@...&lt;/a&gt;] &lt;br&gt;
&lt;b&gt;Sent:&lt;/b&gt; Wednesday, November 11, 2009 2:21 PM&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;
&lt;b&gt;To:&lt;/b&gt; Post all your questions about iText here&lt;br&gt;
&lt;b&gt;Subject:&lt;/b&gt; Re: [iText-questions] add bookmark at runtime&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/p&gt;

&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;

&lt;p class=&quot;MsoNormal&quot;&gt; &lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 12pt;&quot;&gt;i already have the word count.&lt;br&gt;
&lt;br&gt;
my plain question is: how can i make with itext that bookmarks ? i am new to
itext.&lt;br&gt;
&lt;br&gt;
if you see that bookmarks are not related to anything inside the pdf ( unless
it are hidden )&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/p&gt;

&lt;div&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;On Wed, Nov 11, 2009 at 6:53 PM, Leonard Rosenthol &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307767&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lrosenth@...&lt;/a&gt;&amp;gt; wrote:&lt;/p&gt;

&lt;div&gt;

&lt;div&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt;OK.&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt; &lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt;I still don’t understand what the
problem is.  You can certainly use iText to create such a PDF PROVIDED
that you have the counts for each word, since iText has no support for word
counting itself.&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt; &lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt;Leonard&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt; &lt;/span&gt;&lt;/p&gt;

&lt;div style=&quot;border-style: solid none none; border-color: -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;&quot;&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;From:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt; lester
fajardo [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307767&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lefajardo@...&lt;/a&gt;]
&lt;br&gt;
&lt;b&gt;Sent:&lt;/b&gt; Wednesday, November 11, 2009 12:56 PM&lt;/span&gt;&lt;/p&gt;

&lt;div&gt;

&lt;div&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;br&gt;
&lt;b&gt;To:&lt;/b&gt; Post all your questions about iText here&lt;br&gt;
&lt;b&gt;Subject:&lt;/b&gt; Re: [iText-questions] add bookmark at runtime&lt;/span&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;div&gt;

&lt;p class=&quot;MsoNormal&quot;&gt; &lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 12pt;&quot;&gt;Take a
look to this file. in the first doc you see (full size), you can see the
bookmarks on it&lt;br&gt;
&lt;br&gt;
is not a chapter/section approach, is a  index of every word used in the
document and its count.&lt;br&gt;
&lt;br&gt;
i want to do that, also i understand that every bookmark have a javascript
associated, that when clicked, it performs a search of that word in the
document.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/p&gt;

&lt;div&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;On
Wed, Nov 11, 2009 at 11:32 AM, Leonard Rosenthol &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307767&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lrosenth@...&lt;/a&gt;&amp;gt;
wrote:&lt;/p&gt;

&lt;div&gt;

&lt;div&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt;Why can’t you add the bookmarks at the
end of the document creation process?  I don’t understand what
problem/limitation you are facing…&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt; &lt;/span&gt;&lt;/p&gt;

&lt;div style=&quot;border-style: solid none none; border-color: -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;&quot;&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;From:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt; lester
fajardo [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307767&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lefajardo@...&lt;/a&gt;]
&lt;br&gt;
&lt;b&gt;Sent:&lt;/b&gt; Wednesday, November 11, 2009 12:17 PM&lt;br&gt;
&lt;b&gt;To:&lt;/b&gt; Post all your questions about iText here&lt;br&gt;
&lt;b&gt;Subject:&lt;/b&gt; Re: [iText-questions] add bookmark at runtime&lt;/span&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;div&gt;

&lt;p class=&quot;MsoNormal&quot;&gt; &lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 12pt;&quot;&gt;Hi.
Leonard.&lt;br&gt;
&lt;br&gt;
Yes, i am trying that in Reader.&lt;br&gt;
&lt;br&gt;
My whole problem is this.&lt;br&gt;
&lt;br&gt;
I have created a doc, and now i try to create a bookmarks for the document, but
those are not standar bookmarks.&lt;br&gt;
&lt;br&gt;
i want to have a list of boookmaks like &lt;br&gt;
&lt;br&gt;
A&lt;br&gt;
     Any (3)     ( 3) is the number of
occurences of that word inside the doc&lt;br&gt;
W&lt;br&gt;
     Word(4)&lt;br&gt;
&lt;br&gt;
i already have the word count, only want to create the bookmarks, but if i use
the chapter/section approach, i will have at end of the doc one page with those
chapters/bookmars and i dont want that, i just want to have the content and the
bookmarks.&lt;br&gt;
&lt;br&gt;
any idea to create my bookmarks ?&lt;/p&gt;

&lt;div&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;On
Wed, Nov 11, 2009 at 4:47 PM, Leonard Rosenthol &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307767&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lrosenth@...&lt;/a&gt;&amp;gt;
wrote:&lt;/p&gt;

&lt;div&gt;

&lt;div&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt;Are you trying to run that Javascript in
Reader?  Reader doesn’t support creating stuff on the fly…&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt; &lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt;Leonard&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt; &lt;/span&gt;&lt;/p&gt;

&lt;div style=&quot;border-style: solid none none; border-color: -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;&quot;&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;From:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt; lester
fajardo [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307767&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lefajardo@...&lt;/a&gt;]
&lt;br&gt;
&lt;b&gt;Sent:&lt;/b&gt; Wednesday, November 11, 2009 11:20 AM&lt;br&gt;
&lt;b&gt;To:&lt;/b&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307767&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;itext-questions@...&lt;/a&gt;&lt;br&gt;
&lt;b&gt;Subject:&lt;/b&gt; [iText-questions] add bookmark at runtime&lt;/span&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;div&gt;

&lt;p class=&quot;MsoNormal&quot;&gt; &lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;hello
i am trying to add a bookmark using javascript but seems to not be working, i
create a bookmark using standar itext procedure and 2 using js at document load,
but only the itext-created bookmark is shown.&lt;br&gt;
&lt;br&gt;
thx in advance for any help&lt;br&gt;
&lt;br&gt;
this is my code.&lt;br&gt;
&lt;br&gt;
string jsCode = &amp;quot;&amp;quot;;&lt;br&gt;
&lt;br&gt;
Document document = new Document(PageSize.LETTER, 72, 72, 60, 50);&lt;br&gt;
&lt;br&gt;
PdfWriter writer = PdfWriter.GetInstance(document, new FileStream(&amp;quot;test.pdf&amp;quot;,
FileMode.Create));&lt;br&gt;
&lt;br&gt;
document.Open();&lt;br&gt;
&lt;br&gt;
// add a test chapter&lt;br&gt;
Chapter chapter1 = new Chapter(new Paragraph(&amp;quot;bookmark 1&amp;quot;), 1);&lt;br&gt;
chapter1.BookmarkOpen = true;&lt;br&gt;
doc.Add(chapter1);&lt;br&gt;
&lt;br&gt;
// sample code taken from the &lt;a href=&quot;http://partners.adobe.com/public/developer/en/acrobat/sdk/pdf/javascript/AcroJS.pdf&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://partners.adobe.com/public/developer/en/acrobat/sdk/pdf/javascript/AcroJS.pdf&lt;/a&gt;
file&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
// add more bookmarks using javascript&lt;br&gt;
jsCode += &amp;quot; this.bookmarkRoot.createChild( &amp;#39;bookmark 2&amp;#39;,&amp;#39;&amp;#39;); \r &amp;quot;;&lt;br&gt;
&lt;br&gt;
// add a child to the first book mark created &amp;quot;bookmark 1&amp;quot;&lt;br&gt;
// pointer to the bookmark&lt;br&gt;
jsCode += &amp;quot; var bm = bookmarkRoot.children[0];\r &amp;quot;;&lt;br&gt;
&lt;br&gt;
jsCode += &amp;quot; bm.createChild( &amp;#39;bookmark3&amp;#39;,&amp;#39;&amp;#39;); &amp;quot;;&lt;br&gt;
&lt;br&gt;
PdfAction jsAction = PdfAction.JavaScript(jsCode, writer);&lt;br&gt;
&lt;br&gt;
writer.AddJavaScript(jsAction);&lt;br&gt;
&lt;br&gt;
             &lt;br&gt;
document.Close();&lt;/p&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;br&gt;
------------------------------------------------------------------------------&lt;br&gt;
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day&lt;br&gt;
trial. Simplify your report design, integration and deployment - and focus on&lt;br&gt;
what you do best, core application coding. Discover what&amp;#39;s new with&lt;br&gt;
Crystal Reports now.  &lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;
_______________________________________________&lt;br&gt;
iText-questions mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307767&amp;i=9&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;_blank&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;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.com/docs/book.php&lt;/a&gt;&lt;br&gt;
Check the site with examples before you ask questions: &lt;a href=&quot;http://www.1t3xt.info/examples/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info/examples/&lt;/a&gt;&lt;br&gt;
You can also search the keywords list: &lt;a href=&quot;http://1t3xt.info/tutorials/keywords/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.info/tutorials/keywords/&lt;/a&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;p class=&quot;MsoNormal&quot;&gt; &lt;/p&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;br&gt;
------------------------------------------------------------------------------&lt;br&gt;
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day&lt;br&gt;
trial. Simplify your report design, integration and deployment - and focus on&lt;br&gt;
what you do best, core application coding. Discover what&amp;#39;s new with&lt;br&gt;
Crystal Reports now.  &lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;
_______________________________________________&lt;br&gt;
iText-questions mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307767&amp;i=10&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;_blank&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;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.com/docs/book.php&lt;/a&gt;&lt;br&gt;
Check the site with examples before you ask questions: &lt;a href=&quot;http://www.1t3xt.info/examples/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info/examples/&lt;/a&gt;&lt;br&gt;
You can also search the keywords list: &lt;a href=&quot;http://1t3xt.info/tutorials/keywords/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.info/tutorials/keywords/&lt;/a&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;p class=&quot;MsoNormal&quot;&gt; &lt;/p&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;br&gt;
------------------------------------------------------------------------------&lt;br&gt;
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day&lt;br&gt;
trial. Simplify your report design, integration and deployment - and focus on&lt;br&gt;
what you do best, core application coding. Discover what&amp;#39;s new with&lt;br&gt;
Crystal Reports now.  &lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;
_______________________________________________&lt;br&gt;
iText-questions mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307767&amp;i=11&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;_blank&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;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.com/docs/book.php&lt;/a&gt;&lt;br&gt;
Check the site with examples before you ask questions: &lt;a href=&quot;http://www.1t3xt.info/examples/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info/examples/&lt;/a&gt;&lt;br&gt;
You can also search the keywords list: &lt;a href=&quot;http://1t3xt.info/tutorials/keywords/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.info/tutorials/keywords/&lt;/a&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;p class=&quot;MsoNormal&quot;&gt; &lt;/p&gt;

&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;

&lt;/div&gt;


&lt;br&gt;------------------------------------------------------------------------------&lt;br&gt;
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day&lt;br&gt;
trial. Simplify your report design, integration and deployment - and focus on&lt;br&gt;
what you do best, core application coding. Discover what&amp;#39;s new with&lt;br&gt;
Crystal Reports now.  &lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________&lt;br&gt;
iText-questions mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307767&amp;i=12&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;_blank&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;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.com/docs/book.php&lt;/a&gt;&lt;br&gt;
Check the site with examples before you ask questions: &lt;a href=&quot;http://www.1t3xt.info/examples/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info/examples/&lt;/a&gt;&lt;br&gt;
You can also search the keywords list: &lt;a href=&quot;http://1t3xt.info/tutorials/keywords/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.info/tutorials/keywords/&lt;/a&gt;&lt;br&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;iText-questions mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307767&amp;i=13&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;Check the site with examples before you ask questions: &lt;a href=&quot;http://www.1t3xt.info/examples/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info/examples/&lt;/a&gt;&lt;br&gt;You can also search the keywords list: &lt;a href=&quot;http://1t3xt.info/tutorials/keywords/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.info/tutorials/keywords/&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/add-bookmark-at-runtime-tp26304148p26307767.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26307548</id>
	<title>Re: add bookmark at runtime</title>
	<published>2009-11-11T11:54:31Z</published>
	<updated>2009-11-11T11:54:31Z</updated>
	<author>
		<name>Leonard Rosenthol-3</name>
	</author>
	<content type="html">&lt;html xmlns:v=&quot;urn:schemas-microsoft-com:vml&quot; xmlns:o=&quot;urn:schemas-microsoft-com:office:office&quot; xmlns:w=&quot;urn:schemas-microsoft-com:office:word&quot; xmlns:x=&quot;urn:schemas-microsoft-com:office:excel&quot; xmlns:p=&quot;urn:schemas-microsoft-com:office:powerpoint&quot; xmlns:a=&quot;urn:schemas-microsoft-com:office:access&quot; xmlns:dt=&quot;uuid:C2F41010-65B3-11d1-A29F-00AA00C14882&quot; xmlns:s=&quot;uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882&quot; xmlns:rs=&quot;urn:schemas-microsoft-com:rowset&quot; xmlns:Z=&quot;urn:schemas-microsoft-com:&quot; xmlns:b=&quot;urn:schemas-microsoft-com:office:publisher&quot; xmlns:ss=&quot;urn:schemas-microsoft-com:office:spreadsheet&quot; xmlns:c=&quot;urn:schemas-microsoft-com:office:component:spreadsheet&quot; xmlns:odc=&quot;urn:schemas-microsoft-com:office:odc&quot; xmlns:oa=&quot;urn:schemas-microsoft-com:office:activation&quot; xmlns:html=&quot;http://www.w3.org/TR/REC-html40&quot; xmlns:q=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot; xmlns:rtc=&quot;http://microsoft.com/officenet/conferencing&quot; xmlns:D=&quot;DAV:&quot; xmlns:Repl=&quot;http://schemas.microsoft.com/repl/&quot; xmlns:mt=&quot;http://schemas.microsoft.com/sharepoint/soap/meetings/&quot; xmlns:x2=&quot;http://schemas.microsoft.com/office/excel/2003/xml&quot; xmlns:ppda=&quot;http://www.passport.com/NameSpace.xsd&quot; xmlns:ois=&quot;http://schemas.microsoft.com/sharepoint/soap/ois/&quot; xmlns:dir=&quot;http://schemas.microsoft.com/sharepoint/soap/directory/&quot; xmlns:ds=&quot;http://www.w3.org/2000/09/xmldsig#&quot; xmlns:dsp=&quot;http://schemas.microsoft.com/sharepoint/dsp&quot; xmlns:udc=&quot;http://schemas.microsoft.com/data/udc&quot; xmlns:xsd=&quot;http://www.w3.org/2001/XMLSchema&quot; xmlns:sub=&quot;http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/&quot; xmlns:ec=&quot;http://www.w3.org/2001/04/xmlenc#&quot; xmlns:sp=&quot;http://schemas.microsoft.com/sharepoint/&quot; xmlns:sps=&quot;http://schemas.microsoft.com/sharepoint/soap/&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; xmlns:udcs=&quot;http://schemas.microsoft.com/data/udc/soap&quot; xmlns:udcxf=&quot;http://schemas.microsoft.com/data/udc/xmlfile&quot; xmlns:udcp2p=&quot;http://schemas.microsoft.com/data/udc/parttopart&quot; xmlns:wf=&quot;http://schemas.microsoft.com/sharepoint/soap/workflow/&quot; xmlns:dsss=&quot;http://schemas.microsoft.com/office/2006/digsig-setup&quot; xmlns:dssi=&quot;http://schemas.microsoft.com/office/2006/digsig&quot; xmlns:mdssi=&quot;http://schemas.openxmlformats.org/package/2006/digital-signature&quot; xmlns:mver=&quot;http://schemas.openxmlformats.org/markup-compatibility/2006&quot; xmlns:m=&quot;http://schemas.microsoft.com/office/2004/12/omml&quot; xmlns:mrels=&quot;http://schemas.openxmlformats.org/package/2006/relationships&quot; xmlns:spwp=&quot;http://microsoft.com/sharepoint/webpartpages&quot; xmlns:ex12t=&quot;http://schemas.microsoft.com/exchange/services/2006/types&quot; xmlns:ex12m=&quot;http://schemas.microsoft.com/exchange/services/2006/messages&quot; xmlns:pptsl=&quot;http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/&quot; xmlns:spsl=&quot;http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService&quot; xmlns:st=&quot;&amp;#1;&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 12 (filtered medium)&quot;&gt;

&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapedefaults v:ext=&quot;edit&quot; spidmax=&quot;1026&quot; /&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapelayout v:ext=&quot;edit&quot;&gt;
  &lt;o:idmap v:ext=&quot;edit&quot; data=&quot;1&quot; /&gt;
 &lt;/o:shapelayout&gt;&lt;/xml&gt;&lt;![endif]--&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;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;Have you read the iText book?&amp;nbsp; Looked at the samples?&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;Leonard&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'&gt;

&lt;p class=MsoNormal&gt;&lt;b&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;'&gt;From:&lt;/span&gt;&lt;/b&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;'&gt; lester fajardo
[mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307548&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lefajardo@...&lt;/a&gt;] &lt;br&gt;
&lt;b&gt;Sent:&lt;/b&gt; Wednesday, November 11, 2009 2:21 PM&lt;br&gt;
&lt;b&gt;To:&lt;/b&gt; Post all your questions about iText here&lt;br&gt;
&lt;b&gt;Subject:&lt;/b&gt; Re: [iText-questions] add bookmark at runtime&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='margin-bottom:12.0pt'&gt;i already have the word count.&lt;br&gt;
&lt;br&gt;
my plain question is: how can i make with itext that bookmarks ? i am new to
itext.&lt;br&gt;
&lt;br&gt;
if you see that bookmarks are not related to anything inside the pdf ( unless
it are hidden )&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;On Wed, Nov 11, 2009 at 6:53 PM, Leonard Rosenthol &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307548&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lrosenth@...&lt;/a&gt;&amp;gt; wrote:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;div&gt;

&lt;div&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;&lt;span style='font-size:11.0pt;color:#1F497D'&gt;OK.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;&lt;span style='font-size:11.0pt;color:#1F497D'&gt;&amp;nbsp;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;&lt;span style='font-size:11.0pt;color:#1F497D'&gt;I still don&amp;#8217;t understand what the
problem is.&amp;nbsp; You can certainly use iText to create such a PDF PROVIDED
that you have the counts for each word, since iText has no support for word
counting itself.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;&lt;span style='font-size:11.0pt;color:#1F497D'&gt;&amp;nbsp;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;&lt;span style='font-size:11.0pt;color:#1F497D'&gt;Leonard&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;&lt;span style='font-size:11.0pt;color:#1F497D'&gt;&amp;nbsp;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0in 0in 0in;
border-color:-moz-use-text-color -moz-use-text-color'&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;&lt;b&gt;&lt;span style='font-size:10.0pt'&gt;From:&lt;/span&gt;&lt;/b&gt;&lt;span style='font-size:10.0pt'&gt; lester
fajardo [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307548&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lefajardo@...&lt;/a&gt;]
&lt;br&gt;
&lt;b&gt;Sent:&lt;/b&gt; Wednesday, November 11, 2009 12:56 PM&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;div&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:10.0pt'&gt;&lt;br&gt;
&lt;b&gt;To:&lt;/b&gt; Post all your questions about iText here&lt;br&gt;
&lt;b&gt;Subject:&lt;/b&gt; Re: [iText-questions] add bookmark at runtime&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;div&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt'&gt;Take a
look to this file. in the first doc you see (full size), you can see the
bookmarks on it&lt;br&gt;
&lt;br&gt;
is not a chapter/section approach, is a&amp;nbsp; index of every word used in the
document and its count.&lt;br&gt;
&lt;br&gt;
i want to do that, also i understand that every bookmark have a javascript
associated, that when clicked, it performs a search of that word in the
document.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;div&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;On
Wed, Nov 11, 2009 at 11:32 AM, Leonard Rosenthol &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307548&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lrosenth@...&lt;/a&gt;&amp;gt;
wrote:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;div&gt;

&lt;div&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;&lt;span style='font-size:11.0pt;color:#1F497D'&gt;Why can&amp;#8217;t you add the bookmarks at the
end of the document creation process?&amp;nbsp; I don&amp;#8217;t understand what
problem/limitation you are facing&amp;#8230;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;&lt;span style='font-size:11.0pt;color:#1F497D'&gt;&amp;nbsp;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0in 0in 0in;
border-color:-moz-use-text-color'&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;&lt;b&gt;&lt;span style='font-size:10.0pt'&gt;From:&lt;/span&gt;&lt;/b&gt;&lt;span style='font-size:10.0pt'&gt; lester
fajardo [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307548&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lefajardo@...&lt;/a&gt;]
&lt;br&gt;
&lt;b&gt;Sent:&lt;/b&gt; Wednesday, November 11, 2009 12:17 PM&lt;br&gt;
&lt;b&gt;To:&lt;/b&gt; Post all your questions about iText here&lt;br&gt;
&lt;b&gt;Subject:&lt;/b&gt; Re: [iText-questions] add bookmark at runtime&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;div&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt'&gt;Hi.
Leonard.&lt;br&gt;
&lt;br&gt;
Yes, i am trying that in Reader.&lt;br&gt;
&lt;br&gt;
My whole problem is this.&lt;br&gt;
&lt;br&gt;
I have created a doc, and now i try to create a bookmarks for the document, but
those are not standar bookmarks.&lt;br&gt;
&lt;br&gt;
i want to have a list of boookmaks like &lt;br&gt;
&lt;br&gt;
A&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Any (3)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ( 3) is the number of
occurences of that word inside the doc&lt;br&gt;
W&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Word(4)&lt;br&gt;
&lt;br&gt;
i already have the word count, only want to create the bookmarks, but if i use
the chapter/section approach, i will have at end of the doc one page with those
chapters/bookmars and i dont want that, i just want to have the content and the
bookmarks.&lt;br&gt;
&lt;br&gt;
any idea to create my bookmarks ?&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;div&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;On
Wed, Nov 11, 2009 at 4:47 PM, Leonard Rosenthol &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307548&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lrosenth@...&lt;/a&gt;&amp;gt;
wrote:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;div&gt;

&lt;div&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;&lt;span style='font-size:11.0pt;color:#1F497D'&gt;Are you trying to run that Javascript in
Reader?&amp;nbsp; Reader doesn&amp;#8217;t support creating stuff on the fly&amp;#8230;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;&lt;span style='font-size:11.0pt;color:#1F497D'&gt;&amp;nbsp;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;&lt;span style='font-size:11.0pt;color:#1F497D'&gt;Leonard&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;&lt;span style='font-size:11.0pt;color:#1F497D'&gt;&amp;nbsp;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0in 0in 0in;
border-color:-moz-use-text-color'&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;&lt;b&gt;&lt;span style='font-size:10.0pt'&gt;From:&lt;/span&gt;&lt;/b&gt;&lt;span style='font-size:10.0pt'&gt; lester
fajardo [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307548&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lefajardo@...&lt;/a&gt;]
&lt;br&gt;
&lt;b&gt;Sent:&lt;/b&gt; Wednesday, November 11, 2009 11:20 AM&lt;br&gt;
&lt;b&gt;To:&lt;/b&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307548&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;itext-questions@...&lt;/a&gt;&lt;br&gt;
&lt;b&gt;Subject:&lt;/b&gt; [iText-questions] add bookmark at runtime&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;div&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;hello
i am trying to add a bookmark using javascript but seems to not be working, i
create a bookmark using standar itext procedure and 2 using js at document load,
but only the itext-created bookmark is shown.&lt;br&gt;
&lt;br&gt;
thx in advance for any help&lt;br&gt;
&lt;br&gt;
this is my code.&lt;br&gt;
&lt;br&gt;
string jsCode = &amp;quot;&amp;quot;;&lt;br&gt;
&lt;br&gt;
Document document = new Document(PageSize.LETTER, 72, 72, 60, 50);&lt;br&gt;
&lt;br&gt;
PdfWriter writer = PdfWriter.GetInstance(document, new FileStream(&amp;quot;test.pdf&amp;quot;,
FileMode.Create));&lt;br&gt;
&lt;br&gt;
document.Open();&lt;br&gt;
&lt;br&gt;
// add a test chapter&lt;br&gt;
Chapter chapter1 = new Chapter(new Paragraph(&amp;quot;bookmark 1&amp;quot;), 1);&lt;br&gt;
chapter1.BookmarkOpen = true;&lt;br&gt;
doc.Add(chapter1);&lt;br&gt;
&lt;br&gt;
// sample code taken from the &lt;a href=&quot;http://partners.adobe.com/public/developer/en/acrobat/sdk/pdf/javascript/AcroJS.pdf&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://partners.adobe.com/public/developer/en/acrobat/sdk/pdf/javascript/AcroJS.pdf&lt;/a&gt;
file&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
// add more bookmarks using javascript&lt;br&gt;
jsCode += &amp;quot; this.bookmarkRoot.createChild( 'bookmark 2',''); \r &amp;quot;;&lt;br&gt;
&lt;br&gt;
// add a child to the first book mark created &amp;quot;bookmark 1&amp;quot;&lt;br&gt;
// pointer to the bookmark&lt;br&gt;
jsCode += &amp;quot; var bm = bookmarkRoot.children[0];\r &amp;quot;;&lt;br&gt;
&lt;br&gt;
jsCode += &amp;quot; bm.createChild( 'bookmark3',''); &amp;quot;;&lt;br&gt;
&lt;br&gt;
PdfAction jsAction = PdfAction.JavaScript(jsCode, writer);&lt;br&gt;
&lt;br&gt;
writer.AddJavaScript(jsAction);&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; &lt;br&gt;
document.Close();&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;&lt;br&gt;
------------------------------------------------------------------------------&lt;br&gt;
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day&lt;br&gt;
trial. Simplify your report design, integration and deployment - and focus on&lt;br&gt;
what you do best, core application coding. Discover what's new with&lt;br&gt;
Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;
_______________________________________________&lt;br&gt;
iText-questions mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307548&amp;i=8&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;_blank&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;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.com/docs/book.php&lt;/a&gt;&lt;br&gt;
Check the site with examples before you ask questions: &lt;a href=&quot;http://www.1t3xt.info/examples/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info/examples/&lt;/a&gt;&lt;br&gt;
You can also search the keywords list: &lt;a href=&quot;http://1t3xt.info/tutorials/keywords/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.info/tutorials/keywords/&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;&lt;br&gt;
------------------------------------------------------------------------------&lt;br&gt;
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day&lt;br&gt;
trial. Simplify your report design, integration and deployment - and focus on&lt;br&gt;
what you do best, core application coding. Discover what's new with&lt;br&gt;
Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;
_______________________________________________&lt;br&gt;
iText-questions mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307548&amp;i=9&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;_blank&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;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.com/docs/book.php&lt;/a&gt;&lt;br&gt;
Check the site with examples before you ask questions: &lt;a href=&quot;http://www.1t3xt.info/examples/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info/examples/&lt;/a&gt;&lt;br&gt;
You can also search the keywords list: &lt;a href=&quot;http://1t3xt.info/tutorials/keywords/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.info/tutorials/keywords/&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;p class=MsoNormal&gt;&lt;br&gt;
------------------------------------------------------------------------------&lt;br&gt;
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day&lt;br&gt;
trial. Simplify your report design, integration and deployment - and focus on&lt;br&gt;
what you do best, core application coding. Discover what's new with&lt;br&gt;
Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;
_______________________________________________&lt;br&gt;
iText-questions mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307548&amp;i=10&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;_blank&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;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.com/docs/book.php&lt;/a&gt;&lt;br&gt;
Check the site with examples before you ask questions: &lt;a href=&quot;http://www.1t3xt.info/examples/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info/examples/&lt;/a&gt;&lt;br&gt;
You can also search the keywords list: &lt;a href=&quot;http://1t3xt.info/tutorials/keywords/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.info/tutorials/keywords/&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/body&gt;

&lt;/html&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;iText-questions mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307548&amp;i=11&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;Check the site with examples before you ask questions: &lt;a href=&quot;http://www.1t3xt.info/examples/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info/examples/&lt;/a&gt;&lt;br&gt;You can also search the keywords list: &lt;a href=&quot;http://1t3xt.info/tutorials/keywords/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.info/tutorials/keywords/&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/add-bookmark-at-runtime-tp26304148p26307548.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26307442</id>
	<title>Re: add bookmark at runtime</title>
	<published>2009-11-11T11:48:51Z</published>
	<updated>2009-11-11T11:48:51Z</updated>
	<author>
		<name>1T3XT info</name>
	</author>
	<content type="html">lester fajardo wrote:
&lt;br&gt;&amp;gt; i already have the word count.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; my plain question is: how can i make with itext that bookmarks ? i am 
&lt;br&gt;&amp;gt; new to itext.
&lt;br&gt;&lt;br&gt;Read chapter 13 of the iText book:
&lt;br&gt;&lt;a href=&quot;http://1t3xt.com/docs/book.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.com/docs/book.php&lt;/a&gt;&lt;br&gt;&lt;br&gt;As you are new to iText, reading documentation is mandatory.
&lt;br&gt;You can't just say: &amp;quot;Hello list, I don't know anything about
&lt;br&gt;iText, but I'm sure you're going to tell me everything.&amp;quot;
&lt;br&gt;&lt;br&gt;That's not what the mailing list is for...
&lt;br&gt;-- 
&lt;br&gt;This answer is provided by 1T3XT BVBA
&lt;br&gt;&lt;a href=&quot;http://www.1t3xt.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.com/&lt;/a&gt;&amp;nbsp;- &lt;a href=&quot;http://www.1t3xt.info&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;iText-questions mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307442&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;Check the site with examples before you ask questions: &lt;a href=&quot;http://www.1t3xt.info/examples/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info/examples/&lt;/a&gt;&lt;br&gt;You can also search the keywords list: &lt;a href=&quot;http://1t3xt.info/tutorials/keywords/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.info/tutorials/keywords/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/add-bookmark-at-runtime-tp26304148p26307442.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26307387</id>
	<title>Re: Replacing PdfCopy by PdfWriter fails (recommended performance enhancement)</title>
	<published>2009-11-11T11:45:38Z</published>
	<updated>2009-11-11T11:45:38Z</updated>
	<author>
		<name>1T3XT info</name>
	</author>
	<content type="html">Martin Weiss wrote:
&lt;br&gt;&amp;gt; Bruno, I guess we have a misunderstanding. I a previous post you remcommended 
&lt;br&gt;&amp;gt; to use PdfWriter instead of PdfCopy for concatenation of pdfs.
&lt;br&gt;&lt;br&gt;I said that in some cases PdfWriter could be better. I don't claim to 
&lt;br&gt;know and understand the complete design of your application.
&lt;br&gt;&lt;br&gt;&amp;gt; PdfWriter does not work for me (see previous post).
&lt;br&gt;&lt;br&gt;So my advise to use document.newPage(); didn't work?
&lt;br&gt;&lt;a href=&quot;http://article.gmane.org/gmane.comp.java.lib.itext.general/48052&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://article.gmane.org/gmane.comp.java.lib.itext.general/48052&lt;/a&gt;&lt;br&gt;That's strange.
&lt;br&gt;&lt;br&gt;&amp;gt; My experience: I have to use PdfCopy or 
&lt;br&gt;&amp;gt; better PdfSmartCopy for that. Can you confirm that ?
&lt;br&gt;&lt;br&gt;No, I can't: I don't know all the requirements of your assignment.
&lt;br&gt;&lt;br&gt;I can only compare with projects I have done.
&lt;br&gt;One of these projects involved documents with 30,000 pages:
&lt;br&gt;letters that had to printed and put in envelopes automatically,
&lt;br&gt;using a number of different backgrounds based on the addressee.
&lt;br&gt;In that project I've had plenty of troubles with PdfCopy and
&lt;br&gt;more succes with PdfWriter/PdfImportedPage.
&lt;br&gt;&lt;br&gt;But that was ANOTHER project, with OTHER requirements.
&lt;br&gt;If it's YOUR experience that PdfCopy is a better fit for
&lt;br&gt;YOUR requirements, then YOU shouldn't ask ME for confirmation.
&lt;br&gt;&lt;br&gt;I'm not on the pay-roll of your employer, am I?
&lt;br&gt;I'm TRYING to help by sharing my experience, but you mustn't push it.
&lt;br&gt;-- 
&lt;br&gt;This answer is provided by 1T3XT BVBA
&lt;br&gt;&lt;a href=&quot;http://www.1t3xt.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.com/&lt;/a&gt;&amp;nbsp;- &lt;a href=&quot;http://www.1t3xt.info&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;iText-questions mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307387&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;Check the site with examples before you ask questions: &lt;a href=&quot;http://www.1t3xt.info/examples/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info/examples/&lt;/a&gt;&lt;br&gt;You can also search the keywords list: &lt;a href=&quot;http://1t3xt.info/tutorials/keywords/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.info/tutorials/keywords/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Replacing-PdfCopy-by-PdfWriter-fails-%28recommended-performance-enhancement%29-tp26301646p26307387.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26307077</id>
	<title>Re: add bookmark at runtime</title>
	<published>2009-11-11T11:20:37Z</published>
	<updated>2009-11-11T11:20:37Z</updated>
	<author>
		<name>lester fajardo</name>
	</author>
	<content type="html">i already have the word count.&lt;br&gt;&lt;br&gt;my plain question is: how can i make with itext that bookmarks ? i am new to itext.&lt;br&gt;&lt;br&gt;if you see that bookmarks are not related to anything inside the pdf ( unless it are hidden )&lt;br&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Nov 11, 2009 at 6:53 PM, Leonard Rosenthol &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307077&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lrosenth@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&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 link=&quot;blue&quot; vlink=&quot;purple&quot; lang=&quot;EN-US&quot;&gt;

&lt;div&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt;OK.&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt; &lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt;I still don’t understand what the problem is.  You can certainly
use iText to create such a PDF PROVIDED that you have the counts for each word,
since iText has no support for word counting itself.&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt; &lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt;Leonard&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt; &lt;/span&gt;&lt;/p&gt;

&lt;div style=&quot;border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;&quot;&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;From:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt; lester fajardo
[mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307077&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lefajardo@...&lt;/a&gt;] &lt;br&gt;
&lt;b&gt;Sent:&lt;/b&gt; Wednesday, November 11, 2009 12:56 PM&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;
&lt;b&gt;To:&lt;/b&gt; Post all your questions about iText here&lt;br&gt;
&lt;b&gt;Subject:&lt;/b&gt; Re: [iText-questions] add bookmark at runtime&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/p&gt;

&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;

&lt;p class=&quot;MsoNormal&quot;&gt; &lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 12pt;&quot;&gt;Take a look to this file. in
the first doc you see (full size), you can see the bookmarks on it&lt;br&gt;
&lt;br&gt;
is not a chapter/section approach, is a  index of every word used in the
document and its count.&lt;br&gt;
&lt;br&gt;
i want to do that, also i understand that every bookmark have a javascript
associated, that when clicked, it performs a search of that word in the document.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/p&gt;

&lt;div&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;On Wed, Nov 11, 2009 at 11:32 AM, Leonard Rosenthol &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307077&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lrosenth@...&lt;/a&gt;&amp;gt; wrote:&lt;/p&gt;

&lt;div&gt;

&lt;div&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt;Why can’t you add the bookmarks at the
end of the document creation process?  I don’t understand what
problem/limitation you are facing…&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt; &lt;/span&gt;&lt;/p&gt;

&lt;div style=&quot;border-style: solid none none; border-color: -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;&quot;&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;From:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt; lester
fajardo [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307077&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lefajardo@...&lt;/a&gt;]
&lt;br&gt;
&lt;b&gt;Sent:&lt;/b&gt; Wednesday, November 11, 2009 12:17 PM&lt;br&gt;
&lt;b&gt;To:&lt;/b&gt; Post all your questions about iText here&lt;br&gt;
&lt;b&gt;Subject:&lt;/b&gt; Re: [iText-questions] add bookmark at runtime&lt;/span&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;div&gt;

&lt;p class=&quot;MsoNormal&quot;&gt; &lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 12pt;&quot;&gt;Hi.
Leonard.&lt;br&gt;
&lt;br&gt;
Yes, i am trying that in Reader.&lt;br&gt;
&lt;br&gt;
My whole problem is this.&lt;br&gt;
&lt;br&gt;
I have created a doc, and now i try to create a bookmarks for the document, but
those are not standar bookmarks.&lt;br&gt;
&lt;br&gt;
i want to have a list of boookmaks like &lt;br&gt;
&lt;br&gt;
A&lt;br&gt;
     Any (3)     ( 3) is the number of
occurences of that word inside the doc&lt;br&gt;
W&lt;br&gt;
     Word(4)&lt;br&gt;
&lt;br&gt;
i already have the word count, only want to create the bookmarks, but if i use
the chapter/section approach, i will have at end of the doc one page with those
chapters/bookmars and i dont want that, i just want to have the content and the
bookmarks.&lt;br&gt;
&lt;br&gt;
any idea to create my bookmarks ?&lt;/p&gt;

&lt;div&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;On
Wed, Nov 11, 2009 at 4:47 PM, Leonard Rosenthol &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307077&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lrosenth@...&lt;/a&gt;&amp;gt;
wrote:&lt;/p&gt;

&lt;div&gt;

&lt;div&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt;Are you trying to run that Javascript in
Reader?  Reader doesn’t support creating stuff on the fly…&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt; &lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt;Leonard&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt; &lt;/span&gt;&lt;/p&gt;

&lt;div style=&quot;border-style: solid none none; border-color: -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;&quot;&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;From:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt; lester
fajardo [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307077&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lefajardo@...&lt;/a&gt;]
&lt;br&gt;
&lt;b&gt;Sent:&lt;/b&gt; Wednesday, November 11, 2009 11:20 AM&lt;br&gt;
&lt;b&gt;To:&lt;/b&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307077&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;itext-questions@...&lt;/a&gt;&lt;br&gt;
&lt;b&gt;Subject:&lt;/b&gt; [iText-questions] add bookmark at runtime&lt;/span&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;div&gt;

&lt;p class=&quot;MsoNormal&quot;&gt; &lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;hello
i am trying to add a bookmark using javascript but seems to not be working, i
create a bookmark using standar itext procedure and 2 using js at document
load, but only the itext-created bookmark is shown.&lt;br&gt;
&lt;br&gt;
thx in advance for any help&lt;br&gt;
&lt;br&gt;
this is my code.&lt;br&gt;
&lt;br&gt;
string jsCode = &amp;quot;&amp;quot;;&lt;br&gt;
&lt;br&gt;
Document document = new Document(PageSize.LETTER, 72, 72, 60, 50);&lt;br&gt;
&lt;br&gt;
PdfWriter writer = PdfWriter.GetInstance(document, new
FileStream(&amp;quot;test.pdf&amp;quot;, FileMode.Create));&lt;br&gt;
&lt;br&gt;
document.Open();&lt;br&gt;
&lt;br&gt;
// add a test chapter&lt;br&gt;
Chapter chapter1 = new Chapter(new Paragraph(&amp;quot;bookmark 1&amp;quot;), 1);&lt;br&gt;
chapter1.BookmarkOpen = true;&lt;br&gt;
doc.Add(chapter1);&lt;br&gt;
&lt;br&gt;
// sample code taken from the &lt;a href=&quot;http://partners.adobe.com/public/developer/en/acrobat/sdk/pdf/javascript/AcroJS.pdf&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://partners.adobe.com/public/developer/en/acrobat/sdk/pdf/javascript/AcroJS.pdf&lt;/a&gt;
file&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
// add more bookmarks using javascript&lt;br&gt;
jsCode += &amp;quot; this.bookmarkRoot.createChild( &amp;#39;bookmark 2&amp;#39;,&amp;#39;&amp;#39;); \r &amp;quot;;&lt;br&gt;
&lt;br&gt;
// add a child to the first book mark created &amp;quot;bookmark 1&amp;quot;&lt;br&gt;
// pointer to the bookmark&lt;br&gt;
jsCode += &amp;quot; var bm = bookmarkRoot.children[0];\r &amp;quot;;&lt;br&gt;
&lt;br&gt;
jsCode += &amp;quot; bm.createChild( &amp;#39;bookmark3&amp;#39;,&amp;#39;&amp;#39;); &amp;quot;;&lt;br&gt;
&lt;br&gt;
PdfAction jsAction = PdfAction.JavaScript(jsCode, writer);&lt;br&gt;
&lt;br&gt;
writer.AddJavaScript(jsAction);&lt;br&gt;
&lt;br&gt;
             &lt;br&gt;
document.Close();&lt;/p&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;br&gt;
------------------------------------------------------------------------------&lt;br&gt;
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day&lt;br&gt;
trial. Simplify your report design, integration and deployment - and focus on&lt;br&gt;
what you do best, core application coding. Discover what&amp;#39;s new with&lt;br&gt;
Crystal Reports now.  &lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;
_______________________________________________&lt;br&gt;
iText-questions mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307077&amp;i=7&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;_blank&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;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.com/docs/book.php&lt;/a&gt;&lt;br&gt;
Check the site with examples before you ask questions: &lt;a href=&quot;http://www.1t3xt.info/examples/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info/examples/&lt;/a&gt;&lt;br&gt;
You can also search the keywords list: &lt;a href=&quot;http://1t3xt.info/tutorials/keywords/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.info/tutorials/keywords/&lt;/a&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;p class=&quot;MsoNormal&quot;&gt; &lt;/p&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;br&gt;
------------------------------------------------------------------------------&lt;br&gt;
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day&lt;br&gt;
trial. Simplify your report design, integration and deployment - and focus on&lt;br&gt;
what you do best, core application coding. Discover what&amp;#39;s new with&lt;br&gt;
Crystal Reports now.  &lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;
_______________________________________________&lt;br&gt;
iText-questions mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307077&amp;i=8&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;_blank&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;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.com/docs/book.php&lt;/a&gt;&lt;br&gt;
Check the site with examples before you ask questions: &lt;a href=&quot;http://www.1t3xt.info/examples/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info/examples/&lt;/a&gt;&lt;br&gt;
You can also search the keywords list: &lt;a href=&quot;http://1t3xt.info/tutorials/keywords/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.info/tutorials/keywords/&lt;/a&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;p class=&quot;MsoNormal&quot;&gt; &lt;/p&gt;

&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;

&lt;/div&gt;


&lt;br&gt;------------------------------------------------------------------------------&lt;br&gt;
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day&lt;br&gt;
trial. Simplify your report design, integration and deployment - and focus on&lt;br&gt;
what you do best, core application coding. Discover what&amp;#39;s new with&lt;br&gt;
Crystal Reports now.  &lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________&lt;br&gt;
iText-questions mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307077&amp;i=9&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;_blank&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;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.com/docs/book.php&lt;/a&gt;&lt;br&gt;
Check the site with examples before you ask questions: &lt;a href=&quot;http://www.1t3xt.info/examples/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info/examples/&lt;/a&gt;&lt;br&gt;
You can also search the keywords list: &lt;a href=&quot;http://1t3xt.info/tutorials/keywords/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.info/tutorials/keywords/&lt;/a&gt;&lt;br&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;iText-questions mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307077&amp;i=10&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;Check the site with examples before you ask questions: &lt;a href=&quot;http://www.1t3xt.info/examples/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info/examples/&lt;/a&gt;&lt;br&gt;You can also search the keywords list: &lt;a href=&quot;http://1t3xt.info/tutorials/keywords/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.info/tutorials/keywords/&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/add-bookmark-at-runtime-tp26304148p26307077.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26306907</id>
	<title>Re: Replacing PdfCopy by PdfWriter fails	(recommended performance enhancement)</title>
	<published>2009-11-11T11:10:48Z</published>
	<updated>2009-11-11T11:10:48Z</updated>
	<author>
		<name>Martin Weiss</name>
	</author>
	<content type="html">Bruno, I guess we have a misunderstanding. I a previous post you remcommended 
&lt;br&gt;to use PdfWriter instead of PdfCopy for concatenation of pdfs. PdfWriter does 
&lt;br&gt;not work for me (see previous post). My experience: I have to use PdfCopy or 
&lt;br&gt;better PdfSmartCopy for that. Can you confirm that ?
&lt;br&gt;Many thanks,
&lt;br&gt;Martin
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;iText-questions mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26306907&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;Check the site with examples before you ask questions: &lt;a href=&quot;http://www.1t3xt.info/examples/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info/examples/&lt;/a&gt;&lt;br&gt;You can also search the keywords list: &lt;a href=&quot;http://1t3xt.info/tutorials/keywords/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.info/tutorials/keywords/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Replacing-PdfCopy-by-PdfWriter-fails-%28recommended-performance-enhancement%29-tp26301646p26306907.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26306650</id>
	<title>Re: add bookmark at runtime</title>
	<published>2009-11-11T10:53:12Z</published>
	<updated>2009-11-11T10:53:12Z</updated>
	<author>
		<name>Leonard Rosenthol-3</name>
	</author>
	<content type="html">&lt;html xmlns:v=&quot;urn:schemas-microsoft-com:vml&quot; xmlns:o=&quot;urn:schemas-microsoft-com:office:office&quot; xmlns:w=&quot;urn:schemas-microsoft-com:office:word&quot; xmlns:x=&quot;urn:schemas-microsoft-com:office:excel&quot; xmlns:p=&quot;urn:schemas-microsoft-com:office:powerpoint&quot; xmlns:a=&quot;urn:schemas-microsoft-com:office:access&quot; xmlns:dt=&quot;uuid:C2F41010-65B3-11d1-A29F-00AA00C14882&quot; xmlns:s=&quot;uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882&quot; xmlns:rs=&quot;urn:schemas-microsoft-com:rowset&quot; xmlns:Z=&quot;urn:schemas-microsoft-com:&quot; xmlns:b=&quot;urn:schemas-microsoft-com:office:publisher&quot; xmlns:ss=&quot;urn:schemas-microsoft-com:office:spreadsheet&quot; xmlns:c=&quot;urn:schemas-microsoft-com:office:component:spreadsheet&quot; xmlns:odc=&quot;urn:schemas-microsoft-com:office:odc&quot; xmlns:oa=&quot;urn:schemas-microsoft-com:office:activation&quot; xmlns:html=&quot;http://www.w3.org/TR/REC-html40&quot; xmlns:q=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot; xmlns:rtc=&quot;http://microsoft.com/officenet/conferencing&quot; xmlns:D=&quot;DAV:&quot; xmlns:Repl=&quot;http://schemas.microsoft.com/repl/&quot; xmlns:mt=&quot;http://schemas.microsoft.com/sharepoint/soap/meetings/&quot; xmlns:x2=&quot;http://schemas.microsoft.com/office/excel/2003/xml&quot; xmlns:ppda=&quot;http://www.passport.com/NameSpace.xsd&quot; xmlns:ois=&quot;http://schemas.microsoft.com/sharepoint/soap/ois/&quot; xmlns:dir=&quot;http://schemas.microsoft.com/sharepoint/soap/directory/&quot; xmlns:ds=&quot;http://www.w3.org/2000/09/xmldsig#&quot; xmlns:dsp=&quot;http://schemas.microsoft.com/sharepoint/dsp&quot; xmlns:udc=&quot;http://schemas.microsoft.com/data/udc&quot; xmlns:xsd=&quot;http://www.w3.org/2001/XMLSchema&quot; xmlns:sub=&quot;http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/&quot; xmlns:ec=&quot;http://www.w3.org/2001/04/xmlenc#&quot; xmlns:sp=&quot;http://schemas.microsoft.com/sharepoint/&quot; xmlns:sps=&quot;http://schemas.microsoft.com/sharepoint/soap/&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; xmlns:udcs=&quot;http://schemas.microsoft.com/data/udc/soap&quot; xmlns:udcxf=&quot;http://schemas.microsoft.com/data/udc/xmlfile&quot; xmlns:udcp2p=&quot;http://schemas.microsoft.com/data/udc/parttopart&quot; xmlns:wf=&quot;http://schemas.microsoft.com/sharepoint/soap/workflow/&quot; xmlns:dsss=&quot;http://schemas.microsoft.com/office/2006/digsig-setup&quot; xmlns:dssi=&quot;http://schemas.microsoft.com/office/2006/digsig&quot; xmlns:mdssi=&quot;http://schemas.openxmlformats.org/package/2006/digital-signature&quot; xmlns:mver=&quot;http://schemas.openxmlformats.org/markup-compatibility/2006&quot; xmlns:m=&quot;http://schemas.microsoft.com/office/2004/12/omml&quot; xmlns:mrels=&quot;http://schemas.openxmlformats.org/package/2006/relationships&quot; xmlns:spwp=&quot;http://microsoft.com/sharepoint/webpartpages&quot; xmlns:ex12t=&quot;http://schemas.microsoft.com/exchange/services/2006/types&quot; xmlns:ex12m=&quot;http://schemas.microsoft.com/exchange/services/2006/messages&quot; xmlns:pptsl=&quot;http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/&quot; xmlns:spsl=&quot;http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService&quot; xmlns:st=&quot;&amp;#1;&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 12 (filtered medium)&quot;&gt;

&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapedefaults v:ext=&quot;edit&quot; spidmax=&quot;1026&quot; /&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapelayout v:ext=&quot;edit&quot;&gt;
  &lt;o:idmap v:ext=&quot;edit&quot; data=&quot;1&quot; /&gt;
 &lt;/o:shapelayout&gt;&lt;/xml&gt;&lt;![endif]--&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;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;OK.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;I still don&amp;#8217;t understand what the problem is.&amp;nbsp; You can certainly
use iText to create such a PDF PROVIDED that you have the counts for each word,
since iText has no support for word counting itself.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;Leonard&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'&gt;

&lt;p class=MsoNormal&gt;&lt;b&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;'&gt;From:&lt;/span&gt;&lt;/b&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;'&gt; lester fajardo
[mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26306650&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lefajardo@...&lt;/a&gt;] &lt;br&gt;
&lt;b&gt;Sent:&lt;/b&gt; Wednesday, November 11, 2009 12:56 PM&lt;br&gt;
&lt;b&gt;To:&lt;/b&gt; Post all your questions about iText here&lt;br&gt;
&lt;b&gt;Subject:&lt;/b&gt; Re: [iText-questions] add bookmark at runtime&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='margin-bottom:12.0pt'&gt;Take a look to this file. in
the first doc you see (full size), you can see the bookmarks on it&lt;br&gt;
&lt;br&gt;
is not a chapter/section approach, is a&amp;nbsp; index of every word used in the
document and its count.&lt;br&gt;
&lt;br&gt;
i want to do that, also i understand that every bookmark have a javascript
associated, that when clicked, it performs a search of that word in the document.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;On Wed, Nov 11, 2009 at 11:32 AM, Leonard Rosenthol &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26306650&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lrosenth@...&lt;/a&gt;&amp;gt; wrote:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;div&gt;

&lt;div&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;&lt;span style='font-size:11.0pt;color:#1F497D'&gt;Why can&amp;#8217;t you add the bookmarks at the
end of the document creation process?&amp;nbsp; I don&amp;#8217;t understand what
problem/limitation you are facing&amp;#8230;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;&lt;span style='font-size:11.0pt;color:#1F497D'&gt;&amp;nbsp;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0in 0in 0in;
border-color:-moz-use-text-color -moz-use-text-color'&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;&lt;b&gt;&lt;span style='font-size:10.0pt'&gt;From:&lt;/span&gt;&lt;/b&gt;&lt;span style='font-size:10.0pt'&gt; lester
fajardo [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26306650&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lefajardo@...&lt;/a&gt;]
&lt;br&gt;
&lt;b&gt;Sent:&lt;/b&gt; Wednesday, November 11, 2009 12:17 PM&lt;br&gt;
&lt;b&gt;To:&lt;/b&gt; Post all your questions about iText here&lt;br&gt;
&lt;b&gt;Subject:&lt;/b&gt; Re: [iText-questions] add bookmark at runtime&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;div&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt'&gt;Hi.
Leonard.&lt;br&gt;
&lt;br&gt;
Yes, i am trying that in Reader.&lt;br&gt;
&lt;br&gt;
My whole problem is this.&lt;br&gt;
&lt;br&gt;
I have created a doc, and now i try to create a bookmarks for the document, but
those are not standar bookmarks.&lt;br&gt;
&lt;br&gt;
i want to have a list of boookmaks like &lt;br&gt;
&lt;br&gt;
A&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Any (3)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ( 3) is the number of
occurences of that word inside the doc&lt;br&gt;
W&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Word(4)&lt;br&gt;
&lt;br&gt;
i already have the word count, only want to create the bookmarks, but if i use
the chapter/section approach, i will have at end of the doc one page with those
chapters/bookmars and i dont want that, i just want to have the content and the
bookmarks.&lt;br&gt;
&lt;br&gt;
any idea to create my bookmarks ?&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;div&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;On
Wed, Nov 11, 2009 at 4:47 PM, Leonard Rosenthol &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26306650&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lrosenth@...&lt;/a&gt;&amp;gt;
wrote:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;div&gt;

&lt;div&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;&lt;span style='font-size:11.0pt;color:#1F497D'&gt;Are you trying to run that Javascript in
Reader?&amp;nbsp; Reader doesn&amp;#8217;t support creating stuff on the fly&amp;#8230;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;&lt;span style='font-size:11.0pt;color:#1F497D'&gt;&amp;nbsp;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;&lt;span style='font-size:11.0pt;color:#1F497D'&gt;Leonard&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;&lt;span style='font-size:11.0pt;color:#1F497D'&gt;&amp;nbsp;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0in 0in 0in;
border-color:-moz-use-text-color'&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;&lt;b&gt;&lt;span style='font-size:10.0pt'&gt;From:&lt;/span&gt;&lt;/b&gt;&lt;span style='font-size:10.0pt'&gt; lester
fajardo [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26306650&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lefajardo@...&lt;/a&gt;]
&lt;br&gt;
&lt;b&gt;Sent:&lt;/b&gt; Wednesday, November 11, 2009 11:20 AM&lt;br&gt;
&lt;b&gt;To:&lt;/b&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26306650&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;itext-questions@...&lt;/a&gt;&lt;br&gt;
&lt;b&gt;Subject:&lt;/b&gt; [iText-questions] add bookmark at runtime&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;div&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;hello
i am trying to add a bookmark using javascript but seems to not be working, i
create a bookmark using standar itext procedure and 2 using js at document
load, but only the itext-created bookmark is shown.&lt;br&gt;
&lt;br&gt;
thx in advance for any help&lt;br&gt;
&lt;br&gt;
this is my code.&lt;br&gt;
&lt;br&gt;
string jsCode = &amp;quot;&amp;quot;;&lt;br&gt;
&lt;br&gt;
Document document = new Document(PageSize.LETTER, 72, 72, 60, 50);&lt;br&gt;
&lt;br&gt;
PdfWriter writer = PdfWriter.GetInstance(document, new
FileStream(&amp;quot;test.pdf&amp;quot;, FileMode.Create));&lt;br&gt;
&lt;br&gt;
document.Open();&lt;br&gt;
&lt;br&gt;
// add a test chapter&lt;br&gt;
Chapter chapter1 = new Chapter(new Paragraph(&amp;quot;bookmark 1&amp;quot;), 1);&lt;br&gt;
chapter1.BookmarkOpen = true;&lt;br&gt;
doc.Add(chapter1);&lt;br&gt;
&lt;br&gt;
// sample code taken from the &lt;a href=&quot;http://partners.adobe.com/public/developer/en/acrobat/sdk/pdf/javascript/AcroJS.pdf&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://partners.adobe.com/public/developer/en/acrobat/sdk/pdf/javascript/AcroJS.pdf&lt;/a&gt;
file&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
// add more bookmarks using javascript&lt;br&gt;
jsCode += &amp;quot; this.bookmarkRoot.createChild( 'bookmark 2',''); \r &amp;quot;;&lt;br&gt;
&lt;br&gt;
// add a child to the first book mark created &amp;quot;bookmark 1&amp;quot;&lt;br&gt;
// pointer to the bookmark&lt;br&gt;
jsCode += &amp;quot; var bm = bookmarkRoot.children[0];\r &amp;quot;;&lt;br&gt;
&lt;br&gt;
jsCode += &amp;quot; bm.createChild( 'bookmark3',''); &amp;quot;;&lt;br&gt;
&lt;br&gt;
PdfAction jsAction = PdfAction.JavaScript(jsCode, writer);&lt;br&gt;
&lt;br&gt;
writer.AddJavaScript(jsAction);&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; &lt;br&gt;
document.Close();&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;&lt;br&gt;
------------------------------------------------------------------------------&lt;br&gt;
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day&lt;br&gt;
trial. Simplify your report design, integration and deployment - and focus on&lt;br&gt;
what you do best, core application coding. Discover what's new with&lt;br&gt;
Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;
_______________________________________________&lt;br&gt;
iText-questions mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26306650&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;_blank&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;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.com/docs/book.php&lt;/a&gt;&lt;br&gt;
Check the site with examples before you ask questions: &lt;a href=&quot;http://www.1t3xt.info/examples/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info/examples/&lt;/a&gt;&lt;br&gt;
You can also search the keywords list: &lt;a href=&quot;http://1t3xt.info/tutorials/keywords/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.info/tutorials/keywords/&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;p class=MsoNormal&gt;&lt;br&gt;
------------------------------------------------------------------------------&lt;br&gt;
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day&lt;br&gt;
trial. Simplify your report design, integration and deployment - and focus on&lt;br&gt;
what you do best, core application coding. Discover what's new with&lt;br&gt;
Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;
_______________________________________________&lt;br&gt;
iText-questions mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26306650&amp;i=7&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;_blank&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;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.com/docs/book.php&lt;/a&gt;&lt;br&gt;
Check the site with examples before you ask questions: &lt;a href=&quot;http://www.1t3xt.info/examples/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info/examples/&lt;/a&gt;&lt;br&gt;
You can also search the keywords list: &lt;a href=&quot;http://1t3xt.info/tutorials/keywords/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.info/tutorials/keywords/&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/body&gt;

&lt;/html&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;iText-questions mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26306650&amp;i=8&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;Check the site with examples before you ask questions: &lt;a href=&quot;http://www.1t3xt.info/examples/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info/examples/&lt;/a&gt;&lt;br&gt;You can also search the keywords list: &lt;a href=&quot;http://1t3xt.info/tutorials/keywords/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.info/tutorials/keywords/&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/add-bookmark-at-runtime-tp26304148p26306650.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26305863</id>
	<title>Re: Replacing PdfCopy by PdfWriter fails	(recommended performance enhancement)</title>
	<published>2009-11-11T10:05:29Z</published>
	<updated>2009-11-11T10:05:29Z</updated>
	<author>
		<name>1T3XT info</name>
	</author>
	<content type="html">Martin Weiss wrote:
&lt;br&gt;&amp;gt; Both versions (PdfCopy, PdfSmartCopy) have only a 
&lt;br&gt;&amp;gt; single copy of the Form XObject (PdfTemplate) [see below].
&lt;br&gt;&lt;br&gt;Are you sure? I mean: I can't tell only by looking at one object.
&lt;br&gt;&lt;br&gt;&amp;gt; Both files have the same size.
&lt;br&gt;&lt;br&gt;That's good news.
&lt;br&gt;In general, files generated with PdfSmartCopy are much smaller in size 
&lt;br&gt;than files generated with PdfCopy when content from different files is 
&lt;br&gt;concatenated.
&lt;br&gt;&lt;br&gt;For instance if you have:
&lt;br&gt;&lt;br&gt;file 1 with template X
&lt;br&gt;file 2 with template Y
&lt;br&gt;file 3 with template X
&lt;br&gt;&lt;br&gt;Then template X will occur twice when you concatenate file 1, 2 and 3 
&lt;br&gt;using PdfCopy. It will occur only once when you use PdfSmartCopy.
&lt;br&gt;&lt;br&gt;Maybe I didn't read the original question very well, maybe you don't 
&lt;br&gt;have situations where the same background is used for different files.
&lt;br&gt;&lt;br&gt;&amp;gt; Only to be sure that I have 
&lt;br&gt;&amp;gt; interpreted your answer correctly: your are not sure whether I can use the 
&lt;br&gt;&amp;gt; writer getImportedPage for my problem
&lt;br&gt;&lt;br&gt;If template X is used on different pages in the same document,
&lt;br&gt;using PdfImportedPage will not cause the XObject to be duplicated.
&lt;br&gt;If template X is used on different pages in different documents,
&lt;br&gt;then the XObject will be duplicated (which isn't what you want).
&lt;br&gt;-- 
&lt;br&gt;This answer is provided by 1T3XT BVBA
&lt;br&gt;&lt;a href=&quot;http://www.1t3xt.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.com/&lt;/a&gt;&amp;nbsp;- &lt;a href=&quot;http://www.1t3xt.info&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;iText-questions mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26305863&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;Check the site with examples before you ask questions: &lt;a href=&quot;http://www.1t3xt.info/examples/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info/examples/&lt;/a&gt;&lt;br&gt;You can also search the keywords list: &lt;a href=&quot;http://1t3xt.info/tutorials/keywords/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.info/tutorials/keywords/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Replacing-PdfCopy-by-PdfWriter-fails-%28recommended-performance-enhancement%29-tp26301646p26305863.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26305775</id>
	<title>Itext tooltip generation</title>
	<published>2009-11-11T10:03:57Z</published>
	<updated>2009-11-11T10:03:57Z</updated>
	<author>
		<name>6QT5S</name>
	</author>
	<content type="html">I am unable to generate tooltip for a pdfpcell. It would be of great help if someone shares knowledge about displaying a tooltip for every cell of the Table</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Itext-tooltip-generation-tp26305775p26305775.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26305817</id>
	<title>Re: add bookmark at runtime</title>
	<published>2009-11-11T09:55:45Z</published>
	<updated>2009-11-11T09:55:45Z</updated>
	<author>
		<name>lester fajardo</name>
	</author>
	<content type="html">Take a look to this file. in the first doc you see (full size), you can see the bookmarks on it&lt;br&gt;&lt;br&gt;is not a chapter/section approach, is a  index of every word used in the document and its count.&lt;br&gt;&lt;br&gt;i want to do that, also i understand that every bookmark have a javascript associated, that when clicked, it performs a search of that word in the document.&lt;br&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Nov 11, 2009 at 11:32 AM, Leonard Rosenthol &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26305817&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lrosenth@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&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 link=&quot;blue&quot; vlink=&quot;purple&quot; lang=&quot;EN-US&quot;&gt;

&lt;div&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt;Why can’t you add the bookmarks at the end of the document
creation process?  I don’t understand what problem/limitation you are facing…&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt; &lt;/span&gt;&lt;/p&gt;

&lt;div style=&quot;border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;&quot;&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;From:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt; lester fajardo
[mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26305817&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lefajardo@...&lt;/a&gt;] &lt;br&gt;
&lt;b&gt;Sent:&lt;/b&gt; Wednesday, November 11, 2009 12:17 PM&lt;br&gt;
&lt;b&gt;To:&lt;/b&gt; Post all your questions about iText here&lt;br&gt;
&lt;b&gt;Subject:&lt;/b&gt; Re: [iText-questions] add bookmark at runtime&lt;/span&gt;&lt;/p&gt;

&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;

&lt;p class=&quot;MsoNormal&quot;&gt; &lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 12pt;&quot;&gt;Hi. Leonard.&lt;br&gt;
&lt;br&gt;
Yes, i am trying that in Reader.&lt;br&gt;
&lt;br&gt;
My whole problem is this.&lt;br&gt;
&lt;br&gt;
I have created a doc, and now i try to create a bookmarks for the document, but
those are not standar bookmarks.&lt;br&gt;
&lt;br&gt;
i want to have a list of boookmaks like &lt;br&gt;
&lt;br&gt;
A&lt;br&gt;
     Any (3)     ( 3) is the number of
occurences of that word inside the doc&lt;br&gt;
W&lt;br&gt;
     Word(4)&lt;br&gt;
&lt;br&gt;
i already have the word count, only want to create the bookmarks, but if i use
the chapter/section approach, i will have at end of the doc one page with those
chapters/bookmars and i dont want that, i just want to have the content and the
bookmarks.&lt;br&gt;
&lt;br&gt;
any idea to create my bookmarks ?&lt;/p&gt;

&lt;div&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;On Wed, Nov 11, 2009 at 4:47 PM, Leonard Rosenthol &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26305817&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lrosenth@...&lt;/a&gt;&amp;gt; wrote:&lt;/p&gt;

&lt;div&gt;

&lt;div&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt;Are you trying to run that Javascript in
Reader?  Reader doesn’t support creating stuff on the fly…&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt; &lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt;Leonard&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt; &lt;/span&gt;&lt;/p&gt;

&lt;div style=&quot;border-style: solid none none; border-color: -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;&quot;&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;From:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt; lester
fajardo [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26305817&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lefajardo@...&lt;/a&gt;]
&lt;br&gt;
&lt;b&gt;Sent:&lt;/b&gt; Wednesday, November 11, 2009 11:20 AM&lt;br&gt;
&lt;b&gt;To:&lt;/b&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26305817&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;itext-questions@...&lt;/a&gt;&lt;br&gt;
&lt;b&gt;Subject:&lt;/b&gt; [iText-questions] add bookmark at runtime&lt;/span&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;div&gt;

&lt;p class=&quot;MsoNormal&quot;&gt; &lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;hello
i am trying to add a bookmark using javascript but seems to not be working, i
create a bookmark using standar itext procedure and 2 using js at document
load, but only the itext-created bookmark is shown.&lt;br&gt;
&lt;br&gt;
thx in advance for any help&lt;br&gt;
&lt;br&gt;
this is my code.&lt;br&gt;
&lt;br&gt;
string jsCode = &amp;quot;&amp;quot;;&lt;br&gt;
&lt;br&gt;
Document document = new Document(PageSize.LETTER, 72, 72, 60, 50);&lt;br&gt;
&lt;br&gt;
PdfWriter writer = PdfWriter.GetInstance(document, new
FileStream(&amp;quot;test.pdf&amp;quot;, FileMode.Create));&lt;br&gt;
&lt;br&gt;
document.Open();&lt;br&gt;
&lt;br&gt;
// add a test chapter&lt;br&gt;
Chapter chapter1 = new Chapter(new Paragraph(&amp;quot;bookmark 1&amp;quot;), 1);&lt;br&gt;
chapter1.BookmarkOpen = true;&lt;br&gt;
doc.Add(chapter1);&lt;br&gt;
&lt;br&gt;
// sample code taken from the &lt;a href=&quot;http://partners.adobe.com/public/developer/en/acrobat/sdk/pdf/javascript/AcroJS.pdf&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://partners.adobe.com/public/developer/en/acrobat/sdk/pdf/javascript/AcroJS.pdf&lt;/a&gt;
file&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
// add more bookmarks using javascript&lt;br&gt;
jsCode += &amp;quot; this.bookmarkRoot.createChild( &amp;#39;bookmark 2&amp;#39;,&amp;#39;&amp;#39;); \r &amp;quot;;&lt;br&gt;
&lt;br&gt;
// add a child to the first book mark created &amp;quot;bookmark 1&amp;quot;&lt;br&gt;
// pointer to the bookmark&lt;br&gt;
jsCode += &amp;quot; var bm = bookmarkRoot.children[0];\r &amp;quot;;&lt;br&gt;
&lt;br&gt;
jsCode += &amp;quot; bm.createChild( &amp;#39;bookmark3&amp;#39;,&amp;#39;&amp;#39;); &amp;quot;;&lt;br&gt;
&lt;br&gt;
PdfAction jsAction = PdfAction.JavaScript(jsCode, writer);&lt;br&gt;
&lt;br&gt;
writer.AddJavaScript(jsAction);&lt;br&gt;
&lt;br&gt;
             &lt;br&gt;
document.Close();&lt;/p&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;br&gt;
------------------------------------------------------------------------------&lt;br&gt;
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day&lt;br&gt;
trial. Simplify your report design, integration and deployment - and focus on&lt;br&gt;
what you do best, core application coding. Discover what&amp;#39;s new with&lt;br&gt;
Crystal Reports now.  &lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;
_______________________________________________&lt;br&gt;
iText-questions mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26305817&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;_blank&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;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.com/docs/book.php&lt;/a&gt;&lt;br&gt;
Check the site with examples before you ask questions: &lt;a href=&quot;http://www.1t3xt.info/examples/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info/examples/&lt;/a&gt;&lt;br&gt;
You can also search the keywords list: &lt;a href=&quot;http://1t3xt.info/tutorials/keywords/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.info/tutorials/keywords/&lt;/a&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;p class=&quot;MsoNormal&quot;&gt; &lt;/p&gt;

&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;

&lt;/div&gt;


&lt;br&gt;------------------------------------------------------------------------------&lt;br&gt;
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day&lt;br&gt;
trial. Simplify your report design, integration and deployment - and focus on&lt;br&gt;
what you do best, core application coding. Discover what&amp;#39;s new with&lt;br&gt;
Crystal Reports now.  &lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________&lt;br&gt;
iText-questions mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26305817&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;_blank&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;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.com/docs/book.php&lt;/a&gt;&lt;br&gt;
Check the site with examples before you ask questions: &lt;a href=&quot;http://www.1t3xt.info/examples/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info/examples/&lt;/a&gt;&lt;br&gt;
You can also search the keywords list: &lt;a href=&quot;http://1t3xt.info/tutorials/keywords/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.info/tutorials/keywords/&lt;/a&gt;&lt;br&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;br /&gt; &lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;iText-questions mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26305817&amp;i=7&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;Check the site with examples before you ask questions: &lt;a href=&quot;http://www.1t3xt.info/examples/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.1t3xt.info/examples/&lt;/a&gt;&lt;br&gt;You can also search the keywords list: &lt;a href=&quot;http://1t3xt.info/tutorials/keywords/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://1t3xt.info/tutorials/keywords/&lt;/a&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;PortfolioSample2.pdf&lt;/strong&gt; (803K) &lt;a href=&quot;http://old.nabble.com/attachment/26305817/0/PortfolioSample2.pdf&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/add-bookmark-at-runtime-tp26304148p26305817.html" />
</entry>

</feed>
