Skip to main content



      Home
Home » Archived » BIRT » How can I create a TOC ?
How can I create a TOC ? [message #250460] Mon, 30 July 2007 19:41 Go to next message
Eclipse UserFriend
Originally posted by: luigus.gmail.com

Hi fouks,

I have a report what are generate programmatically,
and a create a function what incert TOC's in some item Text

public void setTOCString(TextItemHandle texto, String string){
try{
texto.setContentType("HTML");
texto.addTOC("displayString = \""+ string+"\"");
}catch(Exception e){
e.printStackTrace();
}
}

But, how can I change some nodes for parent's or children's !??

I have no ideia .... please someone help me
Re: How can I create a TOC ? [message #250638 is a reply to message #250460] Tue, 31 July 2007 16:25 Go to previous messageGo to next message
Eclipse UserFriend
You can't set the TOC hierarchy explicitly via API (and you don't do it when
you create a report with the Designer). The TOC hierarchy is implicitly
deduced by the grouping level in which a report item with a TOC entry is
situated at.

Spunk

"luigus" <luigus@gmail.com> schrieb im Newsbeitrag
news:14ebc6c26222809e8bfaa166c1d36d59$1@www.eclipse.org...
>
> Hi fouks,
>
> I have a report what are generate programmatically,
> and a create a function what incert TOC's in some item Text
>
> public void setTOCString(TextItemHandle texto, String string){
> try{
> texto.setContentType("HTML");
> texto.addTOC("displayString = \""+ string+"\"");
> }catch(Exception e){
> e.printStackTrace();
> }
> }
> But, how can I change some nodes for parent's or children's !??
>
> I have no ideia .... please someone help me
Re: How can I create a TOC ? [message #250791 is a reply to message #250638] Wed, 01 August 2007 14:15 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: luigus.gmail.com

Thanks
Re: How can I create a TOC ? [message #251386 is a reply to message #250638] Tue, 07 August 2007 00:39 Go to previous message
Eclipse UserFriend
This is a multipart message in MIME format.
--=_alternative 00198AD848257330_=
Content-Type: text/plain; charset="US-ASCII"

Our product also has requirement to organize the TOC.
Why BIRT doesn't allow user to specify outline level of TOC entry?
TOC should not always be tightly bound with group level.
--=_alternative 00198AD848257330_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Our product also has requirement to
organize the TOC. </font>
<br><font size=2 face="sans-serif">Why BIRT doesn't allow user to specify
outline level of TOC entry? </font>
<br><font size=2 face="sans-serif">TOC should not always be tightly bound
with group level.</font>
--=_alternative 00198AD848257330_=--
Previous Topic:pdf emitter
Next Topic:NullPointerException when running a report from stand alone java class
Goto Forum:
  


Current Time: Sun May 11 20:34:20 EDT 2025

Powered by FUDForum. Page generated in 0.24979 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top