Skip to main content

Layoutrule conditions

These layoutrule-conditions are included with the default-project to expand on the standard-layoutrules included with the comet-plugin. They can be found in the contextmenu of the Layoutrules-panel in InDesign. To distingush them from the standard-layoutrule-conditions by comet, their categories are prefixed by an underscore "_".

Document Attribute Equals​

Id: 10000​

Checks if value(s) for given key(s) of document attibute(s) equal the given values.

ParametersExplanationDefault
Attribute Key(s)commaseparated list of keys for document attributes
Attribute Value(s)commaseparated list of values to check for in document attributes
Searchmethodfirst, allfirst

Values are empty​

Id: 10001​

Checks whether placeholders of a frame have no value.

ParametersExplanationDefault

Has no Image​

Id: 10002​

Checks whether the frame has no image.

ParametersExplanationDefault

DataProvider Attribute Matches​

Id: 10003​

Retrieves a value using the DataProvider for the current record based on the given query-settings and compares it to a given value using the specified method.

ParametersExplanationDefault
Methodequals
not_equals
in
in(and)
in(or)
not_in
not_in(and)
not_in(or)
equals
Datatypedata_provider, genericdata_provider
Attribute Key, SettingsAttribute; (optional) querysettings as key-value-string: attribute;only_first:1,more_settings:00
Compare Value