public virtual void testLayerRunListComplex() { JDFElement.setLongID(false); setUpDoc(); setupRunList(1); setupLayout(true); n.setPartStatus(new JDFAttributeMap(EnumPartIDKey.PartVersion, "De"), EnumNodeStatus.Completed, null); JDFResourceLink rl = n.getLink(rlIn, null); rl.setPartition(EnumPartIDKey.PartVersion, "De Euro"); d.write2File(sm_dirTestDataTemp + "LayerListDeEuro.jdf", 2, false); VJDFAttributeMap vMap = new VJDFAttributeMap(); JDFAttributeMap map = new JDFAttributeMap(); map.put(EnumPartIDKey.PartVersion, "De"); map.put(EnumPartIDKey.LayerIDs, "1"); vMap.Add(map); map = new JDFAttributeMap(); map.put(EnumPartIDKey.PartVersion, "Euro"); map.put(EnumPartIDKey.LayerIDs, "2"); vMap.Add(map); rl.setPartMapVector(vMap); rl.setDescriptiveName("Only DE + Euro, no bkg partversion is selected"); d.write2File(sm_dirTestDataTemp + "LayerListDeEuro_BKG.jdf", 2, false); }
public virtual void testLayerRunList() { JDFElement.setLongID(false); setUpDoc(); JDFIntegerRangeList pageRange = new JDFIntegerRangeList(new JDFIntegerRange(0, -1, 16)); rlIn.setDescriptiveName("Layers are just another partversion layer selection in the link is achieved using multiple partversions"); JDFRunList rlAll = (JDFRunList)rlIn.addPartition(EnumPartIDKey.PartVersion, "CMYK"); rlAll.setFileURL("background.pdf"); rlAll.setPages(pageRange); JDFRunList rlEn = (JDFRunList)rlIn.addPartition(EnumPartIDKey.PartVersion, "FR"); rlEn.setFileURL("Francais.pdf"); rlEn.setPages(pageRange); rlEn.setLogicalPage(16); JDFRunList rlDe = (JDFRunList)rlIn.addPartition(EnumPartIDKey.PartVersion, "De"); rlDe.setFileURL("deutsch.pdf"); rlDe.setPages(pageRange); rlDe.setLogicalPage(16); setupLayout(false); n.setPartStatus(new JDFAttributeMap(EnumPartIDKey.PartVersion, "De"), EnumNodeStatus.Completed, null); JDFResourceLink rl = n.getLink(rlIn, null); rl.setPartition(EnumPartIDKey.PartVersion, "CMYK De"); d.write2File(sm_dirTestDataTemp + "LayerList.jdf", 2, false); rl.setPartition(EnumPartIDKey.PartVersion, "De"); rl.setDescriptiveName("Only DE, no bkg partversion is selected"); d.write2File(sm_dirTestDataTemp + "LayerList_BKG.jdf", 2, false); }
public virtual void testLayerRunListIdentical() { JDFElement.setLongID(false); setUpDoc(); setupRunList(2); setupLayout(true); n.setPartStatus(new JDFAttributeMap(EnumPartIDKey.PartVersion, "De"), EnumNodeStatus.Completed, null); JDFResourceLink rl = n.getLink(rlIn, null); rl.setPartition(EnumPartIDKey.PartVersion, "De"); d.write2File(sm_dirTestDataTemp + "LayerListDeEuroIdentical.jdf", 2, false); JDFAttributeMap map = new JDFAttributeMap(); map.put(EnumPartIDKey.PartVersion, "De"); map.put(EnumPartIDKey.LayerIDs, "1 2"); rl.setPartMap(map); rl.setDescriptiveName("Only Language + Currency, no bkg partversion is selected"); d.write2File(sm_dirTestDataTemp + "LayerListDeEuroIdentical_BKG.jdf", 2, false); }