Skip to content
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

Add, set the level to a numbering paragraph on XWPFParagraph #163

Closed
wants to merge 1 commit into from
Closed

Add, set the level to a numbering paragraph on XWPFParagraph #163

wants to merge 1 commit into from

Conversation

miguoliang
Copy link

To set the level of a paragraph in a multilevel numbering list by setNumILvl.

@asf-ci
Copy link

asf-ci commented Dec 3, 2019

Can one of the admins verify this patch?

@miguoliang
Copy link
Author

miguoliang commented Dec 9, 2019

People can Set the level of a paragraph in a multilevel numbering list in Microsoft Word Docx File manually by this way https://www.miguoliang.com/apache-poi-multilevel-numbering-paragraph-microsoft-word-docx.html before my PR is merged.

However, I found that numPr tag does not appear in document.xml directly in the most of docx generated by MS word with a large number of styles, it is wrapped in a style definition in styles.xml.

Current Numbering APIs are good to generate a word document from zero, but maybe not very great for general docx files generated by any other software, such as Microsoft Word.

@asfgit asfgit closed this in d240fb1 Dec 26, 2019
@pjfanning
Copy link
Contributor

@miguoliang miguoliang deleted the xwpfparagraph-api-setnumilvl branch January 3, 2020 06:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants