Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-53676

Word exports in Confluence Cloud cannot open in LibreOffice

      Summary

      When using the Export to Word feature in Confluence Cloud, a corrupted Word document is generated.

      Steps to Reproduce

      1. Export a page as a Word document in Confluence Cloud.
      2. Open page in LibreOffice

      Expected Results

      Page should be successfully exported as a readable Word document.

      Actual Results

      Word document content is displayed as HTML.

      Workaround

      No workaround currently.

          Form Name

            [CONFCLOUD-53676] Word exports in Confluence Cloud cannot open in LibreOffice

            EMR added a comment -

            Note, it seems to have an email header, and then it goes into the microsoft word part (MacOS here).

             

            Date: Thu, 7 Mar 2024 18:02:26 +0000 (UTC)

            Message-ID: <1090775781.15.1709834546068@67e32ffb0091>

            Subject: Exported From Confluence

            MIME-Version: 1.0

            Content-Type: multipart/related;

            boundary="----=_Part_14_1999962354.1709834546068"

             

            ------=_Part_14_1999962354.1709834546068

            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>My Page Title Here</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>

            <!--

            @page Section1 {

            EMR added a comment - Note, it seems to have an email header, and then it goes into the microsoft word part (MacOS here).   Date: Thu, 7 Mar 2024 18:02:26 +0000 (UTC) Message-ID: <1090775781.15.1709834546068@67e32ffb0091> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_14_1999962354.1709834546068"   ------=_Part_14_1999962354.1709834546068 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>My Page Title Here</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> <!-- @page Section1 {

            To clarify this I must say, that this behaviour is seen on Linux machines and/or LibreOffice software. It works when opening document in Windows environment with the latest Microsoft Office. Nonetheless looking into document, there is evidently html formatted text. Only this is somewhat wrong by labelling export as "Export to Word".

            Sławomir Mikuła added a comment - To clarify this I must say, that this behaviour is seen on Linux machines and/or LibreOffice software. It works when opening document in Windows environment with the latest Microsoft Office. Nonetheless looking into document, there is evidently html formatted text. Only this is somewhat wrong by labelling export as "Export to Word".

              Unassigned Unassigned
              eratsimiala ManuR
              Affected customers:
              1 This affects my team
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: