Highlighted

Change default position of images (Dita 1.2)

Explorer ,
Apr 07, 2017

Copy link to clipboard

Copied

Hi,

when I insert an image element into a paragraph then I would like to have the placement attribute automatically set to inline. Can I control this over the EDD? When I set the attribute as optional and define inline as the default in the EDD then this is simplay ignored by Framemaker.

struct.png

However, when I set the attribute as required then I cannot define a default value at all.

struct2.png

Robert

TOPICS
Structured

Views

136

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Change default position of images (Dita 1.2)

Explorer ,
Apr 07, 2017

Copy link to clipboard

Copied

Hi,

when I insert an image element into a paragraph then I would like to have the placement attribute automatically set to inline. Can I control this over the EDD? When I set the attribute as optional and define inline as the default in the EDD then this is simplay ignored by Framemaker.

struct.png

However, when I set the attribute as required then I cannot define a default value at all.

struct2.png

Robert

TOPICS
Structured

Views

137

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Apr 07, 2017 0
Explorer ,
Apr 13, 2017

Copy link to clipboard

Copied

Hi Robert,

AFAIK, you'll need a script for that.

here is why:

EDD can set a default value. But FrameMaker does not save the attribute value in the xml-files, nor anywhere else. This value is only used for visualization in FrameMaker.

You could set this attribute value as "required" in the DTD. In this case you will get a console message, i.e., a reminder, in case you forget to set the value when saving your work.

source: Apply Default Attribute Values

Cheers-

Fabian

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 13, 2017 0