shana
0
Q:

enginee.openReportDesign birt set path of file

					IReportDocument ird = engine.openReportDocument("c:/work/test/TOCTest.rptdocument");
					//get root node
					TOCNode td = ird.findTOC(null);
					List children = td.getChildren( );
					//Loop through Top Level Children
					if ( children != null && children.size( ) > 0 ){
						for ( int i = 0; i < children.size( ); i++ ){
							TOCNode child = ( TOCNode ) children.get( i );
							System.out.println( "Node ID " + child.getNodeID());
							System.out.println( "Node Display String " + child.getDisplayString());
							System.out.println( "Node Bookmark " + child.getBookmark());
						}
					}
					
0

New to Communities?

Join the community