Article View: adobe.scripting.indesign
Article #1263Re: Add an image and text into a indesign template
From: Venkateswara_Rao
Date: Fri, 13 Feb 2009 12:55
Date: Fri, 13 Feb 2009 12:55
22 lines
1093 bytes
1093 bytes
Hi,
Use this
myDocument.importXML(File(inputXmlFile));
1) Get the indesign document xml using
myDocument.exportFile(ExportFormat.xml, File("indesignDocumentXmlStructure.xml"));
This will be exact structure of document structure in the form XML.
2) Now manually or by code you will fill the data in XML.
3) Use myDocument.importXML(File(inputXmlFile));
Whatever it may be graphic or text the data will be merged.
Hope this helps.
Regards,
Venky
Technical Details
Message-ID:
<59b738a5.2@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news1.google.com!newshub.sdsu.edu!webcrossingReferences:
<59b738a5.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,7ff151475df4acd6 X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Venkateswara_Rao@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news1.google.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: Add an image and text into a indesign template Message-ID: <59b738a5.2@webcrossing.la2eafNXanI> Date: Fri, 13 Feb 2009 04:55:42 -0800 References: <59b738a5.-1@webcrossing.la2eafNXanI> Lines: 23 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit