Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-54931

Office Excel macro doesn't respect spreadsheet cell formatting

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 6.0.4, 7.13.7, 7.18.1
    • Macros - Attachments
    • None

    Description

      Summary

      The Office Excel macro doesn't respect spreadsheet cell formatting.

      Example: line breaks inside a cell are ignored.
      For a given spreadsheet cell that contains line breaks, the Office Excel macro will ignore the line breaks and render the contents in a single line.

      Example: multi-coloured text.
      For a given spreadsheet cell which contains text that is multicoloured, the Office Excel macro will set the colour of the text to one colour. Generally, it is either the colour of the first line or black. If the cell contains hard returns, the macro does not display ore respect them.

      Environment

      Confluence 6.0.4. Also reproduced on 7.13.7 & 7.18.1

      Steps to Reproduce

      1. Create an excel spreadsheet with a cell that contains text on multiple lines and in multiple colours, or contains line breaks.
      2. Attach the file to a page and insert an Office Excel macro with the spreadsheet.

      Expected Results

      The Office Excel macro should display the contents of the cell with the original colours and respect any hard returns.

      Actual Results

      The Office Excel macro displays the cell's text in one colour with no hard returns.

       Notes

      See sample spreadsheet

      Workaround

      None

      Attachments

        1. Cell-line_break.png
          Cell-line_break.png
          162 kB
        2. Excel line break test.xlsx
          5 kB
        3. Format Samplex.xlsx
          9 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sshaw@atlassian.com Steve Shaw
              Votes:
              19 Vote for this issue
              Watchers:
              21 Start watching this issue

              Dates

                Created:
                Updated: