Templates/website/guide en
From Apache OpenOffice Wiki
Submission Guideline
Category
- One subcategory needs to get selected
- Error message: Categories field is required.
Language
- Language of template has to be selected
- If language does not exist, please file an issue which will be assigned to Thorsten Bosbach (tbo)."
File
- Filename does not matter, uniqueness is not enforced on the site
- Extension does matter. Only the following extensions are accepted:
- ott
- otg
- otp
- ots
- Error message: The extension is not allowed:
- Mime type inside the template file in the file 'mimetype' needs to be from list:
- application/vnd.oasis.opendocument.text-template
- application/vnd.oasis.opendocument.graphics-template
- application/vnd.oasis.opendocument.presentation-template
- application/vnd.oasis.opendocument.spreadsheet-template
- This is generated by OpenOffice.org on generating the template file
- Error message: The mimetype is not allowed:
- Success message: MIMETYPE:
Template properties
One template may be connected to just one language.
- All strings in the following fields have to be in that language.
Certain values have to be set in OpenOffice.org to generate a valid template:
- OpenOffice.org -> File -> Properties... -> Tab: Description
- Title
- Error message: No title inside the template.
- Success message: TITLE:
- Keywords (separated by comma(s): ,)
- Error message: No keywords/tags inside the template.
- Success message: KEYWORD:
- Comments (handled as provider) - will be shown below the title.
- Error message: No description inside the template.
- Success message: DESCRIPTION:
- Subject (handled as description)
- Success message: SUBJECT:
Tab: Custom Properties / User Defined
- License
- rename one field to 'License' - Do not translate 'License' it is hard coded to get this.
- Enter html anchor link, or just text
- Example: <a href="http://templates.services.openoffice.org/bsd-license">BSD</a>
- Error message: No license inside the template.
- Success message: LICENSE:
Now save your template as template and submit it.
Success message
On success the following messages are shown:
- The directory files/36 has been created.
- Your OpenOffice.org Template 'Business Letter 1' has been saved
- The submitted template is shown
Example
* MIMETYPE: application/vnd.oasis.opendocument.text-template * TITLE: Invoice 6 * DESCRIPTION: Template created by Sun Microsystems * SUBJECT: Template for an invoice - Design "Emerald" * LICENSE: BSD * KEYWORD: ,business,finances * The directory files/585 has been created. * THUMBNAIL: * Your OpenOffice.org Template 'Invoice 6' has been saved * The derivative images for 585_thumbnail.png have been regenerated.