diff options
| author | Michael Williamson <mike@zwobble.org> | 2014-04-22 11:05:42 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2014-04-22 11:05:42 +0100 |
| commit | 57cc8dff2e5723b8468c2f1fa1020ac2a9144022 (patch) | |
| tree | d04cc33addc704c07696aa44a4503c5e5388fad5 /lib/documents.js | |
| parent | bc8e8b44a05041bc656e83a87d857ec58ba0b4fe (diff) | |
Rename styleName to the more accurate styleId
Diffstat (limited to 'lib/documents.js')
| -rw-r--r-- | lib/documents.js | 4 |
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 }; |
