It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Confluence 5.1.5 Word export not recognized as Word by OpenOffice

Robert Lauriston Sep 04, 2013

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;1266246697.3.1378345893750.JavaMail.confluence@ip-10-253-107-12.us-west-2.compute.internal&gt;
Subject: Exported From Confluence
MIME-Version: 1.0
Content-Type: multipart/related; 
	boundary="----=_Part_2_2017844387.1378345893746"

------=_Part_2_2017844387.1378345893746
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'
      xmlns:w=3D'urn:schemas-microsoft-com:office:word'
      xmlns:v=3D'urn:schemas-microsoft-com:vml'
      xmlns=3D'urn:w3-org-ns:HTML'&gt;
&lt;head&gt;
    &lt;meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf-8=
"&gt;

1 answer

0 votes
Hanis Suhailah Sep 05, 2013

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: https://jira.atlassian.com/browse/CONF-17391

Robert Lauriston Sep 11, 2013

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

Lennart Rolland Feb 26, 2018

+1

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

945 views 0 19
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you