コード例 #1
0
        public override void setUp()
        {
            // TODO Auto-generated method stub
            base.setUp();
            JDFDoc  doc = new JDFDoc("JDF");
            JDFNode n   = doc.getJDFRoot();

            n.setType(EnumType.ColorSpaceConversion);
            cp = (JDFColorPool)n.addResource(ElementName.COLORPOOL, null);
        }
コード例 #2
0
        public override void setUp()
        {
            base.setUp();
            JDFElement.setLongID(false);
            d    = new JDFDoc(ElementName.JDF);
            elem = d.getJDFRoot();
            JDFResourcePool rpool = elem.appendResourcePool();

            colControl = (JDFColorantControl)rpool.appendResource(ElementName.COLORANTCONTROL, EnumResourceClass.Parameter, null);
            colControl.setProcessColorModel("DeviceCMYK");
            colControl.setResStatus(EnumResStatus.Available, true);
            colParams = colControl.appendColorantParams();
            colPool   = colControl.appendColorPool();
            colPool.makeRootResource(null, null, true);
        }
コード例 #3
0
ファイル: JDFColorantControl.cs プロジェクト: cip4/JDFLibNet
        ///
        ///	 <summary> * always reuse a colorpool </summary>
        ///
        public override JDFColorPool getCreateColorPool()
        {
            JDFColorPool cp = getColorPool();

            return(cp == null?base.getCreateColorPool() : cp);
        }