<?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://blog.gmane.org/gmane.comp.java.lib.itext.general">
    <title>gmane.comp.java.lib.itext.general</title>
    <link>http://blog.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://comments.gmane.org/gmane.comp.java.lib.itext.general/62061"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.lib.itext.general/62056"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.lib.itext.general/62053"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.lib.itext.general/62048"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.lib.itext.general/62047"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.lib.itext.general/62045"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.lib.itext.general/62042"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.lib.itext.general/62039"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.lib.itext.general/62036"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.lib.itext.general/62033"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.lib.itext.general/62031"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.lib.itext.general/62028"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.lib.itext.general/62027"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.lib.itext.general/62022"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.lib.itext.general/62021"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.lib.itext.general/62017"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.lib.itext.general/62010"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.lib.itext.general/62007"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.lib.itext.general/62003"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.lib.itext.general/61997"/>
      </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://comments.gmane.org/gmane.comp.java.lib.itext.general/62061">
    <title>Query Regarding Displaying Japanese Font on PDF.</title>
    <link>http://comments.gmane.org/gmane.comp.java.lib.itext.general/62061</link>
    <description>&lt;pre&gt;Hi Sir,
          I am using itext 5.1.1 version and iTextAsian1.5.2 Version and i
have installed Chinese,Japanese,Korean installer.
I am facing problem while displaying the Japanese Font on PDF.

I  am getting exception:

Exception in thread "main" com.itextpdf.text.DocumentException: Font
'KozMinPro-Regular' with 'UniJIS-UCS2-H' is not recognized.
    at com.itextpdf.text.pdf.BaseFont.createFont(BaseFont.java:699)
    at com.itextpdf.text.pdf.BaseFont.createFont(BaseFont.java:606)
    at com.itextpdf.text.pdf.BaseFont.createFont(BaseFont.java:441)
    at project1.CJKExample.createPdf(CJKExample.java:61)
    at project1.CJKExample.main(CJKExample.java:82)

Please help to get out from above exception.

Thanks
Abhishek Gowlikar
------------------------------------------------------------------------------
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, &lt;/pre&gt;</description>
    <dc:creator>abhishek gowlikar</dc:creator>
    <dc:date>2012-05-26T08:29:24</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.lib.itext.general/62056">
    <title>iTextSharp - Cannot set PdfPCell alignments</title>
    <link>http://comments.gmane.org/gmane.comp.java.lib.itext.general/62056</link>
    <description>&lt;pre&gt;------------------------------------------------------------------------------
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>jeffbr1&lt; at &gt;verizon.net</dc:creator>
    <dc:date>2012-05-25T13:17:22</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.lib.itext.general/62053">
    <title>Error validating signed pdf with external sign</title>
    <link>http://comments.gmane.org/gmane.comp.java.lib.itext.general/62053</link>
    <description>&lt;pre&gt;Hello ,
I've to sign with an external sgnature. When i open de PDF and validate it, I get an error message that says something like
document has been modified since sign was applied

The structure of code is:
- calc the hash
- send it to the external service
- get the external signature
- put it to de dic

Can you tell me what is wrong? or where to find the error?

thanks in advance,
Josep Maria

The code:
       PdfReader reader = new PdfReader(IN_FILE);
            FileStream fout = new FileStream(OUT_FILE, FileMode.Create);

            PdfStamper stp = PdfStamper.CreateSignature(reader, fout, '\0');
            DateTime cal = DateTime.Now;

            PdfSignatureAppearance sap;
            sap = stp.SignatureAppearance;
            sap.SetVisibleSignature(new Rectangle(100, 100, 300, 200), 1, "Signar");

           // sap.Layer2Text = ("Prova de firma.\n\nDate: ");
            //sap.Layer2Text = ("");
            PdfSignature dic = new PdfSignature(PdfName.ADOBE_PPKMS, PdfName.ADBE_PKCS7_DETACHED);
   &lt;/pre&gt;</description>
    <dc:creator>Josep Maria Heras</dc:creator>
    <dc:date>2012-05-25T10:00:10</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.lib.itext.general/62048">
    <title>[Book] Merging pdf/a1b.</title>
    <link>http://comments.gmane.org/gmane.comp.java.lib.itext.general/62048</link>
    <description>&lt;pre&gt;Hi,
