Re: [iText-questions] Metadata in signature dictionary

2016-08-12 Thread Leonard Rosenthol
That is correct – you cannot place a metadata stream in a Signature Dictionary. Can you point us to this “national PDF-based electronic signature spec”? Seems like it may not be valid… From: Petras Petkus Organization: UAB "Mit-Soft" Reply-To: Post here

Re: [iText-questions] PdfAConformanceException while adding link(anchor) to a document iText5.5.6

2015-09-04 Thread Leonard Rosenthol
External links (eg. A hyperlink out to a specific URI) is perfectly acceptable in PDF/A. What is wrong with this particular one is unclear without seeing the document in question. Leonard On 9/4/15, 11:20 AM, "Gerold Krommer" wrote: >I would guess, that an

Re: [iText-questions] sign a 'prtected' PDF

2015-04-28 Thread Leonard Rosenthol
No. On 4/28/15, 6:53 AM, AndreaC. andrea.c...@gmail.com wrote: Thanks for your time. Just another question: is it possible to create a PDF rights mask in order to permit only signing and deny the all others permissions? Andrea -- View this message in context:

Re: [iText-questions] sign a 'prtected' PDF

2015-04-27 Thread Leonard Rosenthol
The correct way to do that with PDF is to use a Certifying Signature at creation time. Leonard On 4/27/15, 3:15 AM, AndreaC. andrea.c...@gmail.com wrote: Hi Leonard, thanks for your response. This document is an official document, created and identified by System with his HASH digest.

Re: [iText-questions] sign a 'prtected' PDF

2015-04-24 Thread Leonard Rosenthol
You can’t prevent “copy on save” - that’s a feature of browsers (and other UA’s for the web). Why do you care about the hash? Why does it matter if the file is different? Leonard On 4/24/15, 4:49 AM, AndreaC. andrea.c...@gmail.com wrote: Hi all, This is my scenarios: - an user download

Re: [iText-questions] Source of checksum within the xfa form element

2014-12-14 Thread Leonard Rosenthol
Everything is documented - there is nothing private. If you can’t find it, I will be happy to obtain the details. Leonard On 12/14/14, 2:41 PM, iText mailing list i...@1t3xt.info wrote: On 12/11/2014 15:13 PM, nandre wrote: When you save a xfa document in adobe, they add a checksum

Re: [iText-questions] iText prepend named destinations? (open with exact coordinates page)

2014-10-28 Thread Leonard Rosenthol
, it is not possible to prepend in PDF - only append. Leonard From: Feng Qing [mailto:fengqing...@yahoo.com] Sent: Tuesday, October 28, 2014 1:45 AM To: Leonard Rosenthol; Post all your questions about iText here; iText mailing list Subject: iText prepend named destinations? (open with exact coordinates

Re: [iText-questions] Link to specific coordinates within PDF?

2014-10-27 Thread Leonard Rosenthol
Yes, if you prepare the PDF first, you can use named destinations. From: Feng Qing fengqing...@yahoo.commailto:fengqing...@yahoo.com Reply-To: Feng Qing fengqing...@yahoo.commailto:fengqing...@yahoo.com, Post here itext-questions@lists.sourceforge.netmailto:itext-questions@lists.sourceforge.net

Re: [iText-questions] Link annotation to a file attachment

2014-10-24 Thread Leonard Rosenthol
attachment but with a click on an image. Is that possible? Regards, Marc On 23/10/2014 15:10, Leonard Rosenthol wrote: For that - the best way to do it is to have a RichMedia annotation (for the video) and then have Actions on your link that play/stop the video. Very common operations

Re: [iText-questions] Link annotation to a file attachment

2014-10-24 Thread Leonard Rosenthol
annotation to a file attachment Playing the video outside of the PDF. In the default video player for your computer. On 24/10/2014 16:24, Leonard Rosenthol wrote: What behavior do you mean? -Original Message- From: Marc Campforts [mailto:marc.campfo...@4st.be] Sent: Friday, October 24

Re: [iText-questions] Link annotation to a file attachment

2014-10-23 Thread Leonard Rosenthol
For that - the best way to do it is to have a RichMedia annotation (for the video) and then have Actions on your link that play/stop the video. Very common operations. Leonard On 10/23/14, 7:11 AM, Marc Campforts marc.campfo...@4st.be wrote: On 17/10/2014 14:27, iText mailing list wrote: On

Re: [iText-questions] [SPAM] Re: [SPAM] Re: How to determine what is visible

2014-10-22 Thread Leonard Rosenthol
On 10/22/14, 1:01 PM, FDnC Red fdnc...@yahoo.com wrote: Whoa there Michael. This may be the key concept that I'm missing. Yes, this is what Michael and I have been trying to explain to you! And it¹s clear that you need to read either the PDF spec and/or a good book that explains all thisŠ

Re: [iText-questions] [SPAM] Re: [SPAM] Re: How to determine what is visible

2014-10-22 Thread Leonard Rosenthol
have your book and while easier to read and understand I didn't understand this nuance when reading the chapter 2 part about clipping. I'm sorry to be a bother and I appreciate your help. Darren On Wednesday, October 22, 2014 12:47 PM, Leonard Rosenthol lrose...@adobe.com wrote: On 10/22/14, 1

Re: [iText-questions] [SPAM] Re: How to determine what is visible

2014-10-21 Thread Leonard Rosenthol
, Leonard Rosenthol wrote The only way to do that is to basically render the page and then analyze each path. The most common reason (beyond what you¹ve already mentioned) is that they are clipped out - meaning that there is a clipping path in place and these are outside of it. Another very

Re: [iText-questions] How to determine what is visible

2014-10-20 Thread Leonard Rosenthol
The only way to do that is to basically render the page and then analyze each path. The most common reason (beyond what you¹ve already mentioned) is that they are clipped out - meaning that there is a clipping path in place and these are outside of it. Leonard On 10/20/14, 9:25 AM, FDnC Red

Re: [iText-questions] [SPAM] Re: CTM + re

2014-09-18 Thread Leonard Rosenthol
Yes - all geometry in PDF is Cartesian. It makes more sense that way :). Leonard From: FDnC Red fdnc...@yahoo.commailto:fdnc...@yahoo.com Reply-To: FDnC Red fdnc...@yahoo.commailto:fdnc...@yahoo.com, Post here itext-questions@lists.sourceforge.netmailto:itext-questions@lists.sourceforge.net

Re: [iText-questions] Add XFA form into a PDF

2014-09-01 Thread Leonard Rosenthol
That would require you to completely parse and understand the semantics of the ³normal² PDF and then recode that using the XFA grammar. NOT a trivial piece of workŠ Leonard On 9/1/14, 8:42 AM, YunYi yiyun0...@hotmail.com wrote: Hi, There is a normal PDF document, and I want to change it to

Re: [iText-questions] Filled PDF can't convert PS

2014-09-01 Thread Leonard Rosenthol
Are you using the latest version of pdf2ps? On 9/1/14, 10:17 AM, Mester József mesterj...@gmail.com wrote: Hello I have lot of PDF what I fill with background process with PdfStamper and print with pdf2ps and LPR (on Debian linux) When I trying print unfilled pdf it is ok, and generated ps

Re: [iText-questions] Regarding genration of Pdf using itextpdf jar in android,

2014-07-24 Thread Leonard Rosenthol
Unless you simply mean that there will be 8 pages in the document - in which case that¹s a pretty small document. On 7/24/14, 11:07 AM, iText mailing list i...@1t3xt.info wrote: On 7/24/2014 11:45 AM, gaurav bhoyar wrote: Actually i want to make PDF which has a length of 8page.Is it possible

Re: [iText-questions] Why is PdfName.ON lower case and how to submit patch/trigger a code change?

2014-07-08 Thread Leonard Rosenthol
PDF Names are case sensitive - so Acrobat is behaving correctly and the Chrome browser is being lenient (though not necessarily in a good way!) Leonard On 7/8/14, 9:25 AM, Linda Briesemeister linda.briesemeis...@sri.com wrote: Hello, We are evaluating iText 5.5.1 for our needs and I came upon

Re: [iText-questions] [SPAM] Re: Reduce PDF file size

2014-07-08 Thread Leonard Rosenthol
Did you try using Adobe Acrobat (even a trial version) to see if it can reduce the size of your PDFs? Depending on what is in there, and what options are important to you (embedded fonts, high quality images, etc.) it may not be possible to reduce the size. Leonard From: Suresh Amsala

Re: [iText-questions] [SPAM] Re: Reduce PDF file size

2014-07-08 Thread Leonard Rosenthol
sureshinfo...@gmail.commailto:sureshinfo...@gmail.com: Dear Leonard Rosenthol, I didn't try using Adobe Acrobat but i want to do through programmatically not manually why because that is not a fixed size it may vary and the files should be uploaded by users. The quality should maintain 70%-80

Re: [iText-questions] [SPAM] Re: Reduce PDF file size

2014-07-08 Thread Leonard Rosenthol
of the contained images so that the final size will be much smaller...? You need to be more specific here... 2014-07-08 17:09 GMT+02:00 Suresh Amsala sureshinfo...@gmail.commailto:sureshinfo...@gmail.com: Dear Leonard Rosenthol, I didn't try using Adobe Acrobat but i want to do through

Re: [iText-questions] colorspace exception during images extraction on a existing pdf

2014-05-27 Thread Leonard Rosenthol
Actually, it is NOT a JPEG with a CMYK profile. The colorspace that you showed in the error: [/Indexed, /DeviceCMYK, 244, 274 0 R] 1 - That means that the data is indexed, which can¹t be used with JPEG data. 2 - As it says DeviceCMYK that means that the data is (most likely) raw CMYK numbers and

Re: [iText-questions] I Want to Change all the Links Destination of Existing Pdf to (PdfDestination.XYZ,-1,-1,0.0F);

2014-04-03 Thread Leonard Rosenthol
Because you are replacing the destination with a single destination. You need to GET the existing link destination and modify it. Leonard On 4/3/14, 4:53 AM, Paresh Tahiliani paresh...@gmail.com wrote: import java.io.FileNotFoundException; import java.io.FileOutputStream; import

Re: [iText-questions] Unable to open a PDF due to unsupported filter

2014-03-04 Thread Leonard Rosenthol
This PDF is invalid and fails validation as there is no defined filter for a standard stream named CCF. CCF is a shorthand name only valid for inline images (ISO 32000-1:2008, Table 94). Leonard On 3/4/14 2:44 PM, Abedellatif Hussein alatifhuss...@gmail.com wrote: Hello, I am using iTextSharp

Re: [iText-questions] [SPAM] Re: Unable to open a PDF due to unsupported filter

2014-03-04 Thread Leonard Rosenthol
On 3/5/14 2:21 AM, mkl m...@wir-sind-cool.org wrote: Adobe Reader opening a PDF without complaint does not mean the file is valid. Actually Adobe Reader is very forgiving and ignores very many errors. VERY TRUE - and by design. and validated the file against JHOVE a standard java based

Re: [iText-questions] Handling PDF/A Checkboxes with a single appearance

2014-02-24 Thread Leonard Rosenthol
Correct. And since your PDF doesn't have a pre-defined alternative for Off (which is the current value specified), Acrobat (or iText or any other client) is free to pick whatever On value it wants (as noted by Bruno below). If you want a specific one, put it in the PDF when you create it.

Re: [iText-questions] Handling PDF/A Checkboxes with a single appearance

2014-02-21 Thread Leonard Rosenthol
What version of PDF/A are you referring to since the rules for annotation appearances changed between PDF/A-1 and PDF/A-2 (and –3)? I would assume that Ja in the export values. Leonard From: Thomas Büngener thomas.buenge...@is2.demailto:thomas.buenge...@is2.de Reply-To: Post here

Re: [iText-questions] Problem with iTextSharp

2014-02-18 Thread Leonard Rosenthol
This is because the ';'is a predefined special character for XMP metadata as defined in ISO 16682-1. There are no issues with iText. Leonard From: Crosby, Jonathan jonathan.cro...@swissglobal-am.commailto:jonathan.cro...@swissglobal-am.com Reply-To: Post here

Re: [iText-questions] Set Flags, StemV and X-Height

2014-01-31 Thread Leonard Rosenthol
They are set automatically from the data in the font that you are using. On 1/30/14 2:10 PM, Brossman craig.bross...@infoprint.com wrote: Hi, How can I set these descriptors for a font? -- View this message in context: http://itext-general.2136553.n4.nabble.com/Set-Flags-StemV-and-X-Height-tp

Re: [iText-questions] Changing colors of graphics and text in imported PDFs

2014-01-15 Thread Leonard Rosenthol
Can you do this with iText? Yes. HOWEVER it is going to require you to have a VERY DEEP understanding of PDF and Color Management/Science. Leonard From: Jon Wu j...@wuservices.commailto:j...@wuservices.com Reply-To: Post here

Re: [iText-questions] Changing colors of graphics and text in imported PDFs

2014-01-15 Thread Leonard Rosenthol
? On Wed, Jan 15, 2014 at 1:59 AM, Leonard Rosenthol lrose...@adobe.commailto:lrose...@adobe.com wrote: Can you do this with iText? Yes. HOWEVER it is going to require you to have a VERY DEEP understanding of PDF and Color Management/Science. Leonard From: Jon Wu j...@wuservices.commailto:j

Re: [iText-questions] Changing colors of graphics and text in imported PDFs

2014-01-15 Thread Leonard Rosenthol
. On Wed, Jan 15, 2014 at 4:26 AM, Leonard Rosenthol lrose...@adobe.commailto:lrose...@adobe.com wrote: What if that color is part of a transparency operation? What if that color is overprinted? Or knocked out? and you probably need to find all the places that content can exist in a PDF, which

Re: [iText-questions] Making text fields grow to accommodate text

2014-01-14 Thread Leonard Rosenthol
[I realize this is an iText list and Bruno can smack me when he gets back from the US, but I feel the need to correct errors] Edward, I think you have some facts incorrect here. XFA fields don't expand They most certainly DO expand - that's one of the benefits of XFA over AcroForms. Perhaps

Re: [iText-questions] Making text fields grow to accommodate text

2014-01-14 Thread Leonard Rosenthol
On 1/14/14 7:25 PM, edward_gi...@ilnb.uscourts.gov edward_gi...@ilnb.uscourts.gov wrote: ACROBAT told me I couldn't flatten Live Cycle forms. Everything in the documentation that I've found says that live cycle forms do not flatten. We do have ways to do it, but you point out below that Desktop

Re: [iText-questions] Open pdf links on a separate tab using an Ipad

2013-12-03 Thread Leonard Rosenthol
JavaScript is the wrong way to do it for ALL platforms. The correct way is to set the appropriate flag on the action dictionary that says to use a new window. (forget details offhand, but they are in ISO 32000-1). Leonard From: Eric Lavagni elava...@gmail.commailto:elava...@gmail.com

Re: [iText-questions] TextField appears upside-down and at the wrong place in FF

