aboutsummaryrefslogtreecommitdiff
path: root/lib/documents.js
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2014-04-22 11:05:42 +0100
committerMichael Williamson <mike@zwobble.org>2014-04-22 11:05:42 +0100
commit57cc8dff2e5723b8468c2f1fa1020ac2a9144022 (patch)
treed04cc33addc704c07696aa44a4503c5e5388fad5 /lib/documents.js
parentbc8e8b44a05041bc656e83a87d857ec58ba0b4fe (diff)
Rename styleName to the more accurate styleId
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
};