g
over the top of a preprinted form.
Cheers,
Mike Buchanan
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Bruno Lowagie (iText)
Sent: Friday, January 19, 2007 1:32 AM
To: Post all your questions about iText here
Subject: Re: [iText-questions] Overlay t
Bruno Lowagie (iText) wrote:
> Then code a 1000 lines a day for two weeks, ending
> up with a solution that is almost impossible to maintain.
I meant "instead of coding 1000 lines a day".
br,
Bruno
-
Take Surveys. Earn Cash.
Mike Buchanan wrote:
It does get frustrating when I
can pump in a few hundred lines of code a day but then it sometimes
takes two or three days to figure out how to do just one function.
I studied architecture.
As a developer I'm a Mies Van der Rohe adept: Less is More.
I'd rather spend a week
ED] On Behalf Of
Bruno Lowagie
Sent: Thursday, January 18, 2007 10:10 AM
To: Post all your questions about iText here
Subject: Re: [iText-questions] Overlay text across multiple table cells
Mike Buchanan wrote:
> PdfContentByte cb = canvases[PdfPTable.TEXTCANVAS];
>
Mike Buchanan wrote:
PdfContentByte cb = canvases[PdfPTable.TEXTCANVAS];
cb.moveTo(position.left(), position.top());
//cb.stroke();
cb.fill();
But where's the path?
What makes you believe this will actually draw something?
It just doesn't make sense...
As you ca
Thanks for the reply Bruno. I made some changes but I still don't think
I get the concept. I went back and reread chap. 10 and I think I
understand layering but not with tables.
Bruno wrote:
> OK, but what is there to stroke?
> You only did a moveTo(); I don't see an lineTo();
There's
Mike Buchanan wrote:
> The inner table has five columns and I fill these with a
> cell that is a different color for every other column.
OK
> Then I put the
> inner table in the outer table
Yes.
> and used the DoCellEvent class
Yes, but not on the cell that has the inner table.
> to stroke
OK,
I couldn't list the whole source for the invoice pdf creation so I just
wrote a small snippet to test with. In this test I create an inner and
outer table. The inner table has five columns and I fill these with a
cell that is a different color for every other column. Then I put the
inner ta