Transforming DITA to Word with <tm tmclass="special" tmowner="Oracle and/or its affiliates" tmtype="tm" trademark="Java">Java</tm> command On the command line, enter the command java -jar lib\dost.jar /i:<input> /outdir:<out> /transtype:wordrtf. <input> means the name of ditamap file to be transformed, and <out> means the output directory. After processing and generating, a single output file in .rft format occurs in the specified directory, such as in e:/output/diat2word.. You can use Microsoft Word to open the output file. You can also further edit the output file by using tools in Microsoft Word.