Bug 176784 always-excluding-first and always-excluding-last in item properties pop up error[00]
Details: always-excluding-first and always-excluding-last in item properties pop up error Step: 1.New a report and add a label 2.Select the label and switch properties tab. 3.Select the section and set the page break as always-excluding-first or always-excluding-last. actual result: Pop up an error excepted result: If these selection are not supported, and please remove them. If these selection are supported, it can be set to the item.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/views/attributes/providers/ChoiceSetFactory.java
if ( iterator != null )
		{
			while ( iterator.hasNext( ) )
			{
				ReportElementHandle elementHandle = (ReportElementHandle) iterator.next( );
				list.add( elementHandle.getQualifiedName( ) );
			}
		}
		return (String[]) list.toArray( new String[0] );
	}
	/**
	 * Gets the default format value given the struct name of format property .
	 * 
	 * @param structName
	 *            The struct name of the format property.
	 * @return formatValue = new String[2]. The default format value, String[0]:
	 *         default category; String[1]: default pattern.
	 */
	public static String[] getDefaultFormatValue( String structName )
	{
		String[] formatValue = new String[2];
		IStructureDefn def = DEUtil.getMetaDataDictionary( )
				.getStructure( structName );
		formatValue[0] = (String) def.getMember( FormatValue.CATEGORY_MEMBER )
				.getDefault( );
		formatValue[1] = (String) def.getMember( FormatValue.PATTERN_MEMBER )
				.getDefault( );
		return formatValue;
	}
}