validateStyleReferences

fnOdfDiagnosticCollector validateStyleReferences(const ref OdfStyles styles)

Validates internal consistency of an OdfStyles container.

Checks for duplicate style names, dangling parent references, cyclic parent chains, and missing page-layout references.

Parameters

stylesThe style container to validate.

Returns

An OdfDiagnosticCollector holding any warnings or errors found.