Saurabh Mayekar schreef op 4/07/2014 15:26:
> Can i achieve this kind of structure ? If yes how ?
Yes, make sure you define the margins in such a way that they leave
sufficient space for the header.
> As the top section is header section how can i repeat only the header
> section in all pages i
An instance of ColumnText can call go(false) to simulate/calculate its
eventual layout:
http://api.itextpdf.com/com/itextpdf/text/pdf/ColumnText.html#go(boolean
)
--Mark Storer
Senior Software Engineer
Cardiff.com
import legalese.Disclaimer;
Disclaimer DisCard = null;
> -Original M
AM
To: Post all your questions about iText here
Subject: Re: [iText-questions] ColumnText: Access to the already added elements
On 13/09/2010 7:45, andreas wrote:
> There must be an obvious reason why the
> developers of iText didn't make a public getter for theses objects...
If there
On 13/09/2010 7:45, andreas wrote:
> There must be an obvious reason why the
> developers of iText didn't make a public getter for theses objects...
If there is, I don't remember it.
Should we make a getter for those elements?
Maybe we can add: "use at your own risk" at first, and
then if we get f
Good morning,
first, thank you for your response.
what I basically need to do is to grab the remaining parts of the object in
the ColumnText-container. I must have access to those elements because my
business logic depents on the remaining content in the ColumnText-container.
In the meantime, I
On 10/09/2010 9:39, andreas wrote:
>
> Hi,
>
> are there any possibilities to access the already added elements in a
> ColumnText? In my case, I need to grab the content from a PdfPTable, which
> is embedded in the ColumnText-container, each time the page breaks. I added
> the PdfPTable with the me
2010 08:45
An: Post all your questions about iText here
Betreff: Re: [iText-questions] ColumnText
Peter Forstmeier wrote:
> Hi List,
> i would like to add some variable length Text at a give location and a
given
> Height and Width:
>
> PdfContentByte cb = base.PdfWrite
ilto:i...@1t3xt.info]
> Gesendet: Mittwoch, 14. Juli 2010 08:45
> An: Post all your questions about iText here
> Betreff: Re: [iText-questions] ColumnText
>
> Peter Forstmeier wrote:
> > Hi List,
> > i would like to add some variable length Text at a give location a
Peter Forstmeier wrote:
> Hi List,
> i would like to add some variable length Text at a give location and a given
> Height and Width:
>
> PdfContentByte cb = base.PdfWriter.DirectContent;
>
> iTextSharp.text.Rectangle r = base.ConvertToPdfRectangle();
>
> ColumnText ct = new ColumnText(cb);
>
>
That fixes it. Thanks!
I got widthPercentage (the table) confused with widthPercentages (the
columns)... I assumed they were the same thing.
--
View this message in context:
http://old.nabble.com/ColumnText-setSimpleColumn-with-getFieldPositions%28%29-tp28042812p28069575.html
Sent from the i
pickm wrote:
> What I did that caused my original question was to add a PdfPTable to
> the columnText. The PdfPTable had margins on both sides.
The width percentage is 80% by default.
You need to change it to 100%.
> So... we have eliminated my suggestion that the coordinate positions are
> the
No, I did not write a rectangle to test my original assertion. I have now
gone back and I drew a rectangle. It appears to be correct. Here is the
test code i used:
PdfContentByte c = stamper.getOverContent(1);
Rectangle r = new Rectangle(fieldPositionsStatement
pickm wrote:
> So my problem is that when i call |setSimpleColumn|, I need to expand
> the column text with arbitrary values for some reason.
How do you know this?
Did you draw a rectangle using the coordinates returned by
getFieldPositions? Does it appear at the correct place?
--
This answer i
"bold line" problem was a real one and I got good responses for it and If
someone asks me why the line is bold, I can answer them because of the
forum. I repeatedly enquired about it b'coz I want to be very sure. Even I
tried the tool ""PDFXCview" mentioned by some friend in that thread.
iText is
ennidhi wrote:
> Ok Mr..U seems to be short tempered person...
Look, the mailing list is for real problems.
People spend free time on answering real questions.
That time is precious, please don't waste it.
You've been sending many emails about a problem
that wasn't real (the "bold line" problem).
Ok Mr..U seems to be short tempered person...
1T3XT info wrote:
>
> ennidhi wrote:
>> I am developing a pdf with mutiple pages. Whenever i use ct.addelement..
>> method in the first page, I could not able to print anything using
>> cb(pdfcontent byte) or ct.addtext after doing document.newPa
ennidhi wrote:
> I am developing a pdf with mutiple pages. Whenever i use ct.addelement..
> method in the first page, I could not able to print anything using
> cb(pdfcontent byte) or ct.addtext after doing document.newPage... i.e. in
> the new page.
Read the documentation!
You've forgotten to re
Christian wrote:
>
> Hi
Hi, you are using the wrong e-mail address. You should use
itext-questions@lists.sourceforge.net
> How can I insert a ColumnText object into a Paragraph with iText libraries?
The question is wrong too. You can add paragraphs to columns, but it
doesn't make sense to add
Thanks, although more detail than "read that book" would have been
appreciated. Besides, the solution of using a nested table with the outer
table disabling works just fine. I just find the syntax a little ugly. It
would be nice if grouping was natively supported for elements of ColumnText.
--
This problem and its solution are discussed in detail in Chapter 7 of the
iText book. ( http://is.gd/7Wib )
---mr. bean
ApolloX wrote:
>
> As a follow-up, I initially tried using Paragraph.setKeepTogether(true)
> which worked for single-paragraphs with the same alignment, but did not
> work if
As a follow-up, I initially tried using Paragraph.setKeepTogether(true) which
worked for single-paragraphs with the same alignment, but did not work if I
had a set of elements with different paragraphs and/or alignments. The
solution that worked the best was to add a single outer table, set
PdfPT
You can do an approximation by the total char width but it will only be an
approximation and not a "perfect fit". If you layout allows it you may also
scale the font in order to fit in ColumnText.
Paulo
- Original Message -
From: "david allen" <[EMAIL PROTECTED]>
To:
Sent: Thursday, A
It is possible if you draw the shadow.
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of duschhaube
> Sent: Monday, March 12, 2007 11:40 AM
> To: itext-mailinglist
> Subject: [iText-questions] ColumnText andvanced Border
>
> Hello,
>
> I
net2tech wrote:
> How do I determine this size on the fly? I have the llx, lly, urx and ury
> info, but how do I know when the text is truncated or when its being
> wrapped?
You say you are reading the book; have a look at p200-201.
There you'll find a method to know if there's more text
than you
net2tech wrote:
> This works fine most of the time, but sometimes the text in the columntext
> appears in the next line. I am assuming its being wrapped. How can I
> explicitly tell ColumnText not to wrap text?
Reduce the height of the rectangle defined with llx, lly, urx and ury
and the text w
net2tech wrote:
> This works fine most of the time, but sometimes the text in the columntext
> appears in the next line. I am assuming its being wrapped. How can I
> explicitly tell ColumnText not to wrap text?
Reduce the height of the rectangle defined with llx, lly, urx and ury
and the text wil
Bruno
I'v turned hyphenation on and it works a lot better.
Thanks
Msrtin
-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Bruno
Lowagie
Verzonden: woensdag 27 december 2006 12:21
Aan: Post all your questions about iText here
Onderwerp: Re: [
Martin Spek wrote:
> For example if they want to cut the name of a street or a town by means
> of a hyphen:
> 'uitvaartcentrum Huppeldepup aan de Keizers-
> gracht 234 te Amsterdam'
> Or
> 'uitvaartcentrum Huppeldepup, Ookmeerweg 234, Am-
> sterdam'
Amsterdam will only be hyphenated if you turn on
den: woensdag 27 december 2006 10:04
Aan: Post all your questions about iText here
Onderwerp: Re: [iText-questions] ColumnText and allignment
Martin Spek wrote:
> However I wonder if there is a more simple solution.
I would solve this by using non-breaking space characters
for the date
Martin Spek wrote:
> However I wonder if there is a more simple solution.
I would solve this by using non-breaking space characters
for the date, like this: "maandag\u00a09\u0a00oktober".
If this complete date fits on the first line: fine!
In most cases however, it won't fit. The complete date
Str
[EMAIL PROTECTED] wrote:
> I have used and adapted the onEndPAge() example and everything works
> nicely. I have tried adding a a big fat table as my header and it doesn't
> display right, it seems like it is reacting to my margins that I have set
> for the ColumnText but when I change them it exh
Campa wrote:
> I think its better if i'm going to study the definition and the examples
> of PdfTemplate, maybe its the right thing i need.
Please study this example:
http://itext.ugent.be/itext-in-action/examples/chapter06/PdfPTableRepeatHeaderFooter.java
http://itext.ugent.be/itext-in-action/ex
I think its better if i'm going to study the definition and the examples of
PdfTemplate, maybe its the right thing i need.
Thank you for your time (and patience :) ) Bruno.
And sorry again for my bad english it doesn't give me the chance to let you
understand my question.
Bye,
Campa
2006/11/21,
I've no idea how FOP calculates things. To avoid word wrapping make the
width wider but I'm sure you've already thought about that.
Paulo
- Original Message -
From: "Katrin Paulus" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, October 10, 2006 5:49 PM
Subject: [iText-questions] ColumnText pos
ColumnText.showTextAligned is a static method that outputs the first line of
text to your PdfContentByte (eg writer)
You may wish to think about instantiating ColumnText and adding a Chunk or
Phrase, which it will text wrap as necessary (in C#):
ColumnText ct = new ColumnText(writer);
ct.SetSimple
I would like to see a small standalone example with the problem.
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Steven Buschman
> Sent: Tuesday, June 20, 2006 2:09 PM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-question
j r wrote:
could someone please teach a noob, how to use
ColumnText in a servlet? and if this is not Possible
what is the alternative? Thanks.
http://itextdocs.lowagie.com/tutorial/objects/columns/
http://itextdocs.lowagie.com/tutorial/general/webapp/
Everything that works in a standalone exa
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Thomas Kübler
> Sent: Thursday, February 03, 2005 11:42 AM
> To: iText-questions@lists.sourceforge.net
> Subject: [iText-questions] ColumnText with register
>
> hallo,
>
(If you can find the cap
setLeading() will work for the next go() but only the fixed part will be
used.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of John Gregory
> Sent: Thursday, January 13, 2005 9:37 PM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-
Create your cells with a fixed height and use a PdfPCellEvent to put the
ColumnText inside.
- Original Message -
From: "John Gregory" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, January 12, 2005 7:51 PM
Subject: [iText-questions] ColumnText within a Cell
> I'm creating a calendar using iT
> Sent: Friday, December 17, 2004 8:58 AM
> To: Paulo Soares
> Cc: itext-questions
> Subject: Re: [iText-questions] ColumnText and Paragraphs ...
>
> Paulo Soares schrieb:
> > A complete example, please.
>
> See attachment for it. If you run it, notice the 5 li
Quoting Michael Glauche <[EMAIL PROTECTED]>:
> Btw .. if you could use some more ColumnText examples for documentation
> purposes, let me know :)
Extra examples are always valuable to put in the new tutorial
'iText by example': http://itext.sourceforge.net/tutorial/
(Allthough I can tell you in
Paulo Soares schrieb:
A complete example, please.
See attachment for it. If you run it, notice the 5 lines on the left box
are repeated on the right side !
Btw .. if you could use some more ColumnText examples for documentation
purposes, let me know :)
regards,
Michael
import java.io.Fi
A complete example, please.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Michael Glauche
> Sent: Thursday, December 16, 2004 3:10 PM
> To: itext-questions
> Subject: [iText-questions] ColumnText and Paragraphs ...
>
> Hi,
>I found anothe
See the return of go().
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of amine
> Sent: Monday, December 06, 2004 1:49 PM
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] ColumnText doesn't fit the current page
>
> Hi,
> How can I check if Co
Title: Message
It's not a bug. As you say, it's a table with headers and no
content. If it doesn't have content there's nothing to
print.
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Cary
SweetSent: Monday, November 22, 2004 11:37 PMTo:
[EMAIL PROTECTED]S
You can't get the text out the ColumnText.
From: Merlyn Mathias
[mailto:[EMAIL PROTECTED] Sent: Tuesday, November 16, 2004
4:01 PMTo: Paulo Soares;
[EMAIL PROTECTED]Subject: [iText-questions]
ColumnText
Hi Paulo,
Is there anyway I can get the leftover text from co
This was discussed recently. Phrase doesn't have enough information like
alignment and spacing.
- Original Message -
From: "Steve Appling" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 05, 2004 14:35
Subject: [iText-questions] ColumnText support for addElement(Phrase)
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Vijay Karthik
> Sent: Sunday, October 24, 2004 5:44 PM
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] ColumnText phrase height
>
> All
>
> How do i find the height of a chunk/phrase in a c
Use ColumnText.setSimpleColumn() to place the text in the new page and
ColumnText.setCanvas() to set it to the PdfContentByte of the page.
Best Regards,
Paulo Soares
- Original Message -
From: "Merlyn Mathias" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 12, 2004 17
Whatever you do you fitsPage() is ok with me.
Best Regards,
Paulo Soares
- Original Message -
From: "Christian Lauer" <[EMAIL PROTECTED]>
To: "iText Mailing List" <[EMAIL PROTECTED]>
Sent: Sunday, September 26, 2004 11:31
Subject: [Fwd: Re: [iText-que
return table.getTotalHeight() + 0.001f <= indentTop() -
> > currentHeight - indentBottom() - margin;
> > }
> >
> > Best Regards,
> > Paulo Soares
> >
> > - Original Message -----
> > From: "Christian Lauer" <[EMAI
quot;Christian Lauer" <[EMAIL PROTECTED]>
> To: "Paulo Soares" <[EMAIL PROTECTED]>
> Cc: "iText Mailing List" <[EMAIL PROTECTED]>
> Sent: Saturday, September 25, 2004 10:34
> Subject: RE: [iText-questions] ColumnText
>
>
> > Hi
quot;Christian Lauer" <[EMAIL PROTECTED]>
> To: "Paulo Soares" <[EMAIL PROTECTED]>
> Cc: "iText Mailing List" <[EMAIL PROTECTED]>
> Sent: Saturday, September 25, 2004 10:34
> Subject: RE: [iText-questions] ColumnText
>
>
> > Hi
r" <[EMAIL PROTECTED]>
To: "Paulo Soares" <[EMAIL PROTECTED]>
Cc: "iText Mailing List" <[EMAIL PROTECTED]>
Sent: Saturday, September 25, 2004 13:56
Subject: Re: [iText-questions] ColumnText
> Hi Paulo,
>
> i've played a little with your patch and
ulo Soares
>
> - Original Message -
> From: "Christian Lauer" <[EMAIL PROTECTED]>
> To: "Paulo Soares" <[EMAIL PROTECTED]>
> Cc: "iText Mailing List" <[EMAIL PROTECTED]>
> Sent: Saturday, September 25, 2004 10:34
> S
res
- Original Message -
From: "Paulo Soares" <[EMAIL PROTECTED]>
To: "Christian Lauer" <[EMAIL PROTECTED]>
Cc: "iText Mailing List" <[EMAIL PROTECTED]>
Sent: Saturday, September 25, 2004 12:10
Subject: Re: [iText-questions] ColumnText
> That wo
D]>
To: "Paulo Soares" <[EMAIL PROTECTED]>
Cc: "iText Mailing List" <[EMAIL PROTECTED]>
Sent: Saturday, September 25, 2004 10:34
Subject: RE: [iText-questions] ColumnText
> Hi Paulo,
>
> I've extended PdfWriter and PdfDocument to make my solution
Steve Appling
> > Sent: Wednesday, September 22, 2004 12:15 PM
> > To: Christian Lauer; iText Mailing List
> > Subject: Re: [iText-questions] ColumnText
> >
> > Do you think ColumnText should implement Element? Then you
> > could add a form
> > of set
To: Paulo Soares; Christian Lauer; iText Mailing List
> Subject: Re: [iText-questions] ColumnText
>
> I still think it would be useful to add the ability to
> specify a width on
> the ColumnText object before it is added to the document (or
> perhaps there
> is someway
dents).
> - Original Message -
> From: "Paulo Soares" <[EMAIL PROTECTED]>
> To: "Steve Appling" <[EMAIL PROTECTED]>; "Christian Lauer"
<[EMAIL PROTECTED]>; "iText Mailing List"
<[EMAIL PROTECTED]>
> Sent: Wednesday,
List
> Subject: Re: [iText-questions] ColumnText
>
> Do you think ColumnText should implement Element? Then you
> could add a form
> of setSimpleColumn that only sets height and width and the add call in
> PdfDocument could adjust for horizontal alignment and call
> t
Do you think ColumnText should implement Element? Then you could add a form
of setSimpleColumn that only sets height and width and the add call in
PdfDocument could adjust for horizontal alignment and call the existing
setSimpleColumn using the currentHeight and indents (like it does in
addPTable)
As an extension to Element.
Best Regards,
Paulo Soares
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Mark Hall
> Sent: Wednesday, September 22, 2004 11:37 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [iText-question
On Wednesday 22 September 2004 12:27, Paulo Soares wrote:
> Maybe ColumnText could be made an Element and be added to the Document.
As an extension of something that is already an Element or directly under
Element?
Greetings,
Mark
---
This SF.
Maybe ColumnText could be made an Element and be added to the Document.
Best Regards,
Paulo Soares
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Christian Lauer
> Sent: Wednesday, September 22, 2004 7:44 AM
> To: iText Mailing List
> Subject:
d contain
it.
thanks,
stephan
-Ursprüngliche Nachricht-Von: Paulo Soares
[mailto:[EMAIL PROTECTED] Gesendet: Montag, 3. Mai 2004
15:40An: Pelikan StephanCc:
[EMAIL PROTECTED]Betreff: RE:
[iText-questions] ColumnText cuts text using
ju
Title: Nachricht
It has nothing to with the alignment. Check that the column
boundaries are inside the template.
Best Regards,
Paulo Soares
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Pelikan StephanSent: Monday, May 03, 2004 8:33 AMTo:
[EMAIL PROTECTED
roblem?
best
regards,
stephan pelikan
-Ursprüngliche Nachricht-Von: Paulo Soares
[mailto:[EMAIL PROTECTED] Gesendet: Montag, 3. Mai 2004
14:53An: Pelikan Stephan;
[EMAIL PROTECTED]Betreff: RE:
[iText-questions] ColumnText cuts text using
justify-a
Title: RE: [iText-questions] columnText
A PdfPTable is just a grid of ColumnText.
Best Regards,
Paulo Soares
-Original Message-
From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED] On Behalf Of Turetsky, Seth
Sent: Wednesday, January 21, 2004 14:09
To: [EMAIL PROTECTED
text
|---|
| |
| |
|---|
text text text
text text text
Any ideas ??
thanks
- Original Message -
From: "Paulo Soares" <[EMAIL PROTECTED]>
To: "'Cezar FLOROIU'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Friday, October 17, 2003 12:15 PM
If using ColumnText set automatic leading.
Best Regards,
Paulo Soares
> -Original Message-
> From: Cezar FLOROIU [SMTP:[EMAIL PROTECTED]
> Sent: Thursday, October 16, 2003 23:54
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] ColumnText with images
>
> Hi,
>
> I'm having a
I would like to see an example.
Best Regards,
Paulo Soares
- Original Message -
From: "Jacqueline S" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 29, 2003 7:33
Subject: [iText-questions] columntext problems
> Hello,
>
> I've encountered some strange behaviour using
Quoting "Campanale, Rocco" <[EMAIL PROTECTED]>:
> I am using iText version .96.
>
> I am using ColumnText to mimic a table, since I have some columns that have
> data that can span multiple pages.
>
> I am able to output my text using the ColumnText.go() method. If I add a
> PdfPTable using doc
ot; <[EMAIL PROTECTED]>
> Data: 06/11/2002 19:54:11
> Para: "Paulo Soares" <[EMAIL PROTECTED]>
> Assunto: Re: [iText-questions] ColumnText and spacing, lists, tables, etc.
>
> I think I have to adapt Paragraph to add those methods I proposed earlier
> then.
- Original Message -
From: "David Thielen" <[EMAIL PROTECTED]>
To: "itext" <[EMAIL PROTECTED]>
Sent: Wednesday, November 06, 2002 18:10
Subject: [iText-questions] ColumnText and spacing, lists, tables, etc.
Hi;
A couple of questions:
1.. Can you put tables in ColumnText?
No. It doesn
ColumnText is fed with chunks/phrases that are then
processed and writen.
Best Regards,
Paulo Soares
--- David Thielen <[EMAIL PROTECTED]> wrote:
> Hi;
>
> Ok, I'm pretty new to iText and this is just my
> first impression. But it seems to me that ColumnText
> should contain Paragraphs rather th
Best Regards,
Paulo Soares
- Original Message -
From: "Shahzad Latif" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Tuesday, August 13, 2002 13:01
Subject: Re: [iText-questions] ColumnText issues (was Re: leadin
n Hardy" <[EMAIL PROTECTED]>,<[EMAIL PROTECTED]>
Subject: Re: [iText-questions] ColumnText issues (was Re: leading, tracking,
kerning)
Date: Tue, 13 Aug 2002 09:32:11 +0100
MIME-Version: 1.0
Received: from mc1-f1.law16.hotmail.com ([65.54.236.8]) by
mc1-s9.law16.hotmail.com with Mi
Auto-leading with irregular columns has to be done with approximations and I
don't know if the new ColumnText model will allow it. We'll see.
Best Regards,
Paulo Soares
- Original Message -
From: "John Hardy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 13, 2002 2:27
80 matches
Mail list logo