Article View: adobe.scripting.indesign
Article #1305Re: Access image placed by xml-rules
From: Siegfried_Kauschat
Date: Mon, 09 Feb 2009 10:47
Date: Mon, 09 Feb 2009 10:47
12 lines
1185 bytes
1185 bytes
Hi Ole, that's it, thank you very much! The following code works fine within the apply-function if you first do the placeXML and after that call __processRuleSet: xmlContent.parent.verticalScale = 50; xmlContent.parent.horizontalScale = 50; So I think it's a good idea to call __processRuleSet (with different rule sets) more than one time: 1. process the first ruleSet to handle all the steps that do not need to refer to placed frames e.g. formatting steps 2. place xml in the page 3. do all layout related steps that need to access the text/img container frames
Technical Details
Message-ID:
<59b7c9c9.5@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news1.google.com!newshub.sdsu.edu!webcrossingReferences:
<59b7c9c9.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,68107f50ad7c3079 X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Siegfried_Kauschat@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: Access image placed by xml-rules Message-ID: <59b7c9c9.5@webcrossing.la2eafNXanI> Date: Mon, 9 Feb 2009 02:47:35 -0800 References: <59b7c9c9.-1@webcrossing.la2eafNXanI> Lines: 16 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit