Article View: adobe.scripting.indesign
Article #1408Re: Access image placed by xml-rules
From: Stefan_Rakete
Date: Fri, 06 Feb 2009 08:08
Date: Fri, 06 Feb 2009 08:08
15 lines
880 bytes
880 bytes
Hi Siegfried,
in your Xml-Rule above add the line
var myRectangle = myElement.xmlContent.parent;
with (element) {
applyObjectStyle("somestyle");
var myRectangle = myElement.xmlContent.parent;
... do something with your rectangle here, e,g. scale it
}
Hope this helps.
Stefan
Technical Details
Message-ID:
<59b7c9c9.2@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.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: Stefan_Rakete@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: Access image placed by xml-rules Message-ID: <59b7c9c9.2@webcrossing.la2eafNXanI> Date: Fri, 6 Feb 2009 00:08:24 -0800 References: <59b7c9c9.-1@webcrossing.la2eafNXanI> Lines: 15 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit