Properties and settings are defined with the parameter "-d" and a JSON file:
dynadocx -d data.json
The following is the complete set of key/values admitted with their default values:
{
"properties": {
"app_version": "",
"auto_created_at": false,
"auto_modified_at": false,
"category": "",
"content_status": "",
"created_at": "",
"creator": "",
"description": "",
"keywords": "",
"last_modified_by": "",
"modified_at": "",
"revision": "",
"subject": "",
"title": ""
},
"settings": {
"align_borders_and_edges": false,
"decimal_symbol": "",
"do_not_shade_form_data": false,
"do_not_track_formatting": false,
"do_not_track_moves": false,
"hide_grammatical_errors": false,
"hide_spelling_errors": false,
"lang": "en-US",
"mirror_margins": false,
"proof_state": "",
"track_revisions": false,
"update_fields": false,
"view": ""
}
}
Detail of available options
properties
key | value |
---|---|
app_version | Force a MS Word version: XX.YYYY format. |
auto_created_at | Set the current date and time as created_at. |
auto_modified_at | Set the current date and time as modified_at. |
category | Category field. |
content_status | Content status field. |
created_at | Force a created at date. W3CDTF without time zone. |
creator | Creator field. |
last_modified_by | Last modified by field. |
modified_at | Force a modified at date. W3CDTF without time zone. |
revision | Revision number. |
subject | Subject field. |
title | Title field. |
settings
key | value |
---|---|
align_borders_and_edges | Align paragraph and table borders with page border. |
decimal_symbol | Radix point for field code evaluation. |
do_not_shade_form_data | Do not show visual indicator for form fields. |
do_not_track_formatting | Do not track formatting revisions when tracking revisions. |
do_not_track_moves | Do not use move syntax when tracking revisions. |
hide_grammatical_errors | Do not display visual indication of grammatical errors. |
hide_spelling_errors | Do not display visual indication of spelling errors. |
lang | language-region |
mirror_margins | Mirror page margins. |
proof_state | Spelling and grammatical checking state: clean or dirty |
track_revisions | Track revisions to document. |
update_fields | Automatically recalculate fields on open. |
view | Document view setting: masterPages, none, normal, outline, print, web |