Getting started
Install the package and write the first document.
Install#
Install the package with RingPM, the Ring package manager, in one step:
ringpm install docxlib from ringpackagesQuick start#
load "docxlib.ring"
? "Generate File: hello.docx"
new WordWriter() {
setTitle("My First Document")
setAuthor("Your Name")
setPageSize("a4")
addHeading("Hello, DOCXLib!", 1)
addParagraph("This document was created entirely from Ring code.", [:color = "0000FF"])
addBulletList(["Feature A", "Feature B", "Feature C"])
save("hello.docx")
}