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

2008-06-16 Thread Federico Alba
After Word 2007, it does have native PDF creation (in the Save As dialog)...it's not very flexible and powerful (The Open Office equivalent is much better)...but it's present anyway... On Mon, Jun 16, 2008 at 20:22, Leonard Rosenthol <[EMAIL PROTECTED]> wrote: > On Jun 16, 2008, at 4:00 AM, Feder

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

2008-06-16 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 missi

Re: [iText-questions] overlapping of layers

2008-06-16 Thread answers solutions
hi u have mentioned by page size is 595 pt wide. is it a standard one . is there anyway to extended by page size. On 6/16/08, Bruno Lowagie <[EMAIL PROTECTED]> wrote: > > answers solutions wrote: > > wht u have conculded is correct i am able to see only 29% of my image . > > That's exactly how

[iText-questions] Adding Pages To PDF From Records

2008-06-16 Thread Dan Schofield
I'm having an issue when trying to add new pages from a record set with an existing PDF serving as the template and the record set serving as the values to be filled in. I am using this in a .NET 2.0 web application and am trying to output to a stream so that the user can decide whether to Open

[iText-questions] PDF to RTF

2008-06-16 Thread paramesh78
Hi I am using RTFParser.importRtfDocument to convert RTF document to iText document then use that in PDF writer. However the output PDF is having some unwanted chars and also the content is writing three times. Is RTFParser is upto date? or still in Beta. Thanks Param -- View this message in

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

2008-06-16 Thread Leonard Rosenthol
On Jun 16, 2008, at 4:00 AM, Federico Alba wrote: > OkLet me explain better my problem thenMy problem is > basically this: Word 2007 is not able to create named destinations > but only pdf bookmarks when creating pdf That's not an entirely true statement.What program ar

Re: [iText-questions] Radio Button With Label in PDF

2008-06-16 Thread Paulo Soares
What's a label in your context? Paulo - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Monday, June 16, 2008 4:35 PM Subject: [iText-questions] Radio Button With Label in PDF Hi I am trying to generate an interactive pdf document which shall allow the user to provide inform

Re: [iText-questions] Differenct Image sizes

2008-06-16 Thread Paulo Soares
Image.scalePercent(). Paulo - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Monday, June 16, 2008 5:29 PM Subject: [iText-questions] Differenct Image sizes > Hello , > I am trying to create a PDF with images in it. They may have different > sizes. Currrently if I add a image

[iText-questions] Differenct Image sizes

2008-06-16 Thread zbhiwandiwala
Hello , I am trying to create a PDF with images in it. They may have different sizes. Currrently if I add a image to a PDF the image size is always cut off. The image has been scanned ain at 200 or 300 dpi. But only a part of the image is displayed in the pdf. Please help!!! -

[iText-questions] Radio Button With Label in PDF

2008-06-16 Thread sahil.dhawan
Hi I am trying to generate an interactive pdf document which shall allow the user to provide information using set of radio and checkboxes. I am unable to stick a label with the radio button. The API that I have used PdfAppearance[] radiobuttonStates = new PdfAppearance[2];

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

2008-06-16 Thread FlyingBuzz
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 > also look at the sample pdfs I posted in the share examples of pdfs for idea how the red table of item summery is where it could

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

2008-06-16 Thread FlyingBuzz
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 -- View this message in context: http://www.nabble.com/Big-problem-in-deteterming-height-when-page-breaks-tp17833515p17867501.html Sent from the iText - General maili

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

2008-06-16 Thread Alexis Pigeon
Hi Mohammad, On 16/06/2008, Gafoor Mohammad <[EMAIL PROTECTED]> wrote: > > Hi all, > > With the following code, I am able to convert the html to pdf. But the > thing is that the alignment of the content of resulting pdf is different > from the html file. [snip] > Please help me in fixing this i

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

2008-06-16 Thread Gafoor Mohammad
Hi all, With the following code, I am able to convert the html to pdf. But the thing is that the alignment of the content of resulting pdf is different from the html file. Document document = new Document(new Rectangle(612f, 792f)); TextReader tr = new StreamReader(@"C:\Test\ActualHTML.htm");

Re: [iText-questions] convert pdf

2008-06-16 Thread AJ Weber
IF the PDF has a text layer (is not purely a PDF/Image), a lot of folks try PDFBox to extract the text. If it's an image, you've got to OCR it first...and that typically takes $$$ products/libraries. Good Luck! -AJ - Original Message - From: Paulo Soares To: Post all your quest

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

2008-06-16 Thread Federico Alba
you mean you're already fixing the problem? I know it's also your interest...but thank you!! I'm looking forward to the solution... On Mon, Jun 16, 2008 at 16:42, Paulo Soares <[EMAIL PROTECTED]> wrote: > Tomorrow this should be fixed. > > Paulo > > > -Original Message- > > From: [EMAIL P

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

2008-06-16 Thread Bruno Lowagie
Daniel_R wrote: > Hi, > > I need to locate a certain word inside the pdf and insert some picture near > that word... That's really not trivial and I wouldn't use iText to do that. There are OCR solutions that can do this, but they aren't free. > I used the PRTokeniser object to locate the String

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

