XML and FitOptions.FRAME_TO_CONTENT
dear people,
this
app.activedocument.textframes.everyitem().fit(fitoptions.frame_to_content);
works textframes.
is there way every tag in xml?
something this?
xmltags.item
the reason im asking frame 02 (see image) tagname ignoring fitoptions.frame_to_content
already help!
is inline frame?
try this:
app.activedocument.stories.everyitem().textframes.everyitem().fit(fitoptions.frame_to_content);
although want loop through document elements because going run problems errors (i.e. overset text, etc.).
harbs
More discussions in InDesign Scripting
adobe

Comments
Post a Comment