Sample Java conversion code for VSTM format to XPS file. Use this example code to convert VSTM to XPS within any Web or Desktop Java based application....Diagram visio = new Diagram( "template.vstm" ); // save VSTM as XPS...Files with VSTM extension are template files created with Microsoft...