Title: Reading bullet point values · Issue #1187 · python-openxml/python-docx · GitHub
Open Graph Title: Reading bullet point values · Issue #1187 · python-openxml/python-docx
X Title: Reading bullet point values · Issue #1187 · python-openxml/python-docx
Description: sample document.docx Is there a possible way to read bullet point text and corresponding values like the for example 1.1 Sample text is in bullet point format, can we get values of 1.1 as well while reading text from bullet points toc = ...
Open Graph Description: sample document.docx Is there a possible way to read bullet point text and corresponding values like the for example 1.1 Sample text is in bullet point format, can we get values of 1.1 as well whil...
X Description: sample document.docx Is there a possible way to read bullet point text and corresponding values like the for example 1.1 Sample text is in bullet point format, can we get values of 1.1 as well whil...
Opengraph URL: https://github.com/python-openxml/python-docx/issues/1187
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Reading bullet point values ","articleBody":"\r\n[sample document.docx](https://github.com/python-openxml/python-docx/files/10895500/sample.document.docx)\r\nIs there a possible way to read bullet point text and corresponding values \r\nlike the for example 1.1 Sample text is in bullet point format, can we get values of 1.1 as well while reading text from bullet points\r\n\r\n\r\ntoc = []\r\nfor para in document.paragraphs:\r\n # print(para.style.name)\r\n if para.style.name =='List Paragraph':\r\n print(para._element.xpath('./w:pPr/w:numFmt/w:numId/w:val'))\r\n # print(test.xpath('./w:ilvl')[0].get('w:val'))\r\n\r\ntried the following code only to get none values, also tried \"numPr\" but same print is displaying None","author":{"url":"https://github.com/GPrakruth","@type":"Person","name":"GPrakruth"},"datePublished":"2023-03-06T07:43:00.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/1187/python-docx/issues/1187"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:67c67973-30a6-b0ca-6266-1ad338699644 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E54E:253EAC:7B5424:AF49B5:696FAFCC |
| html-safe-nonce | 914d6a5d8baf6df41f69a652a0c9208aca5d28d9cf9a8e14be1bc3d8fef7519c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNTRFOjI1M0VBQzo3QjU0MjQ6QUY0OUI1OjY5NkZBRkNDIiwidmlzaXRvcl9pZCI6IjYyOTU4NjA1MTY1MDA3Nzg5NTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 3e71741901d8443414887c73aa974d57e2de428072ea03e16d791e9ed8a61d08 |
| hovercard-subject-tag | issue:1610842965 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-openxml/python-docx/1187/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4ce17b2d55f6f3cae948003a014c6427f245405daaf335659b3978062f20c477/python-openxml/python-docx/issues/1187 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4ce17b2d55f6f3cae948003a014c6427f245405daaf335659b3978062f20c477/python-openxml/python-docx/issues/1187 |
| og:image:alt | sample document.docx Is there a possible way to read bullet point text and corresponding values like the for example 1.1 Sample text is in bullet point format, can we get values of 1.1 as well whil... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | GPrakruth |
| hostname | github.com |
| expected-hostname | github.com |
| None | 356c704aafcc9a6179b2bc62a546ee20a28226cdeddba29d8ae86c3750ef0f76 |
| turbo-cache-control | no-preview |
| go-import | github.com/python-openxml/python-docx git https://github.com/python-openxml/python-docx.git |
| octolytics-dimension-user_id | 3403760 |
| octolytics-dimension-user_login | python-openxml |
| octolytics-dimension-repository_id | 13592924 |
| octolytics-dimension-repository_nwo | python-openxml/python-docx |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 13592924 |
| octolytics-dimension-repository_network_root_nwo | python-openxml/python-docx |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e19b0670387556fcdd8027326ad85eecb0b536dd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width