/// /// <summary> * (9) get attribute ImageReplacementStrategy </summary> /// * <returns> the value of the attribute </returns> /// public virtual EnumImageReplacementStrategy getImageReplacementStrategy() { return(EnumImageReplacementStrategy.getEnum(getAttribute(AttributeName.IMAGEREPLACEMENTSTRATEGY, null, null))); }
static JDFAutoImageReplacementParams() { atrInfoTable[0] = new AtrInfoTable(AttributeName.IMAGEREPLACEMENTSTRATEGY, 0x22222222, AttributeInfo.EnumAttributeType.enumeration, EnumImageReplacementStrategy.getEnum(0), null); atrInfoTable[1] = new AtrInfoTable(AttributeName.IMAGEPRESCANSTRATEGY, 0x33333311, AttributeInfo.EnumAttributeType.NMTOKEN, null, null); atrInfoTable[2] = new AtrInfoTable(AttributeName.MAXRESOLUTION, 0x44444443, AttributeInfo.EnumAttributeType.double_, null, null); atrInfoTable[3] = new AtrInfoTable(AttributeName.MINRESOLUTION, 0x33333333, AttributeInfo.EnumAttributeType.double_, null, null); atrInfoTable[4] = new AtrInfoTable(AttributeName.RESOLUTIONREDUCTIONSTRATEGY, 0x44444443, AttributeInfo.EnumAttributeType.enumeration, EnumResolutionReductionStrategy.getEnum(0), null); atrInfoTable[5] = new AtrInfoTable(AttributeName.IGNOREEXTENSIONS, 0x33333333, AttributeInfo.EnumAttributeType.NMTOKENS, null, null); atrInfoTable[6] = new AtrInfoTable(AttributeName.MAXSEARCHRECURSION, 0x33333333, AttributeInfo.EnumAttributeType.integer, null, null); elemInfoTable[0] = new ElemInfoTable(ElementName.FILESPEC, 0x22222221); elemInfoTable[1] = new ElemInfoTable(ElementName.SEARCHPATH, 0x44444443); }
// ************************************************************************ // * Attribute getter / setter // * ************************************************************************ // // --------------------------------------------------------------------- // Methods for Attribute ImageReplacementStrategy // --------------------------------------------------------------------- /// /// <summary> * (5) set attribute ImageReplacementStrategy </summary> /// * <param name="enumVar">: the enumVar to set the attribute to </param> /// public virtual void setImageReplacementStrategy(EnumImageReplacementStrategy enumVar) { setAttribute(AttributeName.IMAGEREPLACEMENTSTRATEGY, enumVar == null ? null : enumVar.getName(), null); }