<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://permalink.gmane.org/gmane.comp.java.lib.itext.general">
    <title>gmane.comp.java.lib.itext.general</title>
    <link>http://permalink.gmane.org/gmane.comp.java.lib.itext.general</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61976"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61975"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61974"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61973"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61972"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61971"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61970"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61969"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61968"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61967"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61966"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61965"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61964"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61963"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61962"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61961"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61960"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61959"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61958"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61957"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61976">
    <title>How to set a custom field name for an invisiblesignature field ?</title>
    <link>http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61976</link>
    <description>&lt;pre&gt;**Hello,

I'm quite new with iText. I need to certify a PDF with an invisible
signature field. I am using the following code, as documented in the book
and in the examples :

            KeyStore ks = KeyStore.getInstance(KeyStore.getDefaultType());

ks.load(Thread.currentThread().getContextClassLoader().getResourceAsStream(KEYSTORE_FILE),
KEYSTORE_PASSWORD.toCharArray());
            PrivateKey key = (PrivateKey) ks.getKey(KEYSTORE_ALIAS,
ALIAS_PASSWORD.toCharArray());
            Certificate[] chain = ks.getCertificateChain(KEYSTORE_ALIAS);

            PdfReader reader = new PdfReader(os.toByteArray());
            PdfStamper stp = PdfStamper.createSignature(reader,
response.getOutputStream(), '\0', null, false);
            PdfSignatureAppearance sap = stp.getSignatureAppearance();
            sap.setCrypto(key, chain, null,
PdfSignatureAppearance.SELF_SIGNED);
            sap.setReason("I'm the author");
            sap.setLocation("Lisbon");

