/// /// <summary> * (9) get attribute SourceCS </summary> /// * <returns> the value of the attribute </returns> /// public virtual EnumSourceCS getSourceCS() { return(EnumSourceCS.getEnum(getAttribute(AttributeName.SOURCECS, null, null))); }
static JDFAutoColorSpaceConversionOp() { atrInfoTable[0] = new AtrInfoTable(AttributeName.IGNOREEMBEDDEDICC, 0x33333333, AttributeInfo.EnumAttributeType.boolean_, null, "false"); atrInfoTable[1] = new AtrInfoTable(AttributeName.PRESERVEBLACK, 0x33333331, AttributeInfo.EnumAttributeType.boolean_, null, "false"); atrInfoTable[2] = new AtrInfoTable(AttributeName.RENDERINGINTENT, 0x33333333, AttributeInfo.EnumAttributeType.enumeration, EnumRenderingIntent.getEnum(0), "ColorSpaceDependent"); atrInfoTable[3] = new AtrInfoTable(AttributeName.RGBGRAY2BLACK, 0x33333333, AttributeInfo.EnumAttributeType.boolean_, null, "false"); atrInfoTable[4] = new AtrInfoTable(AttributeName.RGBGRAY2BLACKTHRESHOLD, 0x33333311, AttributeInfo.EnumAttributeType.double_, null, "1"); atrInfoTable[5] = new AtrInfoTable(AttributeName.SOURCEOBJECTS, 0x33333333, AttributeInfo.EnumAttributeType.enumerations, EnumSourceObjects.getEnum(0), "All"); atrInfoTable[6] = new AtrInfoTable(AttributeName.OPERATION, 0x33333333, AttributeInfo.EnumAttributeType.enumeration, EnumOperation.getEnum(0), null); atrInfoTable[7] = new AtrInfoTable(AttributeName.SOURCECS, 0x33333333, AttributeInfo.EnumAttributeType.enumeration, EnumSourceCS.getEnum(0), null); atrInfoTable[8] = new AtrInfoTable(AttributeName.SOURCERENDERINGINTENT, 0x33333311, AttributeInfo.EnumAttributeType.enumeration, EnumSourceRenderingIntent.getEnum(0), null); elemInfoTable[0] = new ElemInfoTable(ElementName.DEVICENSPACE, 0x66666611); elemInfoTable[1] = new ElemInfoTable(ElementName.FILESPEC, 0x66666666); elemInfoTable[2] = new ElemInfoTable(ElementName.SEPARATIONSPEC, 0x33333311); }
// --------------------------------------------------------------------- // Methods for Attribute SourceCS // --------------------------------------------------------------------- /// /// <summary> * (5) set attribute SourceCS </summary> /// * <param name="enumVar">: the enumVar to set the attribute to </param> /// public virtual void setSourceCS(EnumSourceCS enumVar) { setAttribute(AttributeName.SOURCECS, enumVar == null ? null : enumVar.getName(), null); }