Separate paragraph style options interface for level

This commit is contained in:
Andrey Savin
2021-09-20 21:58:07 +03:00
parent 1713358f0c
commit 01bc6093dd
2 changed files with 6 additions and 3 deletions

View File

@ -2,7 +2,7 @@
import { decimalNumber } from "file/values";
import { Attributes, NumberValueElement, XmlAttributeComponent, XmlComponent } from "file/xml-components";
import { AlignmentType } from "../paragraph/formatting";
import { IParagraphStylePropertiesOptions, ParagraphProperties } from "../paragraph/properties";
import { ILevelParagraphStylePropertiesOptions, ParagraphProperties } from "../paragraph/properties";
import { IRunStylePropertiesOptions, RunProperties } from "../paragraph/run/properties";
export enum LevelFormat {
@ -88,7 +88,7 @@ export interface ILevelsOptions {
readonly suffix?: LevelSuffix;
readonly style?: {
readonly run?: IRunStylePropertiesOptions;
readonly paragraph?: IParagraphStylePropertiesOptions;
readonly paragraph?: ILevelParagraphStylePropertiesOptions;
};
}