Re: [iText-questions] PDF Structure

2008-06-17 Thread Bruno Lowagie
Mark Storer wrote: > I see that PdfStructureTreeRoot and PdfStructureElement haven't been touched > in a while. True. Currently, if you want tagged PDF, it's mainly a manual process as is done here: http://www.1t3xt.info/examples/browse/?page=example&id=274 http://www.1t3xt.info/examples/browse/?

[iText-questions] PDF Structure

2008-06-17 Thread Mark Storer
I see that PdfStructureTreeRoot and PdfStructureElement haven't been touched in a while. What is missing from the current sou... Wait. Better question: What is present and works in the current source? I see some support for BDC/EMC & MCID in PdfContentByte, role mapping, and that's about it.

[iText-questions] Fw: Error sign pdf files with usb token pkcs11

2008-06-17 Thread Fábio Martins
Hi All. i'm trying to sign one pdf file with token safeNet IKEY 2032 but when i use SUN PK-CS11 i got the following error: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_MECHANISM_INVALID and when i use the iTEXT i can sign but when i open the pdf on acrobat reader i got the following error:

Re: [iText-questions] PdfReader.getMetadat()

2008-06-17 Thread Leonard Rosenthol
On Jun 17, 2008, at 9:30 AM, Jian hua huang wrote: I used PdfReader.getMedata() to get XMP out a PDF file and it works fine when a PDF file is not encrypted or has no restrictions (such as No Print). When a PDF file is encrypted or has restrictions on it, I get exception if I don’t have ow

[iText-questions] (no subject)

2008-06-17 Thread Carlos de Luna Saenz
Yahoo! Deportes Beta ¡No te pierdas lo último sobre el torneo clausura 2008! Entérate aquí http://deportes.yahoo.com- Check out th

Re: [iText-questions] Bookmarks in merged PDF document

2008-06-17 Thread 1T3XT info
Federico Alba wrote: > hem...Sorry...where's the c# source code? I searched here: > http://itext.svn.sourceforge.net/viewvc/itext/?sortby=log&pathrev=3500 > > > but I found only the java code This is the repository you

Re: [iText-questions] Also - merge fields in RTF?

2008-06-17 Thread Howard Shank
At this point I think it would take about 8-10 hours to implement that ability based on the current skeleton code for events I have in place. Now, where'd I put my pre-paid coupon for a 30 hour day? ;) I'll try to work it in soon. I currently have other paid projects to implement first. Howard

Re: [iText-questions] PDF to RTF

2008-06-17 Thread Howard Shank
Soon. :) Howard Shank - Original Message From: paramesh78 <[EMAIL PROTECTED]> To: itext-questions@lists.sourceforge.net Sent: Tuesday, June 17, 2008 12:15:48 PM Subject: Re: [iText-questions] PDF to RTF Thanks! Yes i was trying the convert functionality to get the iText document so tha

Re: [iText-questions] Acrofield and font type

2008-06-17 Thread 1T3XT info
Marco wrote: > One question: from an acrofield I can get PdfName.DA to know the Helv type. Please explain. You get an appearance stream containing the name /Helv. > When I want to create the basefont I must use the constant "Helvetica" and > not "Helv". In the resources of this stream you can f

Re: [iText-questions] Big problem in deteterming height when page breaks

2008-06-17 Thread Bruno Lowagie
FlyingBuzz wrote: > Well I think i should have drawn the drawing more complex. because it isnt as > simple as that.cant just extend the last row because thats the signature > part. need to extend a middle row that is in one of the blcoks Could you make some examples in Word or OpenOffice that I co

Re: [iText-questions] Also - merge fields in RTF?

2008-06-17 Thread Steve Jorgensen
Hey Howard, Obviously, I don't want to be too demanding for features in free software, but I also will need to either implement the RTF merge feature in my application very soon with the assistance of iText or choose a different approach. It would be helpful for me to to know if this functio

[iText-questions] PdfReader.getMetadat()

2008-06-17 Thread Jian hua huang
Hi, I used PdfReader.getMedata() to get XMP out a PDF file and it works fine when a PDF file is not encrypted or has no restrictions (such as No Print). When a PDF file is encrypted or has restrictions on it, I get exception if I don’t have owner password. According to PDF Spec 1.4, if y

Re: [iText-questions] PDF to RTF

2008-06-17 Thread paramesh78
Thanks! Yes i was trying the convert functionality to get the iText document so that i can use it in PdfWriter however the output is not proper meaning lots of extra chars and the content is repeting three times. Any timeframe when this will be avaliable. Thanks Param Howard Shank wrote: >

