odfBaseFamily

fnOdfDocumentType odfBaseFamily(OdfDocumentType docType) @safe pure nothrow @nogc

Returns the document family base type for template and variant types.

For example, TEXT_TEMPLATE maps to TEXT, SPREADSHEET_TEMPLATE maps to SPREADSHEET. Non-variant types return themselves. NONE returns NONE.

Parameters

docTypeThe document type.

Returns

The base family document type.