I have a couple of instances where I’m trying to use ParagaphStyle but I just can’t get it to work.

The first one is I’m generating a heading with the call signature of an Operation in a class:

<ParagraphStyle name="@heading+">
	<Property property="name"/>
	<Text>(</Text>
	<IterationBlock modelType="Parameter" ignoreLastSeparator="true">
		<Property property="type"/>
		<Property property="typeModifier"/>
		<Text>, </Text>
	</IterationBlock>
	<Text>)</Text>
	<ParagraphBreak/>
</ParagraphStyle>

Despite the above, the text comes out in “Normal” style.

This works instead:

<Property property="name" style="@heading+"/>
<Text>(</Text>
<IterationBlock modelType="Parameter" ignoreLastSeparator="true">
	<Property property="type"/>
	<Property property="typeModifier"/>
	<Text>, </Text>
</IterationBlock>
<Text>)</Text>
<ParagraphBreak/>

In another instance, I want an image and its description to use the same style:

<ParagraphStyle name="Indented">
	<Image alignment="center" maxWidth="28000"/>
	<ParagraphBreak/>

	<HasValueChecker property="description">
		<Property property="description"/>
		<ParagraphBreak/>
	</HasValueChecker>
</ParagraphStyle>

As there is no way to set the style surrounding an image, I’m stuck with this instead:

<Image alignment="center" maxWidth="28000"/>
<ParagraphBreak/>
		
<HasValueChecker property="description">
	<Property property="description" style="Indented"/>
	<ParagraphBreak/>
</HasValueChecker>

Am I missing something?

Thank you for your inquiry and I’ve forwarded the details for our engineers to follow up. Please be patient and I’ll keep you posted with any updates. Wish you have a good day!

I would like to let you know the paragraph style in Doc. Composer template problem has been fixed. Please update the software to latest patch build (20230130ag or later) to get the problem fixed. Details about update to latest patch can be found at

  • Please make sure you have pressed the “Update to latest patch” button on the left hand side of the dialog right after launching the update program

Feel free to contact me if you require any further information.

Both are working now, thank you.

Hi. I’m working with the latest version (not patch) and the example of “In another instance, I want an image and its description to use the same style:” isn’t working properly. It’s working for the class diagrams (they end up, correctly, with “Indented+Centered”, but when I pull in activity diagrams, it fails (they end up, incorrectly, with “Normal+Centered”).