Re: [iText-questions] RtfTOC how to set fonts and indentation for each entry

2006-07-25 Thread Bhupat Raigaga
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

Re: [iText-questions] RtfTOC how to set fonts and indentation for each entry

2006-07-25 Thread Mark Hall
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

Re: [iText-questions] RtfTOC how to set fonts and indentation for each entry

2006-07-25 Thread Bhupat Raigaga
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

Re: [iText-questions] RtfTOC how to set fonts and indentation for each entry

2006-07-25 Thread Mark Hall
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

Re: [iText-questions] RtfTOC how to set fonts and indentation for each entry

2006-07-24 Thread Bhupat Raigaga
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

Re: [iText-questions] RtfTOC how to set fonts and indentation for each entry

2006-07-19 Thread Mark Hall
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

Re: [iText-questions] RtfTOC how to set fonts and indentation for each entry

2006-07-19 Thread Mark Hall
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

Re: [iText-questions] RtfTOC how to set fonts and indentation for each entry

2006-07-17 Thread Alin Popa
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

Re: [iText-questions] RtfTOC how to set fonts and indentation for each entry

2006-07-17 Thread Bhupat Raigaga
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

Re: [iText-questions] RtfTOC how to set fonts and indentation for each entry

2006-07-17 Thread Mark Hall
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 >

Re: [iText-questions] RtfTOC how to set fonts and indentation for each entry

2006-07-17 Thread Mark Hall
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

Re: [iText-questions] RtfTOC how to set fonts and indentation for each entry

2006-07-17 Thread Bhupat Raigaga
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 > >

Re: [iText-questions] RtfTOC how to set fonts and indentation for each entry

2006-07-16 Thread Mark Hall
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

Re: [iText-questions] RtfTOC how to set fonts and indentation for each entry

2006-07-16 Thread Alin Popa
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

[iText-questions] RtfTOC how to set fonts and indentation for each entry

2006-07-14 Thread Bhupat Raigaga
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