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
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
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
>> 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
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
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
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?
--
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.
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
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
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
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
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
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;
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
-
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
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
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
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
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
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();
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
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'
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
-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
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 -
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
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,
> 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
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
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
>
> 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
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
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
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
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
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
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
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
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
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
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
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
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)
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
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
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
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
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
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
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
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
Some background info: Im 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: Im opening a Document.(I
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
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
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
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
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
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
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
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
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
> -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,
>
>
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?
, 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
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
- 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
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
68 matches
Mail list logo