Global variables for images and captions (text wrap defaults)

Build 1501 on 14/Nov/2017  This topic last edited on: 1/Mar/2016, at 12:31

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

glbUseRunaroundWhenAddingCaption

Boolean

-1 or true

If -1 or true, the caption is drawn with auto-runaround enabled and with specified margins; if 0 or false, no runaround is activated.

Note: this does not affect the captions, added with the "H" tool - they always have a runaround.

glbUseRunaroundWhenAddingPicture

Boolean

-1 or true

If -1 or true, the image placeholder is drawn with auto-runaround enabled and with specified margins; if 0 or false, no runaround is activated.

Note: this does not affect the captions, added with the "H" tool - they always have a runaround.

glbCaptionRTM

string

auto

Top runaround margin for image and caption: if auto, the value is the one returned by GetVG function.

glbCaptionRBM

string

auto

Bottom runaround margin for image and caption: if auto, the value is the one returned by GetVG function.

glbCaptionRLM

string

auto

Left runaround margin for image and caption: if auto, the value is CInt(Page.GetInterCol * 0.9).

glbCaptionRRM

string

auto

Right runaround margin for image and caption: if auto, the value is CInt(Page.GetInterCol * 0.9).

See also

Wrapping text around images with captions

Global variables for image captions

Global variables for image captions (auto runaround when drawing it)

Global variables for image captions (vert. aligning text in)

Global variables for images (removing from article)

Global variables for images (replacing non dummy)

Global variables for images (when placing into library object)

Global variables for images link to article (crop or without it)