[iText-questions] alignment is missing while Converting HTML to PDF

2008-06-17 Thread Gafoor Mohammad
Hi Alexis, Please find the attached input (a.htm) and output (a.pdf) files. Thank you Gafoor -Original Message- From: Alexis Pigeon [mailto:[EMAIL PROTECTED] Sent: Monday, June 16, 2008 9:34 PM To: Post all your questions about iText here Subject: Re: [iText-questions] alignment is miss

[iText-questions] Acrofield and font type

2008-06-17 Thread Marco
Hi, I try to reply to my first post under but nothing... One question: from an acrofield I can get PdfName.DA to know the Helv type. When I want to create the basefont I must use the constant "Helvetica" and not "Helv". There's a way to transform "Helv" in "Helvetica"? so I can use it to trans

Re: [iText-questions] Under/Over content and acrofield

2008-06-17 Thread Marco
precyz skandia.pl> writes: > > > You can always change font color in acro field useing > > acroField.setFieldProperty(fieldName, "textcolor", java.awt.Color.YELLOW, > null); > > for example. only trasparent doesn't cover the text in under/over content. All other colors are a problem. I tr

Re: [iText-questions] Adding a JPG to a page causes errors

2008-06-17 Thread Leonard Rosenthol
On Jun 17, 2008, at 7:54 AM, Bruno Lowagie wrote: > It's better to keep pure 'graphics state' operations > separated from 'text state' operations. I should check > in the PDF Reference which graphics state operators > are allowed between a BT/ET sequence and which aren't; > but in any case: it's sa

Re: [iText-questions] Placing Image in specific PdfSpotColor

2008-06-17 Thread Leonard Rosenthol
On Jun 17, 2008, at 5:57 AM, Yvan Rodrigues wrote: > By app is adding a 1-bit TIFF image by constructing an Image object > and > adding it using PdfTemplate.AddImage. > OK. > I'd like the image to appear in a PdfSpotColor, but I'm not sure how > to do > so. I tried setting PdfTemplate

Re: [iText-questions] WG: Adding a JPG to a page causes errors

2008-06-17 Thread Robert Spielmann
Hi Bruno, > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Im > Auftrag von Bruno Lowagie > Gesendet: Dienstag, 17. Juni 2008 16:50 > An: Post all your questions about iText here > Betreff: Re: [iText-questions] WG: Adding a JPG to a page > causes errors

Re: [iText-questions] Adding a JPG to a page causes errors

2008-06-17 Thread Bruno Lowagie
Robert Spielmann wrote: > So, surrounding the image code with begin-/endText() is a bad idea? It's better to keep pure 'graphics state' operations separated from 'text state' operations. I should check in the PDF Reference which graphics state operators are allowed between a BT/ET sequence and whi

Re: [iText-questions] Big problem in deteterming height when page breaks

2008-06-17 Thread FlyingBuzz
Well I think i should have drawn the drawing more complex. because it isnt as simple as that.cant just extend the last row because thats the signature part. need to extend a middle row that is in one of the blcoks Bruno Lowagie (iText) wrote: > > FlyingBuzz wrote: >> Well, here is a drawing on

Re: [iText-questions] Under/Over content and acrofield

2008-06-17 Thread precyz
You can always change font color in acro field useing acroField.setFieldProperty(fieldName, "textcolor", java.awt.Color.YELLOW, null); for example. Marco-141 wrote: > > Hi, > > this is my first question. I have to put a text over acrofields. The > problem is that if the acrofield has a c

Re: [iText-questions] WG: Adding a JPG to a page causes errors

2008-06-17 Thread Bruno Lowagie
Robert Spielmann wrote: > Sorry, the PDF file has a size of about 1MB which sourceforge blocks. > > I uploaded the file: http://www.1lx.org/epo_alpha.pdf On your page 3 you add 6 images between a BT and an ET. BT /Xi1 10 Tf q 27.12 0 0 36 122.44 610 cm /Xi2 Do Q q 27.12 0 0 36 160.44 610 cm /Xi2

Re: [iText-questions] Bookmarks in merged PDF document

2008-06-17 Thread Federico Alba
hem...Sorry...where's the c# source code? I searched here: http://itext.svn.sourceforge.net/viewvc/itext/?sortby=log&pathrev=3500 but I found only the java code On Tue, Jun 17, 2008 at 16:11, Paulo Soares <[EMAIL PROTECTED]> wrote: > It's also fixed in C#. > > Paulo > > > -Original Messa

Re: [iText-questions] Adding a JPG to a page causes errors

2008-06-17 Thread Robert Spielmann
Hi Bruno, Solved - I simply removed the surrounding over.beginText(); and over.endText(); and the error is gone. I will have to put text on the page later, it's the next thing to implement. So, surrounding the image code with begin-/endText() is a bad idea? Mit freundlichen Grüßen / Best regar

Re: [iText-questions] Adding a JPG to a page causes errors

2008-06-17 Thread Bruno Lowagie
Robert Spielmann wrote: > Hi all, > > I'm adding a JPG to a page using the stamper like this: > > // Load the arrow > Image pfeil = Image.getInstance("templates/Pfeil_schwarz_oben.jpg"); > > // Scale the arrow (the template PDF has 300 dpi) > pfeil.scalePercent(((float)pfeil.getDpiX()/300)*100);

[iText-questions] WG: Adding a JPG to a page causes errors

2008-06-17 Thread Robert Spielmann
Sorry, the PDF file has a size of about 1MB which sourceforge blocks. I uploaded the file: http://www.1lx.org/epo_alpha.pdf > -Ursprüngliche Nachricht- > Von: Robert Spielmann > Gesendet: Dienstag, 17. Juni 2008 16:30 > An: 'Post all your questions about iText here' > Betreff: AW: [iText

Re: [iText-questions] creating layers using itext

2008-06-17 Thread Bruno Lowagie
Leonard Rosenthol wrote: >> Because if he's going to use rasterized text to create letters >> or forms that are to be used in a hospital, he's definitely on >> the wrong path. > > Yes, that I completely agree with! Thanks, it would be interesting to hear from the original poster where the i

Re: [iText-questions] Adding Pages To PDF From Records

2008-06-17 Thread Dan Schofield
I got it! SmartCopy did the trick. I Also had to do a few other steps as well to write to the page but that seemed to do the trick. Thank you so much for your help! Dan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bruno Lowagie Sent: Tuesday, June

Re: [iText-questions] Adding a JPG to a page causes errors

2008-06-17 Thread Alexis Pigeon
Hi Robert, On 17/06/2008, Robert Spielmann <[EMAIL PROTECTED]> wrote: > Hi all, > > I'm adding a JPG to a page using the stamper like this: [snip] > What should I do? Might I have made some kind of mistake adding the image > this way? Could you send the faulty file to the list? Cheers, alex

Re: [iText-questions] Adding a JPG to a page causes errors

2008-06-17 Thread Paulo Soares
What's the over.endText() doing there? Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Robert Spielmann > Sent: Tuesday, June 17, 2008 3:12 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Adding a JPG to a page

[iText-questions] Adding a JPG to a page causes errors

2008-06-17 Thread Robert Spielmann
Hi all, I'm adding a JPG to a page using the stamper like this: // Load the arrow Image pfeil = Image.getInstance("templates/Pfeil_schwarz_oben.jpg"); // Scale the arrow (the template PDF has 300 dpi) pfeil.scalePercent(((float)pfeil.getDpiX()/300)*100); pfeil.setAbsolutePosition(calculated coo

Re: [iText-questions] Bookmarks in merged PDF document

2008-06-17 Thread Paulo Soares
It's also fixed in C#. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Federico Alba > Sent: Tuesday, June 17, 2008 3:07 PM > To: Post all your questions about iText here > Subject: Re: [iText-questions] Bookmarks in merged PDF document >

Re: [iText-questions] Bookmarks in merged PDF document

2008-06-17 Thread Federico Alba
On Tue, Jun 17, 2008 at 15:41, Paulo Soares <[EMAIL PROTECTED]> wrote: > That's fixed in the SVN. > > Paulo > Ok thanks...I will try Paulo uploaded the changes to support page numbers instead of page > references yesterday night. I'm scheduling a release for the second > week of July. If you nee

[iText-questions] Get PDF Signature bytes

2008-06-17 Thread Dimiter Nikolov
I have signed PDF document. I have to get its signature bytes - not to verify the signature. How can I do that - I' ve tried the following : try{ PdfReader reader = new PdfReader(signedDocBytes); AcroFields af = reader.getAcroFields(); ArrayList names = af.getSi

Re: [iText-questions] Bookmarks in merged PDF document

2008-06-17 Thread Bruno Lowagie
Federico Alba wrote: > Oh...sorry...I thought it was native... In response to an earlier question: Paulo uploaded the changes to support page numbers instead of page references yesterday night. I'm scheduling a release for the second week of July. If you need the functionality earlier, you can bui

Re: [iText-questions] RtfWriter2.fitsPage()?

2008-06-17 Thread Howard Shank
RTF specification does not support this. All page sizes are determined at the time of rendering/printing the document, not at time of creation. Regards, Howard Shank - Original Message From: bisoa <[EMAIL PROTECTED]> To: itext-questions@lists.sourceforge.net Sent: Tuesday, June 17, 2008

Re: [iText-questions] RtfWriter2.fitsPage()?

2008-06-17 Thread Alexis Pigeon
Hi bisoa / robert On 17/06/2008, bisoa <[EMAIL PROTECTED]> wrote: > > Is there any way we can do the PdfWriter.fitsPage() for RTF > documents? It looks like only way we can do is to find out > numbers of rows a page can contain and count them! How a RTF file is displayed entirely depends on th

Re: [iText-questions] RtfWriter2.fitsPage()?

2008-06-17 Thread Bruno Lowagie
bisoa wrote: > Is there any way we can do the PdfWriter.fitsPage() for RTF > documents? It looks like only way we can do is to find out > numbers of rows a page can contain and count them! The problem with RTF (as opposed to PDF) is that RTF isn't a Page Description Language (PDL). With PDF you k

Re: [iText-questions] Bookmarks in merged PDF document

2008-06-17 Thread Paulo Soares
That's fixed in the SVN. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Federico Alba > Sent: Monday, June 16, 2008 4:06 PM > To: Post all your questions about iText here > Subject: Re: [iText-questions] Bookmarks in merged PDF document

[iText-questions] Placing Image in specific PdfSpotColor

2008-06-17 Thread Yvan Rodrigues
By app is adding a 1-bit TIFF image by constructing an Image object and adding it using PdfTemplate.AddImage. I'd like the image to appear in a PdfSpotColor, but I'm not sure how to do so. I tried setting PdfTemplate.SetColorFill but that doesn't work. Looking at section 4.8 of the PDF Reference

[iText-questions] RtfWriter2.fitsPage()?

2008-06-17 Thread bisoa
Is there any way we can do the PdfWriter.fitsPage() for RTF documents? It looks like only way we can do is to find out numbers of rows a page can contain and count them! regards. -- View this message in context: http://www.nabble.com/RtfWriter2.fitsPage%28%29--tp17889376p17889376.html Sent fr

Re: [iText-questions] creating layers using itext

2008-06-17 Thread Leonard Rosenthol
On Jun 17, 2008, at 6:28 AM, Bruno Lowagie wrote: >> What you really want is to create MASKS (or clipping paths) - where >> the >> white parts of the image are treated as if they aren't there. >> That's >> easy to do with a chroma-key mask in PDF. I don't know if iText >> supports it, howeve

Re: [iText-questions] creating layers using itext

2008-06-17 Thread Bruno Lowagie
Leonard Rosenthol wrote: > If the image are transparent - then they MUST change in order to show > through... Yes, my suggestion was to add the image as a java.awt.Image as described in section 5.2 of the book. > What you really want is to create MASKS (or clipping paths) - where the > white pa

Re: [iText-questions] Bookmarks in merged PDF document

2008-06-17 Thread Federico Alba
Oh...sorry...I thought it was nativeI found the feature already installed at work...but unfortunately I can't choose what the other people have to useIf it was for me...I would use Open Office...with native support for pdf and more powerful, too. Then...if you consider it's open source... T

Re: [iText-questions] Message displaying "something is being processed..."

2008-06-17 Thread Leonard Rosenthol
Your message about how you are transforming the data is a bit vague - but my initial thoughts are to use JavaScript in the document, which can display messages to the user. Leonard On Jun 17, 2008, at 4:19 AM, Sr. Miguel wrote: Hello, I was wondering if this is possible to achieve using A

Re: [iText-questions] creating layers using itext

2008-06-17 Thread Leonard Rosenthol
If the image are transparent - then they MUST change in order to show through... What you really want is to create MASKS (or clipping paths) - where the white parts of the image are treated as if they aren't there. That's easy to do with a chroma-key mask in PDF. I don't know if iText

[iText-questions] unsuscribe

2008-06-17 Thread Lilliana Pelaez
- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ i

Re: [iText-questions] Bookmarks in merged PDF document

2008-06-17 Thread Leonard Rosenthol
Word 2007 SP2 now includes the new Microsoft PDF creation add-on (it's not native). And you are correct, it is limited and does NOT create named destinations. If you need named destinations - try Acrobat ;). Leonard On Jun 16, 2008, at 11:37 PM, Federico Alba wrote: After Word 2007, it d

Re: [iText-questions] creating layers using itext

2008-06-17 Thread hari bhogu
hi lowagie ,        i have taken this example from internet only  . my requriement is  i want to develope a layered pdf application , where each layer is a image and i want tht images to be transperent .   ocg means optional content group , i have idea of it .      in order to make this

Re: [iText-questions] Big problem in deteterming height when pagebreaks

2008-06-17 Thread Bruno Lowagie
Paulo Soares wrote: >> Note that I might disappear from the mailing list for a while. >> As it turns out, the guy who called me a 'Stupid Ass' last >> weekend is the founder of a JUG who has now sent me a mail >> that I'm a 'menace to society'. If that's the reward for the >> work I do, then I'm n

Re: [iText-questions] creating layers using itext

2008-06-17 Thread Bruno Lowagie
hari bhogu wrote: > i want the three layers in frist page of my pdf and they should be > transperent Then why are you using opaque images??? Maybe section 5.2 of the book can solve your problem. Maybe there are some other ways too (depending on the type of images you are using), but my guess tha

Re: [iText-questions] PDF to RTF

2008-06-17 Thread Howard Shank
Hi Param, The import functionality of RTF Parser is primarily used to import one RTF into another new RTF. The convert functionality of RTF Parser is designed to convert an RTF to any format that iText has a writer for, i.e. PDF, however, it is not fully implemented at this time. Regards, How

[iText-questions] batch conversion in loop

2008-06-17 Thread jb
hello! i'd like to batch convert rtf files to pdf files. i have no problem with single conversions, but my program fails with a DocumentException "The document has been closed. You can't add any Elements" when i put the whole conversion in a loop iterating over files. please give me some hint! t

Re: [iText-questions] Share examples of pdfs created with iText!

2008-06-17 Thread bisoa
HERE IS ANOTHER iTEXT EXAMPLE THAT LOOKS NICE; http://www.roselladb.com/dashboardreport1.pdf iText Dashboard Example AS A MATTER OF FACT, YOU CAN USE ITEXT FOR YOUR COMPANY BUSINESS REPORT! -- View this message in context: http://www.nabble.com/Share-examples-of-pdfs-created-with-iText%21-tp

Re: [iText-questions] too many fonts problem after concat

2008-06-17 Thread Paulo Soares
See http://thread.gmane.org/gmane.comp.java.lib.itext.general/38740. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Orban Peter > Sent: Tuesday, June 17, 2008 11:34 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questio

Re: [iText-questions] Under/Over content and acrofield

2008-06-17 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Marco > Sent: Tuesday, June 17, 2008 12:36 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Under/Over content and acrofield > > Hi, > > this is my first question. I

[iText-questions] Under/Over content and acrofield

2008-06-17 Thread Marco
Hi, this is my first question. I have to put a text over acrofields. The problem is that if the acrofield has a color background the text doesn't go over/under the acrofield. There's a way to put the acrofield under the text? I use getOverContent and getOverContent methods. Where are stor

[iText-questions] Message displaying "something is being processed..."

2008-06-17 Thread Sr. Miguel
Hello, I was wondering if this is possible to achieve using Acrobat Reader with the help from iText. In some PDF files created with LivecycleDesigner (most will be dynamic forms) we have some mechanisms that transform by code some data/appearence of the PDF file while the user is working wi

Re: [iText-questions] how can I read a pdf file using iText.i have to extract data from table in a Pdf file

2008-06-17 Thread Alexis Pigeon
Hi Mitul, On 17/06/2008, Avijit, Mitul IN GGN SISL <[EMAIL PROTECTED]> wrote: > > My question is how can I read a pdf file using iText.i have to extract data > from table in a Pdf file. Please rephrase your question and make it more specific. What you ask here is almost unanswerable without more

[iText-questions] too many fonts problem after concat

2008-06-17 Thread Orban Peter
Hi All! I concat a thousands of pdf-s using the PdfSmartCopy.addPage(PdfImportedPage) method. I have 4 (embedded subset) fonts and 1 Helvetica font in every pdf file. When I concated them, the output file has 1960 pages and 9500 fonts. I removed many font with using the PdfDictionary.remove(Pd

[iText-questions] how can I read a pdf file using iText.i have to extract data from table in a Pdf file

2008-06-17 Thread Avijit, Mitul IN GGN SISL
My question is how can I read a pdf file using iText.i have to extract data from table in a Pdf file. Thanks and Regards, Mitul Avijit Important notice:This e-mail and any attachment thereto contains corporate proprietary information. If you have received it by mistake, please notify u

Re: [iText-questions] Big problem in deteterming height when pagebreaks

2008-06-17 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Bruno Lowagie > Sent: Tuesday, June 17, 2008 10:06 AM > To: Post all your questions about iText here > Subject: Re: [iText-questions] Big problem in deteterming > height when pagebreaks > > > N

Re: [iText-questions] creating layers using itext

2008-06-17 Thread hari bhogu
if setAbsolutePosition(0, 0) for each image . the layer overlapping is taking place . i have tried with this earlier .   i want the three layers in frist page of my pdf and they should be transperent   here i am again attaching my pdf for ur refernce --- On Mon, 16/6/08, Bruno Lowagie <[EMAIL

Re: [iText-questions] How is it possible to get the x, y position of a certain word found by the PRTokeniser?

2008-06-17 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Daniel_R > Sent: Tuesday, June 17, 2008 10:02 AM > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] How is it possible to get the > x, y position of a certain word found

Re: [iText-questions] blob from oracle to com.lowagie.text.Image

2008-06-17 Thread Bruno Lowagie
PhilipPeinsold wrote: > To everyone who wants to know how it works Thanks for the feedback! We'll use this post for further reference. br, Bruno - Check out the new SourceForge.net Marketplace. It's the best place to buy or s

Re: [iText-questions] How is it possible to get the x, y position of a certain word found by the PRTokeniser?

2008-06-17 Thread Bruno Lowagie
Daniel_R wrote: > How do the operators/operands change the CTM and how can i calculate it > (i googled for a while now... and i haven't found anything in the Book also) Go to page 314 and look at the title "Doing the math" in section 10.4.1 conveniently title "The CTM" (I hope we're talking ab

Re: [iText-questions] creating layers using itext

2008-06-17 Thread Bruno Lowagie
hari bhogu wrote: > hi > > i am trying to create layers in pdf by using itext , And as you are using PdfLayer, we're talking about OCG, can you confirm this? > i want this three layer to be in my > first page of my pdf docuement . You want the images to be on top of each other? Than you need

Re: [iText-questions] How is it possible to get the x, y position of a certain word found by the PRTokeniser?

2008-06-17 Thread Daniel_R
Bruno Lowagie (iText) wrote: > > Daniel_R wrote: > >> I used the PRTokeniser object to locate the String that I'm looking for, >> my >> question is how can I get the x,y position of the word inside the pdf for >> inserting the image later on... > > While using PRTokeniser you encounter operat

Re: [iText-questions] blob from oracle to com.lowagie.text.Image

2008-06-17 Thread PhilipPeinsold
To everyone who wants to know how it works: String sqlText = "SELECT BLOB FROM TABLE FOR UPDATE"; ResultSet rset = stmt.executeQuery(sqlText); while(rset.next()) { BLOB image = ((OracleResultSet) rset).getBLOB("T

[iText-questions] creating layers using itext

2008-06-17 Thread hari bhogu
hi i am trying to create layers in pdf by using itext ,but my case is each layer is image of size(497*485). i want this three layer to be in my first page of my pdf docuement . But they are spearding across three pages in pdf docuement .  here i am attcahing my pdf docuement also . is there any

Re: [iText-questions] Big problem in deteterming height when page breaks

2008-06-17 Thread Bruno Lowagie
FlyingBuzz wrote: > Well, here is a drawing on what I am trying to do. > > Hope this makes it clear. > > http://www.nabble.com/file/p17867501/Untitled.gif I've made some PDFs with nested tables here: http://1t3xt.info/examples/browse/?page=example&id=387 The tables are ugly, but I hope they giv

Re: [iText-questions] Adding Pages To PDF From Records

2008-06-17 Thread Bruno Lowagie
Dan Schofield wrote: > Is there a step that I am missing? PdfCopyFields isn't the best suited class in this context. You are flattening the forms you are adding to the new document. In that case, you'd better use PdfSmartCopy as demonstrated here: http://1t3xt.info/examples/browse/?page=example&id

Re: [iText-questions] overlapping of layers

2008-06-17 Thread Bruno Lowagie
answers solutions wrote: > hi > > u have mentioned by page size is > 595 pt wide. is it a standard one . As described in the book, the default page size is A4 (which is the standard in Europe and Asia). > is there anyway to extended by page > size. In chapter 2 of the book, you'll learn how