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

Images are overflowing the content when exported to odt/rtf



    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 11.10.5
    • Fix Version/s: None
    • Component/s: Office
    • Labels:
    • Difficulty:
    • Similar issues:


      The conditions to reproduce this issue are the same as for issue XWIKI-18292: XWiki 11.10.5 configured with LibreOffice (

      How to reproduce:
      Prepare a page with the following content:

      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.

      where the referenced image is a 1000x250 px image at 300dpi.

      It would look something like this in wiki mode:

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

      Expected result:

      • The image is displayed to fit 100% width of the page of the document

      Actual result:

      • The image is inserted in the document at actual size, not resized, so it's not all visible on the document, it overflows:


          Issue Links



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


                Date of First Response: