Microsoft Corp., seller of the top word-processing and spreadsheet programs, will offer an add-on program that translates documents for use with a rival file format popular with government customers.