OpenDocument physical column widths

Internal version 2.384.864 retains actual positive fixed OpenDocument column widths as physical points, separately from character-width editing values

Cells, drawing origins and sizes, the captured viewport, and clipping use the same current physical grid instead of reinterpreting an imported width through a different recipient font

Source widths and current editing state

Actual namespace-qualified column styles, parent styles, fixed defaults, and repeated column declarations supply their represented widths; a trailing repeated run does not become an unrestricted default for earlier columns

A visible column with no column style and no document default column style keeps its implicit width during checked OpenDocument saves. Unresolved column styles are still reported as a conversion loss

Styles combining an explicit positive fixed style:column-width with style:use-optimal-column-width, a valid positive style:rel-column-width (such as 2*), or valid fo:break-before and fo:break-after values (auto, column, or page) retain their physical point width together with those properties in the physical column grid, including inheriting and explicitly overriding document default-style settings; standalone optimal or relative declarations without an explicit or default fixed width, as well as malformed relative tokens (such as 0*) or invalid break tokens, still do not acquire a fixed physical width

A supported fixed document-wide default retains an immutable source owner shared by worksheets from that document; independent imports do not become one owner merely because their widths are equal

A column that inherits the document width remains distinct from a column with an explicit width declaration, including an explicit declaration numerically equal to the default

Public character-width assignment revokes the affected imported physical binding even when the assigned editing value is numerically unchanged

Assigning the ordinary character-based default width revokes the shared source default and its inherited bindings, even for a same-number assignment, while actual explicit physical overrides retain their separate owners

Clearing an explicit width can expose a still-current source default; inserting or deleting columns and supported repetition retain the actual inherited-versus-explicit distinction

A drawing that requires an unproved physical span refuses capture explicitly

Current model bindings are checked before capture and publication, so replacing a width entry without changing the number of entries cannot silently retain stale source geometry

Copying and portable capture

Supported worksheet copies retain independent physical widths after the donor workbook and its source file become unavailable

Prepared drawing, cell, semantic, and publication snapshots include physical width presence and values alongside ordinary character widths, source-default ownership and actual inheritance

Imported supported ellipses can now use a complete owned physical span for portable capture, including a range that cuts through either side of the object

The focused retained source keeps six 52.5-point columns, two 107-by-44-point ellipses, and the second ellipse's 159.5-point worksheet origin through direct capture, source-free copying, and typed OpenDocument and XLSX return

Capturing columns B through E uses a 210-point viewport and translates object origins by the actual 52.5-point omitted column; shape and viewport geometry share that same basis

Preserving a document-wide default

When every output worksheet retains the same current source default and its supported default-style metadata (fixed width, optional style:use-optimal-column-width, valid style:rel-column-width, and valid fo:break-before/fo:break-after), OpenDocument output writes a real style:default-style for the table-column family

Inheriting columns omit a local width, while actual explicit overrides keep their own lengths even when equal to the default; changing that serialized document default can therefore affect inheriting columns without changing the overrides

Retaining this shared default does not extend a sparse table to column 16384 solely to emulate the default; cells, drawings, explicit overrides and other actual column metadata still determine its required bounds

A new worksheet without that source owner, an edited default, independent source owners or unsupported default-style metadata prevents this shared output decision

Retained physical defaults that cannot share one output scope become fixed worksheet column runs with an OdsPhysicalDefaultScope Degraded report, and the fallback may use the full column range; equal point values alone do not establish a shared document default

Widths whose source authority was deliberately revoked by character-width editing follow the ordinary modeled-width path instead of claiming the former physical default remains preserved

Checked output and target limits

OpenDocument output writes the actual physical column lengths with round-trip numeric precision

The conversion report and writer use the same prepared document-default decision during checked saving, so a preserved supported default does not receive the fixed-run editing-scope degradation

XLSX and XLSB output convert physical widths through the actual recipient Normal font and device geometry, and require an exactly representable integer-pixel character width

A target width without such an exact representation is Unsupported rather than silently rounded; successful device-dependent encoding is reported as Degraded and does not establish equivalence across other fonts or devices

Native output also reports that shared document-default editing becomes per-worksheet dimensions; it does not retain the same document-wide default relationship

Classic XLS output for this physical-grid owner remains Unsupported

Inspect GetConversionReport and choose the appropriate SaveAsChecked loss policy before saving; allowing reported loss does not authorize unsupported geometry

OpenDocument saving checks the prepared column state for every output worksheet, including sheets without drawings, and retains the actual drawing and chart state through publication checks

The OpenDocument writing-end callback runs before the destination file is replaced or staged bytes are published to the caller stream; receiving that callback does not mean publication has already completed

A callback that changes the prepared column-default or drawing/chart state causes the stale save to refuse before publication, leaving an existing file target or staged caller-stream output untouched

Reading and binding physical column state

Typed helpers over the physical grid take the worksheet and a one-based column: XlsxTryOdsPhysicalColumnEntry answers the resolved TXlsxOdsPhysicalColumn record (point width, modeled character width and its explicit flag, blocked, default-inherited and optimal flags, both break values, and the relative-width token), while XlsxTryOdsPhysicalColumnPoints and XlsxTryOdsPhysicalColumnOptimal answer those two single facts; all three return False for a column without retained physical state

XlsxOdsBindPhysicalColumn binds one column: the point width, whether it inherits the document default, the optimal flag, a relative-width token, and a TXlsxOdsPhysicalColumnBreak (opcbNone, opcbAuto, opcbColumn, opcbPage) per break side; XlsxOdsSyncManualColBreak adds or removes one column's manual break and XlsxOdsClearManualColBreaks clears a range, while XlsxOdsPhysicalColumnRelWidth and XlsxOdsBreakToken render the stored relative-width and break tokens back to text

The grid itself is a TXlsxOdsPhysicalGrid — a TXlsxOdsPhysicalColumns array plus the document default entry — whose retained default is described by its IXlsxOdsColumnDefaultOwner source owner through ReadPoints, CanWriteDefaultStyle, UseOptimalWidth, RelativeWidth, BreakBefore and BreakAfter

Qualification and remaining scope

The focused qualification uses one retained fixed-width source through direct capture, source-free copying, clipping, four saved-package returns, and deliberate character-width revocation on Win64

Document-default qualification additionally covers same-document output, sparse table bounds, source-free copying, explicit override editing, independent equal-width source collisions and callback refusal, with independent package and semantic inspection

Independent package inspection and typed library return are distinct from native application acceptance; no new native application round trip is claimed for this increment

Standalone widthless optimal or relative sizing, choosing a shared default for unrelated or newly created worksheets, arbitrary cross-device width equivalence, and wider drawing families retain their separate boundaries

Represented active ellipse paint and outline width survive the qualified return; XLSX does not preserve every inactive color editing field

This capability belongs to the core library and requires no Small Business or Enterprise addon