Add math run and fraction

This commit is contained in:
Dolan
2019-08-15 00:47:55 +01:00
parent b52a4adaff
commit a1b9be453b
17 changed files with 292 additions and 1 deletions

View File

@ -15,6 +15,7 @@ import { HeadingLevel, Style } from "./formatting/style";
import { CenterTabStop, LeaderType, LeftTabStop, MaxRightTabStop, RightTabStop } from "./formatting/tab-stop";
import { NumberProperties } from "./formatting/unordered-list";
import { Bookmark, Hyperlink, OutlineLevel } from "./links";
import { Math } from "./math";
import { ParagraphProperties } from "./properties";
import { PictureRun, Run, SequentialIdentifier, TextRun } from "./run";
@ -54,7 +55,7 @@ export interface IParagraphOptions {
readonly level: number;
readonly custom?: boolean;
};
readonly children?: Array<TextRun | PictureRun | Hyperlink>;
readonly children?: Array<TextRun | PictureRun | Hyperlink | Math>;
}
export class Paragraph extends XmlComponent {