Option Setting File

Conversion option setting file

The conversion option setting file is a file that saves parameter values for conversion options.It is read at command line execution by specifying the name of the conversion option setting file.If you repeatedly convert using the same settings, you can save the conversion options in a settings file so that the next time you convert, you only need to specify the settings file instead of specifying the same options.The file name of the conversion option setting file is optional.The conversion option setting file can be created as a file specified by the "-savesettings" conversion option when the command line is executed.

The conversion option setting file is in XML format, so parameter values can be modified using a text editor.

Setting file formatThe settings file is an XML file whose root element is "word-to-html-settings" and the items to be set for conversion options are the child element type names. The format of the default setting file and the conversion option setting file are the same. The correspondence between each element type name and the conversion option parameters is shown in the table below.
Element Location Attribute Default Corresponding conversion option parameter
<word-to-html-settings> root
enable-XHTML enable false -xhtml
viewport content -viewport
enable-endl enable false -endl
enable-empty-paragraph enable false -emptyP
enable-non-reference-id enable false -nonrefiid
enable-image-width enable false -imgwidth
enable-heading-strong enable true -hstrong
enable-embed-image enable false -embedimg
enable-mathml enable false -math
xml-mathml enable false -xmath
xml-omath enable false -omath
through-image enable false -throughimg
enable-pstyle enable false -pstyle
enable-citation enable false -citation
text-color enable false -textcolor
output-br enable false -outputbr
style-tag enable true -defstyle
space-indent enable false -spaceindent
fil-images enable false -fileimages
italic out n -italic n|t|s
underline out n -underline n|t|s
linethrough out n -linethrough n|t|s
encoding encoding N/A -encoding
link-css src N/A -css css-file
link-js src N/A -js javascript-path