/// /// <summary> * (9) get attribute Collate </summary> /// * <returns> the value of the attribute </returns> /// public virtual EnumCollate getCollate() { return(EnumCollate.getEnum(getAttribute(AttributeName.COLLATE, null, null))); }
static JDFAutoDigitalPrintingParams() { atrInfoTable[0] = new AtrInfoTable(AttributeName.DIRECTPROOFAMOUNT, 0x33333311, AttributeInfo.EnumAttributeType.integer, null, "0"); atrInfoTable[1] = new AtrInfoTable(AttributeName.MANUALFEED, 0x33333331, AttributeInfo.EnumAttributeType.boolean_, null, "false"); atrInfoTable[2] = new AtrInfoTable(AttributeName.COLLATE, 0x33333331, AttributeInfo.EnumAttributeType.enumeration, EnumCollate.getEnum(0), null); atrInfoTable[3] = new AtrInfoTable(AttributeName.OUTPUTBIN, 0x33333331, AttributeInfo.EnumAttributeType.NMTOKEN, null, null); atrInfoTable[4] = new AtrInfoTable(AttributeName.PRINTQUALITY, 0x44444443, AttributeInfo.EnumAttributeType.enumeration, EnumPrintQuality.getEnum(0), null); atrInfoTable[5] = new AtrInfoTable(AttributeName.NONPRINTABLEMARGINBOTTOM, 0x33333311, AttributeInfo.EnumAttributeType.double_, null, null); atrInfoTable[6] = new AtrInfoTable(AttributeName.NONPRINTABLEMARGINLEFT, 0x33333311, AttributeInfo.EnumAttributeType.double_, null, null); atrInfoTable[7] = new AtrInfoTable(AttributeName.NONPRINTABLEMARGINRIGHT, 0x33333311, AttributeInfo.EnumAttributeType.double_, null, null); atrInfoTable[8] = new AtrInfoTable(AttributeName.NONPRINTABLEMARGINTOP, 0x33333311, AttributeInfo.EnumAttributeType.double_, null, null); atrInfoTable[9] = new AtrInfoTable(AttributeName.PAGEDELIVERY, 0x33333331, AttributeInfo.EnumAttributeType.enumeration, EnumPageDelivery.getEnum(0), null); atrInfoTable[10] = new AtrInfoTable(AttributeName.PRINTINGTYPE, 0x33333333, AttributeInfo.EnumAttributeType.enumeration, EnumPrintingType.getEnum(0), null); atrInfoTable[11] = new AtrInfoTable(AttributeName.SHEETLAY, 0x33333333, AttributeInfo.EnumAttributeType.enumeration, EnumSheetLay.getEnum(0), null); atrInfoTable[12] = new AtrInfoTable(AttributeName.SIDES, 0x33333111, AttributeInfo.EnumAttributeType.enumeration, EnumSides.getEnum(0), null); elemInfoTable[0] = new ElemInfoTable(ElementName.COMPONENT, 0x66666661); elemInfoTable[1] = new ElemInfoTable(ElementName.APPROVALPARAMS, 0x66666611); elemInfoTable[2] = new ElemInfoTable(ElementName.DISJOINTING, 0x66666661); elemInfoTable[3] = new ElemInfoTable(ElementName.INK, 0x66666111); elemInfoTable[4] = new ElemInfoTable(ElementName.MEDIA, 0x66666661); elemInfoTable[5] = new ElemInfoTable(ElementName.MEDIASOURCE, 0x77777776); }
// --------------------------------------------------------------------- // Methods for Attribute Collate // --------------------------------------------------------------------- /// /// <summary> * (5) set attribute Collate </summary> /// * <param name="enumVar">: the enumVar to set the attribute to </param> /// public virtual void setCollate(EnumCollate enumVar) { setAttribute(AttributeName.COLLATE, enumVar == null ? null : enumVar.getName(), null); }