Re: [iText-questions] MultiColumnText and overflow

2011-08-18 Thread 1T3XT BVBA
On 18/08/2011 20:27, Leo wrote: > What do you think about it? I wasn't aware MultiColumnText was still shipped with iText. The class wasn't mentioned in the Second Edition of the book, and it's eligible for removal. I'll put your suggestion on the development whiteboard, but I think the lines you'v

[iText-questions] MultiColumnText and overflow

2011-08-18 Thread Leo
Hi everybody, I need to specify the height of a MultiColumnText, doing this with the specific constructor, when the text to write exceeds page margin, it goes lost! Why?!? I'd suggest to change MultiColumnText behavior simply disabling some lines. I'm sending the MultiColumnText class changed a

Re: [iText-questions] MultiColumnText and TOC

2010-11-02 Thread 1T3XT info
On 2/11/2010 10:29, Tom wrote: > >>> This probably means I have to do multicolumn manually... >> That is the better option. > > Ok, so I've switched to ColumnText, but Chapters still aren't allowed. No, if you need the bookmarks, you need to use PdfOutline. -- This answer is provided by 1T3XT BVB

Re: [iText-questions] MultiColumnText and TOC

2010-11-02 Thread Tom
>> This probably means I have to do multicolumn manually... > That is the better option. Ok, so I've switched to ColumnText, but Chapters still aren't allowed. I'm going to attempt Chunk with anchors, but kind of amazes me that I cannot use chapters in columns. I'd assume that layout would have

Re: [iText-questions] MultiColumnText and TOC

2010-10-30 Thread 1T3XT info
On 30/10/2010 12:57, Tom wrote: > The MultiColumnText object does not support chapters nor anchors. I think Chunk.setAnchor is supported. So are generic tag events. > This probably means I have to do multicolumn manually... That is the better option. Although MultiColumnText isn't marked as depr

[iText-questions] MultiColumnText and TOC

2010-10-30 Thread Tom
I'm hacking along nicely in my attempt to get a paper-style layout. Such a multi column layout still has articles (titles and bodies) and it is not illogical to want to build a TOC for these articles. No need to number them, but on which article can be found on what page would be nice. The Mu

Re: [iText-questions] MultiColumnText alignment problems

2010-07-13 Thread 1T3XT info
aloksurati wrote: > Hi > Can you please submit your code. > > So that I can I have look into it. You are responding to a mail correspondence dating from 2007. Are you sure this isn't a mistake? What is your question? --

Re: [iText-questions] MultiColumnText alignment problems

2010-07-13 Thread aloksurati
Hi Can you please submit your code. So that I can I have look into it. Alok -- View this message in context: http://itext-general.2136553.n4.nabble.com/MultiColumnText-alignment-problems-tp2154397p2287188.html Sent from the iText - General mailing list archive at Nabble.com.

Re: [iText-questions] MultiColumnText height

2010-03-05 Thread 1T3XT info
Ovidiu Lazar wrote: > The reason I got 790 was because my example was setting the YLine to be > that much. I remove that statement and I got the following output for > the folowing code: > > code: > > /status = ct.Go(); > Console.WriteLine(ct.YLine);/ > > output: > > 62 > 62 > 174 > Press any

Re: [iText-questions] MultiColumnText height

2010-03-05 Thread Ovidiu Lazar
Hi, Appologies for the confusion. I am using a similar example to the one from your link. Also, I'm using itextsharp and a C# console application. The reason I got 790 was because my example was setting the YLine to be that much. I remove that statement and I got the following output for the fo

Re: [iText-questions] MultiColumnText height

2010-03-05 Thread 1T3XT info
Ovidiu Lazar wrote: > Right, but that just returns 790, which is how much is set by default. > But suppose the whole column is not filled, can I find out how much of > it is occupied by text? I don't understand your question. If I run this example: http://1t3xt.info/examples/browse/?page=example

Re: [iText-questions] MultiColumnText height

2010-03-05 Thread Ovidiu Lazar
Right, but that just returns 790, which is how much is set by default. But suppose the whole column is not filled, can I find out how much of it is occupied by text? Best regards, Ovidiu Lazar Evozon Systems 1T3XT info wrote: Ovidiu Lazar wrote: Is there a way to know how much

Re: [iText-questions] MultiColumnText height

2010-03-05 Thread 1T3XT info
Ovidiu Lazar wrote: > Is there a way to know how much space the multicolumns have occupied on > the page? ct.getYLine(); -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info -- Download

