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

Office Imported wiki content seems to be enlarged compared to original office content

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 1.8 M2
    • Office
    • None

    Description

      There are several reasons for this behaviour:

      • Stripping of style tags: <style> tags are discarded when importing documents
      • <colgroup> elements are discarded by rendering:
        .#-----------------------------------------------------
        .input|xhtml/1.0
        .#-----------------------------------------------------
        <table><colgroup><col width="87" /><col width="152" /><col width="50" /></colgroup><tbody><tr><td/><td/><td/></tr></tbody></table>
        .#-----------------------------------------------------
        .expect|event/1.0
        .#-----------------------------------------------------
        beginDocument
        beginTable
        beginTableRow
        beginTableCell
        endTableCell
        beginTableCell
        endTableCell
        beginTableCell
        endTableCell
        endTableRow
        endTable
        endDocument
        .#-----------------------------------------------------
        .expect|xwiki/2.0
        .#-----------------------------------------------------
        |||
        
      • Placement of images: In spreadsheets, images usually float on the document. But when oo server is generating html, it places those images inside table cells and this causes some alignment and sizing issues.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              asiri Asiri Rathnayake
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: