The Option Setting File is an XML file which describes the operating setup for Office Server Document Converter V11.0. It can be loaded by the -i option in Command-line Interface, etc.
The following are the elements of the Option Setting File:
Element | Location | Description |
---|---|---|
<formatter-config> | root element | The root element of the Office Server Document Converter V11.0 Option Setting File. |
<formatter-settings> | child of <formatter-config> | The element of Formatter Settings. |
<font-settings> | child of <formatter-config> | The element of Font Settings. |
<script-font> | child of <font-settings> | The element of generic font settings for each script. |
<font-alias> | child of <font-settings> | The element of font alias settings. |
<inx-settings> | child of <formatter-config> | The element of INX Output Settings. |
<mathml-settings> | child of <formatter-config> | The element of Math Equations Settings. |
<word-settings> | child of <formatter-config> | The element of MS-Word Track Changes. |
<dfv-settings> | child of <formatter-config> | The element of Office. |
These settings are used for the formatting.
Element | Location | Attribute | Default | Description |
---|---|---|---|---|
<formatter-settings> | child of <formatter-config> | watermark-font-family | sans-serif | Specifies the font family to the character string which you set to watermark-text. |
watermark-opacity | 0.2 | Specifies the opacity to the character string which you set to watermark-text. | ||
watermark-font-style | normal | Specifies the font style to the character string which you set to watermark-text. Possible to specify normal or italic. This attribute is invalid with the evaluation version. | ||
watermark-font-weight | normal | Specifies the font weight to the character string which you set to watermark-text. Possible to specify normal, bold or the numerical value from 100 to 900. This attribute is invalid with the evaluation version. | ||
watermark-text | Displays the specified watermark text on each page. Possible to make it multiple lines by delimiting with the line feed “ ”. This setting is invalid with the evaluation version. |
These settings are used for the fonts.
Element | Location | Attribute | Default | Description | ||||||
---|---|---|---|---|---|---|---|---|---|---|
<font-settings> | child of <formatter-config> | default-font-family | serif | Specifies the default generic font family. The choices are serif, sans-serif, cursive, fantasy or monospace. | ||||||
missing-font | 1 | Specifies whether to warn when a font is not found from the specified font family.
The following either can be specified:
|
||||||||
missing-glyph | 1 | Specifies whether to warn when the glyph corresponding to the specified character is not found in the specified font family.
The following either can be specified:
|
||||||||
missing-glyph-all | false | Usually the report on missing-glyph is given only once to the same character. However, by specifying missing-glyph-all="true", the report can be given to all. Note that careless specification could cause huge amount of error. | ||||||||
<script-font> | child of <font-settings> (This element can be specified as many times as necessary) See also Font Selection | script | Specifies the script codes for multilingual setting.
The available scripts conform to ISO 15924. However, the Office Server Document Converter V11.0 does not support all scripts.
The following scripts can be specified here:
|
|||||||
serif | Specifies the generic serif font when specified by the script. | |||||||||
sans-serif | Specifies the generic sans-serif font when specified by the script. | |||||||||
monospace | Specifies the generic monospace font when specified by the script. | |||||||||
cursive | Specifies the generic cursive font when specified by the script. | |||||||||
fantasy | Specifies the generic font for fantasy when specified by the script. | |||||||||
fallback | Specifies the fall back font of the script when specified by the script. Two or more fonts can be enumerated by comma-separated values. | |||||||||
<font-alias> | child of <font-settings> (This element can be specified as many times as necessary) | src |
Replaces the font name src (source) with dst (destination). This is achieved by specifying an arbitrary font name for src and dst. However, in the following sample:
<font-alias src="A" dst="B"> <font-alias src="B" dst="C">“A” would never be replaced with “C”. Moreover, the setting for <font-alias> doesn't affect the font name in the Option file. |
|||||||
dst |
These settings are used for PDF Output.
Element | Location | Attribute | Default | Description |
---|---|---|---|---|
<pdf-settings> | child of <formatter-config> | embed-all-fonts | false |
Specifies whether or not to embed in the PDF all fonts that are embeddable, with one of the following values:
|
embed-font-encoding |
Specifies the encoding when the TrueType font is embedded. When nothing is specified, Identity-H/V is the default.
|
|||
encryption-level | 128 |
Specifies the key length when encrypting the PDF file. Specifies either 40 or 128. These are counted as number of bits of the key length.
This attribute is effective with PDF1.4 or later.
|
||
error-on-embed-fault | true | When an error occurs while embedding fonts, specifies whether to stop formatting as an error or to continue embedding by replacing the character with a white space using the value of true or false. If the value is true, stops formatting as an error. If the value is false, continues executing and outputs PDF by replacing the character with a white space. | ||
error-on-missing-glyph | false | When the corresponding glyph for the specified character does not exist in the specified font, specifies whether to stop formatting as an error or to continue formatting by using the value of true or false. When true is specified, the processing will end as an error. When false is specified, although PDF is outputted, the character will be displayed as a white space or a small box in PDF for missing glyph. | ||
linearized | false | Specifies whether to create linearized PDF. If the value is true, creates linearized PDF that is optimized for Web display. If the value is false, creates normal PDF. | ||
no-accessibility | false | Specifies whether to permit text access for screen reader devices of PDF files with the value of true or false. If false is specified, it is permitted. If true is specified, it is not permitted. This attribute is effective only when you specify PDF1.4 or later. owner-password is required for the permission settings of text access for screen reader devices to be effective. | ||
no-adding-or-changing-comments | false | Specifies whether to permit adding or changing comments and form fields in the PDF or not with the value of true or false. If the value is false, permits adding or changing. If the value is true, permits no changes or additions are allowed. owner-password is required for the permission settings of adding or changing comments and form fields to be effective. | ||
no-assemble-doc | false | Specifies whether to permit inserting, deleting and rotating of PDF pages with the value of true or false. If false is specified, it is permitted. If true is specified, it is not permitted. This attribute is effective only when you specify PDF1.4 or later. owner-password is required for the permission settings of inserting, deleting and rotating of PDF pages to be effective. | ||
no-changing | false | Specifies whether or not to permit making form field and making other changes in the PDF file or not with the value of true or false. If the value is false, changes are permitted. If the value is true, no changes are permitted. owner-password is required for the permission settings of making form field and making other changes to be effective. | ||
no-content-copying | false | Specifies whether to permit copying the text and the graphics in PDF or not with the value of true or false. If the value is false, permits copying. If the value is true, permits no copying. owner-password is required for the permission settings of copying the text and the graphics to be effective. | ||
no-fill-form | false | Specifies whether to permit filling in of form fields and signing of the PDF file with the value of true or false. If false is specified, it is permitted. If true is specified, it is not permitted. This attribute is effective only when you specify PDF1.4 or later. owner-password is required for the permission settings of filling in of form fields and signing to be effective. | ||
object-compression | false | Compresses the object in PDF. It is effective with PDF1.5 or later and text-and-lineart-compression="true" is specified. If true is specified, the object will be compressed, if false is specified, it will not be compressed. | ||
owner-password |
Sets the strings specified as an owner password. Specify up to 32 ASCII characters. If the characters other than the above are included, it becomes invalid and It is considered that no password is set. The default value is no-password.
|
|||
pdf-version | PDF1.4 | Specifies the version of the PDF to create with one of the following values:
|
||
printing-allowed | high-resolution | Specifies whether to print the resulting PDF file or not. If high-resolution is specified, it allows to printing in high resolution. low-resolution is effective with PDF1.4 or later. If low-resolution is specified, it allows printing in low resolution. If the PDF version is 1.3, it is handled as high-resolution. If none is specified, it does not allow printing. owner-password is required for the permission settings of printing the PDF file to be effective. | ||
rasterize-resolution | 108 | A part of a vector image is transformed to a raster image and stored in the PDF. Specifies the value of the rasterize-resolution of the transformed raster images in the range from 70 to 500(dpi). This setting is effective only with Windows versions. | ||
reverse-page | false | If the value is true, outputs pages in reverse order to PDF. | ||
text-and-lineart-compression | true | Specifies whether the text and the line art in PDF are compressed in order to make the size of PDF smaller or not. If the value is true, it is compressed. If the value is false, it is not compressed. | ||
user-password |
Sets the strings specified as a user password. Specify up to 32 ASCII characters. If the characters other than the above are included, it becomes invalid and it is considered that no password is set. The default value is no-password.
|
|||
<embed-font> | child of <pdf-settings> (This element can be specified as many times as necessary) | font | Specifies the fonts that are embedded in the PDF. This element is effective only when embed-all-fonts="false" is specified. When embed-all-fonts="false" is specified and this element is not specified, only the glyphs of the characters that are needed in the PDF output are embedded. When this element is specified and if the font indicated here is used within the formatted results, the glyph of the character currently used will be embedded. For a font that is not specified, embedding is performed only for the glyphs of the characters that are needed in the PDF output. |
These settings are used for INX Output.
Element | Location | Attribute | Default | Description |
---|---|---|---|---|
<inx-settings> | child of <formatter-config> | output-mode | text |
Specify how to generate the text frame of InDesign® from text.
|
These settings are used for Math Equations.
Element | Location | Attribute | Default | Description |
---|---|---|---|---|
<mathml-settings> | child of <formatter-config> | fontfamily | Specifies the font to be used. The default value of mathvariant="normal" in Windows versions is:
fontfamily="'STIX', 'STIXGeneral', 'Cambria Math'"
In non-Windows versions:
fontfamily="'STIX', 'STIXGeneral'"
In any cases other than mathvariant="normal", the normal font is the default value.
|
Settings are used for MS-Word Track Changes.
Element | Location | Attribute | Default | Description |
---|---|---|---|---|
<word-settings> | child of <formatter-config> | |||
<track-change> | child of <word-settings> | ins-property | under-line |
When outputting Track Changes by Word Track Changes output settings, specify the text attribute of "Insertions". Specify one of the following values:
|
ins-color | none | When outputting Track Changes by Word Track Changes output settings, specify the text color of "Insertions".
Specify one of the following values:
|
||
del-property | strike-through | When outputting Track Changes by Word Track Changes output settings, specify the text attribute of "Deletions".
Specify one of the following values:
|
||
del-color | none | When outputting Track Changes by Word Track Changes output settings, specify the text color of "Deletions". The text color that can be specified is the same as ins-color. | ||
move-from-property | double-strike-through | When outputting Track Changes by Word Track Changes output settings, specify the text attribute of "Moved from". The text attribute that can be specified is the same as del-property. This text attribute change is available only when converting from a docx file. | ||
move-from-color | green | When outputting Track Changes by Word Track Changes output settings, specify the text color of "Moved from". The text color that can be specified is the same as ins-color. This text color change is available only when converting from a docx file. | ||
move-to-property | double-under-line | When outputting Track Changes by Word Track Changes output settings, specify the text attribute of "Moved to". The text attribute that can be specified is the same as ins-property. This text attribute change is available only when converting from a docx file. | ||
move-to-color | green | When outputting Track Changes by Word Track Changes output settings, specify the text color of "Moved to". The text color that can be specified is the same as ins-color. This text attribute change is available only when converting from a docx file. | ||
changed-line | outside-border | When outputting Track Changes by Word Track Changes output settings, specify the position to output marks for "Changed lines".
Specify one of the following values:
|
||
ins-cell-color | light-blue | When outputting Track Changes by Word Track Changes output settings, specify the background color of the “Inserted cells”.
Specify one of the following values:
|
||
del-cell-color | pink | When outputting Track Changes by Word Track Changes output settings, specify the background color of the "Deleted cells". The background color that can be specified is the same as ins-cell-color. | ||
merge-cell-color | light-yellow | When outputting Track Changes by Word Track Changes output settings, specify the background color of the "Merged cells". The background color that can be specified is the same as ins-cell-color. This background color change is available only when converting from a docx file. | ||
split-cell-color | light-orange | When outputting Track Changes by Word Track Changes output settings, specify the background color of the "Split cells". The background color that can be specified is the same as ins-cell-color. This background color change is available only when converting from a docx file. | ||
formatting-property | none | When outputting Track Changes by Word Track Changes output settings, specify the text attribute of "Formatting". The text attribute that can be specified is the same as ins-property. | ||
formatting-color | none | When outputting Track Changes by Word Track Changes output settings, specify the text color of "Formatting". The text color that can be specified is the same as ins-color. |
Settings are used for Office.
Element | Location | Attribute | Default | Description |
---|---|---|---|---|
<dfv-settings> | child of <formatter-config> | textwarp | 1 | When the WordArt rendering to be the same as in older versions of Office Server Document Converter, specify 0. |
<excel-settings> | child of <dfv-settings> | xls-crlf-space | 1 | When the line spacing for wrapping in Excel cells to be the same as in older versions of Office Server Document Converter, specify 0. |
<?xml version="1.0"?> <formatter-config> <font-settings default-font-family="serif"> <script-font serif="Times New Roman" sans-serif="Arial" monospace="Courier New" cursive="Times New Roman" fantasy="Times New Roman"/> <script-font script="Jpan" serif="IPAMincho" sans-serif="IPAGothic" monospace="IPAMincho"/> <script-font script="Hang" serif="Batang" sans-serif="Gulim" monospace="BatangChe"/> <script-font script="Hans" serif="SimSun" sans-serif="SimHei" monospace="SimSun"/> <script-font script="Hant" serif="MingLiU" sans-serif="MingLiU" monospace="MingLiU"/> <font-alias src="MS Mincho" dst="IPAMincho"/> <font-alias src="MS Gothic" dst="IPAGothic"/> </font-settings> </formatter-config>