public static XLSRecord getPrototype( int type )
	{
		FrtWrapper frt = new FrtWrapper();
		frt.type = type;                    // save wrapped type
		frt.setOpcode( FRTWRAPPER );
		byte[] b = null;
		switch( type )
		{
			case DEFAULTTEXT:
				b = frt.P_0;    // generate a default text record with 0=show labels
				break;
			case TEXTDISPWITHDATALABELS:    // generate a text display with showKey (I believe!)
				b = frt.P_1;
				break;
			case TEXTDISP:    // generate a text display with showKey (I believe!) and NO data labels
				b = frt.P_7;
				break;
			case BEGIN:
				b = frt.P_2;
				break;
			case POS:
				b = frt.P_3;    // generate a POS record with default values
				break;
			case AI:
				b = frt.P_4;    // generate an AI record for SERIES Values
				break;
			case OBJECTLINK:
				b = frt.P_5;        // generate record with TYPE_DATASERIES
				break;
			case END:
				b = frt.P_6;
				break;
		}
		frt.setData( b );
		frt.init();
		return frt;
	}