Answers for "enginee.openReportDesign birt set path of file"

0

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());
						}
					}
Posted by: Guest on September-17-2020

Browse Popular Code Answers by Language