Add styles to footnote

This commit is contained in:
Dolan
2018-06-28 03:01:25 +01:00
parent 802e461792
commit 5dc82d8176
7 changed files with 101 additions and 4 deletions

View File

@ -3,6 +3,9 @@ import { Color, Italics, Size } from "../paragraph/run/formatting";
import { Styles } from "./";
import {
FootnoteReferenceStyle,
FootnoteText,
FootnoteTextChar,
Heading1Style,
Heading2Style,
Heading3Style,
@ -65,6 +68,16 @@ export class DefaultStylesFactory {
const hyperLinkStyle = new HyperlinkStyle();
styles.push(hyperLinkStyle);
const footnoteReferenceStyle = new FootnoteReferenceStyle();
styles.push(footnoteReferenceStyle);
const footnoteTextStyle = new FootnoteText();
styles.push(footnoteTextStyle);
const footnoteTextCharStyle = new FootnoteTextChar();
styles.push(footnoteTextCharStyle);
return styles;
}
}