[iText-questions] form xobjects and pdftemplates

2009-03-10 Thread Billy Anachronism
Hi, Is there a way to convert a form xobject from a resource dictionary into a pdf template? Considering that pdf templates are a form xobject I assume that this is possible but I haven't found a method to do it yet. Cheers, Billy. ---

Re: [iText-questions] J2ME

2009-03-10 Thread Mike Marchywka
You might want to grep for import on the classes you want- I did this on my svn dir and found reflect among other things come up but I'm not sure they are relevant to you ( reflect of course is not supported). Also note you may or may not have float support etc. Even if you have float support

Re: [iText-questions] J2ME

2009-03-10 Thread Diogo Piçarra
so, you mean that iText supports J2ME? I read in the mailing list that it doesn't. I tried to add the iText Jar to a J2ME project and compile and i got a error about missing java.io.FileOutputStream... i will try compile iText from source with J2ME A Tuesday 10 March 2009 18:36:34, você escre

[iText-questions] How to use code page escape codes instead of UTF escape codes?

2009-03-10 Thread Leszek Frankowski
Hey, I'm fairly new to iText and Java so I'm sorry if the answer to my question is an obvious one. Anyway, I'm writing a small servlet that would take text from html form and convert it to rtf. The text can contain polish characters (iso-8859-2 encoding). Everything works just fine but iText conve

[iText-questions] J2ME

2009-03-10 Thread Diogo Piçarra
hi I'am doing my final grade project and i'am using itext to parse a pdf file and i need to use it in j2me. I alredy did some test and read the articles about that in the mailing list and i know that iText does not support j2me so i'am willing to work with the iText developers to make it work i

Re: [iText-questions] Cut a picture to show only part of the image

2009-03-10 Thread Rafael Falcone
The solution: PdfTemplate template = cb.createTemplate(largura, altura); imagem.setAbsolutePosition(colunaAux, linhaAux); template.rectangle(new Rectangle(largura, altura)); template.clip(); template.newPath(); template.addImage(imagem); cb.addTemplate(template, coluna, linha); Congratulations

[iText-questions] itext Barcode Separator Issue On Mainframe

2009-03-10 Thread tommtboy
Hi our pdf214 barcode standard uses hex "0A" as a data element separator. This has always worked fine on Windows. Now we have moved our application to an IBM Mainframe. All other characters on the barcode (printable and non-printable) work fine except for the hex "0A". I can see from running

[iText-questions] Re ading PDF Packages

2009-03-10 Thread BSmith
Hi, I am merging and rotating PDF documents in Java with iText. However, the new PDF Packages are causing me problems. I do not see anything in the book concerning Acrobat 8 PDF Packages. Is there a way with iText to determine if a PDF that I am reading is a new combined PDF package rather than

[iText-questions] Cut a picture to show only part of the image

2009-03-10 Thread Rafael Falcone
Hi I need to cut a picture to show only part of the image. The method "setImageMask" Class "com.lowagie.text.Image" is complicated to use because it requires a hard mask image to be created. I need to include that image in an absolute position. How best to solve this problem? Thanks Raf

Re: [iText-questions] PDF "philosophy" (was RE: modifed sample, question on PDF contents)

2009-03-10 Thread Mike Marchywka
> From: lrose...@adobe.com > To: itext-questions@lists.sourceforge.net > Date: Tue, 10 Mar 2009 07:41:50 -0700 > Subject: Re: [iText-questions] PDF "philosophy" (was RE: modifed sample, > question on PDF contents) > > You continue to think that PDF is a

Re: [iText-questions] PDF "philosophy" (was RE: modifed sample, question on PDF contents)

2009-03-10 Thread Leonard Rosenthol
Not at all! I have a blog entry about the free version from Adobe at . However, there will NOT be a physical version (aka book) of the standard from Adobe. You can, however, purchase one from the ISO. Leonard -Original Me

Re: [iText-questions] PDF "philosophy" (was RE: modifed sample, question on PDF contents)

2009-03-10 Thread Leonard Rosenthol
You continue to think that PDF is a format that is JUST about presentation (aka "pictures") - but if you look at the specification you will find that it provides for BOTH presentation AND semantics/data. For example, those airplane manuals that I mention contain NOT JUST the rendered view of

Re: [iText-questions] PDF "philosophy" (was RE: modifed sample, question on PDF contents)

