DOCX
Generate .docx files with JS/TS with a nice declarative API
...Setting the section type determines how the contents of the section will be placed relative to the previous section. You can specify additional properties to the section, by providing a properties attribute. Everything (text, images, graphs etc) in OpenXML is organized in paragraphs. To change the text alignment of a paragraph, add an AlignmentType option on the paragraph.for center, left, right or justified. When a paragraph is justified, you may want to not justify the contents of incomplete lines, which end in a soft line break. Paragraphs have .keepLines() and .keepNext() methods that allow restricting page breaks within and between paragraphs. ...