Free Support Forum - aspose.cloud

Create Multilevel number bullet list in Word Document with Node.js SDK of Aspose.Words Cloud API

Please suggest can we generate multilevel list using Aspose word cloud APIs If yes, please suggest sample code. We want to generate like below using nodejs + Aspose word cloud APIs
1
1.1
1.1.1
1.1.2
1.2
1.2.1
2
2.1

Please suggest can we generate multilevel list using Aspose word cloud APIs If yes, please suggest samepl code. We want to generate like below using nodejs
1
1.1
1.1.1
1.1.2
1.2
1.2.1
2
2.1

@testprojdev,

Thanks for your inquiry. I am afraid the requested feature is not supported in Aspose.Words Cloud. We have logged a ticket WORDSCLOUD-808 in our issue tracking system for further investigation and implementation. We will notify you as soon as it is resolved.

As a workaround, you may create an HTML document with the lists and convert it to Word document using Aspose.Words Cloud SDK for Node.js.

Sorry for the thread hijack, does that mean that Getting Multilevel Lists to work in Word output via HTML ( WORDSCLOUD-723) is now fixed?

@RBIEGTechTeam

Thanks for asking. Currently, lists up-to two points working fine in HTML to DOCX conversion Multilevel_List.PNG (3.5 KB) but having incorrect numbering in the third list. Fix of you reported issue( WORDSCLOUD-723) is in progress and if everything works as per plan, then it will be available in the 19.8 release.

@testprojdev

Thanks for your patience. We are pleased to inform you that your above reported feature request is implemented. Now you can create Multilevel List in Word document as following using Aspose.Words Cloud.

Add list to existing Word document using InsertList API Method, Node.js example.

supported List templates are:

BulletDefault:
// Default bulleted list with 9 levels. Bullet of the first level is a disc, bullet
// of the second level is a circle, bullet of the third level is a square. Then
// formatting repeats for the remaining levels. Each level is indented to the right
// by 0.25" relative to the previous level. Corresponds to the 1st bulleted list
// template in the Bullets and Numbering dialog box in Microsoft Word.

BulletDisk:
// Same as BulletDefault. Corresponds to the 1st bulleted list template in the Bullets
// and Numbering dialog box in Microsoft Word.

BulletCircle:
// The bullet of the first level is a circle. The remaining levels are same as in
// BulletDefault. Corresponds to the 2nd bulleted list template in the Bullets and
// Numbering dialog box in Microsoft Word.

BulletSquare:
// The bullet of the first level is a square. The remaining levels are same as in
// BulletDefault. Corresponds to the 3rd bulleted list template in the Bullets and
// Numbering dialog box in Microsoft Word.

BulletDiamonds:
// The bullet of the first level is a 4-diamond Wingding character. The remaining
// levels are same as in BulletDefault. Corresponds to the 5th bulleted list template
// in the Bullets and Numbering dialog box in Microsoft Word.

BulletArrowHead:
// The bullet of the first level is an arrow head Wingding character. The remaining
// levels are same as in BulletDefault. Corresponds to the 6th bulleted list template
// in the Bullets and Numbering dialog box in Microsoft Word.

BulletTick:
// The bullet of the first level is a tick Wingding character. The remaining levels
// are same as in BulletDefault. Corresponds to the 7th bulleted list template in
// the Bullets and Numbering dialog box in Microsoft Word.

NumberDefault:
// Default numbered list with 9 levels. Arabic numbering (1., 2., 3., ...) for the
// first level, lowecase letter numbering (a., b., c., ...) for the second level,
// lowercase roman numbering (i., ii., iii., ...) for the third level. Then formatting
// repeats for the remaining levels. Each level is indented to the right by 0.25"
// relative to the previous level. Corresponds to the 1st numbered list template
// in the Bullets and Numbering dialog box in Microsoft Word.

NumberArabicDot:
// Same as NumberDefault. Corresponds to the 1st numbered list template in the Bullets
// and Numbering dialog box in Microsoft Word.

NumberArabicParenthesis:
// The number of the first level is "1)". The remaining levels are same as in NumberDefault.
// Corresponds to the 2nd numbered list template in the Bullets and Numbering dialog
// box in Microsoft Word.

NumberUppercaseRomanDot:
// The number of the first level is "I.". The remaining levels are same as in NumberDefault.
// Corresponds to the 3rd numbered list template in the Bullets and Numbering dialog
// box in Microsoft Word.

NumberUppercaseLetterDot:
// The number of the first level is "A.". The remaining levels are same as in NumberDefault.
// Corresponds to the 4th numbered list template in the Bullets and Numbering dialog
// box in Microsoft Word.

NumberLowercaseLetterParenthesis:
// The number of the first level is "a)". The remaining levels are same as in NumberDefault.
// Corresponds to the 5th numbered list template in the Bullets and Numbering dialog
// box in Microsoft Word.

NumberLowercaseLetterDot:
// The number of the first level is "a.". The remaining levels are same as in NumberDefault.
// Corresponds to the 6th numbered list template in the Bullets and Numbering dialog
// box in Microsoft Word.

NumberLowercaseRomanDot:
// The number of the first level is "i.". The remaining levels are same as in NumberDefault.
// Corresponds to the 7th numbered list template in the Bullets and Numbering dialog
// box in Microsoft Word.

OutlineNumbers:
// An outline list with levels numbered "1), a), i), (1), (a), (i), 1., a., i.".
// Corresponds to the 1st outline list template in the Bullets and Numbering dialog
// box in Microsoft Word.

OutlineLegal:
// An outline list with levels are numbered "1., 1.1., 1.1.1, ...". Corresponds
// to the 2nd outline list template in the Bullets and Numbering dialog box in Microsoft
// Word.

OutlineBullets:
// An outline lists with various bullets for different levels. Corresponds to the
// 3rd outline list template in the Bullets and Numbering dialog box in Microsoft
// Word.

OutlineHeadingsArticleSection:
// An outline list with levels linked to Heading styles. Corresponds to the 4th
// outline list template in the Bullets and Numbering dialog box in Microsoft Word.

OutlineHeadingsLegal:
// An outline list with levels linked to Heading styles. Corresponds to the 5th
// outline list template in the Bullets and Numbering dialog box in Microsoft Word.

OutlineHeadingsNumbers:
// An outline list with levels linked to Heading styles. Corresponds to the 6th
// outline list template in the Bullets and Numbering dialog box in Microsoft Word.

OutlineHeadingsChapter:
// An outline list with levels linked to Heading styles. Corresponds to the 7th
// outline list template in the Bullets and Numbering dialog box in Microsoft Word.

Get list details from the Word document, Node.js example.

Set list style to a paragraph in Word Document, Node.js example.