Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ivy-bb authored Aug 23, 2024
1 parent bdc40d5 commit 2d5d8d6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rtf-factory-product/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,16 @@ The document templates can be managed in the CMS or somewhere else in the files

![Demo-Dialog](images/DemoDialog.png)

A complete script fragment to load a template and call the expander may look like this
The complete script fragment to load a template and call the expander may look like this

```
import ch.ivyteam.ivy.RtfFactory.ExportFromCms;
import ch.ivyteam.ivy.RtfFactory.RtfExpander;
RtfExpander.sendExpandedRtfFile(ExportFromCms.export("my-document-template", "rtf"), in);
```

The resulting expanded sample document

![Generated-Document](images/GeneratedDocument.png)


Expand Down

0 comments on commit 2d5d8d6

Please sign in to comment.