validateStyleReferences
fn
void validateStyleReferences(const ref OdfStyles styles,
ref OdfDiagnosticCollector collector, string container = "styles")Validates style references within an OdfStyles collection.
Checks for:
- Duplicate style names within the same container
- Styles referencing missing parent styles
- Master pages referencing missing page layouts
Parameters
stylesThe styles collection to validate. collectorDiagnostic collector to receive findings. containerDescriptive name for the container (e.g. "styles.xml").