Ziv-Barber / officegen

Standalone Office Open XML files (Microsoft Office 2007 and later) generator for Word (docx), PowerPoint (pptx) and Excell (xlsx) in javascript. The output is a stream.
MIT License
2.65k stars 471 forks source link

Feature request: ability to specify list level/depth for Docx #321

Closed mikeappell closed 4 years ago

mikeappell commented 5 years ago

OfficeOpenXML allows for the specification of list level, e.g. nested lists: http://officeopenxml.com/WPnumbering.php

It would be great if there were a way to specify this when using the createListOfNumbers and createListOfDots methods.

It would also be very useful if this caused the numbering/bullet style to change the way it does by default in Word, e.g. the first level of depth uses numbers, the second letters, the third i / ii / iii etc. Even cooler would be if we could choose the numbering/bullet style ourselves, though the default is just fine imo.

Karanpreettoor commented 5 years ago

Created pull request for this feature.

mikeappell commented 4 years ago

Hey Ziv! Sorry to be a pain – I know this PR was merged into your dev branch, but I was wondering if you had any idea when you might feel comfortable releasing it into master.

hannojg commented 4 years ago

Still wondering

mikeappell commented 4 years ago

This is working now (and working awesomely)! I'm gonna close this issue, thanks a ton Ziv.