Hi
I tried the
following for an RTF file:
// Create a paragraph for the chapter
title
Paragraph titleP = new Paragraph (title, fontTitle_);
titleP.setAlignment(Element.ALIGN_CENTER);
Paragraph titleP = new Paragraph (title, fontTitle_);
titleP.setAlignment(Element.ALIGN_CENTER);
chapter_ = new Chapter (titleP,
getNextChapterNumber());
chapter_.setNumberDepth(0);
chapter_.setNumberDepth(0);
but the title
paragraph is never centered. If I add another
paragraph to the
chapter, and specfiy ALIGN_CENTER,
then that paragraph
is correctly aligned.
Why is the Chapter
not centering my title paragraph?
g GE Global
Research
_______________________
G. Bowden Wise
[EMAIL PROTECTED]
Information and
Decision Technologies
GE Global Research
Center
Building K1, Room 5B2C
PO Box
8 |
One Research Circle
Schenectady, NY
12301 | Niskayuna NY 12309
Phone:
518-387-7833 |
Fax:
518-387-6104
