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!

 

xml.png

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

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support