2013-11-04 Thread Leonard Rosenthol
The FF PDF viewer is VERY new and VERY buggy. If it works everywhere else, you can safely assume it's FF From: Kostas k...@dataverse.grmailto:k...@dataverse.gr Reply-To: Post here itext-questions@lists.sourceforge.netmailto:itext-questions@lists.sourceforge.net Date: Monday, November 4, 2013

Re: [iText-questions] How to PDF preflight and split text Graph layer on PDF

2013-09-21 Thread Leonard Rosenthol
What does it mean to preflight PDF? Do you mean separate text from graphics? They aren't on separate layers in PDF, so not sure what you mean here either. Leonard On 9/21/13 12:58 PM, hankycheng hankych...@gmail.com wrote: Hi All I have some question, I need to create program to preflight

Re: [iText-questions] Allow malformed trailer/ID

2013-08-28 Thread Leonard Rosenthol
On 8/28/13 2:11 AM, Ivan B. Gregor ivanbgre...@gmail.com wrote: As far as I remember this method was pioneerd by Adobe InDesign, the first full unicode Windows version, I do not remember the number. Nope, predates ID. First appeared (at least from Adobe) in a version of the PDFMakers for

Re: [iText-questions] Allow malformed trailer/ID

2013-08-27 Thread Leonard Rosenthol
Can you send an actual example of a PDF like that? It's clearly invalid and I'd love to know who made it! Thanks, Leonard On 8/27/13 8:16 AM, Ivan B. Gregor ivanbgre...@gmail.com wrote: Hi, Some PDFs contain strange values in trailer/ID, for example: trailer /Size 17/Info 15 0 R/Root 16 0

Re: [iText-questions] Allow malformed trailer/ID

2013-08-27 Thread Leonard Rosenthol
Another great example of poor PDF generation :(. Wasting all those bytes for ASCII values. On 8/27/13 9:48 AM, Ivan B. Gregor ivanbgre...@gmail.com wrote: Leonard Rosenthol lrosenth at adobe.com writes: Can you send an actual example of a PDF like that? No, I cannot share because this PDF

Re: [iText-questions] Read out loud reads warning: blank page on concatenated tagged PDFs

2013-08-26 Thread Leonard Rosenthol
iText doesn't combine the tag trees when merging :( On 8/26/13 5:23 AM, anonima date.sh...@gmail.com wrote: Hi all, I was trying Adobe's read out loud with both: 1. The read out loud PDF on Itext's samples: http://examples.itextpdf.com/results/part4/chapter15/read_out_loud.pdf 2. Concatenated

Re: [iText-questions] Problem with Firefox internal PDF viewer and custom embedded fonts

2013-08-23 Thread Leonard Rosenthol
Given that the problem is FireFox – why not contact Mozilla and get them to fix their bug?? Or, since pdf.js (their PDF renderer) is open source – go fix it yourself and contribute the code?? Leonard From: Yusuf Poonawala

Re: [iText-questions] PDF header changed from 1.6 to 1.4 when joining files

2013-08-14 Thread Leonard Rosenthol
Why does the customer care what the PDF version is? Does it matter? And for that matter, are your PDF 1.4 files really 1.4 to start with?? Leonard From: chris.e...@depi.vic.gov.aumailto:chris.e...@depi.vic.gov.au chris.e...@depi.vic.gov.aumailto:chris.e...@depi.vic.gov.au Reply-To: Post

Re: [iText-questions] display Signature info on EVERY page

2013-08-12 Thread Leonard Rosenthol
I need to display a text with signature information on EVERY page and not only in one Why? It doesn't make any sense – either logical or legal. Leonard From: Knezevich Marco marco.knezev...@insiel.itmailto:marco.knezev...@insiel.it Reply-To: Post here

Re: [iText-questions] display Signature info on EVERY page

2013-08-12 Thread Leonard Rosenthol
/2274_2007_H_PROVISIONAL_-_multifield_-_Adobe.pdf 2274_2007_H_PROVISIONAL_-_multifield_-_Adobe.pdfhttp://itext-general.2136553.n4.nabble.com/file/n4237594/2274_2007_H_PROVISIONAL_-_multifield_-_Adobe.pdf To which you Leonard replied Your idea works as well. 2013/8/12 Leonard Rosenthol lrose...@adobe.commailto:lrose

Re: [iText-questions] display Signature info on EVERY page

2013-08-12 Thread Leonard Rosenthol
1 – it's not done yet so it's not available. However, membership to the ISO committee is open/free to all. Contact your country's standards body for membership. 2 – Quite true. It's not done and may indeed change. As noted, if you join and you don't like it – push for change! 3 - 32000–1

Re: [iText-questions] PdfContentStreamProcessor and parse color

2013-08-02 Thread Leonard Rosenthol
What operator(s) are you looking at to get the colors? What are you doing with those values when you get them? Leonard From: 毕毅 ccttvvk...@gmail.commailto:ccttvvk...@gmail.com Reply-To: Post here itext-questions@lists.sourceforge.netmailto:itext-questions@lists.sourceforge.net Date: Friday,

Re: [iText-questions] 'HELP NEEDED' how to add swf's supported files to create pdf in itext (using java)

2013-08-02 Thread Leonard Rosenthol
You need to embed all the other files using standard embedding API calls and then use some VERY low level API calls to set the relevant resources for the SWF. Details are in the Adobe Extensions documentation. Leonard From: Saravanan shri

Re: [iText-questions] [Link annotation question]

2013-07-23 Thread Leonard Rosenthol
Link annotations don't link to actual text (except in the rare cases of properly tagged PDF) – they are simply associated with an Action or Destination. The destination (/D) tells which you page (it's the first element of the array, IIRC). Leonard From: Ke Xu

