document (DOC)
Documents are files belonging to a certain subject, created by an application program. They are not only text files, but involve any file types and elements. A document always consists of the content, the structure and the layout in which the content is presented.
Like files, documents can be stored under a specific name in a memory area and opened for further processing. The individual file records of a document can then be processed individually. For example, a text document may consist of a letterhead, the address, the letter, and the footer, which together form an organizational unit, the document. In addition to the text files mentioned above, documents can also include graphics, photos, tables, applets, or videos.
Editable document formats include the DOC file format and the XLS file format; the Portable Document Format( PDF) is not editable. The PDF format, PDF/A, Microsoft's OpenXML and the editable Open Document Format( ODF) are used for long-term archiving of documents.
A compound document is a composite document, although it is not defined in detail what components such a document has and in what form it is compound. It is only certain that a compound document is any object.