Re: [iText-questions] MultiColumnText height

2010-03-05 Thread Ovidiu Lazar
Indeed, it's a good question. I worked on an example and I managed to reproduce the same functionality. But I still can't get it to return the height of the last page so i know where to continue adding text.. Here's my code:     int status = 0;     int column = 0;  

Re: [iText-questions] MultiColumnText height

2010-03-05 Thread 1T3XT info
Ovidiu Lazar wrote: > has anyone tried adding elements after some multicolumn text? A better question would be: is anyone still using MultiColumnText? Maybe everybody uses ColumnText instead. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info -

Re: [iText-questions] MultiColumnText height

2010-03-05 Thread Ovidiu Lazar
I have looked over it but I couldn't find anything related to what I'm looking for... has anyone tried adding elements after some multicolumn text? Best regards, Ovidiu Lazar Evozon Systems 1T3XT info wrote: Ovidiu Lazar wrote: Anyone? Why do you use MultiColumnText

Re: [iText-questions] MultiColumnText height

2010-03-05 Thread 1T3XT info
Ovidiu Lazar wrote: > Anyone? Why do you use MultiColumnText if you can as well use ColumnText and get more functionality? -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info -- Downlo

Re: [iText-questions] MultiColumnText height

2010-03-04 Thread Ovidiu Lazar
Anyone? Best regards, Ovidiu Lazar Evozon Systems Ovidiu Lazar wrote: Hi everyone, This is my first subscribtion to a mailing list, I'm trying to figure out how it works, so I'm posting my question as suggested in my welcome email :) The question is: I have a MultiColumnText which spans

[iText-questions] MultiColumnText height

2010-03-03 Thread Ovidiu Lazar
Hi everyone, This is my first subscribtion to a mailing list, I'm trying to figure out how it works, so I'm posting my question as suggested in my welcome email :) The question is: I have a MultiColumnText which spans several pages. Typically, on the last page it does not fill all of it. SO, w

Re: [iText-questions] MultiColumnText

2009-03-13 Thread 1T3XT info
Hegedűs Péter wrote: > Why can I add MultiColumnText only once? That's documented: adding a (Multi)ColumnText object to a document "consumes" the content of the column (even when you add the column in simulation mode). Why? In your case, ALL the content is consumed because it fits the page. If

[iText-questions] MultiColumnText

2009-03-13 Thread Hegedűs Péter
Hello, I am trying to build a document containing more issues. But I have a problem with iText MultiColumnText. I want to add one MultiColumnText object more than once, but the MultiColumnText object is added only once. Here is a small sample code: Document document = new Document();

Re: [iText-questions] MultiColumnText getting this error on our Unix server

2008-02-19 Thread Bruno Lowagie
pmartin wrote: > java.lang.NoSuchMethodError: com.lowagie.text.pdf.ColumnText.addElement > (Lcom/lowagie/text/Element;) > This implies that the MultColumnText is not there It probably IS there, but the same error is thrown if: - the JVM used on the server is older than the JVM used to compi

Re: [iText-questions] MultiColumnText getting this error on our Unix server

2008-02-19 Thread pmartin
1T3XT info 1t3xt.info> writes: > > pmartin wrote: > > java.lang.SecurityException: class "com.lowagie.text.pdf.MultiColumnT > > ext"'s signer information does not match signer information of other classes in > > the same package > > The last few jars that were released where signed with Bruno'

Re: [iText-questions] MultiColumnText getting this error on our Unix server

2008-02-14 Thread 1T3XT info
pmartin wrote: > java.lang.SecurityException: class "com.lowagie.text.pdf.MultiColumnT > ext"'s signer information does not match signer information of other classes > in > the same package The last few jars that were released where signed with Bruno's private CAcert key. You are getting this exc

Re: [iText-questions] MultiColumnText getting this error on our Unix server

2008-02-14 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 pmartin wrote: | | java.lang.SecurityException: class "com.lowagie.text.pdf.MultiColumnT | ext"'s signer information does not match signer information of other classes in | the same package Please make sure you don't have several versions of the iText

[iText-questions] MultiColumnText getting this error on our Unix server

2008-02-14 Thread pmartin
I am having no problem in the PC development environment using the latest iText 2.0.8 - but when I want to deploy the WebApp to our Unix environment I get the following error. I have never had this kind of error on library package before. I understand that someone different wrote this method -

Re: [iText-questions] MultiColumnText alignment problems

