Re: [iText-questions] Project feasibility with iText?

2010-02-21 Thread Fred Janon
> Where is the book? > Here: http://itextpdf.com/book/ Sorry, I mistyped, I meant "Where IN the book?". I already own the book. > stamper.getWriter().getOverContent(1).createTemplate(...); Wouldn't that assume that the PdfTemplate content needs to show on page 1? I'll check the examples and try

Re: [iText-questions] Project feasibility with iText?

2010-02-21 Thread Fred Janon
> The first one because there's a perfectly good, working example online > that you should try before saying "it doesn't work". I never said the example did not work, did I? The example online replaces a button with a pict, which is not what I want to do. I am using part of the example to replace f

Re: [iText-questions] Project feasibility with iText?

2010-02-21 Thread 1T3XT info
Fred Janon wrote: > > You need to learn more about the concepts first. > What concepts? These concepts: http://www.flickr.com/photos/itextinaction/4330324134/in/set-72157623225579095/ > Where is the book? Here: http://itextpdf.com/book/ For instance this example: http://itextpdf.com/examples/i

Re: [iText-questions] Project feasibility with iText?

2010-02-21 Thread 1T3XT info
Fred Janon wrote: > Not sure how you are related to iText or Bruno either. Is the next > answer from you as well? Different persons have access to the 1T3XT @ 1t3xt.info address, but yesterday, both answers came from Bruno. The first one because there's a perfectly good, working example online

Re: [iText-questions] After rotation, images are getting displced in iText PDF

2010-02-21 Thread rhul_rk
Yes, you are right, there are lots of calculation and algebra in this. But each and every object plots in the PDF are exist in an imaginary (hidden) rectangle. When we plot an image (without rotation) it is plotting at the correct location. but when we rotate an object, it gets displaced in PDF. B

Re: [iText-questions] Project feasibility with iText?

2010-02-21 Thread Fred Janon
> You don't understand the concept. OK, which concept? > That is never going to work. It kinda does. Bit if it's not the proper way of doing it where should I look then? > You need to learn more about the concepts first. What concepts? Where is the book? Thanks Fred On Sun, Feb 21, 2010 at 21:

[iText-questions] After rotation, images are getting displced in iTextSharp PDF

