Global variables for box presets

Build 1501 on 14/Nov/2017  This topic last edited on: 22/Dec/2015, at 09:16

A series of variables predefines boxing styles. Available variables are 15 for box styles, and a reserved one for no box.

Syntax of values

A string consists of two groups of data, delimited with a comma.

The first group is left of the commadelimiter and it consists of the name of the preset, e.g. No box, or No border 50% K fill w0/m6. Spaces are allowed in name, and also the delimiter "/".

The second group is right of the comma delimiter and it defines nine boxing properties in the following order:

Border color, e.g. M or K, or - for no border

Tint of the border, e.g. 100 or 12 (any number between 0 - totally transparent and 100 - solid color)

Fill color, e.g. Y or K, or - for no fill

Fill tint, e.g. 100 or 45 (any number between 0 - totally transparent and 100 - solid color)

Border weight, e.g 0pt or 1.52pt

Left margin, e.g. 0pt or 3pt

Right margin, e.g. 0pt or 3pt

Top margin, e.g. 0pt or 3pt

Bottom margin, e.g. 0pt or 3pt

You must specify all properties.

You can put the following variables within the <Dict> node of the EditorialConfig configuration file. For instructions, see Adding or overriding variables in your EditorialConfig.

Find the actual values of such variables in EditorialConfig item in EdAdmin4, the Application Configuration > Client Applications, searching for EditorialConfig. The data is common for all titles in the system.

Should you need to specify different values of variables for different typographies, look for instructions at the Typography-dependent overridable variables.

Variable

Type

Default value

Comment

BoxPreset00

string

"No box,-/100/-/100/0pt/0pt/0pt/0pt/0pt"

no box/remove box preset

Don't change this one.

BoxPreset01


"No border 50% K fill w0/m6,K/100/K/50/0pt/6pt/6pt/6pt/6pt"


BoxPreset02


"Transparent box w1/m6,K/100/-/100/1pt/6pt/6pt/6pt/6pt"


BoxPreset03


"Black border White fill w2/m6,K/100/K/0/2pt/6pt/6pt/6pt/6pt"


BoxPreset04


"Magenta border White fill w2/m6,M/100/K/0/2pt/6pt/6pt/6pt/6pt"


BoxPreset05


"Black border Black fill w1/m6,K/100/K/100/1pt/6pt/6pt/6pt/6pt"


BoxPreset06


"Black border 50% fill w1/m6,K/100/K/50/1pt/6pt/6pt/6pt/6pt"


BoxPreset07


"Black border 40% fill w1/m6,K/100/K/40/1pt/6pt/6pt/6pt/6pt"


BoxPreset08


"Black border 30% fill w1/m6,K/100/K/20/1pt/6pt/6pt/6pt/6pt"


BoxPreset09


"Black border 20% fill w1/m6,K/100/K/20/1pt/6pt/6pt/6pt/6pt"


BoxPreset10


"Black border 10% fill w1/m6,K/100/K/20/1pt/6pt/6pt/6pt/6pt"


BoxPreset11


"Gray border 30% fill w1/m6,K/50/K/20/1pt/6pt/6pt/6pt/6pt"


BoxPreset12


"Transparent box w0.5/m6,K/100/-/100/0.5pt/6pt/6pt/6pt/6pt"


BoxPreset13


"Transparent box w0.75/m6,K/100/-/100/0.75pt/6pt/6pt/6pt/6pt"


BoxPreset14


"Transparent box w2/m6,K/100/-/100/2pt/6pt/6pt/6pt/6pt"


BoxPreset15


"Transparent box w3/m6,K/100/-/100/3pt/6pt/6pt/6pt/6pt"