2008-06-16 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Daniel_R > Sent: Monday, June 16, 2008 12:27 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] How is it possible to get the x, y > position of a certain word found by t

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

2008-06-16 Thread Paulo Soares
Tomorrow this should be fixed. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Federico Alba > Sent: Monday, June 16, 2008 1:59 PM > To: Post all your questions about iText here > Subject: Re: [iText-questions] Bookmarks in merged PDF doc

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

2008-06-16 Thread Daniel_R
Hi, I need to locate a certain word inside the pdf and insert some picture near that word... 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... Thanx ahead Dan

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

2008-06-16 Thread PhilipPeinsold
Thanks, that's absolutly what I needed! Alexis Pigeon wrote: > > Hi Philip, > > On 16/06/2008, PhilipPeinsold <[EMAIL PROTECTED]> wrote: >> >> Hi @ all! >> Need your help! >> I'm trying to get a blob (the blob is an image) from a oracle datatbase, >> and >> want to put it out in a pdf-fil

Re: [iText-questions] Adding PdfPTable to PdfTemplate

2008-06-16 Thread Bruno Lowagie
Serdiouk, Alexei wrote: > Hi, > > I am trying to add a PdfPTable to a PdfTemplate in order to rotate the > table 90 grad, as was suggested in answer from 30.06.2002. That's 5 years ago... > Could you please take a look where I am making an error? You add the table at coordinate 0,0 which is th

Re: [iText-questions] overlapping of layers

2008-06-16 Thread Bruno Lowagie
answers solutions wrote: > wht u have conculded is correct i am able to see only 29% of my image . That's exactly how you programmed it, so there is no problem with iText. > i am new iitext . i dont know all these calculations . > can u explani me > in deatil . As already indicated by William

[iText-questions] Adding PdfPTable to PdfTemplate

2008-06-16 Thread Serdiouk, Alexei
Hi, I am trying to add a PdfPTable to a PdfTemplate in order to rotate the table 90 grad, as was suggested in answer from 30.06.2002. The test below attempts to create a template 300x300 pt, insert into the template a table with the absolute width 300 pt and put the template on some absolute posit

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

2008-06-16 Thread Federico Alba
Thanks for getting interest in this problem... I'm not sure I get what you meanare you talking about the named destinations or bookmarks? Have you looked my input and output pdf? Did you understand the way those bookmarks are made? By the way...I guess there is no solution for now, right? On M

Re: [iText-questions] overlapping of layers

2008-06-16 Thread answers solutions
wht u have conculded is correct i am able to see only 29% of my image . i am new iitext . i dont know all these calculations . can u explani me in deatil . can u let me know the solutions how to view my second layer fully . On 6/16/08, Bruno Lowagie <[EMAIL PROTECTED]> wrote: > > answers solut

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

2008-06-16 Thread Howard Shank
I do believe reading from Oracle is a bit off topic here. If you don't know how to read data from a database, try Oracle support. This is mailing list is about iText. Open your database connection. Query your database. Obtain the result. Convert the result to a byte array. Create an iText image

Re: [iText-questions] does iText Supports Money Management

2008-06-16 Thread Bruno Lowagie
[EMAIL PROTECTED] wrote: > > Hi All, > I would like to know, whether iText supports money management or > not Define "money management". Are you telling us you want to display currencies, but you are unaware that this is provided in Java? NumberFormat n = NumberFormat.getCurrencyInstanc

Re: [iText-questions] overlapping of layers

2008-06-16 Thread Bruno Lowagie
answers solutions wrote: > can u let me know why this is going wrong What kind of math are you using? Your page is 595 pt wide; your image is 454 pt wide; you are adding the image at x = 460. 454 + 460 = 914. 914 - 595 = 319 454 - 319 = 135 135 / 454 = 29.7% In other words: only 29.7% of your

[iText-questions] does iText Supports Money Management

2008-06-16 Thread suresh . sugguna
Hi All, I would like to know, whether iText supports money management or not, if supports where can i find more info about that, Please let me know, it is bit urgent for me Thanks and Regards Suresh babu S This e-Mail may contain proprietary and confidential information and is sent f

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

2008-06-16 Thread Paulo Soares
This is one of those things where the PDF reference says one thing and Acrobat does another. The PDF reference says that the destinations define the page by an indirect reference but apparently Acrobat also accepts an int with the page number and already did that in Acrobat 4 at least. I'll "fix" i

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

2008-06-16 Thread Ronan Crowley
Hi Philip, Here's some sample code to help you. (You don't need to manually convert the image into a com.lowagie.text.Image Object). String sql = "SELECT IMAGE FROM MY_TABLE"; Oracle Conection oracOn = getOracleConnection(); PreparedStatement ps = oracOn.preparStatement( sql ); OracleResult

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

2008-06-16 Thread Alexis Pigeon
Hi Philip, On 16/06/2008, PhilipPeinsold <[EMAIL PROTECTED]> wrote: > > Hi @ all! > Need your help! > I'm trying to get a blob (the blob is an image) from a oracle datatbase, and > want to put it out in a pdf-file as an image. > > I don't know how to get the image out of the database and then

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

