exportAsWord

public final void exportAsWord(String filepath)

Exports the document as Word format to the specified file path.

Parameters

filepath

The file path where the Word document will be saved.


public final void exportAsWord(FileOutputStream stream)

Exports the document as Word format to the specified stream.

Parameters

stream

The stream where the Word document will be written.