コード例 #1
0
 ///
 ///          <summary> * (9) get attribute OCGProcess </summary>
 ///          * <returns> the value of the attribute </returns>
 ///
 public virtual EnumOCGProcess getOCGProcess()
 {
     return(EnumOCGProcess.getEnum(getAttribute(AttributeName.OCGPROCESS, null, null)));
 }
コード例 #2
0
 static JDFAutoPDFInterpretingParams()
 {
     atrInfoTable[0]  = new AtrInfoTable(AttributeName.EMITPDFBG, 0x33333331, AttributeInfo.EnumAttributeType.boolean_, null, "true");
     atrInfoTable[1]  = new AtrInfoTable(AttributeName.EMITPDFHALFTONES, 0x33333331, AttributeInfo.EnumAttributeType.boolean_, null, "true");
     atrInfoTable[2]  = new AtrInfoTable(AttributeName.EMITPDFTRANSFERS, 0x33333331, AttributeInfo.EnumAttributeType.boolean_, null, "true");
     atrInfoTable[3]  = new AtrInfoTable(AttributeName.EMITPDFUCR, 0x33333331, AttributeInfo.EnumAttributeType.boolean_, null, "true");
     atrInfoTable[4]  = new AtrInfoTable(AttributeName.HONORPDFOVERPRINT, 0x33333331, AttributeInfo.EnumAttributeType.boolean_, null, "true");
     atrInfoTable[5]  = new AtrInfoTable(AttributeName.ICCCOLORASDEVICECOLOR, 0x33333331, AttributeInfo.EnumAttributeType.boolean_, null, "false");
     atrInfoTable[6]  = new AtrInfoTable(AttributeName.OCGDEFAULT, 0x33333111, AttributeInfo.EnumAttributeType.enumeration, EnumOCGDefault.getEnum(0), "FromPDF");
     atrInfoTable[7]  = new AtrInfoTable(AttributeName.OCGINTENT, 0x33333111, AttributeInfo.EnumAttributeType.NMTOKEN, null, null);
     atrInfoTable[8]  = new AtrInfoTable(AttributeName.OCGPROCESS, 0x33333111, AttributeInfo.EnumAttributeType.enumeration, EnumOCGProcess.getEnum(0), null);
     atrInfoTable[9]  = new AtrInfoTable(AttributeName.OCGZOOM, 0x33333111, AttributeInfo.EnumAttributeType.double_, null, "1.0");
     atrInfoTable[10] = new AtrInfoTable(AttributeName.PRINTPDFANNOTATIONS, 0x33333331, AttributeInfo.EnumAttributeType.boolean_, null, "false");
     atrInfoTable[11] = new AtrInfoTable(AttributeName.PRINTTRAPANNOTATIONS, 0x33333111, AttributeInfo.EnumAttributeType.boolean_, null, "false");
     atrInfoTable[12] = new AtrInfoTable(AttributeName.TRANSPARENCYRENDERINGQUALITY, 0x33333331, AttributeInfo.EnumAttributeType.double_, null, null);
     elemInfoTable[0] = new ElemInfoTable(ElementName.OCGCONTROL, 0x33333111);
 }
コード例 #3
0
 //         ---------------------------------------------------------------------
 //        Methods for Attribute OCGProcess
 //        ---------------------------------------------------------------------
 ///
 ///          <summary> * (5) set attribute OCGProcess </summary>
 ///          * <param name="enumVar">: the enumVar to set the attribute to </param>
 ///
 public virtual void setOCGProcess(EnumOCGProcess enumVar)
 {
     setAttribute(AttributeName.OCGPROCESS, enumVar == null ? null : enumVar.getName(), null);
 }