The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Doc export of wiki pages creates a corrupted file

bernhardh86
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 28, 2015

I try to export a single confluence page to word. It works without showing any problems in the atlassian-confluence.log, but the downloaded file is corrupted doc file.

I can't open it in google docs and if I open it in Worpad or LibreOffice Text is see html code like this:

 

Message-ID: <1635294345.9.1438090238868.JavaMail.confluence@xxxxx>
Subject: Exported From Confluence
MIME-Version: 1.0
Content-Type: multipart/related; 
	boundary="----=_Part_8_667133886.1438090238867"
------=_Part_8_667133886.1438090238867
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Content-Location: file:///C:/exported.html
<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'>
<head>
    <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf-8=
">
    <title>Konkurrenzanalyse</title>
    <!--[if gte mso 9]>
    <xml>
        <o:OfficeDocumentSettings>
            <o:TargetScreenSize>1024x640</o:TargetScreenSize>
            <o:PixelsPerInch>72</o:PixelsPerInch>
            <o:AllowPNG/>
        </o:OfficeDocumentSettings>
        <w:WordDocument>
            <w:View>Print</w:View>
            <w:Zoom>90</w:Zoom>
            <w:DoNotOptimizeForBrowser/>
        </w:WordDocument>
    </xml>
    <![endif]-->
    <style>
.....

How can I fix this?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Guilherme V.
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 29, 2015

Hello Bernhard,

I found a improvement request and new feature request and the workaround for it is to export to PDF and then user another application to convert to .doc.

 

Cheers,

 

Benjamin Ruoff
Contributor
January 17, 2018

This is still a Problem. 

Tried it today and it's not working. A official Google Doc Exporter would be very handy!

TAGS
AUG Leaders

Atlassian Community Events