wiki:DocumentTypes

Managing document types

Document types inside Officeshots consist of three separate objects:

Doctype
A doctype is a group of document types that you can upload. By default there are three doctypes: OpenDocument Text, OpenDocument Spreadsheet and OpenDocument Presentations. Each doctype is shown separately on the front page. Every doctype has one of more mimetypes associated with it. For example, the OpenDocument Text doctype has associated mimetypes for ODT, OTT and OTH files.
Format
A format is a class of output format that users of Officeshots can request. By default there are three formats: PDF Export, Screenshot and ODF Roundtrip. Each format has one or more mimetypes associated with it. For example, the ODSF Roundtrip format is associated with all ODF mimetypes.
Mimetype
A mimetype corresponds to a single file format and default file extension. Officeshots will reject all uploaded documents that have a mimetype that is not listed in the Mimetype table.

Doctypes

Use the Doctypes menu entry to add and edit additional Doctypes. Each Doctype has a name and a code. The name is displayed on the front page. The code is a shorthand identifier that is used in the configuration of rendering clients. See also FactoryManual/StandardFactory.

Doctypes also have a certain order. This is the order they are displayed on the front page, top to bottom.

Formats

Use the Formats menu entry to add and edit output formats supported by Officeshots. Each format has a name, and icon and a code. The icon is displayed on gallery pages. The code is a shorthand identifier that is used in the configuration of rendering clients. See also FactoryManual/StandardFactory.

Mimetypes

Use the Mimetypes menu entry to add and edit mimetypes supported by Officeshots. Each mimetype has a mimestring, a default file extension and an icon. The icon is the large icon you see in the result pages. You can also associate each mimetype with a doctype and/or output format.

Last modified 9 years ago Last modified on 05/26/10 13:15:45