2007-10-07 Thread Aaron Baff
On 10/7/07, Bruno Lowagie <[EMAIL PROTECTED]> wrote: > Aaron Baff wrote: > > This is where we had a slight misunderstanding. I am adding some text > > at the bottom of each page in a PageEvent, however, I am also using > > HeaderFooter object and calling .setFooter() on the Document object. > > Why

Re: [iText-questions] MultiColumnText alignment problems

2007-10-07 Thread Bruno Lowagie
Aaron Baff wrote: > This is where we had a slight misunderstanding. I am adding some text > at the bottom of each page in a PageEvent, however, I am also using > HeaderFooter object and calling .setFooter() on the Document object. Why? HeaderFooter isn't mentioned in the book. It's still in iText,

Re: [iText-questions] MultiColumnText alignment problems

2007-10-06 Thread Aaron Baff
> You have a header and a footer. This header and > footer is the same on every page. You add them > with a page event and it's a piece of cake to > find out their dimensions (Y-top and Y-bottom > are the relevant coordinates). This is where we had a slight misunderstanding. I am adding some text

Re: [iText-questions] MultiColumnText alignment problems

2007-10-06 Thread Bruno Lowagie
Aaron Baff wrote: > Anyone able to help me with this? Its really important that I get this fixed. I had the impression the problem was solved. Let me retry to rephrase the situation. You have a header and a footer. This header and footer is the same on every page. You add them with a page event a

Re: [iText-questions] MultiColumnText alignment problems

2007-10-05 Thread Aaron Baff
Anyone able to help me with this? Its really important that I get this fixed. On 10/3/07, Aaron Baff <[EMAIL PROTECTED]> wrote: > > > > That's expected behavior. Make sure your header and footer > > remain inside the margins you defined when creating the > > Document object. > > > > Oh. I didn't r

Re: [iText-questions] MultiColumnText alignment problems

2007-10-03 Thread Aaron Baff
> > That's expected behavior. Make sure your header and footer > remain inside the margins you defined when creating the > Document object. > Oh. I didn't realize this. I have to set the margin before I set the footer, correct? Up until now it hasn't been a problem, and when I've tried to set the

Re: [iText-questions] MultiColumnText alignment problems

2007-10-03 Thread Bruno Lowagie (iText)
Aaron Baff wrote: > 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 colu

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] 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

[iText-questions] [iText-Questions] MultiColumnText and nextColumn()

2007-05-07 Thread Vincent CAURIER
Hi all, I want to add some text in a column, and then jump to another one to write something else. I tried to use MultiColumnText, but it doesn't seem to work well. Here is the code : MultiColumnText mct = new MultiColumnText(); mct.addSimpleColumn(document.left(), document

Re: [iText-questions] MultiColumnText

2006-08-04 Thread Paulo Soares
Use ColumnText. Paulo - Original Message - From: "Develop" <[EMAIL PROTECTED]> To: Sent: Friday, August 04, 2006 2:47 PM Subject: [iText-questions] MultiColumnText Hi I want to use MultiColumnText but I need to write them inside a PdfTemplate, but I can´t find

[iText-questions] MultiColumnText

2006-08-04 Thread Develop
Hi   I want to use MultiColumnText but I need to write them inside a PdfTemplate, but I can´t find a way to do this. Is it possible to do? How can I do this? If someone has an example, please, post it to me.   Thanks   Rodrigo Novidade no Yahoo! Mail: receba alertas de novas mensagens no

Re: [iText-questions] MultiColumnText problem

2006-06-22 Thread Bruno Lowagie
Alexander Balashov wrote: >I set up height of column and if it can't put the whole text into single >page it skip rest of text. >Can you help me to solve my problem? > > Use ColumnText instead of MultiColumnText. br, Bruno Using Tomcat but need to do more? Need to support web services, security

[iText-questions] MultiColumnText problem

2006-06-22 Thread Alexander Balashov
Hello, I have problem with column MultiColumnText. Actually I need to insert column with text into pdf page in case when rectangle is less then text which we whant to put in. And using MultiColumnText I can receive follow results: 1. if I set up height then engine add new page till don't put the w

Re: [iText-questions] MultiColumnText in non-automatic mode

2006-03-20 Thread Matt White
Bruno - I get the following error at both links: Bad Gateway The proxy server received an invalid response from an upstream server. (With an HTTP 502 error.) I'm going to refactor the code to use ColumnText. I spent the weekend digging into MultiColumnText, and there's a few things in there I

Re: [iText-questions] MultiColumnText in non-automatic mode

