We’ve developed some resources to help you work effectively from home during COVID-19 Click here to learn more

Document type extensibility

In this article
    Allows new, unknown file types for templates to be mapped to known file types when creating documents. This lets the user pref control how the document template is treated by the tag substitution logic.

    Allow document templates that we understand to be extended/configured via preferences.

    UserPref
       [DocTemplateTypeMap]
       .xlsz = .xlsx

    Note that the user pref contains a leading dot in the key and the value.

    So if you have document templates for Open Office, and you know that these are similar to MS Office 2010 files (Zip files with XML inside), then you can use the following userpref:

                    [DocTemplateTypeMap]

                    .odt = .docx

                    .ods = .xlsx

     

    This means that the template LETTER.ODT will be treated as if it was LETTER.DOCX when it is run through the tag substitution engine.

    In other words, you would use {name} for template tag, instead of <name>, and you don’t need padding spaces {name     }.

    The files generated from LETTER.ODT will still be named as ODT files, and will still need OpenOffice to view/edit them on the client.