Introduction
This code is use ful for automatic publication flow with the use of desing and xml templte with the support of Indesing (An Adobe's tool).
Background
use this application need to indesign and indesign SDK need to be installed on your Machine...
and then need to add indesign related reference of indesign(COM)
Using the code
Use this application need to indesign and indesign SDK need to be installed on your Machine... and then need to add indesign related reference of indesign(COM).
Here with applicatin three files 1. Indd this is design template and 2. XML that is xml tempate... we can change any data with same structure and import it and we can generate its PDF..3. Image file which is used in Indd file and its path was specifiled in XML file here indd and xml file are attched by use of indesign tool....
Type indAppType =
Type.GetTypeFromProgID("InDesign.Application");
InDesign.Application objInDesign =
(InDesign.Application)Activator.CreateInstance(indAppType, true);
InDesign.Document objDoc =
(InDesign.Document)objInDesign.Open(cstrInddFile, false);
For this line activate indesign application ..
This is for importing an XML file....
objDoc.ImportXML(cstrXMLFile);
objDoc.Export(idExportFormat.idPDFType, cstrOutputFile, false,
objInDesign.PDFExportPresets["Press"]);
Points of Interest
This is the one simple basic work flow for automatic publication flow... we can also implement so many functionality with use of Indesing.
I have total more then 6.6 years of IT Industry experience....
I have comlated my Diploma in Computern Engineering in 2003...
I have also cleared Microsoft Certified Professional Developer Specailist Exams for enterprise edition.
I have also cleared Microsoft Certified Technologies Specailist Exams for web,window and distribute application
I have write couple of article regarding .net,asp.net,SSRS, Documentum, COM,DCOM,web services,Indesign Server SDK which is published in many web sites.....
I have worked on differnet patterns like Factory, Decorative, facade, MVP.