[iText-questions] Widow/orphan lines

2007-01-04 Thread Dirk Ulrich
BTW: When it happens that the chapter's title is the last line on the previous page the indentation changes and the title slides to the left. -- Mit freundlichen Grüßen Dirk Ulrich Jansenstraße 21 13437 Berlin fon:0++49-(0)30-40 999 087 mobil:++49-(0)174/948 87 39 Der GMX SmartS

[iText-questions] widow/orphan lines

2007-01-04 Thread Dirk Ulrich
id/control this behaviour? Regards Dirk -- Mit freundlichen Grüßen Dirk Ulrich Jansenstraße 21 13437 Berlin fon:0++49-(0)30-40 999 087 mobil:++49-(0)174/948 87 39 Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/s

Re: [iText-questions] Section breaks

2007-01-04 Thread Dirk Ulrich
Jan 2007 16:32:27 +0100 > Von: Bruno Lowagie <[EMAIL PROTECTED]> > An: Post all your questions about iText here > > Betreff: Re: [iText-questions] Section breaks > > Dirk Ulrich wrote: > > Well, unfortunately a chapter starts always on a new page. Since i

Re: [iText-questions] Section breaks

2007-01-04 Thread Dirk Ulrich
AIL PROTECTED]> > An: Post all your questions about iText here > > Betreff: Re: [iText-questions] Section breaks > > Dirk Ulrich wrote: > > Here's the PDF output. Section 'Conditions' should be still in > > portrait. From section 'Processe

Re: [iText-questions] Section breaks

2007-01-04 Thread Dirk Ulrich
f: Re: [iText-questions] Section breaks > > Dirk Ulrich wrote: > > > In this tiny application the result is as expected. > > Then start from this tiny application, and make it work for your larger > applica

Re: [iText-questions] Section breaks

2007-01-04 Thread Dirk Ulrich
ions about iText here > > Betreff: Re: [iText-questions] Section breaks > > Dirk Ulrich wrote: > > Here's the PDF output. Section 'Conditions' should be still in > > portrait. From section 'Processes' landscape orientation should be > &

Re: [iText-questions] Section breaks

2007-01-04 Thread Dirk Ulrich
here > > Betreff: Re: [iText-questions] Section breaks > > Dirk Ulrich wrote: > > mainChapter.add(Chunk.NEXTPAGE); > > document.setPageSize(Pagesize.A4.rotate()); > > Oops, I gave you the standard answer without looking at the context. > Agai

Re: [iText-questions] Section breaks

2007-01-04 Thread Dirk Ulrich
o Lowagie <[EMAIL PROTECTED]> > An: Post all your questions about iText here > > Betreff: Re: [iText-questions] Section breaks > > Dirk Ulrich wrote: > > > document.newPage() seems not to be regarded and thus the prior section > > is written

Re: [iText-questions] Section breaks

2007-01-04 Thread Dirk Ulrich
t-questions] Section breaks > > Dirk Ulrich wrote: > > > document.newPage() seems not to be regarded and thus the prior section > > is written to the document in landscape, too. > > No, document.newPage() is triggered BEFORE you add > the Chapter you have

Re: [iText-questions] Section breaks

2007-01-03 Thread Dirk Ulrich
 See this example code --> > http://itextdocs.lowagie.com/examples/com/lowagie/examples/general/DefaultPageSize.java > > > > -Original Message- > > From:[EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] Behalf Of Dirk >

[iText-questions] Rows in a PdfPTable

2007-01-03 Thread Dirk Ulrich
For information issues I sysout both the number of cells as well as the number of rows which should be created. (For a predefined number of columns (4):         int rows = dates.size() / 4;         rows += dates.size() % 4 > 0 ? 1 : 0; -- Best regards Dirk Ulrich Der GMX SmartSurfer h

[iText-questions] Section breaks

2007-01-02 Thread Dirk Ulrich
Is it possible to have section breaks in a pdf document? Because a table is too wide I want to change the document's orientation only for this table. The Document shall 'begin' in portrait orientation. Then, when it's time to print the table, the orientation shall switch to landscape. Afterwards

Re: [iText-questions] Indentation of Sections

2006-12-07 Thread Dirk Ulrich
regards Dirk > > Original-Nachricht > Datum: Thu, 07 Dec 2006 12:33:05 +0100 > Von: "Bruno Lowagie (iText)" <[EMAIL PROTECTED]> > An: Post all your questions about iText here > > Betreff: Re: [iText-questions] Indentation of

Re: [iText-questions] Indentation of Sections

2006-12-07 Thread Dirk Ulrich
> Von: "Bruno Lowagie (iText)" <[EMAIL PROTECTED]> > An: Post all your questions about iText here > > Betreff: Re: [iText-questions] Indentation of Sections > > Dirk Ulrich wrote: > > Mmh. :-) > > Have you got the two emails I have sent? >

