Add shading and border settings to paragraph style options. (#2955)

* Add shading and border settings to paragraph style options.

* Fix prettier

---------

Co-authored-by: Dolan Miu <dolan_miu@hotmail.com>
This commit is contained in:
Serey Roth
2025-02-16 10:33:21 -08:00
committed by GitHub
parent 170309a7ed
commit ee6db1429a
2 changed files with 62 additions and 2 deletions

View File

@ -38,6 +38,8 @@ export type ILevelParagraphStylePropertiesOptions = {
};
export type IParagraphStylePropertiesOptions = {
readonly border?: IBordersOptions;
readonly shading?: IShadingAttributesProperties;
readonly numbering?:
| {
readonly reference: string;
@ -49,7 +51,6 @@ export type IParagraphStylePropertiesOptions = {
} & ILevelParagraphStylePropertiesOptions;
export type IParagraphPropertiesOptions = {
readonly border?: IBordersOptions;
readonly heading?: (typeof HeadingLevel)[keyof typeof HeadingLevel];
readonly bidirectional?: boolean;
readonly pageBreakBefore?: boolean;
@ -58,7 +59,6 @@ export type IParagraphPropertiesOptions = {
readonly bullet?: {
readonly level: number;
};
readonly shading?: IShadingAttributesProperties;
readonly widowControl?: boolean;
readonly frame?: IFrameOptions;
readonly suppressLineNumbers?: boolean;