sap.setCertificationLevel(PdfSignatureAppearance.CERTIFIED_N&lt;/pre&gt;</description>
    <dc:creator>Julian Janssens</dc:creator>
    <dc:date>2012-05-18T10:47:05</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61975">
    <title>Re: HTML to PDF</title>
    <link>http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61975</link>
    <description>&lt;pre&gt;The New HTMLPipelineContext()is looking for an argument CssAppliers.

 

From: Alexis Pigeon [mailto:pigeon.alexis&amp;lt; at &amp;gt;gmail.com] 
Sent: Thursday, May 17, 2012 6:24 PM
To: Post all your questions about iText here
Subject: Re: [iText-questions] HTML to PDF

 

Hi Hugh,

On 17 May 2012 23:47, Hugh McLaughlin &amp;lt;hugh&amp;lt; at &amp;gt;kmcnetwork.com&amp;gt; wrote:

Ok, I’ve switched over to XMLWorker, and studied the documentation and example at:

 

http://demo.itextsupport.com/xmlworker/itextdoc/flatsite.html

 

However, I receive an error on the first line:

 

Dim HtmlContext As HtmlPipelineContext = New HtmlPipelineContext()

 

I’m using itext.xmlworker 1.1.3 with VB in VS 2010.  The rest of the sample code gives me no compiler errors.  What am I not understanding?


What is the error?


Cheers,
alexis

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat lands&lt;/pre&gt;</description>
    <dc:creator>Hugh McLaughlin</dc:creator>
    <dc:date>2012-05-18T11:22:57</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61974">
    <title>Re: delete a table from ( existing pdf)</title>
    <link>http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61974</link>
    <description>&lt;pre&gt;See 
http://thread.gmane.org/gmane.comp.java.lib.itext.general/61970/focus=61971 
for the answer

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
iText-questions mailing list
iText-questions&amp;lt; at &amp;gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php

&lt;/pre&gt;</description>
    <dc:creator>1T3XT BVBA</dc:creator>
    <dc:date>2012-05-18T09:02:11</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61973">
    <title>delete a table from ( existing pdf)</title>
    <link>http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61973</link>
    <description>&lt;pre&gt;Hello

how I can delete a table in an existing pdf file and replace it with my own
table

cordially
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
iText-questions mailing list
iText-questions&amp;lt; at &amp;gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php&lt;/pre&gt;</description>
    <dc:creator>Ahmed OUBAHA</dc:creator>
    <dc:date>2012-05-18T08:32:11</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61972">
    <title>Re: iText-questions Digest, Vol 72, Issue 30</title>
    <link>http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61972</link>
    <description>&lt;pre&gt;
That's not done in PDF (in general, not just with respect to iText).
PDF is NOT a format for editing documents.
Download http://www.manning.com/lowagie2/samplechapter6.pdf and read the 
intro.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
iText-questions mailing list
iText-questions&amp;lt; at &amp;gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: http://itextpdf.c&lt;/pre&gt;</description>
    <dc:creator>1T3XT BVBA</dc:creator>
    <dc:date>2012-05-18T08:31:44</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61971">
    <title>Re: iText-questions Digest, Vol 72, Issue 30</title>
    <link>http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61971</link>
    <description>&lt;pre&gt;Hi Ahmed,

[Note: please consider creating your own thread, instead of replying to the
Digest you received]

On 18 May 2012 10:17, Ahmed OUBAHA &amp;lt;hamid.oubaha&amp;lt; at &amp;gt;gmail.com&amp;gt; wrote:


If you know the exact coordinates of the existing table, you can stamp your
own data over it. Note that this will be just a visual effect, the old data
will still be there, just hidden.
If you expect the content to reflow (in the same way a word processor would
do), please reconsider. PDF is not designed to be an edition format, but a
presentation format.
For more information about what PDF and what PDF isn't, and as a
consequence what iText can and can't do, please have a look at this free
chapter from "iText in Action, 2nd Edition":
&amp;lt; http://www.manning.com/lowagie2/samplechapter6.pdf &amp;gt;

Best regards,
alexis
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers&lt;/pre&gt;</description>
    <dc:creator>Alexis Pigeon</dc:creator>
    <dc:date>2012-05-18T08:30:56</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61970">
    <title>Re: iText-questions Digest, Vol 72, Issue 30</title>
    <link>http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61970</link>
    <description>&lt;pre&gt;Hello

how I can delete a table in an existing pdf file and replace it with my own
table

cordially
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
iText-questions mailing list
iText-questions&amp;lt; at &amp;gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php&lt;/pre&gt;</description>
    <dc:creator>Ahmed OUBAHA</dc:creator>
    <dc:date>2012-05-18T08:17:50</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61969">
    <title>Re: HTML to PDF</title>
    <link>http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61969</link>
    <description>&lt;pre&gt;
The documentation wasn't updated to XML Worker 1.1.3.
HtmlPipelineContext now needs a parameter:
http://api.itextpdf.com/xml/com/itextpdf/tool/xml/pipeline/html/HtmlPipelineContext.html
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
iText-questions mailing list
iText-questions&amp;lt; at &amp;gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: http://itextpdf.com/themes&lt;/pre&gt;</description>
    <dc:creator>1T3XT BVBA</dc:creator>
    <dc:date>2012-05-18T06:18:00</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61968">
    <title>Re: Bug?when I make a cast</title>
    <link>http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61968</link>
    <description>&lt;pre&gt;We'll throw away (or at least deprecate) HTMLWorker in future releases.
We'll invest in the further development of XML Worker.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
iText-questions mailing list
iText-questions&amp;lt; at &amp;gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php

&lt;/pre&gt;</description>
    <dc:creator>1T3XT BVBA</dc:creator>
    <dc:date>2012-05-18T06:15:50</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61967">
    <title>Re: HTML to PDF</title>
    <link>http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61967</link>
    <description>&lt;pre&gt;Hi Hugh,

On 17 May 2012 23:47, Hugh McLaughlin &amp;lt;hugh&amp;lt; at &amp;gt;kmcnetwork.com&amp;gt; wrote:


What is the error?

Cheers,
alexis
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
iText-questions mailing list
iText-questions&amp;lt; at &amp;gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php&lt;/pre&gt;</description>
    <dc:creator>Alexis Pigeon</dc:creator>
    <dc:date>2012-05-17T22:23:37</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61966">
    <title>Re: HTML to PDF</title>
    <link>http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61966</link>
    <description>&lt;pre&gt;Ok, I've switched over to XMLWorker, and studied the documentation and
example at:

 

http://demo.itextsupport.com/xmlworker/itextdoc/flatsite.html

 

However, I receive an error on the first line:

 

Dim HtmlContext As HtmlPipelineContext = New HtmlPipelineContext()

 

I'm using itext.xmlworker 1.1.3 with VB in VS 2010.  The rest of the
sample code gives me no compiler errors.  What am I not understanding?

 

From: 1T3XT BVBA [mailto:info&amp;lt; at &amp;gt;1t3xt.info] 
Sent: Thursday, May 17, 2012 3:56 AM
To: Post all your questions about iText here
Subject: Re: [iText-questions] HTML to PDF

 

On 16/05/2012 23:13, Hugh McLaughlin wrote: 

Hello Everyone and thanks for your help in advance.  I am using
iTextSharp 5.1.2.0 and want to convert HTML to PDF.  I am going through
the documentation and numerous posts.  I attempted to utilize the HTML
parser without success.  It appears the solution is very dependent on
the version of iTextSharp.  Would someone be able to point me in the
right direction?

Not sure what you mean&lt;/pre&gt;</description>
    <dc:creator>Hugh McLaughlin</dc:creator>
    <dc:date>2012-05-17T21:47:38</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61965">
    <title>Re: wrong Encoding</title>
    <link>http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61965</link>
    <description>&lt;pre&gt;Thanks for the advice but that it does not work for C# (ASP.NET).

In C # are only these four methods:
XMLWorkerHelper.GetInstance().ParseXHtml(IElementHandler d, TextReader inp);
XMLWorkerHelper.GetInstance().ParseXHtml(IElementHandler d, Stream inp, Encoding charset);
XMLWorkerHelper.GetInstance().ParseXHtml(PdfWriter writer, Document doc, TextReader inp);
XMLWorkerHelper.GetInstance().ParseXHtml(PdfWriter writer, Document doc, Stream inp, Stream inCssFile, Encoding charset);

Example in attachment.

Please advise me?


Ajula



______________________________________________________________
ï»¿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using System.IO;
using iTextSharp.text;
using iTextSharp.text.pdf;
using iTextSharp.text.html.simpleparser;

using iTextSharp.tool.xml;
using iTextSharp.tool.xml.pipeline;
using iTextSharp.tool.xml.pipeline.html;

namespace test_02_Web {
    public partial cla&lt;/pre&gt;</description>
    <dc:creator>ajula&lt; at &gt;centrum.cz</dc:creator>
    <dc:date>2012-05-17T16:37:13</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61964">
    <title>Re: Scaling imported Swing Elements</title>
    <link>http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61964</link>
    <description>&lt;pre&gt;Im sorry, my text correct messed up your name.

- bill

----- Original Message -----
From: Bill Ensley &amp;lt;bill&amp;lt; at &amp;gt;bearprinting.com&amp;gt;
To: Post all your questions about iText here &amp;lt;itext-questions&amp;lt; at &amp;gt;lists.sourceforge.net&amp;gt;
Sent: Thu, 17 May 2012 08:41:25 -0700 (PDT)
Subject: Re: [iText-questions] Scaling imported Swing Elements

Hi Banjos

For starters you are mixing pixels and points.

Your pdf document is in points.

Your panel is in pixels.

You need to:

a) find out what your pixel per inch value is, likely 96 but not guaranteed. Most
Modern apps define their own pixel value.

B) If you are 96 then points = (pixels * .75)
Otherwise, you will need yo figure out the value that gets you to 72. (Points per inch)

