Bug 176579 Expose setGroupLevel() on IGroupContent interface
Currently IGroupContent interface doesn't expose setGroupLevel() method, this is required for custom IReportItemExecutor to construct the group content. following is the suggested code change: public int getGroupLevel( ) { if ( groupLevel != -1 ) { return groupLevel; } if ( generateBy instanceof GroupDesign ) { GroupDesign design = (GroupDesign) generateBy; return design.getGroupLevel( ); } return -1; } public void setGroupLevel( int level ) { this.groupLevel = level; }
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/content/impl/GroupContent.java
headerRepeat = Boolean.valueOf( repeat );
	}
	public Object accept( IContentVisitor visitor, Object value )
	{
		return visitor.visitGroup( this, value );
	}
	static final protected short FIELD_HEADER_REPEAT = 1500;
	protected void writeFields( DataOutputStream out ) throws IOException
	{
		super.writeFields( out );
		if ( headerRepeat != null )
		{
			IOUtil.writeShort( out, FIELD_HEADER_REPEAT);
			IOUtil.writeBool( out, headerRepeat.booleanValue( ) );
		}
	}
	protected void readField( int version, int filedId, DataInputStream in )
			throws IOException
	{
		switch ( filedId )
		{
			case FIELD_HEADER_REPEAT :
				headerRepeat = Boolean.valueOf( IOUtil.readBool( in ) );
				break;
			default :
				super.readField( version, filedId, in );
		}
	}
}