aboutsummaryrefslogtreecommitdiff
path: root/lib/documents.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/documents.js')
-rw-r--r--lib/documents.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/documents.js b/lib/documents.js
index ce985e9..8463da0 100644
--- a/lib/documents.js
+++ b/lib/documents.js
@@ -20,7 +20,7 @@ function Paragraph(children, properties) {
return {
type: types.paragraph,
children: children,
- styleName: properties.styleName || null,
+ styleId: properties.styleId || null,
numbering: properties.numbering || null,
alignment: properties.alignment || null
};
@@ -31,7 +31,7 @@ function Run(children, properties) {
return {
type: types.run,
children: children,
- styleName: properties.styleName || null,
+ styleId: properties.styleId || null,
isBold: properties.isBold,
isItalic: properties.isItalic
};