Add "Style" tag to Doc Composer

Rather than having a “style” attribute in selected tags, I would like to see a “Style” tag, independent of them, with some additional features.

The reason I’m asking for this is that I’ve run into a problem with the “Image” tag when generating a Word document: the image and the paragraph break I put after it use the “Normal” style, but for my document I have a custom style I would like to apply to image-based paragraphs. Also, when mixing “Text” and “Property” tags, it can be tedious to repeat the style when composing a template. What I’d like to see is something like this:

<Style name="My Custom Style" alignment="center" bold="true">
  <Text>The diagram name is: </Text>
  <Property property="name"/>

Hi KDean,

Sounds like a way to improve the reusability of Styles’ definition. I have shared your suggestion with our development team. If we decide to support it, I will let you know.

Best regards,
Jick Yeung