Skip to main content

Apply_Objectstyle

Overview​

Use this rule to assign an InDesign object style to the current frame during document generation. This is useful when the style should change based on content or a condition, rather than being fixed in the template design.

How It Works​

Calls setObjectStyle with the style path from gParam1. The style must exist in the document. Typically combined with a layout condition to apply different styles depending on the content.

Reference​

#NameTypeDefaultDescription
1Object StyleString-Name or path of the object style to apply
2(unused)
3(unused)
4(unused)