Re: [iText-questions] XFAHelper - embedded images

2013-07-01 Thread Leonard Rosenthol
Not that you should stop using iText - but if you are using ColdFusion, this feature is built into recent versions of CF. Leonard On 7/1/13 10:02 AM, EdGioja edward_gi...@ilnb.uscourts.gov wrote: When flattening, the only thing that doesn't work for me is the embedded image. I just tried the

Re: [iText-questions] Histogram of images in the Itext Pdf

2013-06-28 Thread Leonard Rosenthol
And which are you choosing? Page or images? Post a sample PDF where you believe this is an issue. On 6/28/13 1:35 PM, mashiana mandeep8...@gmail.com wrote: I am opening the PDF using photoshop. Once you open it gives the option of choosing a page or the images in the pages. I am currently

Re: [iText-questions] Histogram of images in the Itext Pdf

2013-06-27 Thread Leonard Rosenthol
HOW are you check the histogram of the images using adobe photoshop? Are you opening the PDF up in Photoshop? Are you extracting the images and then opening them in Photoshop? Other?? Leonard On 6/27/13 2:15 PM, mashiana mandeep8...@gmail.com wrote: Hi, I am working on a project where i

Re: [iText-questions] Generated PDF differs on Windows vs Linux

2013-06-22 Thread Leonard Rosenthol
When run separately (outside of the browser), we get the printer information directly from the printer and the OS. When run inside of a browser, we are given the information from the browser. Sounds like the browsers are giving us incorrect information :(. Leonard From: Cynthia Jeness

Re: [iText-questions] PDF Backgound image : Hide text layer

2013-06-16 Thread Leonard Rosenthol
You will need a rasterizer for this purpose, and iText does not include one. Be aware, however, that text IS NOT ALWAYS on top – so that removing the text, rasterizing the result and then putting the text on top can yield VERY wrong results. Especially when you consider transparency, clipping,

Re: [iText-questions] Itext 5.4.1 - Metadata Bug?

2013-05-24 Thread Leonard Rosenthol
I haven't see an actual PDF, so not sure what Acrobat/Reader is doing that is not expected. Leonard On 5/24/13 4:59 AM, linuxunil matheusarle...@gmail.com wrote: Hello, I'm using: - Itext v5.4.1 - Oracle Java v1.7.0_17 32 Bits My objective: Read a pdf file and fill the metadata. My code: #

Re: [iText-questions] Itext 5.4.1 - Metadata Bug?

2013-05-24 Thread Leonard Rosenthol
That doesn't make sense. Can you send me a PDF? On 5/24/13 4:43 PM, iText Software i...@1t3xt.info wrote: On Fri, 24 May 2013 10:35:03 +0200, Leonard Rosenthol lrose...@adobe.com wrote: I haven't see an actual PDF, so not sure what Acrobat/Reader is doing that is not expected. I wouldn't

Re: [iText-questions] Itext 5.4.1 - Metadata Bug?

2013-05-24 Thread Leonard Rosenthol
Will investigate - it's definitely not expected (AFAIK) On 5/24/13 5:20 PM, iText Software i...@1t3xt.info wrote: On Fri, 24 May 2013 11:15:00 +0200, Leonard Rosenthol lrose...@adobe.com wrote: That doesn't make sense. Can you send me a PDF? Sure, see attachment. If you manually change

Re: [iText-questions] New revision issues

2013-05-17 Thread Leonard Rosenthol
You have modified the original document, thus it's signature is no longer valid (trustable). Leonard On 5/17/13 10:46 AM, Paulo Soares pgpsoa...@gmail.com wrote: The first signature is not invalidated, it's just Acrobat 's way of saying it's not the last. I think Acrobat started behaving like

Re: [iText-questions] New revision issues

2013-05-17 Thread Leonard Rosenthol
You can always modify a non-encrypted/secured PDF. Signing a PDF doesn't prevent modification, it simply enables the ability to DETECT modification. Leonard On 5/17/13 11:01 AM, twain ant.mari...@gmail.com wrote: Ok, but what about the meaning of revision? If I sign a pdf than I cannot

Re: [iText-questions] New revision issues

2013-05-17 Thread Leonard Rosenthol
If you don't use a certification signature, then you aren't stating any rules for modification - which is considered to mean NO modifications. So if you modify the document after signature, then it's invalid. Clear? If you wish to allow certain types of modifications after signing, then you need

Re: [iText-questions] [SPAM] Re: New revision issues

2013-05-17 Thread Leonard Rosenthol
Nope - whatever that document says :) On 5/17/13 11:46 AM, mkl m...@wir-sind-cool.org wrote: Leonard, Leonard Rosenthol-3 wrote If you don't use a certification signature, then you aren't stating any rules for modification - which is considered to mean NO modifications. So if you modify

