Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-18295

Tables overflow the page when exported to odt / rtf in a document that contains also a large image

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 11.10.5
    • Office
    • None
    • Unknown

    Description

      This issue occurs when XWIKI-18292 and XWIKI-18294 and combined.

      Reproduces on XWiki 11.10.5 configured with LibreOffice 6.2.4.2 (6.2.4.2-2).

      Prepare a page with the following content (table of XWIKI-18292 followed by image of XWIKI-18294 ):

      Urna id volutpat lacus laoreet non. Cursus euismod quis viverra nibh. Nunc mattis enim ut tellus elementum sagittis vitae et. Pharetra massa massa ultricies mi. Turpis egestas sed tempus urna et pharetra pharetra.
      
      |A test|Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Arcu cursus euismod quis viverra. Nunc id cursus metus aliquam eleifend mi in nulla. Dolor sit amet consectetur adipiscing elit. Amet consectetur adipiscing elit pellentesque habitant morbi tristique senectus et. Nunc sed velit dignissim sodales ut eu sem. Proin nibh nisl condimentum id venenatis a condimentum vitae. Id semper risus in hendrerit gravida rutrum quisque non. Elit scelerisque mauris pellentesque pulvinar pellentesque habitant morbi. Eleifend quam adipiscing vitae proin sagittis nisl rhoncus. Etiam sit amet nisl purus in. Pulvinar sapien et ligula ullamcorper malesuada proin libero nunc consequat. Nec dui nunc mattis enim ut tellus elementum sagittis. Lectus mauris ultrices eros in cursus turpis massa tincidunt dui. Turpis tincidunt id aliquet risus feugiat in ante metus dictum. Sapien nec sagittis aliquam malesuada bibendum arcu. Pulvinar pellentesque habitant morbi tristique senectus et netus et malesuada. Eget nulla facilisi etiam dignissim.
      |B test|Rhoncus aenean vel elit scelerisque mauris pellentesque pulvinar pellentesque habitant. Lacinia at quis risus sed. Ante in nibh mauris cursus mattis molestie a iaculis. Venenatis tellus in metus vulputate eu. Fermentum posuere urna nec tincidunt praesent semper feugiat nibh. Viverra orci sagittis eu volutpat. Augue lacus viverra vitae congue eu consequat ac felis. Duis ultricies lacus sed turpis. Venenatis a condimentum vitae sapien pellentesque habitant morbi. Eu mi bibendum neque egestas congue. Vitae sapien pellentesque habitant morbi tristique senectus et netus. Ultrices neque ornare aenean euismod elementum nisi quis eleifend. Nascetur ridiculus mus mauris vitae ultricies. Accumsan in nisl nisi scelerisque.
      
      Eu scelerisque felis imperdiet proin fermentum leo vel orci porta. Tellus id interdum velit laoreet. Sed elementum tempus egestas sed sed risus pretium quam. Facilisi nullam vehicula ipsum a arcu. Sapien nec sagittis aliquam malesuada bibendum arcu vitae elementum curabitur. Elit sed vulputate mi sit. 
      
      [[image:655-1000x250.jpeg]]
      
      Eu scelerisque felis imperdiet proin fermentum leo vel orci porta. Tellus id interdum velit laoreet. Sed elementum tempus egestas sed sed risus pretium quam. Facilisi nullam vehicula ipsum a arcu. Sapien nec sagittis aliquam malesuada bibendum arcu vitae elementum curabitur. Elit sed vulputate mi sit. Cursus euismod quis viverra nibh cras pulvinar mattis nunc. Purus gravida quis blandit turpis cursus in hac habitasse. Et molestie ac feugiat sed. Scelerisque felis imperdiet proin fermentum leo. Aliquam sem et tortor consequat id porta nibh venenatis.
      

      The result would be something like this

      • Export this page to rtf or odt.
      • Open the exported file with LibreOffice Writer (mine is version 7.0.3.1 on Ubuntu)
        • If the export was to odt, select View -> Normal from the menu to view it as a printable page

      Expected result:

      • The table of the page is as wide as the page - takes the whole horizontal space to display its content and all its content is readable

      Actual result:

      • The table of the page is wider than the page, the size of the image which is wider than the page (as described by XWIKI-18294 ) and its content is not all readable as some of it is displayed outside of the page.

      Attachments

        1. OpenOffice ODT.png
          OpenOffice ODT.png
          729 kB
        2. OpenOffice RTF.png
          OpenOffice RTF.png
          1.18 MB
        3. Selection_018.png
          Selection_018.png
          831 kB
        4. Selection_019.png
          Selection_019.png
          669 kB
        5. Selection_020.png
          Selection_020.png
          672 kB
        6. TableAndImage.jpg
          TableAndImage.jpg
          769 kB
        7. Table and Large Image.jpg
          Table and Large Image.jpg
          694 kB
        8. xwiki_Sandbox_TestOfficeExport_WebHome.odt
          129 kB
        9. xwiki_Sandbox_TestOfficeExport_WebHome.rtf
          3.10 MB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              lucaa Anca Luca
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: