From 25f657b842597d8b56e9e4fe645f1c726d16ec37 Mon Sep 17 00:00:00 2001 From: Dolan Miu Date: Wed, 28 Jun 2023 22:02:09 +0100 Subject: [PATCH] Add right align example --- demo/2-declaritive-styles.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/demo/2-declaritive-styles.ts b/demo/2-declaritive-styles.ts index 6426d5bf53..16af9362eb 100644 --- a/demo/2-declaritive-styles.ts +++ b/demo/2-declaritive-styles.ts @@ -43,6 +43,15 @@ const doc = new Document({ color: "#FF0000", }, }, + document: { + run: { + size: "11pt", + font: "Calibri", + }, + paragraph: { + alignment: AlignmentType.RIGHT, + }, + }, }, paragraphStyles: [ {