Re: [iText-questions] Reading pdf files with hebrew - encoding support

2013-05-13 Thread Leonard Rosenthol
Since Hebrew is NOT representable in ANSI, the second PDF in question has been created in such a way as to prevent text extraction. There is nothing you can do (short of OCR). Leonard On 5/13/13 1:40 PM, ser...@mof.gov.il ser...@mof.gov.il wrote: I try to read 2 pdf files with pdfreader. The

Re: [iText-questions] [SPAM] Re: [SPAM] Re: Pdf redaction for sensitive information using itexsharp.

2013-05-02 Thread Leonard Rosenthol
On 5/2/13 9:15 AM, mkl m...@wir-sind-cool.org wrote: If on the other hand you only want to redact specific types of contents (e.g. immediate text content in the page content stream), that task is feasible, especially when having the low level functionality of a library like iText at hand. You

Re: [iText-questions] [SPAM] Re: Pdf redaction for sensitive information using itexsharp.

2013-05-01 Thread Leonard Rosenthol
Redaction with ANY PDF library is VERY difficultŠassuming you are planning to support redaction of not just text, but also vector and raster graphics. Leonard On 5/1/13 5:46 PM, mkl m...@wir-sind-cool.org wrote: Ganesh Jagdale wrote How can we use itextsharp for pdf redaction? iText does not

Re: [iText-questions] Applying Opacity for PDFX32002

2013-04-29 Thread Leonard Rosenthol
an error The /SMask key is not allowed in images. Is there any way i can put a image with transparent background in a PDFX32002 -Mandeep. On Sat, Apr 27, 2013 at 7:49 PM, Leonard Rosenthol lrose...@adobe.commailto:lrose...@adobe.com wrote: PDF/X-3 2002 does not support opacity/transparency. You

Re: [iText-questions] Applying Opacity for PDFX32002

2013-04-29 Thread Leonard Rosenthol
AFAIK, iText doesn't support PDF/X-4 at this time. However, I'll let Bruno state it for sure. From: Mandeep singh mashiana mandeep8...@gmail.commailto:mandeep8...@gmail.com Reply-To: Post here itext-questions@lists.sourceforge.netmailto:itext-questions@lists.sourceforge.net Date: Monday,

Re: [iText-questions] Applying Opacity for PDFX32002

2013-04-27 Thread Leonard Rosenthol
PDF/X-3 2002 does not support opacity/transparency. You can't use it. If you need transparency in PDF/X, you need PDF/X-4. Leonard From: Mandeep singh mashiana mandeep8...@gmail.commailto:mandeep8...@gmail.com Reply-To: Post here

Re: [iText-questions] Embedding Color Profile in PDF using pdfwriter

2013-04-23 Thread Leonard Rosenthol
Illustrator doesn't use the OutputIntent. For what purpose are you trying to embed an ICC profile? Leonard From: Julien Garcia Gonzalez julien.garciagonza...@compuzz.commailto:julien.garciagonza...@compuzz.com Reply-To: Post here

Re: [iText-questions] Duplicate indirect objects

2013-03-22 Thread Leonard Rosenthol
. I also understand from your comments that you consider my arguments just nonsense, okay. I just tried to ask On Wed, Mar 13, 2013 at 3:49 PM, Leonard Rosenthol-3 [via iText - General] [hidden email]/user/SendEmail.jtp?type=nodenode=4657874i=0 wrote: On 3/13/13 3:12 PM, adriano [hidden

Re: [iText-questions] Differences btw text extraction from iText and Acrobat Reader?

2013-03-20 Thread Leonard Rosenthol
On 3/20/13 8:38 AM, wwkloo wklo...@gmail.com wrote: Additional information: When create the PDF with another program, the text can be extracted by iText and Acrobat Reader XI correctly. - 1: 0xD841 0xDD47 - 2: 0x92DB D That tells me that whatever program you are using to create the PDF is broken

Re: [iText-questions] Write timestamp in log

2013-03-20 Thread Leonard Rosenthol
On 3/20/13 8:49 AM, Ainur edu_p...@hotmail.com wrote: Thanks for your answer, but that solution requires me to have a signature with timestamp in order to collect data. OK. So the timestamp goes into the signature's data. I think not explained my question well. I was wondering if itext

Re: [iText-questions] convert rtf to pdf. characters \tab and \page

2013-03-19 Thread Leonard Rosenthol
What do you mean they are converted to spaces? How are you determining that? Remember that in PDF, there is no concept of white space characters (in the content portion)…so if you had a tab in your original content, that is (pretty much) NEVER incorporated into the final PDF. Leonard From:

Re: [iText-questions] convert rtf to pdf. characters \tab and \page

2013-03-19 Thread Leonard Rosenthol
that characters \tab and \page of the original content can't be included in the final PDF? Best regards, Aitor 2013/3/19 Leonard Rosenthol lrose...@adobe.commailto:lrose...@adobe.com What do you mean they are converted to spaces? How are you determining that? Remember that in PDF

Re: [iText-questions] convert rtf to pdf. characters \tab and \page

2013-03-19 Thread Leonard Rosenthol
To: Post here itext-questions@lists.sourceforge.netmailto:itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] convert rtf to pdf. characters \tab and \page Hi Leonard, \page indicates newPage. Is it in PDF? Aitor 2013/3/19 Leonard Rosenthol lrose...@adobe.commailto:lrose

