• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Change default position of images (Dita 1.2)

Explorer ,
Apr 07, 2017 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

219

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
community guidelines
Explorer ,
Apr 13, 2017 Apr 13, 2017

Copy link to clipboard

Copied

LATEST

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

Votes

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
community guidelines