コード例 #1
0
ファイル: JDFPageListTest.cs プロジェクト: cip4/JDFLibNet
        public virtual void testContentDataFinishing()
        {
            testContentData();
            JDFComponent c  = (JDFComponent)n.addResource(ElementName.COMPONENT, EnumUsage.Output);
            JDFComponent c1 = (JDFComponent)c.addPartition(EnumPartIDKey.BlockName, "Stack1");
            JDFComponent c2 = (JDFComponent)c.addPartition(EnumPartIDKey.BlockName, "Stack2");

            c.refElement(pl);
            c1.setPageListIndex(new JDFIntegerRangeList("0~8"));
            c2.setPageListIndex(new JDFIntegerRangeList("9~16"));
            c.setXMLComment("this is the output component with two stacks\n the imposition engine is aware of the pagelist index and can set it appropriately");
            d.write2File(sm_dirTestDataTemp + "ContentMetaDataStack.jdf", 2, false);
        }