Re: [iText-questions] Insert Revisions Programmatically In A PDF File

2013-03-14 Thread Leonard Rosenthol
It's not possible with ANY PDF library, since revisions are specific to the PDF for which they were created. A PDF revision (or incremental update, to the use the PDF terminology) is a collection of new, modified or (references to) deleted objects from the previous revision. Since object ID's

Re: [iText-questions] [SPAM] Re: Need help for Character Spacing in existing pdf

2013-03-13 Thread Leonard Rosenthol
Changing the font of any arbitrary text in any arbitrary PDF is EXTREMELY DIFFICULT (or may even be impossible in some cases). You really need to read ISO 32000-1:2008 (the PDF standard) to get a deep understanding of font technology and text encoding issues and why it is such a hard problem.

Re: [iText-questions] Duplicate indirect objects

2013-03-13 Thread Leonard Rosenthol
On 3/13/13 3:12 PM, adriano asanton...@gmail.com wrote: Now, mkl, suppose you have to process the incoming PDF document as a whole, without altering it in any way Yes and no. The process by which one processes a PDF document, where one starts with the trailer-root/Catalog-Š, would mean that

Re: [iText-questions] Duplicate indirect objects

2013-03-11 Thread Leonard Rosenthol
Adriano - I think you are asking the wrong question because it doesn't make sense. When you read/parse a PDF, there can only be ONE Document Catalog object in the active PDF document. The reason is because that object is determined by the value of the /Root key in the CURRENT Trailer. Once you

Re: [iText-questions] Still no hint

2013-03-08 Thread Leonard Rosenthol
Acrobat doesn't write that value anywhere. Evermap's plugin may do so, but Acrobat itself doesn't. As for why it works in some but not others - I'd need to see the actual PDFs in question to be able to comment. I can say that we don't do any range checking on that value (beyond making sure it's

Re: [iText-questions] Still no hint

2013-03-08 Thread Leonard Rosenthol
On 3/8/13 1:10 PM, Paul Breslaw p...@breslaw.co.uk wrote: As for why it works in some but not others - I'd need to see the actual PDFs in question to be able to comment. That would be great. I will try to put together minimal examples of the phenomenon. Do you know if I am permitted to attach

Re: [iText-questions] Still no hint

2013-03-07 Thread Leonard Rosenthol
Paul - the problem I suspect is that your first element of that array should be an indirect object and NOT a page number. ISO 32000-1:2008, 12.3.2 Leonard On 3/7/13 7:37 AM, Paul Breslaw p...@breslaw.co.uk wrote: Dear List I've written a couple of times about a strangeness with

Re: [iText-questions] Still no hint

2013-03-07 Thread Leonard Rosenthol
wrote: On 07/03/13 13:48, TvT wrote: no need to pay CHF238 , you can download it for free here: Brilliant thank you. On 07/03/13 13:12, Leonard Rosenthol wrote: Paul - the problem I suspect is that your first element of that array should be an indirect object and NOT a page number. ISO

Re: [iText-questions] Extract PDF from a PDF Collection

2013-03-01 Thread Leonard Rosenthol
The values of EmbeddedFiles is a Names Tree - so it can have both Names and Kids in any combination Leonard On 2/28/13 11:33 PM, sselvia ssel...@gmail.com wrote: Using the code below I'm trying to extract an embedded PDF which I can see in Reader. The problem I'm having is the PdfArray file

Re: [iText-questions] Strange behaviour of Chunk.setRemoteGoto

2013-02-28 Thread Leonard Rosenthol
Paul - I don¹t see your original post. Can you repost? On 2/28/13 6:00 AM, Paul Breslaw p...@breslaw.co.uk wrote: I posted a question about Chunk.setRemoteGoto and /FitH a few days ago, but it doesn't seem to have triggered any comment. I'm quite prepared to be told that the question doesn't

Re: [iText-questions] PKCS#1 signature + iText = signed pdf

2013-02-27 Thread Leonard Rosenthol
You can't do that - it doesn't make any sense in the PDF context. On 2/27/13 12:35 PM, adamec adam.pomo...@gmail.com wrote: Hi guys. I cannot find a way, how to use already created detached PKCS#1 signature with iText. This topic is quite similar, but gives me no answers (and uses old version

Re: [iText-questions] Adding a destination anchor to an existing PDFpage

