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

Tables are too narrow when exported to rtf/odt

    XMLWordPrintable

Details

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

    Description

      This reproduces for XWiki 11.10.5 configured with LibreOffice 6.2.4.2 (6.2.4.2-2).

      How to reproduce:

      Create a page with the following content (wiki syntax):

      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. 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.
      
      |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.
      

      It will make a page with a paragraph followed by a 2 lines table:

      • 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 (see XWIKI-18293 )

      Expected result:

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

      Actual result:

      • The table of the page has a strange narrow size, spanning multiple pages and leaving space on the right
        See

      Attachments

        1. xwiki_Sandbox_TestOfficeExport_WebHome.rtf
          7 kB
        2. xwiki_Sandbox_TestOfficeExport_WebHome.odt
          13 kB
        3. TablesTooNarrow.jpg
          TablesTooNarrow.jpg
          264 kB
        4. Selection_012.png
          Selection_012.png
          97 kB
        5. Selection_011.png
          Selection_011.png
          129 kB
        6. Selection_010.png
          Selection_010.png
          167 kB
        7. PageWithTable.jpg
          PageWithTable.jpg
          258 kB

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: