Scroll title macro formatting issues when used inside a numbered list
Hi,
I have the following issue which I cannot resolve.
I prepare documents in confluence which are afterwards exported to word using the scroll word exporter.
Documents are usually instructions, so they contain steps and images in between. We used to use a older version of the scroll exporter and i did not have any issues, but recently we updated the plugin to the latest version, which now causes issues.
When images (inside a {scroll title} macro) are placed in a simple paragraph, I have no issues and get the following export result:
As you can see, the caption is placed neatly under the image, formatted as intended.
Now, if I place an image inside of numbered list, the formatting is removed, and extra space is added, and the text tends to start right after the image:
Sometimes it places the underline right under the text, but still add an extra space underneath.
I cannot find a correlation in any way when or how the system decides to do this.
As a side note, when I place the caption at the top of the figure, it formats properly, but still adds another space under the image.
It seems that when the macro is placed within a numbered list, the formatting is overwritten by something.
How can I solve this formatting issues?
-
I found a temporary solution by adding an extra empty line after the image inside the {scroll title} macro, this way the caption always stars properly after image. Yet this does not solve the issue why the image and the caption do not follow the style defined in the template. Well, actually why they partially do not follow the style, since the font and most definitions do follow with the exception of the alignment. The caption should be justified, but it follows the image format of being centered. The image is set to centered manually in the page editor since otherwise the entire page format (web view, not export) just slides of and is unreadable, but the format is fine on export. So the centered image is a compromise between both, so does the caption follow the centered format.
But image not within the numbered list act normally and are justified on export, even though they are centered on the page.
-
Hi Artur,
Thanks for reaching out to us.
I was also able to reproduce this same export behaviour. It seems that having an extra line within the Scroll Title macro underneath the image prevents the captions from being formatted like you've shown in your second screenshot. However, the template options are still overridden by the list formatting from Confluence. Unfortunately, there doesn't seem to be a specific workaround for preventing this export behaviour, other than to remove the macro from the list styling. Therefore, I have created an issue which you can track here: https://k15t.jira.com/browse/EXP-2661
Please sign up to our JIRA (via https://k15t.jira.com/) in order to watch, comment and/or vote on this issue. We'll then send a notification for every status update.
Cheers, Thomas (K15t)
-
Hello Thomas,
I have also noticed that the same issues persists when using a "Scroll Table Normal" style within a "Scroll title" macro. At least partially. The table formatting is saved, the heading row is bold as intended, but the text position follows the "Paragraph" style format.
-
Hi Artur, Thanks for the update.
In regards to the issue you've noticed with the table, were you finding that the caption was being exported incorrectly? Or was this in relation to the text in the table cell content being in the Normal Word style and not a different style? Are you able to provide some further details (e.g. screenshots) the highlight the issue? I can then further investigate.
Cheers, Thomas (K15t)
Please sign in to leave a comment.
Comments
4 comments