2013-02-22 Thread Leonard Rosenthol
You seem to be confusing the capabilities of PDF (the file format) with the capabilities of products (such as the merging feature iText). PDF very happily supports the concept of an anchor (called a named destination in PDF terms). Additionally, links (either as Actions or as Destinations)

Re: [iText-questions] Creating Accessible Tables in 5.3.5 (Tagged, Marked Content)

2013-02-18 Thread Leonard Rosenthol
On 2/17/13 4:20 PM, 1T3XT BVBA i...@1t3xt.info wrote: I really get frustrated when people use iText the wrong way. I know I shouldn't, but I can't help it. Completely understoodŠask me how frustrated I get at PDF creation software that generates broken PDFs (even in 2013!!!). With this in

Re: [iText-questions] Creating Accessible Tables in 5.3.5 (Tagged, Marked Content)

2013-02-18 Thread Leonard Rosenthol
On 2/18/13 4:17 PM, Duff Johnson d...@duff-johnson.com wrote: My question was how useful putting stuff into the PDF itself (in the form of Matterhorn) mattersŠ Well, you might guess that I think it's VERY important! ;-) The reason is simple. As you pointed out, validation involves humans, and

Re: [iText-questions] Creating Accessible Tables in 5.3.5 (Tagged, Marked Content)

2013-02-16 Thread Leonard Rosenthol
On 2/16/13 3:51 AM, 1T3XT BVBA i...@1t3xt.info wrote: This includes RD regarding the Matterhorn Protocol. Why do you believe this is an important thing to invest in? Do you have any customers asking for it? Have you talked to other vendors (of note) who plan to introduce this into their

Re: [iText-questions] Tagging content

2013-02-13 Thread Leonard Rosenthol
Jason, using the Alt for an image is NOT the right way to accomplish what you want. You should just put a custom key of your own choosing on each Xobject that you wish to mark. This would be a second class key (as described in ISO 32000-1:2008) and you'll need to register your second class

Re: [iText-questions] Tagging content

2013-02-13 Thread Leonard Rosenthol
-questions@lists.sourceforge.net Subject: Re: [iText-questions] Tagging content Righto, I'll get right on that. ;-) Is there not a way to tag an object in any way so that I can pull it later? On Feb 13, 2013 11:46 AM, Leonard Rosenthol lrose...@adobe.commailto:lrose...@adobe.com wrote: Jason, using

Re: [iText-questions] Tagging content

2013-02-13 Thread Leonard Rosenthol
Except for your not being allowed to use a first class key (aka a key w/o a prefix), yes. So now go to http://www.adobe.com/devnet/acrobat/pdfs/pdfregistry_v3.pdf, fill out the form and submit it. Then you'll have your legal prefix. Leonard From: Jason Kissinger

Re: [iText-questions] Tagging content

2013-02-13 Thread Leonard Rosenthol
are the drawbacks of us having a non-ISO approved key in our documents? Collision with someone else's key causing plugin or some such to err when it hits our invalid use of their key? On Wed, Feb 13, 2013 at 3:43 PM, Leonard Rosenthol lrose...@adobe.commailto:lrose...@adobe.com wrote: Except for your

Re: [iText-questions] PDF/A creation from image stopped working in iTextSharp 5.3.5

2013-02-07 Thread Leonard Rosenthol
On 2/7/13 5:50 AM, Berend b.engelbre...@gmail.com wrote: How do I do that Acrobat syntax check? (I only have acrobat reader, not professional) You have Adobe Reader. If you want to do the Acrobat syntax check, you need Adobe Acrobat. If you are going to be doing PDF development, you will find

Re: [iText-questions] Rename Spot Colors

2013-02-07 Thread Leonard Rosenthol
I find it hard to believe that the actual names of the spot colors are MAIN and ACCENT. Can you provide a sample that demonstrates this??? Leonard From: Dean Johnson dean.john...@rrd.commailto:dean.john...@rrd.com Reply-To: Post here

Re: [iText-questions] Rename Spot Colors

2013-02-07 Thread Leonard Rosenthol
files attached showing two different colors but named the same. Dean On Thu, Feb 7, 2013 at 1:24 PM, Leonard Rosenthol lrose...@adobe.commailto:lrose...@adobe.com wrote: I find it hard to believe that the actual names of the spot colors are MAIN and ACCENT. Can you provide a sample

Re: [iText-questions] AddImage Parameters

2013-02-05 Thread Leonard Rosenthol
You can't. The PDDoc is a private data structure to Acrobat while the iTextSharp Document is private to iText. What you need to do is simply reopen the PDF document in iText. Leonard From: Vidhya K P vidhy...@gmail.commailto:vidhy...@gmail.com Reply-To: Post here

Re: [iText-questions] SWF embedded in second page and/or thereafter in PDF doesn't get printed

2013-02-01 Thread Leonard Rosenthol
And my answer still stands. In order to have SWF content print, EITHER the annotation appearance has to be generated ahead of time OR the SWF needs to modified to respond to the proper event (I don't recall what it is) when asked. Leonard On 2/1/13 6:32 AM, iText Info i...@1t3xt.info wrote: Op

  1   2   3   4   5   6   7   8   9   10   >