Re: [iText-questions] ErrorCode: 4000; Error Message: "Unrecognized PDF content" displayed in PDF/SigQ

2007-10-02 Thread Bruno Lowagie (iText)
prabhat mishra wrote: > hello, > i want to conver p[df into html only using the tag and tag . > now i am using java language so please help me. You are facing a 'mission impossible'. br, Bruno - This SF.net email is sponso

Re: [iText-questions] Modifing textbox in acroforms moves textboxvalue

2007-10-02 Thread Kolda Tomas GC
I saw that question, but this is diferent issue. Before iText modify the PDF all is OK. After modification with iText, text moves. If I fill values using designer, there is no problem. I think it is bug in iText, because iText changes something that is important for positioning. Tomas -Ori

Re: [iText-questions] Query related to iTextSharp 4.0.4

2007-10-02 Thread sureshhalade
Hi... Adding to the last thread, when I saw your reply to the thread "PdfReader not opened with owner password ", I have tried decrypting a pdf file by user password using iTextSharp 4.0.3 and its working fine. But is it safe to use iTextSharp version 4.0.3 instead of iTextSharp 4.0.4 for decry

Re: [iText-questions] ErrorCode: 4000; Error Message: "Unrecognized PDF content" displayed in PDF/SigQ

2007-10-02 Thread prabhat mishra
hello, i want to conver p[df into html only using the tag and tag . now i am using java language so please help me. thanks - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005.

Re: [iText-questions] PDF417 with rows and columns fixed...

2007-10-02 Thread Paulo Soares
The YHeight should stay at 3. You scale the barcode as a whole; that may impact the readability of it. You want to do something impossible, it's like asking " how can I fit 100 characters in a line that only takes 40?". Paulo - Original Message - From: "Marcel Gil Vega" <[EMAIL PROTECT

Re: [iText-questions] PDF417 with rows and columns fixed...

2007-10-02 Thread Marcel Gil Vega
I know i can scale the barcode with YHeight property but i don't know why the rows and columns vary if i set the option BarcodePDF417.PDF417_FIXED_RECTANGLE. Is possible to obtain all the rectangle combinations sizes of rows by columns to the image pdf417? Marcel --

Re: [iText-questions] Already existing PDF Scripting

2007-10-02 Thread Quintana Maldonado, Rafael
Paulo: Thanks a lot for your response. I apologize myself because i've seen on the tutorial that additional action section. Thanks for your valuable time; you have helped us since you began supporting Bruno to write this useful api. You are great! Rafael -Original Message- From: [EMAI

Re: [iText-questions] Questions On Headers/Footers with PageEvents

2007-10-02 Thread John Zeitler
As I'd said, it's a direct copy/paste from the linked tutorial. I'll reproduce it here anyway: /** * @see com.lowagie.text.pdf.PdfPageEventHelper#onEndPage(com.lowagie.text.pdf.PdfWriter, com.lowagie.text.Document) */ public void onEndPage(PdfWriter writer, Document document) {

Re: [iText-questions] Already existing PDF Scripting

2007-10-02 Thread Paulo Soares
Use PdfStamper.getWriter().setAdditionalAction(). Paulo - Original Message - From: "Quintana Maldonado, Rafael" <[EMAIL PROTECTED]> To: Sent: Wednesday, October 03, 2007 12:16 AM Subject: [iText-questions] Already existing PDF Scripting Hello, Does iText support PDF Scripting to alr

[iText-questions] Already existing PDF Scripting

2007-10-02 Thread Quintana Maldonado, Rafael
Hello, Does iText support PDF Scripting to already existing files? namely binding some Javascript code to any PDF viewer event like "Before Save document", "Before Print document", etc. If it doesn't would you please give me some hint? The requirement is to add that kind of functionallity to

Re: [iText-questions] PDF417 with rows and columns fixed...

2007-10-02 Thread Paulo Soares
The size you are using (23x38) only stores 1048 bytes including the error correcting code words. If your size is limited you'll have to scale down the barcode. Paulo - Original Message - From: "Marcel Gil Vega" <[EMAIL PROTECTED]> To: Sent: Wednesday, October 03, 2007 12:03 AM Subject

Re: [iText-questions] PDF417 with rows and columns fixed...

2007-10-02 Thread Marcel Gil Vega
I'm using all the 1108 bytes in byte compaction mode. Always the number is greater than 1000. I can assume that my number of bytes to save is just 1108 because i make a padding until the maximum capacity. The idea is to print the pdf417 image in the same position in a template for example. In

Re: [iText-questions] PDF417 with rows and columns fixed...

2007-10-02 Thread Paulo Soares
How many bytes are you trying to squeze in that barcode? If your data is just one byte what's the final size? Paulo - Original Message - From: "Marcel Gil Vega" <[EMAIL PROTECTED]> To: Sent: Tuesday, October 02, 2007 11:39 PM Subject: Re: [iText-questions] PDF417 with rows and columns

Re: [iText-questions] PDF417 with rows and columns fixed...

2007-10-02 Thread Marcel Gil Vega
Please then say me some one possible solution to this issue according to option property and another. Paulo Soares <[EMAIL PROTECTED]> wrote: A best effort is made to respect the rows and columns but they may be adjusted to keep the barcode valid. Paulo - Original Message - From: "

Re: [iText-questions] PDF417 with rows and columns fixed...

2007-10-02 Thread Paulo Soares
A best effort is made to respect the rows and columns but they may be adjusted to keep the barcode valid. Paulo - Original Message - From: "Marcel Gil Vega" <[EMAIL PROTECTED]> To: Sent: Tuesday, October 02, 2007 11:05 PM Subject: [iText-questions] PDF417 with rows and columns fixed...

[iText-questions] PDF417 with rows and columns fixed...

2007-10-02 Thread Marcel Gil Vega
Hi, I want to fix the dimension of output pdf417 image by codeRows and codeColumns. In order to do that i wrote this code for example: BarcodePDF417 b = new BarcodePDF417(); b.CodeRows = 23; b.CodeColumns = 38; b.Options = BarcodePDF417.PDF417_FORCE_BINARY + BarcodePDF417.PDF417_FIXED_RECTANGLE

Re: [iText-questions] byte[] TIFF to PDF in iText

2007-10-02 Thread Paulo Soares
There are methods for all that. Paulo - Original Message - From: "bleuciel musicien" <[EMAIL PROTECTED]> To: Sent: Tuesday, October 02, 2007 9:12 PM Subject: [iText-questions] byte[] TIFF to PDF in iText Is there a way to convert a byte[] from TIFF and get a byte[] in PDF? Thanks,

Re: [iText-questions] Questions On Headers/Footers with PageEvents

2007-10-02 Thread Paulo Soares
Where's the onEndPage method code? Paulo - Original Message - From: "John Zeitler" <[EMAIL PROTECTED]> To: Sent: Tuesday, October 02, 2007 7:33 PM Subject: [iText-questions] Questions On Headers/Footers with PageEvents > > Hi, > > I've run into a bit of trouble with headers and footer

[iText-questions] Questions On Headers/Footers with PageEvents

2007-10-02 Thread John Zeitler
Hi, I've run into a bit of trouble with headers and footers. I started off using setHeader(HeaderFooter), then saw that that was apparently 'old functionality' and that I should be using page events. So, I created a bare-bones event class based explicitly on the example from EndPage.java in the

[iText-questions] byte[] TIFF to PDF in iText

2007-10-02 Thread bleuciel musicien
Is there a way to convert a byte[] from TIFF and get a byte[] in PDF? Thanks, Niko. Niko. _ Windows Live Hotmail and Microsoft Office Outlook – together at last.  Get it now. http://office.microsoft.com/en-us/outlook/HA10222518103

Re: [iText-questions] MultiColumnText alignment problems

2007-10-02 Thread Aaron Baff
Bruno, I think I see what seems to be happening. With the height specified, MultiColumnText will only go to that height, and not go onto another page. The problem with using isOverflow() for me is I am iterating over a list of objects each of which represents a 2 column table. So I do not know eas

Re: [iText-questions] Concatenating with gotos and destinations

2007-10-02 Thread Dan Kaplan
Thanks, I *think* I've figured it out. I didn't realize that PdfWriter had a method named getImportedPage -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dan Kaplan Sent: Tuesday, October 02, 2007 10:51 AM To: 'Post all your questions about iText here' Su

Re: [iText-questions] Concatenating with gotos and destinations

2007-10-02 Thread Dan Kaplan
Thanks for the reply! What method do I use to create the links? I tried using a goto in A that refers to a destination that exists in B but itext threw an exception saying that the destination didn't exist. Thanks again, Dan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PRO

Re: [iText-questions] Concatenating with gotos and destinations

2007-10-02 Thread Paulo Soares
Use a normal PdfWriter. Create the first page with the links to future pages. In those future pages place B and C as imported pages. You'll lose the links in B and C. If it's important to keep the interactive features in B and C then: - Create A with the onGenericTag event to know the activation

Re: [iText-questions] Modifing textbox in acroforms moves textbox value

2007-10-02 Thread Paulo Soares
See http://itext.ugent.be/library/question.php?id=54. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Kolda Tomas GC > Sent: Tuesday, October 02, 2007 9:16 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Modifi

[iText-questions] Adobe BUG in Reader 7 and 8 - max URI/URL length 233 characters ?!

2007-10-02 Thread Harakiri
Hello, i found out that Adobe introduced a bug with Reader 7 and 8. Every URL annotation you create with more then 233 characters will produce a "error communicating with web-browser", the url you click within a PDF document will not be opened. This doesnt seem to be an itext issue as i can repro

Re: [iText-questions] thumbnails -- jpeg2000 ?

2007-10-02 Thread Bruno Lowagie (iText)
Cornelissen, Frans [PRDBE] wrote: > In our open source CMS (Alfresco, a magnificent product - *almost* as > good as iText :-), we want to display thumbnails of all the pdf (that > contain those jpeg2000 images internally) OK, I don't see what this has to do with iText though. > Is it possible to

Re: [iText-questions] PDF-Image-Ids

2007-10-02 Thread Leonard Rosenthol
Do it in your image editing program (Photoshop, etc.). Leonard On Oct 2, 2007, at 3:45 AM, TheVinc wrote: > > can you tell me how to set metadata to an image? > i didnt find any method > > > > TheVinc wrote: >> >> ok, i thought something like this already ;) >> >> the only way to find the correc

Re: [iText-questions] Japanese checkboxes

2007-10-02 Thread Bruno Lowagie (iText)
Jeff Metzner wrote: > Thanks! Do you have any idea when the next release might be? If all goes well, I'll release iText 2.0.6 on Friday. br, Bruno - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(

Re: [iText-questions] Japanese checkboxes

2007-10-02 Thread Jeff Metzner
Thanks! Do you have any idea when the next release might be? I've never used the itext source code before, so unless it's a long time away I probably won't spend the time to download the source code and set up a development environment. --Jeff Metzner -Original Message- From: [EMAIL PR

Re: [iText-questions] Problem with signed PDF

2007-10-02 Thread Bruno Lowagie (iText)
webtom wrote: > Hi, > > i try to implement the following steps: > 1) reading a signed pdf OK, I assume you mean you read it with Adobe Reader. > 2) adding a javascript code to the pdf and Oops, you'll invalidate the signature! > 3) printing the pdf to the default printer. I assume you have so

[iText-questions] Problem with signed PDF

2007-10-02 Thread webtom
Hi, i try to implement the following steps: 1) reading a signed pdf 2) adding a javascript code to the pdf and 3) printing the pdf to the default printer. ... try { PdfReader reader = new PdfReader(pdfByteArray); //pdfByteArray represents the content of pdf file PdfStamper stamper = new PdfS

Re: [iText-questions] MultiColumnText alignment problems

2007-10-02 Thread Bruno Lowagie (iText)
Aaron Baff wrote: > When I try and fix this by specifying the height > I end up with only a single page worth of data Have you tried the method MultiColumnText.isOverflow(); as described in the book? br, Bruno - This SF.net

Re: [iText-questions] PDF-Image-Ids

2007-10-02 Thread TheVinc
can you tell me how to set metadata to an image? i didnt find any method TheVinc wrote: > > ok, i thought something like this already ;) > > the only way to find the correct image (when the pdf was created with > PDFCreator) is to trigger on the width and length of the image. and then i > hav

Re: [iText-questions] PDF-Image-Ids

2007-10-02 Thread Leonard Rosenthol
However, you don't even know the width and length in some cases when printing, since it's possible that the image will be scaled or cropped for reasons out of your control :(. Leonard On Oct 2, 2007, at 2:18 AM, TheVinc wrote: > > ok, i thought something like this already ;) > > the only wa

[iText-questions] Modifing textbox in acroforms moves textbox value

2007-10-02 Thread Kolda Tomas GC
I have a problem with $SUBJECT. I am using most recent version of iText and iTextSharp. Both of them makes same error. Description: 1. I create a form template with Adobe Livecycle designer 8.0 and save it as a Acrobat 7 (static) PDF. 2. With standard example code I modify value in form. 3. Value

Re: [iText-questions] page numbers in RTF docs

2007-10-02 Thread Alexis Pigeon
Hi Alex, Page numbering in RTF is currently broken (as of iText 2.0.5). It's a known bug that will be corrected in the next release [1]. In the meanwhile, you can use the previous release (2.0.4), available at sourceforge [2]. Cheers, alexis [1] http://sourceforge.net/mailarchive/forum.php?thre