OdfCompatResult with the detected version information.checkVersionCompatibility
fn
OdfCompatResult checkVersionCompatibility(string versionString,
string generator, OdfCompatibilityTarget target,
ref OdfDiagnosticCollector collector) @safe pureChecks an ODF document version against the compatibility target and reports findings through the diagnostic collector.
This function should be called after parsing the content version attribute from content.xml, meta.xml, or styles.xml.
Parameters
versionString | The raw version attribute value. |
generator | Optional generator string from meta:generator. |
target | The compatibility target to check against. |
collector | Diagnostic collector for reporting findings. |
Returns
An