Thanks Mark, that did the job for me.
-Original Message-
From: Mark Hall [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 25, 2006 11:13 AM
To: Post all your questions about iText here
Cc: Bhupat Raigaga
Subject: Re: [iText-questions] RtfTOC how to set fonts and indentation for
each entry
On Tuesday 25 July 2006 19:17, Bhupat Raigaga wrote:
> I couldn't find the method RtfParagraphStyle.setPROPERTY_NAME in the method
> documentation or in the code. Could you show little example.
> I am using the latest version of itext(1.4).
That's because you have to replace PROPERTY_NAME with the
ly 25, 2006 3:41 AM
To: itext-questions@lists.sourceforge.net
Cc: Bhupat Raigaga; 'Alin Popa'
Subject: Re: [iText-questions] RtfTOC how to set fonts and indentation for
each entry
On Monday 24 July 2006 23:21, Bhupat Raigaga wrote:
> RtfParagraphStyle head = new RtfParagraphSty
On Monday 24 July 2006 23:21, Bhupat Raigaga wrote:
> RtfParagraphStyle head = new RtfParagraphStyle("head",
> "Bold",RtfFont.NORMAL, Color.BLACK); // Set the TOC style
> writer.getDocumentSettings().registerParagraphStyle(head);
>
> Paragraph ph = new Paragraph(sectionTitle,head);
>
> This coul
sociate the font size for
RtfParagraphStyle.STYLE_HEADING_1.
Any light on this would do me good !
Thanks
Bhupat
-Original Message-
From: Mark Hall [mailto:[EMAIL PROTECTED]
Sent: Sunday, July 16, 2006 8:57 AM
To: Post all your questions about iText here
Cc: Bhupat Raigaga; Alin Popa
Subject: Re: [iText-questions
On Tuesday 18 July 2006 00:21, Bhupat Raigaga wrote:
> Thanks for the quick response. So if I understand correctly, For different
> chapters I would have different font i.e.
In the table of contents you can only have different fonts for different
levels of the toc hierarchy. You cannot have differ
On Tuesday 18 July 2006 07:55, Alin Popa wrote:
> I still don't manage how to make the same font for ALL TOCEntries
> Like I said before: each entry have its own font type/size/whatever.
> The solution using RtfParagraphStyle didn't work.
>
> The way that I'm using entries to the TOC ... is NO
Hi Mark,Thanks for all the responses.I still don't manage how to make the same font for ALL TOCEntries Like I said before: each entry have its own font type/size/whatever.The solution using
RtfParagraphStyle didn't work.The way that I'm using entries to the TOC ... is NOT by using Chapters.Is
printed above ?
Thanks
Bhupat
-Original Message-
From: Mark Hall [mailto:[EMAIL PROTECTED]
Sent: Monday, July 17, 2006 2:47 PM
To: itext-questions@lists.sourceforge.net
Cc: Bhupat Raigaga
Subject: Re: [iText-questions] RtfTOC how to set fonts and indentation for each
entry
On
On Monday 17 July 2006 08:14, Alin Popa wrote:
> I've done what you said and this is the result: (please see attached
> screenshot).
> The font type but not the size and in some places is bold and in others is
> normal.
> I think it inherits the fonts from the paragraph where it is used and this
>
On Monday 17 July 2006 18:44, Bhupat Raigaga wrote:
> This does help in setting RtfTOC font, but It applies the same style to
> whole document. I need to have Sections BOLD and rest normal font.
Then you need to use more styles. Use the RtfParagraphStyle.STYLE_HEADING_N
styles for your chapters an
questions about iText here
Cc: Bhupat Raigaga; Alin Popa
Subject: Re: [iText-questions] RtfTOC how to set fonts and indentation for
each entry
On Friday 14 July 2006 21:02, Bhupat Raigaga wrote:
> However, I'm little stuck while generating table of contents. In The code
> shown below
>
>
On Friday 14 July 2006 21:02, Bhupat Raigaga wrote:
> However, I'm little stuck while generating table of contents. In The code
> shown below
>
> setting font and indentation Doesn't seem to work . How to make this work
> ?
To set the font in the TOC you need the current iText release and then add
Hi Bhupat,I have also the same problem: I can't setup the font for every entry of TOC. Even if I specify one font, the font it will be ... random or ... generated as the one from the page where the Entry was used.
Soi, guys, please help us, what can be the problem, how can we solve this ? This can
Hi,
I am using itext for Rtf generation and it works
pretty good for my 90% needs.
However, I’m little stuck while generating table
of contents. In The code shown below
setting font and indentation Doesn’t seem to
work . How to make this work ?
Code:
I have main table of entry
15 matches
Mail list logo