Skip to main content
Rsfl
Inspiring
April 7, 2017
Question

Change default position of images (Dita 1.2)

  • April 7, 2017
  • 1 reply
  • 304 views

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.

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

Robert

This topic has been closed for replies.

1 reply

FabianK007
Known Participant
April 13, 2017

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