// Write a new paragraph in the document with some text as "Sample Content..."
builder.writeln("Aspose Sample Content for Word file.");
// Save the document in DOCX format. The format to save as is inferred from the extension of the file name.
// Aspose.Words supports saving any document in many more formats.
doc.save("data/Aspose_SaveDoc.docx",SaveFormat.DOCX);
System.out.println("Process Completed Successfully");
}
}