I have a question, weather it is possible to merge (by any method) few
existing pdf files into one? The trick is that those files to be merge
conform PDF/A1b standard and the output file also has to be PDF/A1b
compliant. I tried using PdfCopy but the result was just a simple PDF. Is
it a possible? And if so then how could I accomplish it?
Thank You,
Peter Gorajski.
------------------------------------------------------------------------------
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&lt;/pre&gt;</description>
    <dc:creator>Piotr Gorajski</dc:creator>
    <dc:date>2012-05-24T15:17:30</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.lib.itext.general/62047">
    <title>text color changes when adding PNG image</title>
    <link>http://comments.gmane.org/gmane.comp.java.lib.itext.general/62047</link>
    <description>&lt;pre&gt;Basically just a repost of this, but the codes in last post is not working
for me... 
And I search through the web, cannot find a solution either...
Is there are something missing in his codes? Should I place his codes before
or after my codes?

http://itext-general.2136553.n4.nabble.com/Problem-with-transparent-images-td2157256.html

my codes:
----------------------------------

PdfStamper ps = ...
String imagePath = ...
int page = ...

...set values to some text fields...

Image newImage = Image.GetInstance(imagePath);
ps.GetOverContent(page).AddImage(newImage);

...set values to some text fields...

ps.FormFlattening = true;

ps.Close();

Thanks!



--
View this message in context: http://itext-general.2136553.n4.nabble.com/text-color-changes-when-adding-PNG-image-tp4653811.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today'&lt;/pre&gt;</description>
    <dc:creator>newbie2itext</dc:creator>
    <dc:date>2012-05-24T22:48:19</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.lib.itext.general/62045">
    <title>iText Issue</title>
    <link>http://comments.gmane.org/gmane.comp.java.lib.itext.general/62045</link>
    <description>&lt;pre&gt;

Hi,
I am working on writing a merger method using iText 2.1.7 to merge a list of PDFs on disk. I am able to merge all pdfs except for issues with 2 pdfs:

*       I have one PDF that has a backgroung color in it..that part of the merged PDF looks all messed up - Any suggestions what I need to to to handle background colors in the PDF being merged?

*       On another PDF I am getting this error: java.lang.IllegalArgumentException: PdfReader not opened with owner password
I saw some posts about a bug with PDFWriter for PDFs with encryption here: http://www.mail-archive.com/itext-questions&amp;lt; at &amp;gt;lists.sourceforge.net/msg33553.html -


I will appreciate any help or suggestions regarding the above issues.


Thanks,
Chetana




  ________________________________

This e-mail and any attachments contain information belonging to the sender which may be confidential, proprietary, legally privileged, or otherwise protected from disclosure. This information is intended for the use of the addressee(s) only. If you are not &lt;/pre&gt;</description>
    <dc:creator>Anand, Chetana</dc:creator>
    <dc:date>2012-05-24T20:35:35</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.lib.itext.general/62042">
    <title>Invalid digital signature is considered valid by iTextSharp PdfPKCS7.Verify()</title>
    <link>http://comments.gmane.org/gmane.comp.java.lib.itext.general/62042</link>
    <description>&lt;pre&gt;Hi guys,

Take a look at the attachment and use the digital signature verification
code to verify the signature:
http://itextpdf.sourceforge.net/howtosign.html#howtoverifycs

Adobe says that the signature is invalid but iTextSharp sees this signature
valid.

I only modified the title font and deleted a word from the same title.

What could be the problem?

http://itext-general.2136553.n4.nabble.com/file/n4653323/SampleSignedPDFDocumentNOT_VALID.pdf
SampleSignedPDFDocumentNOT_VALID.pdf 

--
View this message in context: http://itext-general.2136553.n4.nabble.com/Invalid-digital-signature-is-considered-valid-by-iTextSharp-PdfPKCS7-Verify-tp4653323.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
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 secu&lt;/pre&gt;</description>
    <dc:creator>victordomain&lt; at &gt;gmail.com</dc:creator>
    <dc:date>2012-05-24T18:17:51</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.lib.itext.general/62039">
    <title>The process can not access to the file because itis used by another process</title>
    <link>http://comments.gmane.org/gmane.comp.java.lib.itext.general/62039</link>
    <description>&lt;pre&gt;hello
i use a pdfstream for getting stream one for mode open and the other for
create ,so how can i replace pdfstream by the file name

Dim open As New FileStream("D:\FormA.pdf", FileMode.Open)
 Dim create As  New FileStream("D:\FormB.pdf", FileMode.create)
           Dim reader As PdfReader = New PdfReader(open)
   Dim stamper As PdfStamper = New PdfStamper(reader,create)