2009-03-10 Thread 1T3XT info
Mike Marchywka wrote: > Send me a free copy then That's a good question. Is buying the standard from ISO the only way to obtain the PDF Reference? I've bought previous versions of the specs in book form and looking at the "broken back" of those books, I've used them many times (in combination w

Re: [iText-questions] PDF "philosophy" (was RE: modifed sample, question on PDF contents)

2009-03-10 Thread Mike Marchywka
> From: lrose...@adobe.com > To: itext-questions@lists.sourceforge.net > Date: Tue, 10 Mar 2009 06:23:50 -0700 > Subject: [iText-questions] PDF "philosophy" (was RE: modifed sample, question > on PDF contents) > > In Tagged PDF, these elements can be gro

Re: [iText-questions] PDF files within the Web browser

2009-03-10 Thread Leonard Rosenthol
While I don't believe it's your specific problem, you should know that Reader 7 is NOT SUPPORTED with IE 7. You need to update to at least Reader 8... Leonard -Original Message- From: bartleby [mailto:csand...@hotmail.com] Sent: Tuesday, March 10, 2009 8:21 AM To: itext-questions@lists

Re: [iText-questions] PDF files within the Web browser

2009-03-10 Thread Andreas Kuehne
Seen this before : It was an issue regarding the Mime type of the data returned from te server. This could be configured in a different way in your web servers. Good luck Andreas - Original Message From: 1T3XT info To: Post all your questions about iText here Sent: Tuesday, Marc

Re: [iText-questions] Please Help!!!....(decodePredictor and getStreamBytes)

