diff --git a/src/file/paragraph/properties.ts b/src/file/paragraph/properties.ts index bb055bc893..515d626b0c 100644 --- a/src/file/paragraph/properties.ts +++ b/src/file/paragraph/properties.ts @@ -52,6 +52,7 @@ export interface IParagraphPropertiesOptions extends IParagraphStylePropertiesOp readonly shading?: IShadingAttributesProperties; readonly widowControl?: boolean; readonly frame?: IFrameOptions; + readonly suppressLineNumbers?: boolean; } export class ParagraphProperties extends IgnoreIfEmptyXmlComponent { @@ -166,6 +167,10 @@ export class ParagraphProperties extends IgnoreIfEmptyXmlComponent { if (options.outlineLevel !== undefined) { this.push(new OutlineLevel(options.outlineLevel)); } + + if (options.suppressLineNumbers !== undefined) { + this.push(new OnOffElement("w:suppressLineNumbers", options.suppressLineNumbers)); + } } public push(item: XmlComponent): void {