Re: [iText-questions] Indentation of Sections

2006-12-07 Thread Dirk Ulrich
ness topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ___ > iText-questions mailing list > iText-questions@lists.sourceforge.net > https://lists.sourceforge.

Re: [iText-questions] Indentation of Sections

2006-12-07 Thread Dirk Ulrich
> Betreff: Re: [iText-questions] Indentation of Sections > > Dirk Ulrich wrote: > > Again you answered my question before I asked. :-) > > I'm not psychic, but I have been on this mailing list > for a very long time ;-) > br, > Bruno > > -

Re: [iText-questions] Indentation of Sections

2006-12-07 Thread Dirk Ulrich
> Von: "Bruno Lowagie (iText)" <[EMAIL PROTECTED]> > An: Post all your questions about iText here > > Betreff: Re: [iText-questions] Indentation of Sections > > Dirk Ulrich wrote: > > Again you answered my question before I asked. :-) &g

Re: [iText-questions] Indentation of Sections

2006-12-06 Thread Dirk Ulrich
_ > iText-questions mailing list > iText-questions@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/itext-questions > Buy the iText book: http://itext.ugent.be/itext-in-action/ > -- Mit freundlichen Grüßen Dirk Ulrich Jansenstraße 21 13437 Berlin fon:0++49-(0)30-40

Re: [iText-questions] Indentation of Sections

2006-12-06 Thread Dirk Ulrich
e run as a standalone app, is of no use. > It only leads to confusion and frustrations on both sides. > > Only well documented problems make a chance of being fixed. > br, > Bruno > -- Mit freundlichen Grüßen Dirk Ulrich Jansenstraße 21 13437 Berlin fon:0++49-(0)30-40 9

Re: [iText-questions] Indentation of Sections

2006-12-06 Thread Dirk Ulrich
and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ___ > iText-questions mailing list > iText-questions@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/itext-questions >

Re: [iText-questions] Indentation of Sections

2006-12-05 Thread Dirk Ulrich
ine after the last condition in the collection Regards Dirk > > Original-Nachricht > Datum: Tue, 05 Dec 2006 16:13:31 +0100 > Von: "Bruno Lowagie (iText)" <[EMAIL PROTECTED]> > An: Post all your questions about iText here > > Betreff:

Re: [iText-questions] Indentation of Sections

2006-12-05 Thread Dirk Ulrich
.pdf.PdfContentByte; import com.lowagie.text.pdf.PdfPageEvent; import com.lowagie.text.pdf.PdfPageEventHelper; import com.lowagie.text.pdf.PdfWriter; /**  * A class invoked on PageEvents which is used to output specific content  * according to a specified iText element.  *  * @author Dirk U

[iText-questions] Indentation of Sections

2006-12-05 Thread Dirk Ulrich
is indented as well. Here's what I intend to do: 1. Outer Section 1     1.1 Inner Section 1     1.2 Inner Section 2     1.3 Inner Section 3 2. Outer Section 2 ... -- Mit freundlichen Grüßen Dirk Ulrich Jansenstraße 21 13437 Berlin fon:0++49-(0)30-40 999 087 mobil:++49-(0)174/948 87 39 &qu

Re: [iText-questions] How to draw a horizontal line at a arbitrary psoition?

2006-11-24 Thread Dirk Ulrich
aw a horizontal line at a > arbitrary psoition? > > Dirk Ulrich wrote: > > Well, that's what I thought: I have to add the chapter to the > document > > first before... > > No, first you have to add a page event to the writer; > a page event that implement

Re: [iText-questions] How to draw a horizontal line at a arbitrary psoition?

2006-11-24 Thread Dirk Ulrich
> Datum: Fri, 24 Nov 2006 12:38:39 +0100 > Von: "Bruno Lowagie (iText)" <[EMAIL PROTECTED]> > An: Post all your questions about iText here > > Betreff: Re: [iText-questions] How to draw a horizontal line at a > arbitrary psoition? > > Dirk Ulri

Re: [iText-questions] How to draw a horizontal line at a arbitrary psoition?

2006-11-24 Thread Dirk Ulrich
agie <[EMAIL PROTECTED]> > An: Post all your questions about iText here > > Betreff: Re: [iText-questions] How to draw a horizontal line at a > arbitrary psoition? > > Dirk Ulrich wrote: > > I am using a Chapter to place subsequent Sections to be ab

[iText-questions] How to draw a horizontal line at a arbitrary psoition?

2006-11-23 Thread Dirk Ulrich
he section. Thank you, Dirk -- Mit freundlichen Grüßen Dirk Ulrich Jansenstraße 21 13437 Berlin fon:0++49-(0)30-40 999 087 mobil:++49-(0)174/948 87 39 "Ein Herz für Kinder" - Ihre Spende hilft! Aktion: www.deutschlandsegelt.de Unser Dankeschön: Ihr Name auf dem Segel der 1. deutschen

Re: [iText-questions] Accessing particular cells in a table

2006-11-22 Thread Dirk Ulrich
> > Betreff: Re: [iText-questions] Accessing particular cells in a table > > Dirk Ulrich wrote: > > Can I access PdfPTable cells directly in a 'matrix' manner like > > myTable.getCell(i,j); or myTable.setCellVa

[iText-questions] Accessing particular cells in a table

2006-11-22 Thread Dirk Ulrich
Can I access PdfPTable cells directly in a 'matrix' manner like myTable.getCell(i,j); or myTable.setCellValue(i,j, myValueObject); ? Thanks, Dirk -- Mit freundlichen Grüßen Dirk Ulrich Jansenstraße 21 13437 Berlin fon:0++49-(0)30-40 999 087 mobil:++49-(0)174/948 87 39 "Ein

Re: [iText-questions] Spacing after chapter title

2006-11-21 Thread Dirk Ulrich
gt; An: Post all your questions about iText here > > Betreff: Re: [iText-questions] Spacing after chapter title > > Dirk Ulrich wrote: > > OK. Thank you. So I should choose another numbered element. > > Aha. Then I got it wrong. > > Most people use Chapt

Re: [iText-questions] Vertical alignment

2006-11-10 Thread Dirk Ulrich
ions about iText here Betreff: Re: [iText-questions] Vertical alignment Dirk Ulrich wrote:> I want to put an image and a text into one PdfPCell of a PdfPTable.OK, piece of cake, see attachment. > The vertical alignment of the text shall be middle to the image (which > sh

Re: [iText-questions] Vertical alignment

2006-11-10 Thread Dirk Ulrich
about iText here Betreff: Re: [iText-questions] Vertical alignment Dirk Ulrich wrote:> I want to put an image and a text into one PdfPCell of a PdfPTable.OK, piece of cake, see attachment. > The vertical alignment of the text shall be middle to the image (which > shall be placed on th

[iText-questions] Vertical alignment

2006-11-10 Thread Dirk Ulrich
I want to put an image and a text into one PdfPCell of a PdfPTable.The vertical alignment of the text shall be middle to the image (which shall be placed on the left). Between the image and the following text there shall be some space.Using this code, the text after the image is

Re: [iText-questions] Images in Header

2006-11-10 Thread Dirk Ulrich
BTW:image.scaleToFit(15f, 30f);orimage.scalePercent(1.0f);doesn't work!Dirk Original-Nachricht Datum: Fri, 10 Nov 2006 09:43:14 +0100Von: "Dirk Ulrich" <[EMAIL PROTECTED]>An: itext-questions@lists.sourceforge.netBetreff: [iText

[iText-questions] Images in Header

2006-11-10 Thread Dirk Ulrich
I am now creating a header using onEndPage. I created a Table, convert it to a PdfPTable and display it using the onEndPage method. This works fine but when I add an image (a GIF) to the table it is upscaled so that the rows height takes a third of the whole A4 page. How can I di

[iText-questions] HeaderFooter

2006-11-08 Thread Dirk Ulrich
top of each page. ...and it ensures that the document's content begins AFTER the header. How can I achieve this behaviour using onPageEnd?Thank you,Dirk -- Mit freundlichen Grüßen Dirk Ulrich Jansenstraße 21 13437 Berlin fon:0++49-(0)30-40 999 087 mobil:++49-(0)174/948 87 39 Der G

[iText-questions] Table content is not properly placed

2006-07-12 Thread Dirk Ulrich
ated table everything is working very well. -- Mit freundlichen Grüßen Dirk Ulrich Jansenstraße 21 13437 Berlin fon:0++49-(0)30-40 999 087 mobil:++49-(0)174/948 87 39 Echte DSL-Flatrate dauerhaft für 0,- Euro*! "Feel free" mit GMX DSL! http://w