Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: sailfishos/calligra
base: cab4cfac93b5e91b0fb1c6516f01a0f6e7731565
Choose a base ref
...
head repository: sailfishos/calligra
compare: 4a3a4a847ffd4133805602e06bd4ea3267ceed61
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Jun 23, 2020

  1. [calligra] Add optimisations for importing readonly XLSX docs. Contri…

    …butes to JB#13262
    
    This adds a number of optimisations when importing readonly XLSX format
    speadsheets.
    
    1. Use the pre-calculated cell content values rather than performing a
    full recalculation using the cell formulae.
    
    2. Calculate a minimal containing rectangle around the cells with
    content and import only those cells + a fixed border (5 cells by
    default). Cells with only a background colour are ignored. This avoids
    having to import large areas of empty cells (which are a common
    occurrence in Excel files, since they're generate if the user selects an
    entire column/row and applies a style to it).
    
    The following additional compile-time cmake flags are also added.
    
    MSOOXML_MAX_SPREADSHEET_COLS=<integer>
    
    Controls the maximum number of columns to import. Defaults to 0x7FFF,
    the maximum supported by Calligra.
    
    MSOOXML_MAX_SPREADSHEET_ROWS=<integer>
    
    Controls the maximum number of rows to import. Defaults to 0xFFFFF, the
    maximum supported by Calligra.
    
    MSOOXML_SPREADSHEET_CONTENT_BORDER=<integer>
    
    The size of border to add around the minimal containing rectangle for
    read only documents. Defaults to 5.
    llewelld committed Jun 23, 2020
    Copy the full SHA
    957e602 View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2020

  1. Merge branch 'jb13262' into 'master'

    Add optimisations for importing readonly XLSX docs
    
    See merge request mer-core/calligra!33
    llewelld committed Jun 24, 2020
    Copy the full SHA
    4a3a4a8 View commit details
    Browse the repository at this point in the history