Hi,
Thanks for your response on centering. I've got that one licked
now.
I have two questions:
First, I am trying to achieve the following effect in a paragraph:
Indication(s): Generally, indications in this section are those that
are closest to being approved. Additional indications under
development may be listed in the description section to give a
better clinical picture of the product.
so I code it like this:
Phrase indPhrase = new Phrase("Indication(s): ",new
Font(Font.COURIER,10, Font.BOLD));
indPhrase.add(new Phrase("Generally, indications in this section are
those that are closest to being approved. Additional indications
under development may be listed in the description section to give a
better clinical picture of the product.",new
Font(Font.TIMES_ROMAN,10, Font.NORMAL)));
and what I get is:
Indication(s): Generally, indications in this section are those that
are closest to being approved. Additional indications under
development may be listed in the description section to give a
better clinical picture of the product.
In other words, it is not splitting the effect by giving me bold on
the first word and normal on the others. My code is almost exactly
like the examples given at iText.
Secondly, the above paragraph is part of a group of paragraphs that
I wish to indent . The first paragraph will span the entire page,
but the paragraphs like the one above need to be indented about 8
spaces. How can I achieve this.
Thanks for your help.
Tony Bono