{"action":"opened","issue":{"url":"https://api.github.com/repos/dolanmiu/docx/issues/37","repository_url":"https://api.github.com/repos/dolanmiu/docx","labels_url":"https://api.github.com/repos/dolanmiu/docx/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/dolanmiu/docx/issues/37/comments","events_url":"https://api.github.com/repos/dolanmiu/docx/issues/37/events","html_url":"https://github.com/dolanmiu/docx/issues/37","id":246394004,"number":37,"title":"SubList","user":{"login":"KennyBarraud","id":16386072,"avatar_url":"https://avatars0.githubusercontent.com/u/16386072?v=4","gravatar_id":"","url":"https://api.github.com/users/KennyBarraud","html_url":"https://github.com/KennyBarraud","followers_url":"https://api.github.com/users/KennyBarraud/followers","following_url":"https://api.github.com/users/KennyBarraud/following{/other_user}","gists_url":"https://api.github.com/users/KennyBarraud/gists{/gist_id}","starred_url":"https://api.github.com/users/KennyBarraud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KennyBarraud/subscriptions","organizations_url":"https://api.github.com/users/KennyBarraud/orgs","repos_url":"https://api.github.com/users/KennyBarraud/repos","events_url":"https://api.github.com/users/KennyBarraud/events{/privacy}","received_events_url":"https://api.github.com/users/KennyBarraud/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-28T16:15:39Z","updated_at":"2017-07-28T16:15:39Z","closed_at":null,"body":"Hi !\r\nIt's me again.\r\nI'm actually triying to make a list with a sublist like this : \r\n\r\n```\r\n1.\r\n   1.1\r\n   1.2\r\n2.\r\n...\r\n```\r\n\r\nIn order to do that, I'm basing my work on your exemple : \r\n```\r\nconst numbering = new docx.Numbering();\r\nconst numberedAbstract = numbering.createAbstractNumbering();\r\nconst numberedAbstractLevel2 = numbering.createAbstractNumbering();\r\nnumberedAbstract.createLevel(0, \"number\", \"%1.\", \"left\");\r\nnumberedAbstractLevel2.createLevel(1, \"number\", \"%1.2\", \"left\");\r\n\r\nconst levelNumbering1 = numbering.createConcreteNumbering(numberedAbstract);\r\nconst levelNumbering2 = numbering.createConcreteNumbering(numberedAbstractLevel2);\r\ndoc.createParagraph('Test heading2 with double red underline').setNumbering(levelNumbering1, 0).heading1();\r\n\r\nfor(var opt = 1; opt < 4; opt++) {\r\n    doc.createParagraph('Option ' + opt).setNumbering(levelNumbering2, 1);\r\n}\r\n\r\ndoc.createParagraph('Test heading2 with double red underline').setNumbering(levelNumbering1, 0).heading1();\r\n```\r\n\r\nBut this is the result I get : \r\n```\r\n1.\r\n   0.2\r\n   0.2\r\n   0.2\r\n2.\r\n...\r\n```\r\nWhere is my mistake ? Could you explain to me how the lists are working ?\r\nThanks :3 "}}
{"actor":{"display_login":"KennyBarraud"}}