#751 Add bidi visual - Visual Right to Left

This commit is contained in:
Dolan Miu
2021-03-04 02:02:28 +00:00
parent a026e5bd1f
commit 2aa93e6105
8 changed files with 92 additions and 5 deletions

View File

@ -36,6 +36,7 @@ export interface ITableOptions {
readonly layout?: TableLayoutType;
readonly borders?: ITableBordersOptions;
readonly alignment?: AlignmentType;
readonly visuallyRightToLeft?: boolean;
}
export class Table extends XmlComponent {
@ -48,6 +49,7 @@ export class Table extends XmlComponent {
layout,
borders,
alignment,
visuallyRightToLeft,
}: ITableOptions) {
super("w:tbl");
@ -76,6 +78,7 @@ export class Table extends XmlComponent {
type: marginUnitType,
},
},
visuallyRightToLeft,
}),
);