Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Bulleted list Question #1754

Answered by dolanmiu
gjblajian asked this question in Q&A
Discussion options

@dolanmiu when you create a bulleted list, how do you indicate which bullet you want? I know all of the valid ones are predefined but I am fuzzy about how to tell the library which one I want my specific bullet entry to point to [circle, hollowCircle, square, hollowSquare, etc...].

https://docx.js.org/#/usage/bullet-points

image

You must be logged in to vote

So it is pretty easy

You simply specify the unicode value, and it will simply work:

Look at this example here:

https://github.com/dolanmiu/docx/blob/master/demo/3-numbering-and-bullet-points.ts#L64

Replies: 1 comment 1 reply

Comment options

So it is pretty easy

You simply specify the unicode value, and it will simply work:

Look at this example here:

https://github.com/dolanmiu/docx/blob/master/demo/3-numbering-and-bullet-points.ts#L64

You must be logged in to vote
1 reply
Comment options

How would I specify this when patching a document?

Answer selected by dolanmiu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /