Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ public static final Rule odf10() {
return SubDocumentRule.getInstance(Severity.WARNING);
}

public static final Profile getDnaProfile() throws ParserConfigurationException, SAXException {
return getDnaProfile(false);
}

public static final Profile getDnaProfile(final boolean isExtended) throws ParserConfigurationException, SAXException {
return ProfileImpl.of("DNA", "DNA ODF Spreadsheets Preservation Specification",
"Extended validation for OpenDocument spreadsheets.", isExtended ? EXTENDED_DNA_RULES : DNA_RULES, isExtended);
Expand Down