"----------------
----------code"

             open.Close()
           stamper.Close()

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/li&lt;/pre&gt;</description>
    <dc:creator>Ahmed OUBAHA</dc:creator>
    <dc:date>2012-05-24T15:51:54</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.lib.itext.general/62036">
    <title>PDF: Option to show immediately Bookmark - List</title>
    <link>http://comments.gmane.org/gmane.comp.java.lib.itext.general/62036</link>
    <description>&lt;pre&gt;Hey - i have a little Question,

i merge some PDFs, iTextSharp, to one and add all exists bookmarks.

How options must set - to immedatly show these list of bookmarks when file
was open
for example
http://www.abload.de/img/itext_pdf_book8clhi.png
http://www.abload.de/img/itext_pdf_book8clhi.png 

But currently showes:  http://www.abload.de/img/itext_pdf_book8clhi.png
http://www.abload.de/img/itext_pdf_book8clhi.png 
I must click on bookmark-symbol to show the list.. :(

websalat




--
View this message in context: http://itext-general.2136553.n4.nabble.com/PDF-Option-to-show-immediately-Bookmark-List-tp4653064.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
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 
thr&lt;/pre&gt;</description>
    <dc:creator>websalat</dc:creator>
    <dc:date>2012-05-24T14:32:19</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.lib.itext.general/62033">
    <title>Spaces between chars</title>
    <link>http://comments.gmane.org/gmane.comp.java.lib.itext.general/62033</link>
    <description>&lt;pre&gt;Dear iText team,

 

I have got an issue with the space length, I need to format some rows in the
same position but the width of single chars and spaces are different,
destroying my format.

I am used Phrases, Paragraphs different Fonts and I couldn't fix this. Thx
for any advice. I attached the file so it is easier to see the problem.

 

Best Regards,

Michael

------------------------------------------------------------------------------
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 &lt;/pre&gt;</description>
    <dc:creator>Michael Maciak</dc:creator>
    <dc:date>2012-05-24T10:56:43</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.lib.itext.general/62031">
    <title>Adding content in append mode</title>
    <link>http://comments.gmane.org/gmane.comp.java.lib.itext.general/62031</link>
    <description>&lt;pre&gt;Hi,
 I have a signed PDF document in append mode.

 I want to add some text/image to a new revision with PdfStamper, however everything I am trying to add makes the previous signature invalid except for a new signature field.

 Here is a code I use to add a new page (which makes the digital signature invalid too).

 RandomAccessFileOrArray raf = new RandomAccessFileOrArray(InputStream);
 PdfReader reader = new PdfReader(raf, null);
 PdfStamper stamper = new PdfStamper(reader, OutputStream, '\0', true);
 stamper.InsertPage(0, new iTextSharp.text.Rectangle(0, 0, 100, 100));
 // stamper.AddSignature("test", 1, 1, 1, 1, 1); - if I use this instead of the previous line, then the signature remains valid.
 stamper.Close();
------------------------------------------------------------------------------
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 secu&lt;/pre&gt;</description>
    <dc:creator>Alexander Raitskin</dc:creator>
    <dc:date>2012-05-24T13:07:38</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.lib.itext.general/62028">
    <title>The process can not access the file because it isused by another process</title>
    <link>http://comments.gmane.org/gmane.comp.java.lib.itext.general/62028</link>
    <description>&lt;pre&gt;hello
I have a problem of IOException " The process can not access the file
because it is used by another process ", I have two pdf files, one for
reading and the other for  writing, so I used two filestream, and a
PdfStamper, knowing that I close my PdfStamper when i finished my
treatement

 Dim open As New FileStream("D:\FormA.pdf", FileMode.Open)
 Dim create As  New FileStream("D:\FormB.pdf", FileMode.create)
            Dim reader As PdfReader = New PdfReader(open)
            Dim stamper As PdfStamper = New PdfStamper(reader, create)
"----------------
----------code"

              open.Close()
            stamper.Close()

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/sfrnl0424&lt;/pre&gt;</description>
    <dc:creator>Ahmed OUBAHA</dc:creator>
    <dc:date>2012-05-24T11:08:20</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.lib.itext.general/62027">
    <title>Problems on text extraction on iTextSharp 5.2.0</title>
    <link>http://comments.gmane.org/gmane.comp.java.lib.itext.general/62027</link>
    <description>&lt;pre&gt;Dear iTextSharp Support

I use  iTextSharp 5.2.0 and the text extraction not work well on my PDF 
file.
Both LocationTextExtractionStrategy  and SimpleTextExtractionStrategy  
mix and duplicate information.
I attach the file that give problems.

Thank you for yourattentionand I look forwardtoa solution
&lt;/pre&gt;</description>
    <dc:creator>Giacomo Tosoni</dc:creator>
    <dc:date>2012-05-24T08:44:12</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.lib.itext.general/62022">
    <title>Problem with signature verification when usingSHA2 algorithms</title>
    <link>http://comments.gmane.org/gmane.comp.java.lib.itext.general/62022</link>
    <description>&lt;pre&gt;Hi,
I have a problem with signature verification for signatures that are using
SHA-256, SHA-384 or SHA-512 hash algorithms. Verification from Adobe Reader
X goes just fine, reporting signature is valid but verification from iText
is throwing exception. I'm using iText 5.2.1. 

Example of .pdf that is failing verification is attached: 
http://itext-general.2136553.n4.nabble.com/file/n4652242/test_sign_SHA512.pdf
test_sign_SHA512.pdf 

Stack trace for exception is:
ExceptionConverter: java.security.NoSuchAlgorithmException: SHA512
MessageDigest
 not available
        at sun.security.jca.GetInstance.getInstance(Unknown Source)
        at java.security.Security.getImpl(Unknown Source)
        at java.security.MessageDigest.getInstance(Unknown Source)
        at com.itextpdf.text.pdf.PdfPKCS7.(PdfPKCS7.java:564)
        at com.itextpdf.text.pdf.PdfPKCS7.(PdfPKCS7.java:415)
        at
com.itextpdf.text.pdf.AcroFields.verifySignature(AcroFields.java:2307
)
        at
com.itextpdf.text.pdf.AcroFields.verifySignature&lt;/pre&gt;</description>
    <dc:creator>sanduche</dc:creator>
    <dc:date>2012-05-23T22:04:41</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.lib.itext.general/62021">
    <title>Invitation to connect on LinkedIn</title>
    <link>http://comments.gmane.org/gmane.comp.java.lib.itext.general/62021</link>
    <description>&lt;pre&gt;LinkedIn
------------




    saroon s r requested to add you as a connection on LinkedIn:
  

------------------------------------------

Pervaiz,

I'd like to add you to my professional network on LinkedIn.

- saroon

Accept invitation from saroon s r
http://www.linkedin.com/e/-af3krs-h2k691bc-0/TKe-S8pJ3Cwsn-F_TysNP8aEA28gS4kc78x9aQpEa8HbJmrDYVu0owJ/blk/I243706685_110/6lColZJrmZznQNdhjRQnOpBtn9QfmhBt71BoSd1p65Lr6lOfP0NclYRe3oSc3sPd399bS5acAhLlmNvbP0Vc38RcjsMczsLrCBxbOYWrSlI/EML_comm_afe/?hs=false&amp;amp;tok=2hGzjRg8w5dBg1

View invitation from saroon s r
http://www.linkedin.com/e/-af3krs-h2k691bc-0/TKe-S8pJ3Cwsn-F_TysNP8aEA28gS4kc78x9aQpEa8HbJmrDYVu0owJ/blk/I243706685_110/c34NnPkUdzoMdPcQcAALqnpPbOYWrSlI/svi/?hs=false&amp;amp;tok=1bB-GaW7c5dBg1

------------------------------------------

Why might connecting with saroon s r be a good idea?

saroon s r's connections could be useful to you:

After accepting saroon s r's invitation, check saroon s r's connections to see who else you may know and who you might want an intr&lt;/pre&gt;</description>
    <dc:creator>saroon s r via LinkedIn</dc:creator>
    <dc:date>2012-05-23T09:09:37</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.lib.itext.general/62017">
    <title>add margin to existing pdf/image</title>
    <link>http://comments.gmane.org/gmane.comp.java.lib.itext.general/62017</link>
    <description>&lt;pre&gt;Hi,

I need to read in existing pdfs and images and put them into one pdf
with fixed margin, say 1 inch left and right, 0.5 inch top and bottom.

I tried to use:

Document document = new Document(PageSize.LETTER, 72, 72, 36, 36);
PdfReader reader = new PdfReader("margin.pdf");
PdfCopy copy = new PdfCopy(document, new FileOutputStream("test1.pdf"));
document.open();
PdfImportedPage page = copy.getImportedPage(reader, 1);
copy.addPage(page);
document.close();

But the margin setting is ignored. The original pdf margin is kept.

Is there a way that I can achieve this goal?

Thanks a lot!

M.

------------------------------------------------------------------------------
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/
______________________________&lt;/pre&gt;</description>
    <dc:creator>mingqiang yu</dc:creator>
    <dc:date>2012-05-22T19:55:33</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.lib.itext.general/62010">
    <title>How do copy from a text pane, including character attributes, to a pdf file?</title>
    <link>http://comments.gmane.org/gmane.comp.java.lib.itext.general/62010</link>
    <description>&lt;pre&gt;Hi,

I have what seems to be simple task but can not figure out how to
do it. I have a java windows application I developed using
netbeans 7.1 that contains a text pane. The user may enter text
with character attributes including any combination of bold,
italics, underline, superscript, and subscript. It all looks fine
in the text pane. I can copy that text out to a pdf file but can
not include the character attributes so it is always just plain
text. I am using iText-5.2.1. I also need to do the same for xml
output.

Attached is my PDFwriter class. Class "WrapTextPane" is just an
extension of JTextPane and there are two because there are two
separate text panes to output to the same pdf or xml file. I've
searched all over the internet and java forums and nobody has
answered. I would greatly appreciate whatever help anyone can
offer.

Thank you very much.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the way&lt;/pre&gt;</description>
    <dc:creator>Mike</dc:creator>
    <dc:date>2012-05-22T14:15:01</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.lib.itext.general/62007">
    <title>AES-256 encryption with certificates?</title>
    <link>http://comments.gmane.org/gmane.comp.java.lib.itext.general/62007</link>
    <description>&lt;pre&gt;Hi,

I see from past messages on this list that AES-256 is not supported for
certificate-based encryption, but that it was expected to be available last
year.

See
http://itext-general.2136553.n4.nabble.com/ArrayIndexOutOfBoundsException-while-encrypting-a-PDF-with-AES-256-IText-pdf-java-td3617085.html

Can anyone comment on the current status of this feature, please?

Thanks.
------------------------------------------------------------------------------
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&lt;/pre&gt;</description>
    <dc:creator>David Allsopp</dc:creator>
    <dc:date>2012-05-22T13:27:38</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.lib.itext.general/62003">
    <title>How to get same hash again?</title>
    <link>http://comments.gmane.org/gmane.comp.java.lib.itext.general/62003</link>
    <description>&lt;pre&gt;Hello Everyone,

I am digitally signing the PDF using smart card and I am successful in
doing so.

Here are the steps that I have done:

   1. Computing the hash of the PDF using iText
   2. Signing the hash from smart card
   3. Making the CAdES using the above hash and smart card received
   signature
   4. Writing the CAdES into PDF to result as Signed PDF
   5. Verifying the signed PDF (successful)


If I do the all 5 steps in one go, it works perfect.

Problem comes when I *compute the hash again to use in step 3* because of
my business needs.
I checked that if I compute the hash again, the hash value changes.

I assume that while computing hash, iText internally do the signing time
during hash and because of this the value changes.

Any expert can guide how to get the same hash again? Urgent reply is highly
appreciated please.


PS: I have attached the sample code for ease.


Thanks,
Faisal
------------------------------------------------------------------------------
Live Security Virtual Conference
E&lt;/pre&gt;</description>
    <dc:creator>Faisal Maqsood</dc:creator>
    <dc:date>2012-05-22T09:55:31</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.lib.itext.general/61997">
    <title>Add image to specific pages.</title>
    <link>http://comments.gmane.org/gmane.comp.java.lib.itext.general/61997</link>
    <description>&lt;pre&gt;I have one pdf template with 4 pages. I need to add image to first two pages. 
When I tries with PdfContentByte api, its adding for all pages.
PdfImportedPage is not having full support to add image.  

Could anybody Please help me to find this solution.

Thanks,
Karthik.

--
View this message in context: http://itext-general.2136553.n4.nabble.com/Add-image-to-specific-pages-tp4649517.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
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-q&lt;/pre&gt;</description>
    <dc:creator>karthik</dc:creator>
    <dc:date>2012-05-22T07:30:49</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.lib.itext.general/61994">
    <title>Need Help!!!  iTextSharpHTML to PDF</title>
    <link>http://comments.gmane.org/gmane.comp.java.lib.itext.general/61994</link>
    <description>&lt;pre&gt;Hello Everyone,

 

Does anyone have a working example of iTextSharp XMLWorker 1.1.3?  I've
been beating my head against the wall for several days trying to get C#
version working without success.  Plenty of java documentation but can't
get it right with C#.  Would appreciate any help.  Thanks.


------------------------------------------------------------------------------
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:&lt;/pre&gt;</description>
    <dc:creator>Hugh McLaughlin</dc:creator>
    <dc:date>2012-05-22T00:36:36</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>

