diff options
Diffstat (limited to 'lib/documents.js')
| -rw-r--r-- | lib/documents.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/documents.js b/lib/documents.js index 8fc3df7..b28281f 100644 --- a/lib/documents.js +++ b/lib/documents.js @@ -33,8 +33,16 @@ function ElementWithChildren(type) { }; } +function Image(read) { + return { + type: "image", + read: read + }; +} + exports.Document = Document; exports.Paragraph = Paragraph; exports.Run = Run; exports.Text = Text; exports.Hyperlink = Hyperlink; +exports.Image = Image; |