2008-06-16 Thread PhilipPeinsold
Hi @ all! Need your help! I'm trying to get a blob (the blob is an image) from a oracle datatbase, and want to put it out in a pdf-file as an image. I don't know how to get the image out of the database and then convert it into com.lowagie.text.Image. May here is someone who tried that already or

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

2008-06-16 Thread Paulo Soares
Post the before and after PDF. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Federico Alba > Sent: Monday, June 16, 2008 11:39 AM > To: Post all your questions about iText here > Subject: Re: [iText-questions] Bookmarks in merged PDF do

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

2008-06-16 Thread Federico Alba
I don't know actually...I didn't even know there was more than a way to create bookmark...it's a pdf generated with ms word 2007...is it possible to transform the bookmarks destinations in named destinations? On Mon, Jun 16, 2008 at 12:35, Paulo Soares <[EMAIL PROTECTED]> wrote: > If the actions

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

2008-06-16 Thread Paulo Soares
If the actions you have in the bookmark are Javascript it wont work. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of fredericks > Sent: Monday, June 16, 2008 11:30 AM > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-quest

Re: [iText-questions] how to create layers by using itext libraries

2008-06-16 Thread answers solutions
hi graves i dont have the book with me . can u mail me tht lines of code . i am in this way but i an getting a error * com.lowagie.text.DocumentException*: The *image* must have absolute positioning. public static void main(String[] args) { System.out.println("Ordering optional content groups

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

2008-06-16 Thread fredericks
First of all thanks for the quick reply ok...below there is what I didbut the result is the sameI see the bookmark tree in the output pdf...but when I click it doesn't work ... for (int i=1; i <= reader.NumberOfPages ;i++) {

Re: [iText-questions] how to add images to layers by using itext

2008-06-16 Thread Bruno Lowagie
answers solutions wrote: > hi can u tell me how to add images to layers in pdf Assuming that with layers you are talking about OCG, then you also find the example in the book, more specifically on page 384-385. br, Bruno - Ch

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

2008-06-16 Thread Paulo Soares
You must add the outlines just before close after adding all the pages. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of fredericks > Sent: Monday, June 16, 2008 11:10 AM > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-qu

Re: [iText-questions] Problem of data overlapping when changing form Landscape to Portrait

2008-06-16 Thread Paulo Soares
Post a small standalone program so that we can reproduce the problem. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of jayu15 > Sent: Sunday, June 15, 2008 6:46 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Pr

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

2008-06-16 Thread fredericks
All right :)... I should have included the code from the beginning...sorry I just cut the javascript part just to shorten the post because I thought it was not relevant to my problemtell me if you want me to put it too. ArrayList OutputOutlines = new ArrayList();

Re: [iText-questions] convert pdf

2008-06-16 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Marc Collin > Sent: Sunday, June 15, 2008 9:24 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] convert pdf > > hi > > is there a way to take a pdf and convert it in t

Re: [iText-questions] Pdf is rotating by 90 degree.

2008-06-16 Thread Paulo Soares
You must look at the page rotation and rotate the PDF accordingly. You may also use PdfCopy and let iText do the calculation for you. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of pawanspace > Sent: Monday, June 16, 2008 7:44 AM > To: i

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

2008-06-16 Thread Paulo Soares
Do you want us to guess what you did wrong? Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of fredericks > Sent: Monday, June 16, 2008 10:07 AM > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] Bookmarks in merged

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

2008-06-16 Thread fredericks
Hello...I'm trying to use iTextSharp to add javascript to a pdf. My idea was to use PdfCopy to copy the original to a new one copying page by page. It worked fine until I noticed I forgot the bookmarks. So now I'm using mostly your code to create the pdf and add then bookmarks and javascript. By t

[iText-questions] Pdf is rotating by 90 degree.

2008-06-16 Thread pawanspace
Hi All, I am pasting some data into a pdf file, But After pasting this when I opened my pdf file, It was rotated by 90 degree in clockwise direction. Can any one help me how to stop this. Here is my code which I am using to paste data into my pdf: import java.io.File; import java.io.FileInputS

[iText-questions] Andrew S Moy/CHI/NTRS is out of the office.

2008-06-16 Thread Andrew S Moy
I will be out of the office starting June 16, 2008 and will not return until June 19, 2008. Hello, Please contact Carl Groebe (312) 557-5454 if you need any assistance during this time, thanks. - Check out the new SourceFo

[iText-questions] how to add images to layers by using itext

2008-06-16 Thread answers solutions
hi can u tell me how to add images to layers in pdf - 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

Re: [iText-questions] how to create layers by using itext libraries

2008-06-16 Thread wasegraves
-- Original message -- From: "answers solutions" <[EMAIL PROTECTED]> > > hi > > can u help me out in creation on layers by using itext libraries 1. Do you have the book? If so, see Chapter 12. 2. If not, buy the book and then, see Chapter 12. 3. If neither 1 nor 2