You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Gradient cell fills.CellStyle gains an optional gradientFill: GradientFill.linear(degree:, stops:) for an angled sweep or GradientFill.path(...) for a gradient radiating from an inner box, each
blending two or more GradientStops. A gradient takes precedence over a
solid background or pattern. Gradients in opened workbooks read back onto CellStyle.gradientFill and round-trip.
Autofilter filter criteria.setAutoFilter gains a criteria: list of FilterColumns that actually hide non-matching rows: FilterColumn.values
(a checkbox list, optionally including blanks), FilterColumn.custom (one
or two comparisons combined with AND/OR, with wildcard text matching), and FilterColumn.top10. Applied criteria read back on sheet.autoFilterColumns and round-trip; unmodeled filter kinds are
preserved untouched.
Conditional-formatting read-back. Rules in an opened workbook are parsed
into sheet.conditionalFormats, exposing type, operator, formulas, colors,
range, and a best-effort style for cell-is and formula rules. Read rules
are for inspection; they round-trip untouched and are never duplicated.
Icon-set conditional formatting.ConditionalFormat.iconSet(...)
authors 3, 4, and 5-icon rules (arrows, traffic lights, flags, ratings, and
more) with optional reverse order, hidden values, and custom thresholds.
Icon-set rules also read back.
Sparklines. In-cell mini charts via sheet.addSparklineGroup(SparklineGroup(...)) or the single-cell sheet.addSparkline(...): line, column, and win-loss types with
high/low/first/last/negative markers and colors. Groups read back on sheet.sparklineGroups; existing sparklines round-trip untouched.
Streaming save.excel.encodeToStream(onBytes) writes the .xlsx to a
callback chunk by chunk as the zip is produced instead of buffering the
whole file, cutting peak memory for large workbooks. onBytes matches IOSink.add, and the output is byte-for-byte identical to encode().
Fixed
encode() and save() are idempotent. Saving the same workbook
instance more than once no longer appends duplicate font, format, or rule
records; mutated parts are restored to their originally parsed state before
every build.
Fills after a gradient no longer shift. The styles reader walks the <fills> children directly, so a gradient fill (or a stray pattern inside a
differential style) can no longer misalign later fills against their ids.