Confluence 5.1.5 Word export not recognized as Word by OpenOffice

I've been opening Confluence-exported Word documents in OpenOffice Writer from 4.x and 5.x for quite a while without problems. With exports from 5.1.5, OpenOffice doesn't recognize the document. It brings up an ASCII Filter Options dialog, and whatever the settings, displays raw XML. I tried OOW 3.x on Mac and Windows and 4.0 on Windows.

I'm not sure when this broke but I'm pretty sure I've used the feature successfully in the last month or two.

The problem appears to be due to Confluence adding an inappropriate email header, as shown below. I can work around the problem by deleting everything before the <html ...> tag. Word apparently is smart enough to ignore that stuff and open it.

Message-ID: &lt;;
Subject: Exported From Confluence
MIME-Version: 1.0
Content-Type: multipart/related; 

Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Content-Location: file:///C:/exported.html

&lt;html xmlns:o=3D'urn:schemas-microsoft-com:office:office'
    &lt;meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf-8=

1 answer

I can produce the same problem in OpenOffice but if I open the document in MS Word, it is displayed fine (tested in 5.x and 4.x). The issue seem to lie on the OpenOffice itself, perhaps its version? There's also an improvement request to get OpenOffice officially supported here:

.doc files are not supposed to start with an email header.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

370 views 20 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you