Exemplo n.º 1
0
        public virtual void testPreflightProfile()
        {
            JDFDoc d = new JDFDoc("JDF");

            n = d.getJDFRoot();
            n.setType(EnumType.Preflight);

            inRun = (JDFRunList)n.appendMatchingResource(ElementName.RUNLIST, EnumProcessUsage.AnyInput, null);
            inRun.setFileURL("input.pdf");

            preparms = (JDFPreflightParams)n.appendMatchingResource(ElementName.PREFLIGHTPARAMS, EnumProcessUsage.AnyInput, null);
            prrp     = (JDFPreflightReportRulePool)n.appendMatchingResource(ElementName.PREFLIGHTREPORTRULEPOOL, EnumProcessUsage.AnyInput, null);

            // new
            aPool = (JDFActionPool)preparms.appendElement(ElementName.ACTIONPOOL);

            // now some simple tests...
            appendTransparency();
            appendNumPagesAction();
            appendSeparationAction();
            appendBWSeparationAction();
            appendTrimBoxAction();
            appendResolutionAction();
            appendResolutionActionBitMap();
            appendLineWeightAction();

            d.write2File(sm_dirTestDataTemp + "PreflightProfile.jdf", 2, false);
        }
Exemplo n.º 2
0
 ///
 ///      <summary> * (31) create inter-resource link to refTarget </summary>
 ///      * <param name="refTarget"> the element that is referenced </param>
 ///
 public virtual void refPreflightParams(JDFPreflightParams refTarget)
 {
     refElement(refTarget);
 }