ODF

Frends.Odf.WriteTextDocument / 1.1.0

Summary

Generates an OpenDocument text file from JSON, writing each property as its own paragraph.

Typical use — simple generated documents such as summaries or receipts, where layout control is not the point

Details

Frends version
5.7 and newer
Agent
Crossplatform
Target framework
net8.0

Essential parameters.

Name Type Default Example Description
Payload String [ { "Name": "John" }, { "Name": "Jane" } ]

JSON data input to be written into the .odt document.

FilePath String C:\temp\foo.odt

Full path of the destination for the new .odt file.

ActionOnExistingFile ActionOnExistingFile Throw ActionOnExistingFile.Throw

Defines how the file write should work if a file with the new name already exists.

Possible values:

  • Overwrite: Replaces the existing file.

  • Throw: Throws an error if the file already exists.

An unhandled error has occurred. Reload 🗙