- Bill Ensley
www.bearprinting.com


----- Original Message -----
From: borric&amp;lt; at &amp;gt;avienthas.com
To: itext-questions&amp;lt; at &amp;gt;lists.sourceforge.net
Sent: Thu, 17 May 2012 03:54:35 -0700 (PDT)
Subject: [iText-questions] Scaling imported Swing Elements

Hi, 

 

I use following code to export a jPanel to PDF:

 

Document do&lt;/pre&gt;</description>
    <dc:creator>Bill Ensley</dc:creator>
    <dc:date>2012-05-17T15:53:17</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61963">
    <title>Re: Scaling imported Swing Elements</title>
    <link>http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61963</link>
    <description>&lt;pre&gt;Hi Banjos

For starters you are mixing pixels and points.

Your pdf document is in points.

Your panel is in pixels.

You need to:

a) find out what your pixel per inch value is, likely 96 but not guaranteed. Most
Modern apps define their own pixel value.

B) If you are 96 then points = (pixels * .75)
Otherwise, you will need yo figure out the value that gets you to 72. (Points per inch)

- Bill Ensley
www.bearprinting.com


----- Original Message -----
From: borric&amp;lt; at &amp;gt;avienthas.com
To: itext-questions&amp;lt; at &amp;gt;lists.sourceforge.net
Sent: Thu, 17 May 2012 03:54:35 -0700 (PDT)
Subject: [iText-questions] Scaling imported Swing Elements

Hi, 

 

I use following code to export a jPanel to PDF:

 

Document document = new Document(PageSize.A4);

 try {

 PdfWriter writer = PdfWriter.getInstance(document, new
FileOutputStream("C:\temp\test.pdf"));

 document.open();

 PdfContentByte contentByte = writer.getDirectContent();

 PdfTemplate template = contentByte.createTemplate(500, 500);

 Graphics2D g2 = template.createGraphic&lt;/pre&gt;</description>
    <dc:creator>Bill Ensley</dc:creator>
    <dc:date>2012-05-17T15:41:25</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61962">
    <title>Scaling imported Swing Elements</title>
    <link>http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61962</link>
    <description>&lt;pre&gt;Hi, 

 

I use following code to export a jPanel to PDF:

 

Document document = new Document(PageSize.A4);

        try {

            PdfWriter writer = PdfWriter.getInstance(document, new
FileOutputStream("C:\\temp\\test.pdf"));

            document.open();

            PdfContentByte contentByte = writer.getDirectContent();

            PdfTemplate template = contentByte.createTemplate(500, 500);

            Graphics2D g2 = template.createGraphics(500, 500);

            double w = document.getPageSize().getWidth();            

            double scale= w / jPanel1.getWidth();

            g2.scale(scale, scale);

            jPanel1.print(g2);

            g2.dispose();

            contentByte.addTemplate(template, 30, 300);

        } catch (Exception e) {

            e.printStackTrace();

        } finally {

            if (document.isOpen()) {

                document.close();

            }

 

It works fine, except for the scaling. I need the Panel to fit A4, but the
resulting document is al&lt;/pre&gt;</description>
    <dc:creator>borric&lt; at &gt;avienthas.com</dc:creator>
    <dc:date>2012-05-17T10:54:35</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61961">
    <title>Re: Bug?when I make a cast</title>
    <link>http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61961</link>
    <description>&lt;pre&gt;Hi Lluís,

On 17 May 2012 12:26, Lluís Janer Pons &amp;lt;lluisjp_ferre5&amp;lt; at &amp;gt;hotmail.com&amp;gt; wrote:


This error is thrown by HTMLWorker, a deprecated and possibly buggy tool.
In order to convert HTML to PDF, you should have a look at XMLWorker:
- project page : https://sourceforge.net/projects/xmlworker/
- demo : http://demo.itextsupport.com/xmlworker/
- documentation : http://demo.itextsupport.com/xmlworker/itextdoc/index.html

Best regards,
alexis
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
iText-questions mailing list
iText-questions&amp;lt; at &amp;gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R)&lt;/pre&gt;</description>
    <dc:creator>Alexis Pigeon</dc:creator>
    <dc:date>2012-05-17T10:55:31</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61960">
    <title>Bug?when I make a cast</title>
    <link>http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61960</link>
    <description>&lt;pre&gt;



Hello

I am project manager of a computer company. The reason of this e-mail is that whith your itext library when trying to convert html to Pdf, it find an error that is not correct.

For example this html code is correct but when execute my program it give me this error:


&amp;lt;p&amp;gt;
    &amp;lt;a&amp;gt;
    http://www.google.com   
    &amp;lt;/a&amp;gt;
&amp;lt;/p&amp;gt;

Error: com.itextpdf.text.html.simpleparser.CellWrapper cannot be cast to com.itextpdf.text.Paragraph.

I'investigate this error and i found that the library when find tag &amp;lt;a&amp;gt;, it needed before this tag, something to print.
For example if i modify this code like this now it's ok:

&amp;lt;p&amp;gt;
    Something to show on screen.

    &amp;lt;a&amp;gt;

    http://www.google.com   

    &amp;lt;/a&amp;gt;

&amp;lt;/p&amp;gt;

Please if you can tell me a solution for this or if you can comprobate if this is a bug.


Thank you very much.

       ------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat la&lt;/pre&gt;</description>
    <dc:creator>Lluís Janer Pons</dc:creator>
    <dc:date>2012-05-17T10:26:01</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61959">
    <title>Re: itext-paulo-155 and Java 7</title>
    <link>http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61959</link>
    <description>&lt;pre&gt;Hi Valentin,

On 17 May 2012 10:22, Valentin Ivanov &amp;lt;valentino82bg&amp;lt; at &amp;gt;yahoo.com&amp;gt; wrote:


The problem is that you are using a version that is around 7 years old,
while Java 7 was released last year.
Consider updating to the latest version of iText, namely 5.2.1.

Cheers,
alexis
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
iText-questions mailing list
iText-questions&amp;lt; at &amp;gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/boo&lt;/pre&gt;</description>
    <dc:creator>Alexis Pigeon</dc:creator>
    <dc:date>2012-05-17T08:46:28</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61958">
    <title>Re: Comment écrire dans un tableau existant !</title>
    <link>http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61958</link>
    <description>&lt;pre&gt;Hi Ahmed,

2012/5/17 Ahmed OUBAHA &amp;lt;hamid.oubaha&amp;lt; at &amp;gt;gmail.com&amp;gt;


[message in English below]

L'anglais est la langue commune de cette mailing-list, essayez de
l'utiliser. Si vous éprouvez des problèmes dans cette langue, je peux me
charger de traduire votre question, à défaut de pouvoir y répondre
directement.

Concernant votre problème, pourriez-vous nous fournir plus de détails? Si
j'ai bien compris, vous avez un formulaire en PDF, avec des tables dont
vous voulez remplir les cellules avec un contenu dont vous ne connaissez
pas la taille par avance. Et vous vous attendez à ce que la taille des
cellules s'adapte au contenu? Ce n'est pas le but de format PDF, et ceci ne
sera pas possible avec iText.

[now the message in English]

English is the common language on this mailing list, please try to use it.
If you have problems with this language, I would gladly translate your
question, even though I might not be able to provide an answer.

Concerning your issue, could you provide use some more details? If I&lt;/pre&gt;</description>
    <dc:creator>Alexis Pigeon</dc:creator>
    <dc:date>2012-05-17T08:39:13</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61957">
    <title>itext-paulo-155 and Java 7</title>
    <link>http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61957</link>
    <description>&lt;pre&gt;Hello, 

 I use *itext-paulo-155_fixed.jar* to sign PDF files in Java 6 without any
problems. But in Java 7 I have the exception :

/java.lang.ClassCastException: com.lowagie.text.pdf.PdfTemplate cannot be
cast to java.lang.Comparable
at java.util.TreeMap.compare(Unknown Source)
at java.util.TreeMap.put(Unknown Source)
at com.lowagie.text.pdf.PdfAnnotation.setAppearance(PdfAnnotation.java:512)
at
com.lowagie.text.pdf.PdfSignatureAppearance.preClose(PdfSignatureAppearance.java:767)
at
com.lowagie.text.pdf.PdfSignatureAppearance.preClose(PdfSignatureAppearance.java:721)
at org.btrust.signer.PDFSigner.initSignPDF(PDFSigner.java:275)/

I could not find in internet any issues with this library and Java 7. What
could be the problem?

--
View this message in context: http://itext-general.2136553.n4.nabble.com/itext-paulo-155-and-Java-7-tp4642676.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security V&lt;/pre&gt;</description>
    <dc:creator>Valentin Ivanov</dc:creator>
    <dc:date>2012-05-17T08:22:42</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61956">
    <title>Comment écrire dans un tableau existant !</title>
    <link>http://permalink.gmane.org/gmane.comp.java.lib.itext.general/61956</link>
    <description>&lt;pre&gt;Bonjour

j'ai reussi a calculé les coordonnés X, Y des autres champs text avec
ColumnText.ShowTextAligned , mais pour les tableaux j'ai pas arrivé a le
faire   , Mon pdf na pas de champs fields interactive , par contre mon
tableau existant  se compose de 4 colonnes  et des lignes qui seront rempli
différemment  pour chaque utilisateur dans la base de donnée ,par exemple
un utilisateur contient dans ca table 4 ligne  donc on va afficher tout ces
lignes bien aligné  dans le tableau

Cordialement
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
iText-questions mailing list
iText-questions&amp;lt; at &amp;gt;lists.sourceforge.net
https://&lt;/pre&gt;</description>
    <dc:creator>Ahmed OUBAHA</dc:creator>
    <dc:date>2012-05-17T08:19:49</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.java.lib.itext.general">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.java.lib.itext.general</link>
  </textinput>
</rdf:RDF>

