The trial showed the options bar in the fixture's 400 pt room, where the bar
scrolls and every member from Opacity on lies past its edge with an empty clip.
The click on Opacity never reached the field's text widget, so Cmd+A, the
typing and Enter went nowhere. The bar spans an application window; the trial
now shows it in Room::Window, where Opacity is in view.
PopupHandle::trigger took only the ContextMenu intent (Menu key, Shift+F10,
AccessKit) for Trigger::Context, so a secondary click on a component never
opened its context popup. It now also fires on a secondary release over the
enabled component, the same right click record_context records as a context
request; both read one secondary_click predicate.
- A name whose formula uses a name that is left out (another workbook, a
skipped sheet, an unreadable formula) was still published, so a cell using
it decoded and would calculate to #NAME?. Each name's formula now records
the names it uses, and every name reached from a left-out one is left out
too, whatever their order: once each, so a long chain costs no more than
its uses. A cell using one keeps its saved result.
- A sheet-scoped name called as a function through PtgNameX prints its sheet
quoted where needed ('My Sheet'!Fn(1)), as a sheet-qualified name does.
- A styles table past 65,536 entries, or a gradient past 1,024 stops, is past
a fixed cap: Error::TooLarge, as the error's contract and the other caps
have it, not a damaged part that is skipped with a warning.
- A differential format's font name and number format are charged to
binary_text, as the other string-bearing style records are.
A sheet of 16,385 reversed or out-of-grid BrtColInfo ranges was skipped one
by one without reaching the cap, since only kept columns were counted. Every
column record now counts.
- A formula's array constants share one allowance of 65,536 values, each
array charged before its rows are allocated. Before, the cap was per
array, so a formula of many arrays could hold gigabytes before the formula
text allowance was checked.
- Once binary_formula_text is spent, a formula is not decoded only to be
dropped: it keeps its saved result straight away.
An Excel probe with VBA enabled showed two things the names reader got
wrong:
- Excel writes a VBA function a cell calls as a BrtName with fFunc, fOB and
fProc, no formula, and none of the four strings fProc names otherwise
carry. The reader refused it, which dropped every name and left every
formula as its saved result. Such a name now ends after its comment; it
stays out of the names, as .xlsm lists none, and cells calling it spell it.
- The two middle strings of a macro's name are its description and help
topic, as .xlsm writes them (description="Function A" help="!0"), not the
custom menu and description the specification's labels say.
Package::tables reads a sheet's tableN.bin parts, through its BrtListParts,
into the Table the XML reader builds, as Excel writes the table in .xlsx:
BrtBeginList and its columns, the calculated and totals formulas decoded as
cell formulas are, an XML map's column properties, the table style, and the
AutoFilter and sort state built as the autoFilter and sortState elements. A
filter column whose criteria are in an extension (date groups) or on a
Boolean value is left out with a warning, as is a sort by stroke or PinYin
order.
PtgList now decodes to the structured reference .xlsx holds (Sales[Val],
Sales[[#Headers],[Key]], escaped column names, Excel's spacing flags), from
the workbook's tables, indexed when the workbook part is read. A reference
to a table that can't be read, a deleted table or another workbook keeps
the cell's saved result.
Closes#1251.
An Excel probe showed two references the decoder refused that .xlsx spells:
- A reference to an XLM macro sheet (Macro1!$A$1): macro sheets have cells,
so the sheet links now name them.
- A 3-D span with a chart sheet between its ends ('Data:After Sheet'!$A$1):
a span is spelled by its ends, as .xlsx has it. An end with no cells is
still refused.
Checked against a wider Excel probe (every worksheet function Excel
accepts, operators, references, constants, spacing, shared and array
formulas), three differences from the .xlsx text are fixed:
- PtgAttrSpace: the spaces and line breaks typed in a formula are kept
where Excel writes them in .xlsx (before an operand, an operator's
symbol or a call, after a parenthesis's or call's opening and before its
closing), and the text is trimmed as the .xlsx reader trims it.
- Numbers are written out in full when that takes at most 21 characters
(100000000000000000000, 0.0000000000000000001), scientific past that
(1E+21, 1.5E-19, 1.23456789012345E-06), as Excel spells them.
- ISO.CEILING, ECMA.CEILING, NETWORKDAYS.INTL and WORKDAY.INTL are called
through hidden _xlfn. names in .xlsb, but .xlsx names them bare.