2009-03-10 Thread 1T3XT info
Ethan Koh wrote: > Hi > > I have 2 questions here. > > 1) > I am trying to decompress a stream with filter=flatedecode and > decodeparms=[predictor 12 columns 4]. > I decoded the stream with FlateDecode(byte in[]) first. > Then the output is pass in to *decodePredictor*(byte in[], PdfObject > d

[iText-questions] PDF "philosophy" (was RE: modifed sample, question on PDF contents)

2009-03-10 Thread Leonard Rosenthol
BMP (which isn't an open standard, of course) is just a raster image - like JPEG, PNG, TIFF, etc. It doesn't have any concept of text or vector elements - let alone any other type of content... SVG is a much better analogy - especially since SVG is derived from PGML which was created by Adobe

Re: [iText-questions] variabel tekstgedeelte

2009-03-10 Thread 1T3XT info
Smets-Michiels wrote: > Hallo, Je hebt deze vraag naar ongeveer 1500 mensen verstuurd, waarvan het merendeel geen Nederlands begrijpt. (You've sent this question to approximately 1500 subscribers; most of them don't understand Dutch.) > Ik moet een pdf-maken met een hoofding, midden en voetnoo

[iText-questions] variabel tekstgedeelte

2009-03-10 Thread Smets-Michiels
Hallo, Ik moet een pdf-maken met een hoofding, midden en voetnoot. Het midden-gedeelte is van variable grootte maar de hoofding en de voetnoot moeten altijd op dezelfde positie staan. Hoe moet ik dit oplossen ? Alvast bedankt Noella---

Re: [iText-questions] PDF files within the Web browser

2009-03-10 Thread 1T3XT info
bartleby wrote: > Could it be because of Web server configuration? We don't know what's the > difference. If the client is EXACTLY the same, than it has to be the server configuration (but it's a very strange problem; I've never heard of something like that before). Instead of using MSIE, write

Re: [iText-questions] Question image in iText

2009-03-10 Thread 1T3XT info
Rafael E. Falcone wrote: > Hello > How to crop an image? Noticed that the "setImageMask" but found > difficult to define the region to be cut as the size of the area show. http://1t3xt.info/examples/browse/?page=example&id=182 Or have a look at this PDF: http://1t3xt.info/examples/results/in_acti

Re: [iText-questions] Some Help Please

2009-03-10 Thread 1T3XT info
Mohammed Ayesh wrote: > Hello, > > I have 3 Problems while using iText Library > 1.I want to print multipage table to one pdf file. That's not a problem. http://1t3xt.info/examples/browse/?page=example&id=105 http://1t3xt.info/examples/browse/?page=example&id=106 http://1t3xt.info/examples/

[iText-questions] Some Help Please

2009-03-10 Thread Mohammed Ayesh
Hello, I have 3 Problems while using iText Library 1.I want to print multipage table to one pdf file. 2.Print the table which contains Arabic letters. 3.export JPanel to PNG Image with 300dpi resolution. and thanks Please I want this help to much

[iText-questions] PDF files within the Web browser

2009-03-10 Thread bartleby
Hello, We have a problem with PDF generated using iText. We deploy our application in two similar webserver (Sun ONE 6.0 sp11) and try to view pdf from the same pc (we use Adobe Reader 7.0 and IE 7.0): - Web1: We view PDF files within the Web browser. - Web2: We not be able to view PDF files wi

[iText-questions] Question image in iText

2009-03-10 Thread Rafael E. Falcone
Hello How to crop an image? Noticed that the "setImageMask" but found difficult to define the region to be cut as the size of the area show. Thanks Rafael E. Falcone Setor Tecnológico Consistem Sistemas Ltda. www.consistem.com.br--

Re: [iText-questions] modifed sample, question on PDF contents

2009-03-10 Thread Mike Marchywka
As a newcomer to the list I'm not sure how apropos this is but until I hear otherwise I'll assume it is ok. This is probably more political than itext relevant. > From: lrose...@adobe.com > To: itext-questions@lists.sourceforge.net > Date: Tue, 10 Mar 200

Re: [iText-questions] Printing PDF-document with invisible signature - reated with i-text

2009-03-10 Thread Leonard Rosenthol
What version of Adobe Reader on what OS platform printing to what type of printer is causing the problem? Have you tried other versions of Reader? Other OS platforms? Other printers? Leonard -Original Message- From: hofin...@racon-linz.at [mailto:hofin...@racon-linz.at] Sent: Tuesd

Re: [iText-questions] modifed sample, question on PDF contents

2009-03-10 Thread Leonard Rosenthol
You need to consider the history of PDF... The original design was for "electronic paper" - something where you could create a "frozen instance" of your document that would look the same on any computer and print as it looked. As such, there was no need to incorporate semantic information abou

[iText-questions] Printing PDF-document with invisible signature - reated with i-text

2009-03-10 Thread hofinger
Dear specialists, using the i-text library (vs. 2.0.6) we create PDF-documents and sign them with an invisible signature. Everything works fine so far - only when printing 2 or 3 (or several) pages per sheet out of Acrobat Reader the first sheet breaks after the first page. Furhter sheets are

[iText-questions] Please Help!!!....(decodePredictor and getStreamBytes)

2009-03-10 Thread Ethan Koh
Hi I have 2 questions here. 1) I am trying to decompress a stream with filter=flatedecode and decodeparms=[predictor 12 columns 4]. I decoded the stream with FlateDecode(byte in[]) first. Then the output is pass in to *decodePredictor*(byte in[], PdfObject dicPar). I have checked that dicPar is

Re: [iText-questions] PDF with Timestamp + SunPkcs11 + applet

2009-03-10 Thread CharlesF
Massimiliano Ziccardi wrote: > > Hi Charles. > > Some time ago, I tried to use SunPKCS11 provider, but I had some problem, > so > I switched to IAIK PKCS#11 Wrapper, and I wrote my own provider (a small > one, just to be able to sign with SHA1 and RSA). > > With that, I had no problem at all.

Re: [iText-questions] modifed sample, question on PDF contents

2009-03-10 Thread Mike Marchywka
> Date: Tue, 10 Mar 2009 08:34:11 +0100 > From: i...@1t3xt.info > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] modifed sample, question on PDF contents > > Mike Marchywka wrote: >> Is there any information in the >> PDF that te

Re: [iText-questions] modifed sample, question on PDF contents

2009-03-10 Thread Leonard Rosenthol
First, if you are going to be doing text extraction with PDF - you REALLY need to read the relevant sections of the PDF Reference/ISO 32000-1 as it will explain everything you need to know. Now, as Bruno points out, at it's "core" the PDF page is just a series of drawing instructions (eg. movet

Re: [iText-questions] issue with header

2009-03-10 Thread 1T3XT info
Anjaneyulu Maddineni wrote: > Hi > I have an issue in printing header. I could print the header in all > pages, but the content I am printing is getting overlapped > > With header. Can anybody help me on how to adjust it so that the > text/table I am printing will be below the header ? Define

Re: [iText-questions] modifed sample, question on PDF contents

2009-03-10 Thread 1T3XT info
Mike Marchywka wrote: > Is there any information in the > PDF that tells me how this stuff is supposed to be organized > to extract the INFORMATION or is this just a bunch of hopelessly jumbled > text that can only be read by a human, not a computer? It's just a bunch of glyphs and lines drawn on