2006-03-20 Thread bruno
Matt White wrote: Where can I get a copy of the modified code? SF's anonymous CVS is still down. This link seems to be much faster: http://cvs.sourceforge.net/viewcvs.py/*checkout*/itext/src/com/lowagie/text/pdf/MultiColumnText.java?rev=1.19 br, Bruno

Re: [iText-questions] MultiColumnText in non-automatic mode

2006-03-20 Thread bruno
Matt White wrote: Where can I get a copy of the modified code? SF's anonymous CVS is still down. (I know, I know, don't complain, it's free...) I don't know about the anonymous CVS, but I can see the changes using this link: http://cvs.sourceforge.net/viewcvs.py/itext/src/com/lowagie/text/pd

Re: [iText-questions] MultiColumnText in non-automatic mode

2006-03-20 Thread Matt White
Matt White wrote: > I haven't written the MultiColumnText class, but that's the way it was > designed. MultiColumnText is supposed to be a simple class for people > who are afraid of using ColumnText (if you had started writing your code > with ColumnText, you wouldn't have had all these problems)

Re: [iText-questions] MultiColumnText in non-automatic mode

2006-03-20 Thread bruno
Matt White wrote: Bruno - Now we're getting somewhere, it no longer goes into a loop. :) Attached is another example. As I understand the way MultiColumnText works, it should produce three columns at the bottom of the page. No, that would be the case if you had defined three irregular colum

Re: [iText-questions] MultiColumnText in non-automatic mode

2006-03-19 Thread Matt White
Bruno - Now we're getting somewhere, it no longer goes into a loop. :) Attached is another example. As I understand the way MultiColumnText works, it should produce three columns at the bottom of the page. Instead, it ignores the Y of the columns that I set, and puts them at the top of the page

Re: [iText-questions] MultiColumnText in non-automatic mode

2006-03-18 Thread Bruno Lowagie
Matt White wrote: Bruno - Thanks for the reply. Since anonymous CVS access for projects that begin with "i" is down at SourceForge (see http://sourceforge.net/docman/display_doc.php?group_id=1&docid=2352) So I see. In class MultiColumnText, I added one line in this method: private void

Re: [iText-questions] MultiColumnText in non-automatic mode

2006-03-18 Thread Matt White
Bruno - Thanks for the reply. Since anonymous CVS access for projects that begin with "i" is down at SourceForge (see http://sourceforge.net/docman/display_doc.php?group_id=1&docid=2352), is there someplace else I can get a copy of the dev tree? - Matt >>> Bruno Lowagie <[EMAIL PROTECTED]> 03

Re: [iText-questions] MultiColumnText in non-automatic mode

2006-03-18 Thread Bruno Lowagie
Matt White wrote: Any clues on what I'm doing wrong are very welcomed. You're not doing anything wrong. I think it's a bug. I think I fixed it (see the CVS repository). br, Bruno --- This SF.Net email is sponsored by xPML, a groundbreaking

[iText-questions] MultiColumnText in non-automatic mode

2006-03-17 Thread Matt White
Hello - I'm not sure what I'm doing wrong with a MultiColumnText layout in non-automatic mode. An example is attached. If I call the MultiColumnText() constructor without any parameters it seems to work fine, but I can't specify the initial Y value for where I want the layout to appear. If I c

RE: [iText-questions] MultiColumnText next column or next page problem

2006-02-06 Thread Paulo Soares
raymond moesker [mailto:[EMAIL PROTECTED] > Sent: Monday, February 06, 2006 8:24 AM > To: Paulo Soares > Subject: RE: [iText-questions] MultiColumnText next column or > next page problem > > ok here is some code to reproduce my problem: > import java.awt.Color; > impor

RE: [iText-questions] MultiColumnText next column or next page problem

2006-02-02 Thread Paulo Soares
Some code is required to reproduce the problem. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of raymond moesker > Sent: Thursday, February 02, 2006 3:58 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-quest

[iText-questions] MultiColumnText next column or next page problem

2006-02-02 Thread raymond moesker
Some background info: I’m trying to add articles to a PDF file using the MultiColumnText class. This works fine. My problem is when an article starts at the almost end of a column it has to move to the next column or next page if it is the second column.   What I do: I’m opening a Document.(I

[iText-questions] multicolumntext placement

2005-06-12 Thread Ilja Livenson
Hello, is there a way to position MultiColumnText in absolute coordinates? That is I understand how to define the x-coordinate, but how to define the y? Tried addinging it to the PdfPTable that can be placed absolutely, but PdfPCell doesn't allow MCT to be added as a subelement. Is there a wa

[iText-questions] MultiColumnText Balance - *Possible* Bug fix

2005-05-24 Thread Jerry Heinz
While waiting for a response, I looked into this a bit further. It seems that this issue may have been inadvertently caused with some of the recent changes to the MultiColumnText class. (I say inadvertently because there didn't seem to be any documentation to the contrary - if this was an intenti

[iText-questions] MultiColumnText question

2005-05-24 Thread Jon Hoffman
I'm new ;) So, if I use MultiColumnText without setting height (AUTOMATIC) my columns respect my pre-existing headers but not footers. If I manually define the height, I'm not sure how to do the looping required. I see from the tutorial a hasMoreText() method but I don't find that in my 1.3 vers

RE: [iText-questions] MultiColumnText balance

2005-05-15 Thread Dave Bender
itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] MultiColumnText balance There isn't a general way to automatically balance the columns if they won't fill up the page. For a particular set of content, however, you can set the height of the Multicolumtext object to

Re: [iText-questions] MultiColumnText balance

2005-05-15 Thread Steve Appling
There isn't a general way to automatically balance the columns if they won't fill up the page. For a particular set of content, however, you can set the height of the Multicolumtext object to make it balance yourself. Dave Bender wrote: I'm new to iText and it looks great. But I hit a snag. I

[iText-questions] MultiColumnText balance

2005-05-13 Thread Dave Bender
I'm new to iText and it looks great.  But I hit a snag.  I'm using the MultiColumnText object to put a series of articles into a PDF. The layout is a headline (added as a paragraph) that stretches across the page, followed by the body of the text in three columns using a MultiColumnText obje

Re: [iText-questions] MultiColumnText

2005-03-17 Thread Paulo Soares
Multi columns are a collection of columns rather than an extension of a single one. - Original Message - From: "Justin Lee" <[EMAIL PROTECTED]> To: Sent: Thursday, March 17, 2005 8:53 PM Subject: [iText-questions] MultiColumnText > Maybe I missed this in the archiv

[iText-questions] MultiColumnText

2005-03-17 Thread Justin Lee
Maybe I missed this in the archives, but why doesn't MultiColumnText extends ColumnText? -- cheeser You can find my blog at http://cheeser.blog-city.com and on AIM as "evan chooly" --- SF email is sponsored by - The IT Product

Re: [iText-questions] multicolumntext

2005-02-03 Thread Steve Appling
23 AM Subject: [iText-questions] multicolumntext hallo, what are the benefit to use the multicolumntext instead of the columntext. the problem that i have is, that if i have two ore more columns on one page and there is not enough text to fill, that i wan't, that the filling of the columns is

RE: [iText-questions] multicolumntext

2005-02-03 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Thomas Kübler > Sent: Thursday, February 03, 2005 7:24 AM > To: iText-questions@lists.sourceforge.net > Subject: [iText-questions] multicolumntext > > hallo, > >

[iText-questions] multicolumntext

2005-02-02 Thread Thomas Kübler
hallo, what are the benefit to use the multicolumntext instead of the columntext. the problem that i have is, that if i have two ore more columns on one page and there is not enough text to fill, that i wan't, that the filling of the columns is balanced. can i reach this with multicolumntext?

RE: [iText-questions] MultiColumnText in PdfPCells

2004-10-21 Thread Paulo Soares
, October 21, 2004 2:48 PM > To: itext-questions > Subject: [iText-questions] MultiColumnText in PdfPCells > > Hi Steve, > > it would be great if the MultiColumnText would be supported as nested > element of

[iText-questions] MultiColumnText in PdfPCells

2004-10-21 Thread Christian Lauer
Hi Steve, it would be great if the MultiColumnText would be supported as nested element of PdfPCells. Best regards, Christian --- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell

Re: [iText-questions] MultiColumnText

2004-09-24 Thread Paulo Soares
- Original Message - From: "Steve Appling" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, September 24, 2004 20:50 Subject: [iText-questions] MultiColumnText > Ever since Christian Lauer posted some questions about adding ColumnText directly t

[iText-questions] MultiColumnText

2004-09-24 Thread Steve Appling
Ever since Christian Lauer posted some questions about adding ColumnText directly to a document, I've been thinking about how I would want to use it. Last night I made a helper class (MultiColumnText) that is an element and can be added to a document directly. It can handle regular or irregular