saveWithModelAs

public final void saveWithModelAs(FileOutputStream stream)

Saves the Word document with the applied template model to a stream.

Parameters

stream

The output stream where the processed document will be saved.


public final void saveWithModelAs(String path)

Saves the Word document with the applied template model to a file.

Parameters

path

The file path where the processed document will be saved.