Files
odfstudio/sc
Xisco Fauli 750af72a83 sc: fix warning C6011: Dereferencing NULL pointer 'pViewShell'
After
commit 0a231f1237
Author: Xisco Fauli <xiscofauli@libreoffice.org>
Date:   Fri May 29 10:55:41 2026 +0200

    drop isLOKDesktop and LOKDeviceFormFactor

E:\jenkins\workspace\lo_tb_master_win_analyze\sc\source\ui\app\inputhdl.cxx(1287) : warning C6011: Dereferencing NULL pointer 'pViewShell'. : Lines: 1136, 1139, 1140, 1141, 1142, 1143, 1144, 1146, 1147, 1148, 1150, 1151, 1152, 1153, 1155, 1157, 1158, 1159, 1160, 1162, 1161, 1163, 1165, 1166, 1167, 1177, 1276, 1277, 1280, 1281, 1283, 1284, 1285, 1286, 1287

Change-Id: I5f72b4ad71de94133a6127d57e357a3bf6dda15c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205864
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2026-06-01 13:21:13 +02:00
..
2026-02-04 14:02:17 +01:00
…
2026-03-04 12:37:18 +01:00
2026-03-04 12:37:18 +01:00
…
2026-02-04 14:02:17 +01:00
2025-05-13 09:23:06 +02:00

Spreadsheet Application Code

You can dump some information in a dbgutil build:

Shortcuts

CTRL+SHIFT+F12

Dumps the column width of the first 20 columns.

CTRL+SHIFT+F11

Dumps the graphic objects and their position and size in pixel.

CTRL+SHIFT+F6

Dumps the SfxItemSet representing the cell properties' of the current selection as a xml file. The file will be named dump.xml

The Cache Format

ScDocument::StoreTabToCache allows storing the content (not the formatting) of a table to a binary cache format.

The format is column orientated which allows quick serialization of the table.

  • Header:

    • Number of Columns: 64 bit unsigned integer
  • Column:

    • Column Index: 64 bit unsigned integer
    • Column Size: 64 bit unsigned integer
    • For each cell type block a new ColumnBlock
  • ColumnBlock:

    • Start Row: 64 bit unsigned integer
    • Block Size: 64 bit unsigned integer
    • Type: 8 bit unsigned integer
      • 0 : empty
      • 1 : numeric
        • for each cell: 64 bit IEEE 754 double precision value
      • 2 : string
        • for each cell: 32 bit signed string length followed by string length bytes of the string (UTF-8)
      • 3 : formula
        • for each cell: 32 bit signed string length followed by the formula in R1C1 notation as a string

Functions Supporting Wildcards or Regular Expressions

As this comes up every now and then, and rather should be documented in an extra list of the Help system, functions that support Wildcards or Regular Expressions and depend on the setting under Tools -> Options -> Calc -> Calculate are those that in ODF OpenFormula (ODFF) are defined to depend on the HOST-USE-REGULAR-EXPRESSIONS or HOST-USE-WILDCARDS properties, see ODF v1.3 part4 3.4 Host-Defined Behaviors https://docs.oasis-open.org/office/OpenDocument/v1.3/os/part4-formula/OpenDocument-v1.3-os-part4-formula.html#__RefHeading__1017868_715980110

  • Array Functions
    • CHOOSECOLS
    • CHOOSEROWS
    • DROP
    • EXPAND
    • HSTACK
    • VSTACK
    • TAKE
    • TEXTSPLIT
    • TOCOL
    • TOROW
    • WRAPCOLS
    • WRAPROWS
  • Database Functions
    • DAVERAGE
    • DCOUNT
    • DCOUNTA
    • DGET
    • DMAX
    • DMIN
    • DPRODUCT
    • DSTDEV
    • DSTDEVP
    • DSUM
    • DVAR
    • DVARP
  • Information Functions
    • COUNTIF
    • COUNTIFS
  • Lambda Functions
    • LET
  • Lookup Functions
    • HLOOKUP
    • LOOKUP
    • MATCH
    • XMATCH
    • VLOOKUP
    • XLOOKUP
    • FILTER
    • SORT
    • SORTBY
    • UNIQUE
  • Mathematical Functions
    • RANDARRAY
    • SEQUENCE
    • SUMIF
    • SUMIFS
  • Statistical Functions
    • AVERAGEIF
    • AVERAGEIFS
  • Text Functions
    • SEARCH