DocumentType
Enumerates common types of digital documents.
Content copied to clipboard
elide.page.MediaAsset.Document.DocumentType
Entries
Properties
Link copied to clipboard
Default: generic document type.
Content copied to clipboard
GENERIC_DOCUMENT = 0;
Link copied to clipboard
Comma Separated Values in text format.
Content copied to clipboard
TEXT_CSV = 5;
Link copied to clipboard
HTML-formatted document.
Content copied to clipboard
TEXT_HTML = 4;
Link copied to clipboard
Markdown-formatted document.
Content copied to clipboard
TEXT_MARKDOWN = 3;
Link copied to clipboard
Plain text document.
Content copied to clipboard
TEXT_PLAIN = 1;
Link copied to clipboard
Rich text document.
Content copied to clipboard
TEXT_RICH = 2;
Link copied to clipboard
Word (old format, extension `.doc`).
Content copied to clipboard
WORD_DOC = 7;
Link copied to clipboard
Word (new format, extension `.docx`).
Content copied to clipboard
WORD_DOCX = 8;
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Link copied to clipboard
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.