Exemplo n.º 1
0
        public override void MergeField(Novacode.DocX doc)
        {
            base.MergeField(doc);

            doc.AddCustomProperty(new Novacode.CustomProperty("CostDetail.BuyingFormat", this.BuyingFormat));
            doc.AddCustomProperty(new Novacode.CustomProperty("CostDetail.PrintingFormat", this.PrintingFormat));

        }
Exemplo n.º 2
0
        public override void MergeField(Novacode.DocX doc)
        {
            base.MergeField(doc);

            var description = String.Empty;
            List<ProductPartPrintRollOption> optSeris = new List<ProductPartPrintRollOption>();
            //serigraphy options where we can find the inks and types
            foreach (var item in this.TaskCost.ProductPartTask.ProductPartTaskOptions.OfType<ProductPartPrintRollOption>())
            {
                description += item.TypeOfTaskPrint + " " + item.Ink + " " + item.Overlay + "%\n";
            }

            doc.AddCustomProperty(new Novacode.CustomProperty("CostDetail.OptionTask", description));
        }