Details
-
Bug
-
Resolution: Unresolved
-
High
-
- Confluence 5.1.5 on Java 1.7.0_15 (Linux 3.2.0-54-generic).
- Firefox 24 and Word 2010 (14.0) on Windows 7.
-
27
-
Severity 3 - Minor
-
7
-
Description
NOTE: This bug report is for Confluence Cloud. Using Confluence Server? See the corresponding bug report.
When a Confluence page has an Info, Note, Warning or Tip macro in its content, the Word export of that page only includes the text contained in the macro (with the title if available). The macro's icon itself is replaced with the word "Icon".
In previous versions of Confluence (3.5.16, 4.3.3), the macros exported fine : icon on the left, text on the right, border and background color as expected.
I wonder if this might come from the fact that the macros used to be displayed using an HTML Table tag, and now use a Div tag with CSS the place the icon.
This makes printing the documentation a pain, since the editor has to hunt for all the "Icon" mentions and rebuild the macros' Table tag and color.
As an aside, this makes copy-pasting the content of a Confluence page in an HTML (or WYSIWYG) page a pain, since all the macro HTML tables are lost there too, replaced with "Icon" and plain text.
See attached files:
- CaptureMacroTestConfluence.PNG: the macros as seen in Confluence 5.1.5.
- CaptureMacroTestWord.PNG: the macros as seen in Word 2010.
Could this be related to CONF-28579 ("Cell background colors do not print out") and CONF-23583 ("The table's border become invisible in the output of the "Export to word"")?
Note that this bug also happens with the Pagetree Word Exporter plugin (https://marketplace.atlassian.com/plugins/com.metainf.confluence.plugin.pagetreeexporter.pagetree-word-exporter-plugin).
Possible workaround solution for PDF export:
Please add the following css code in the Global PDF Stylesheet:
body p { font-size: 150%; } .confluence-information-macro-note { background-image: url(../../../images/icons/macrobrowser/dropdown/note.png); background-repeat: no-repeat; background-size:auto; background-position: 10px 10px; } .confluence-information-macro-information { background-image: url(../../../images/icons/macrobrowser/dropdown/info.png); background-repeat: no-repeat; background-size:auto; background-position: 10px 10px; } .confluence-information-macro-warning { background-image: url(../../../images/icons/macrobrowser/dropdown/warning.png); background-repeat: no-repeat; background-size:auto; background-position: 10px 10px; }
Attachments
Issue Links
- is related to
-
CONFCLOUD-68250 The PDF/Word export does not include table cell background colours
- Closed
-
CONFSERVER-31307 Word and PDF Export: Info, Note, Warning and Tip macros are not included in the exported document
- Closed
- mentioned in
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...