(children, properties)
| 616 | } |
| 617 | |
| 618 | function Run(children, properties) { |
| 619 | properties = properties || {}; |
| 620 | return { |
| 621 | type: types.run, |
| 622 | children: children, |
| 623 | styleId: properties.styleId || null, |
| 624 | styleName: properties.styleName || null, |
| 625 | isBold: properties.isBold, |
| 626 | isUnderline: properties.isUnderline, |
| 627 | isItalic: properties.isItalic, |
| 628 | isStrikethrough: properties.isStrikethrough, |
| 629 | isSmallCaps: properties.isSmallCaps, |
| 630 | verticalAlignment: properties.verticalAlignment || verticalAlignment.baseline, |
| 631 | font: properties.font || null |
| 632 | }; |
| 633 | } |
| 634 | |
| 635 | var verticalAlignment = { |
| 636 | baseline: "baseline", |
nothing calls this directly
no outgoing calls
no test coverage detected