2010-02-21 Thread Khadikar, Rahul
Hi Everyone!!! We are using the iTextSharp in our application to creating the PDF file. We are working on a website, user interface is developed in Flex and we are using the DotNet Webservices (C#.Net) to interact with Flex application. In our application, user can create an online PhotoBook. A

Re: [iText-questions] Project feasibility with iText?

2010-02-21 Thread Fred Janon
No, I am not asking to debug my code, I am asking for a confirmation that I am going in the right direction. If not, I'll be happy to write some other code and debug it. That code works, but the button is still there, on top of the text written in the other PDF document, so I didn't think it would

Re: [iText-questions] After rotation, images are getting displced in iText PDF

2010-02-21 Thread 1T3XT info
rhul_rk wrote: > One more thing here > we would like to mention that, in flex application items are rotating from > center point and in the iTextSharp PDF items are rotating from Lower Bottom > corner. Is their any sort of mechanism in iTeshSharp to rotate the image > from center point with mention

[iText-questions] After rotation, images are getting displced in iText PDF

2010-02-21 Thread rhul_rk
Hi Everyone!!! We are using the iTextSharp in our application to creating the PDF file. We are working on a website, user interface is developed in Flex and we are using the DotNet Webservices (C#.Net) to interact with Flex application. In our application, user can create an online PhotoBook. Aft

[iText-questions] PDF size after oPdfStamper.FreeTextFlattening, FormFlattening needs to go on a diet ??

2010-02-21 Thread tim clark
Hi All I have been using the itext lib in a app for a year or so typically to merge db content in to pdf form field documents created with adobe acrobat. Recently we have been merging to some rather large data and the size of the pdf document has now become an issue Today I looked at some simple

Re: [iText-questions] Question about itext with dynamic xfa forms

2010-02-21 Thread Leonard Rosenthol
You don't mention HOW you filled the PDF form. Did you use the existing form filling methods in iText? Did you write your own that are XFA-aware? Other? -Original Message- From: Machuska, Iryna [mailto:iryna.machu...@c1-fincon.de] Sent: Sunday, February 21, 2010 11:29 AM To: itext-ques

Re: [iText-questions] How to set an image to the foreground?

2010-02-21 Thread privat
Thanks for your help. I was look in a wrong way about layer and that stuff. br Markus - Original Message - From: "1T3XT info" To: "Post all your questions about iText here" Sent: Sunday, February 21, 2010 5:41 PM Subject: Re: [iText-questions] How to set an image to the foreground? >

[iText-questions] Question about itext with dynamic xfa forms

2010-02-21 Thread Machuska, Iryna
Hello itext users. since around 2 years I work with itext and find it very helpful. But now I have come across a problem regarding regarding dynamic xfa forms and hope that someone can help me. I filled a pdf form based on a dynamic xfa form (with extended rights for Reader user) using iText. W

Re: [iText-questions] How to set an image to the foreground?

2010-02-21 Thread 1T3XT info
pri...@samea.de wrote: > Hello, > > I tried to set an image to the foreground, but always it will be topped > by the table. > Maybe somebody have had the same issue or an idea how to fix that. Explained in the 1st edition: http://1t3xt.info/examples/browse/?page=example&id=171 As well as in the

Re: [iText-questions] Table with wrapping header

2010-02-21 Thread 1T3XT info
adavis wrote: > Let me rephrase the question, I add some number of columns to a table and > then add the table to a page. We're talking about the 'concept' of a table. Not about a table in a database, not about a table on a page in a book, not about a table in HTML. > Currently, if the columns do

Re: [iText-questions] Table with wrapping header

2010-02-21 Thread adavis
Let me rephrase the question, I add some number of columns to a table and then add the table to a page. Currently, if the columns don't fit on the page the run off the ends. Instead, I would like it to put the "run off" on the next line. Let me provide a more clear example, say have a table with t

[iText-questions] How to set an image to the foreground?

2010-02-21 Thread privat
Hello, I tried to set an image to the foreground, but always it will be topped by the table. Maybe somebody have had the same issue or an idea how to fix that. Thanks best regards Markus the code package com.lowagie.examples.objects.t

Re: [iText-questions] Table with wrapping header

2010-02-21 Thread 1T3XT info
adavis wrote: > I am dynamically generating a PDF table with some unknown number of columns. That's impossible. How can you create a table if you don't know the number of columns? Please explain! You say you're already doing this "I am dynamically generating..." Does this even compile? > I have

[iText-questions] Table with wrapping header

2010-02-21 Thread adavis
I am dynamically generating a PDF table with some unknown number of columns. I have seen many posts describing how to break the table up between multiple pages, however, this solution will not work for me. I need the columns to wrap to the next line. For example, (h# are the header and c# is the

Re: [iText-questions] Project feasibility with iText?

2010-02-21 Thread 1T3XT info
Fred Janon wrote: > Thanks, I'll check the PdfImportedPage. I'll buy the second edition of > the book too. > > I wrote some code to try to replace a button filed with some PDF content > and the button is not replaced. Both the PDF content and the button > still appear on the final pdf document.

Re: [iText-questions] Project feasibility with iText?

2010-02-21 Thread Bruno Lowagie
Fred Janon wrote: > Thanks, I'll check the PdfImportedPage. I'll buy the second edition of > the book too. > > I wrote some code to try to replace a button filed with some PDF content > and the button is not replaced. Both the PDF content and the button > still appear on the final pdf document.

Re: [iText-questions] Project feasibility with iText?

2010-02-21 Thread Fred Janon
Thanks, I'll check the PdfImportedPage. I'll buy the second edition of the book too. I wrote some code to try to replace a button filed with some PDF content and the button is not replaced. Both the PDF content and the button still appear on the final pdf document. Any idea why? I thought the butt

Re: [iText-questions] How to insert a buffered image

2010-02-21 Thread 1T3XT info
Franco Graziosi wrote: > I am tryin to insert a BufferedImage into a page with no success, I have > also read section 2.3.3 > of MEAP book with no sucess. By the way this session is a little > confusing (why the example of > rectangle?) It's an intro, for more about Images, you need chapter 10.

Re: [iText-questions] Project feasibility with iText?

2010-02-21 Thread 1T3XT info
Fred Janon wrote: > PdfTemplate wagonwheelcharttemplate = new PdfTemplate(); *// no such > constructor, where do I get the PdfTemplate from?* Based on your description I think you need a PdfImportedPage. (This class extends PdfTemplate.) There's an example in the second edition of iText in Ac