Example #1
0
 ///
 ///          <summary> * (9) get attribute CutType </summary>
 ///          * <returns> the value of the attribute </returns>
 ///
 public virtual EnumCutType getCutType()
 {
     return(EnumCutType.getEnum(getAttribute(AttributeName.CUTTYPE, null, "Cut")));
 }
Example #2
0
 static JDFAutoShapeElement()
 {
     atrInfoTable[0] = new AtrInfoTable(AttributeName.CUTBOX, 0x33333331, AttributeInfo.EnumAttributeType.rectangle, null, null);
     atrInfoTable[1] = new AtrInfoTable(AttributeName.CUTOUT, 0x33333331, AttributeInfo.EnumAttributeType.boolean_, null, "false");
     atrInfoTable[2] = new AtrInfoTable(AttributeName.CUTPATH, 0x33333331, AttributeInfo.EnumAttributeType.PDFPath, null, null);
     atrInfoTable[3] = new AtrInfoTable(AttributeName.MATERIAL, 0x33333331, AttributeInfo.EnumAttributeType.string_, null, null);
     atrInfoTable[4] = new AtrInfoTable(AttributeName.CUTTYPE, 0x33333331, AttributeInfo.EnumAttributeType.enumeration, EnumCutType.getEnum(0), "Cut");
     atrInfoTable[5] = new AtrInfoTable(AttributeName.SHAPEDEPTH, 0x33333331, AttributeInfo.EnumAttributeType.double_, null, null);
     atrInfoTable[6] = new AtrInfoTable(AttributeName.SHAPETYPE, 0x22222221, AttributeInfo.EnumAttributeType.enumeration, EnumShapeType.getEnum(0), null);
     atrInfoTable[7] = new AtrInfoTable(AttributeName.STATIONNAME, 0x33333111, AttributeInfo.EnumAttributeType.string_, null, null);
     atrInfoTable[8] = new AtrInfoTable(AttributeName.TEETHPERDIMENSION, 0x33333331, AttributeInfo.EnumAttributeType.double_, null, null);
 }
Example #3
0
 //         ---------------------------------------------------------------------
 //        Methods for Attribute CutType
 //        ---------------------------------------------------------------------
 ///
 ///          <summary> * (5) set attribute CutType </summary>
 ///          * <param name="enumVar">: the enumVar to set the attribute to </param>
 ///
 public virtual void setCutType(EnumCutType enumVar)
 {
     setAttribute(AttributeName.CUTTYPE, enumVar == null ? null : enumVar.getName(), null);
 }