Skip to content

Defining bullets #536

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
TheAifam5 opened this issue Aug 19, 2018 · 5 comments
Open

Defining bullets #536

TheAifam5 opened this issue Aug 19, 2018 · 5 comments

Comments

@TheAifam5
Copy link

Hey,

How can I define a new bullet for a list?

Regards,
TheAifam5

@dodoflyy
Copy link

dodoflyy commented Sep 4, 2018

Maybe just use build-in bullet styles?

@TheAifam5
Copy link
Author

I'm trying to do something like this for automate some tasks:
image

@dodoflyy
Copy link

dodoflyy commented Sep 5, 2018

I think you need to create such bullet style in MS-word, then you use this docx as your template. Here is the manule tells the detail.

@TheAifam5
Copy link
Author

Yea that‘s another option, but I prefer to have it in code rather create a template so I can then just change one line in code to have another bullet symbol. Also - the script runs on the server - without MS-Word.

@JeremyChiang1992
Copy link

@TheAifam5
Hey dude, has the problem been solved?

And do you konw how to set a "bullet" in the text front?
All the way I found are use add_paragraph('xxx',style='List Bullet') ,but in my docx files ,they do not have this style ----I don't want to create a template . When I set a "Bullet" with the MSOffice Word, I found there is a style named 'List Paragraph' on a paragraph which set to "bullet".

But when I try it with code add_paragraph('xxx',style='List Paragraph'),it can not succeed,it just add a paragraph but no "bullet"...T_T

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants