I\'m trying to create a script for InDesign that forces all graphic frames (rectangles) to fit to content. I am using this with XML import and some graphics–particularly in