This section is a reference for those specifying the /F# and /C# source and target file types from the command line. The file type constants used are dependent on the conversion method being used (Please see section on conversion methods for more info).
MS Word Conversion Method (/M1)
If using the MS Word conversion method the table below is valid for the Target file type constant (/C# switch). Other file type constants may appear when selecting the "OTHER FILE TYPES" from the target file type selection within the software user interface.
|
File Type Constant |
File Type |
Minimum Version |
|
0 |
Word Document (*.DOC) |
|
|
12 |
Word Document (*.DOCX) XML format |
Office 2007 |
|
4 |
DOS Text (*.TXT) |
|
|
5 |
DOS Text - Line Breaks (*.TXT) |
|
|
7 |
Encoded Text (*.TXT) |
|
|
8 |
HTML (*.HTM, *.HTML) |
|
|
6 |
Rich Text Format (RTF) |
|
|
2 |
Text |
|
|
3 |
Text Line Breaks |
|
|
7 |
Unicode Text |
|
|
9 |
Single File Web Page (*.MHT, *.MHTML) |
Office 2003 |
|
10 |
Web Page Filtered (*.HTM, *.HTML) |
Office 2003 |
|
11 |
XML Document |
Office 2003 |
|
13 |
Word Macro-enabled Document (*.DOCM) |
Office 2007 |
|
16 |
Word default document ‘SAVE AS’ file format. For Microsoft Office Word 2007 this is DOCX, but can be modified by a user. |
Office 2007 |
|
17 |
PDF (requires Microsoft Add-in "Microsoft Save as PDF or XPS") |
Office 2007 |
|
18 |
XPS (requires Microsoft Add-in "Microsoft Save as PDF or XPS") |
Office 2007 |
|
19 |
Word XML Document (*.XML) |
Office 2007 |
|
20 |
Word XML Macro Enabled (*.XML) |
Office 2007 |
File Type Constants for use with the /M1 and /C# command line switches
‘Convert Doc’ Conversion Method (/M2)
If using the ‘Convert Doc’ conversion method the table below is valid for specifying the /C# and /F# command line arguments. This is the default conversion method.
|
File Type Constant |
File Type |
|
1 |
Text |
|
4 |
HTML |
|
5 |
RTF Rich Text Format |
|
6 |
Unicode Text |
|
9 |
Word Document (*.DOC) |
|
*12 |
PDF format |
|
13 |
Word Document (*.DOCX) XML format |
|
*14 |
PDF/A-1b, OSI standard |
File Type Constants for use with the /M2 /F# and /C# command line switches
* = Cannot use PDF as an input file type (/F#). See table below for converting from PDF files.
'PDF File Conversion' Method (/M3)
If you are using the PDF File Conversion method the table below is valid for specifying the /C# command line argument. /F# (original file type) is not required as it is assumed to be a PDF file.
|
File Type Constant |
File Type |
|
1 |
Text |
|
2 |
HTML |
|
3 |
RTF/DOC (Rich Text File/ MS Word file) |
File Type Constants for use with the /M3 and /C# command line switches
See Also:
Complete List of Command Line Examples
"Using 'Convert Doc' - Command Line"