{"action":"created","issue":{"url":"https://api.github.com/repos/OfficeDev/Open-XML-SDK/issues/41","labels_url":"https://api.github.com/repos/OfficeDev/Open-XML-SDK/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/OfficeDev/Open-XML-SDK/issues/41/comments","events_url":"https://api.github.com/repos/OfficeDev/Open-XML-SDK/issues/41/events","html_url":"https://github.com/OfficeDev/Open-XML-SDK/issues/41","id":79070630,"number":41,"title":"Add support for sections in Wordprocessing namespace","user":{"login":"Nautigsam","id":7353930,"avatar_url":"https://avatars.githubusercontent.com/u/7353930?v=3","gravatar_id":"","url":"https://api.github.com/users/Nautigsam","html_url":"https://github.com/Nautigsam","followers_url":"https://api.github.com/users/Nautigsam/followers","following_url":"https://api.github.com/users/Nautigsam/following{/other_user}","gists_url":"https://api.github.com/users/Nautigsam/gists{/gist_id}","starred_url":"https://api.github.com/users/Nautigsam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nautigsam/subscriptions","organizations_url":"https://api.github.com/users/Nautigsam/orgs","repos_url":"https://api.github.com/users/Nautigsam/repos","events_url":"https://api.github.com/users/Nautigsam/events{/privacy}","received_events_url":"https://api.github.com/users/Nautigsam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-21T16:28:37Z","updated_at":"2015-07-05T21:13:45Z","closed_at":null,"body":"I think it would be great to add the support of sections, it should be possible to:\r\n- identify a section as a class in the same way we can identify a Paragraph\r\n- get the paragraphs that compose the section\r\n- test if the section is a final section or not (as defined in the reference §17.6.17)\r\n- many other possibilities...\r\n\r\nI'm ready to implement it if you think it's a good idea."},"comment":{"url":"https://api.github.com/repos/OfficeDev/Open-XML-SDK/issues/comments/118667943","html_url":"https://github.com/OfficeDev/Open-XML-SDK/issues/41#issuecomment-118667943","issue_url":"https://api.github.com/repos/OfficeDev/Open-XML-SDK/issues/41","id":118667943,"user":{"login":"ThomasBarnekow","id":8481516,"avatar_url":"https://avatars.githubusercontent.com/u/8481516?v=3","gravatar_id":"","url":"https://api.github.com/users/ThomasBarnekow","html_url":"https://github.com/ThomasBarnekow","followers_url":"https://api.github.com/users/ThomasBarnekow/followers","following_url":"https://api.github.com/users/ThomasBarnekow/following{/other_user}","gists_url":"https://api.github.com/users/ThomasBarnekow/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasBarnekow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasBarnekow/subscriptions","organizations_url":"https://api.github.com/users/ThomasBarnekow/orgs","repos_url":"https://api.github.com/users/ThomasBarnekow/repos","events_url":"https://api.github.com/users/ThomasBarnekow/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasBarnekow/received_events","type":"User","site_admin":false},"created_at":"2015-07-05T21:13:45Z","updated_at":"2015-07-05T21:13:45Z","body":"@Nautigsam and @EricWhiteDev I'd say it's a good idea. \r\n\r\nWhat exactly do you mean with your first point (\"identify a section as a class ...\")? The `SectionProperties` class represents a section. However, it certainly doesn't identify a section like the `Paragraph` class identifies a paragraph, because a `SectionProperties` instance does not contain the elements of a section. The `w:sectPr` element represented by a `SectionProperties` instance just marks the end of a section. Thus, \"getting the paragraphs that compose a section\" would add value.\r\n\r\nTesting \"if the section is a final section or not\" is very straightforward. If it is contained in a `w:pPr` element (`ParagraphProperties` instance), it's not a final section. The final section is represented by a `w:sectPr` element the parent of which is the `w:body` element (`Body` instance)."}}