Hello (boa tarde :).

I'm using the code in the example ("chap0403.java") :

"...

Paragraph title1 = new Paragraph("This is Chapter 1",
FontFactory.getFont(FontFactory.HELVETICA, 18, Font.BOLDITALIC, new Color(0,
0, 255)));
            Chapter chapter1 = new Chapter(title1, 2);
            chapter1.setNumberDepth(0);
            Paragraph someText = new Paragraph("This is some text");
            chapter1.add(someText);

            Paragraph title11 = new Paragraph("This is Section 1 in Chapter
1", FontFactory.getFont(FontFactory.HELVETICA, 16, Font.BOLD, new Color(255,
0, 0)));
            Section section1 = chapter1.addSection(title11);
            Paragraph someSectionText = new Paragraph("This is some silly
paragraph in a chapter and/or section. It contains some text to test the
functionality of Chapters and Section.");
            section1.add(someSectionText);

            document.add(chapter1);
...
"

As for the version of iText it's 0.92, the one on the site (right?).

Thanks.

Rui


> -----Original Message-----
> From: Paulo Soares [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 16, 2002 7:51 PM
> To: 'Rui Santos Ant�nio'; [EMAIL PROTECTED]
> Subject: RE: [iText-questions] Chapter/titles not appearing in outline
> 
> 
> What code are you using and what iText version.
> 
> Best Regards,
> Paulo Soares
> 
> > -----Original Message-----
> > From:       Rui Santos Ant�nio [SMTP:[EMAIL PROTECTED]]
> > Sent:       Tuesday, July 16, 2002 19:34
> > To: [EMAIL PROTECTED]
> > Subject:    [iText-questions] Chapter/titles not appearing 
> in outline
> > 
> > 
> > 
> > Hi there.
> > 
> > I'm adding chapters/sections to my document as explained in 
> chap0403.java.
> > 
> > It happens that no title except for the 1st (1st chapter) 
> appears in the
> > outline, just a 'blank'.
> > The tree is ok, though. All levels, correct depth, etc... 
> just no titles.
> > 
> > Can someone shed a little light on the subject ?
> > 
> > Thanks in advance,
> > 
> > Rui Santos Ant�nio 
> > Consultor especialista 
> > STEP - Tecnologias de Informa��o 
> > Rua Ant�nio Pedro, 46 3� 
> > 1000-039 Lisboa 
> > Portugal 
> > Tel: +351 21 351 33 40 
> > Fax: +351 21 351 33 49 
> > e-mail: [EMAIL PROTECTED] 
> > 
> > 
> > 
> > 
> > -------------------------------------------------------
> > This sf.net email is sponsored by: Jabber - The world's 
> fastest growing 
> > real-time communications platform! Don't just IM. Build it in! 
> > http://www.jabber.com/osdn/xim
> > _______________________________________________
> > iText-questions mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/itext-questions
> 


-------------------------------------------------------
This sf.net email is sponsored by: Jabber - The world's fastest growing
real-time communications platform! Don't just IM. Build it in!
http://www.jabber.com/osdn/xim
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to