protected internal virtual void appendBWSeparationAction() { JDFAction a = aPool.appendActionSetTest(EnumTerm.StringEvaluation, EnumTerm.IntegerEvaluation, false); a.setSeverity(EnumSeverity.Error); JDFStringEvaluation numSeparations = (JDFStringEvaluation)((JDFnot)a.getTestTerm()).getTerm(null, 0); numSeparations.appendBasicPreflightTest("SeparationList"); a.setDescriptiveName("separation to black only on page 1 and 2"); numSeparations.appendValueValue("Black"); JDFIntegerEvaluation setEval = (JDFIntegerEvaluation)a.getPreflightActionSetTerm(); setEval.appendBasicPreflightTest("PageNumber"); setEval.appendValueList(1); setEval.appendValueList(2); }
protected internal virtual void appendSeparationAction() { { JDFAction a = aPool.appendActionSetTest(EnumTerm.StringEvaluation, EnumTerm.IntegerEvaluation, false); a.setSeverity(EnumSeverity.Error); JDFStringEvaluation numSeparations = (JDFStringEvaluation)((JDFnot)a.getTestTerm()).getTerm(null, 0); JDFBasicPreflightTest testSeps = numSeparations.appendBasicPreflightTest("SeparationList"); a.setDescriptiveName("set number of separations to 6 on page 0 and 3"); testSeps.setMinOccurs(6); testSeps.setMaxOccurs(6); testSeps.setListType(EnumListType.UniqueList); JDFIntegerEvaluation setEval = (JDFIntegerEvaluation)a.getPreflightActionSetTerm(); setEval.appendBasicPreflightTest("PageNumber"); setEval.appendValueList(0); setEval.appendValueList(3); } }