René's URL Explorer Experiment


Title: No. of columns are wrong in some table objects · Issue #852 · python-openxml/python-docx · GitHub

Open Graph Title: No. of columns are wrong in some table objects · Issue #852 · python-openxml/python-docx

X Title: No. of columns are wrong in some table objects · Issue #852 · python-openxml/python-docx

Description: @scanny I am using docx lib to parse my docx files, and in one of the file i found the issue for the table object. If i check the XML(document.xml) for the document it shows 3 gridCol node but in tag it show only two cells. And so...

Open Graph Description: @scanny I am using docx lib to parse my docx files, and in one of the file i found the issue for the table object. If i check the XML(document.xml) for the document it shows 3 gridCol node but in <...

X Description: @scanny I am using docx lib to parse my docx files, and in one of the file i found the issue for the table object. If i check the XML(document.xml) for the document it shows 3 gridCol node but in &...

Opengraph URL: https://github.com/python-openxml/python-docx/issues/852

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"No. of columns are wrong in some table objects","articleBody":"@scanny \r\nI am using docx lib to parse my docx files, and in one of the file i found the issue for the table object. If i check the XML(document.xml) for the document it shows 3 `gridCol` node but in \u003cw:tr> tag it show only two cells. And so when i loop through all the rows it is giving the wrong cell values. What can be the reason? If word document is wrong then how we can correct the document and if Something which we can do in the code.\r\nGridCol tag code is given like this\r\n```\r\n\u003cw:tblGrid>\r\n    \u003cw:gridCol w:w=\"1808\"/>\r\n    \u003cw:gridCol w:w=\"8656\"/>\r\n    \u003cw:gridCol w:w=\"8634\"/>\r\n  \u003c/w:tblGrid> \r\n```\r\nHere is the \u003cw:tr> xml \r\n```\r\n\u003cw:tr w:rsidR=\"008B0C52\" w:rsidRPr=\"00445981\" w14:paraId=\"35CC8211\" w14:textId=\"77777777\" w:rsidTr=\"00D74CDB\">\r\n    \u003cw:trPr>\r\n      \u003cw:gridAfter w:val=\"1\"/>\r\n      \u003cw:cnfStyle w:val=\"100000000000\" w:firstRow=\"1\" w:lastRow=\"0\" w:firstColumn=\"0\" w:lastColumn=\"0\" w:oddVBand=\"0\" w:evenVBand=\"0\" w:oddHBand=\"0\" w:evenHBand=\"0\" w:firstRowFirstColumn=\"0\" w:firstRowLastColumn=\"0\" w:lastRowFirstColumn=\"0\" w:lastRowLastColumn=\"0\"/>\r\n      \u003cw:wAfter w:w=\"8634\" w:type=\"dxa\"/>\r\n    \u003c/w:trPr>\r\n    \u003cw:tc>\r\n      \u003cw:tcPr>\r\n        \u003cw:cnfStyle w:val=\"001000000000\" w:firstRow=\"0\" w:lastRow=\"0\" w:firstColumn=\"1\" w:lastColumn=\"0\" w:oddVBand=\"0\" w:evenVBand=\"0\" w:oddHBand=\"0\" w:evenHBand=\"0\" w:firstRowFirstColumn=\"0\" w:firstRowLastColumn=\"0\" w:lastRowFirstColumn=\"0\" w:lastRowLastColumn=\"0\"/>\r\n        \u003cw:tcW w:w=\"1808\" w:type=\"dxa\"/>\r\n        \u003cw:tcBorders>\r\n          \u003cw:top w:val=\"none\" w:sz=\"0\" w:space=\"0\" w:color=\"auto\"/>\r\n          \u003cw:left w:val=\"none\" w:sz=\"0\" w:space=\"0\" w:color=\"auto\"/>\r\n          \u003cw:bottom w:val=\"none\" w:sz=\"0\" w:space=\"0\" w:color=\"auto\"/>\r\n          \u003cw:right w:val=\"none\" w:sz=\"0\" w:space=\"0\" w:color=\"auto\"/>\r\n        \u003c/w:tcBorders>\r\n        \u003cw:shd w:val=\"clear\" w:color=\"auto\" w:fill=\"auto\"/>\r\n      \u003c/w:tcPr>\r\n      \u003cw:p w14:paraId=\"22A73613\" w14:textId=\"77777777\" w:rsidR=\"008B0C52\" w:rsidRPr=\"00445981\" w:rsidRDefault=\"008B0C52\" w:rsidP=\"008B0C52\">\r\n        \u003cw:pPr>\r\n          \u003cw:pStyle w:val=\"ListParagraph\"/>\r\n          \u003cw:numPr>\r\n            \u003cw:ilvl w:val=\"0\"/>\r\n            \u003cw:numId w:val=\"1\"/>\r\n          \u003c/w:numPr>\r\n          \u003cw:spacing w:after=\"0\" w:line=\"240\" w:lineRule=\"auto\"/>\r\n          \u003cw:rPr>\r\n            \u003cw:rFonts w:cstheme=\"minorHAnsi\"/>\r\n          \u003c/w:rPr>\r\n        \u003c/w:pPr>\r\n      \u003c/w:p>\r\n    \u003c/w:tc>\r\n    \u003cw:tc>\r\n      \u003cw:tcPr>\r\n        \u003cw:tcW w:w=\"8656\" w:type=\"dxa\"/>\r\n        \u003cw:tcBorders>\r\n          \u003cw:top w:val=\"none\" w:sz=\"0\" w:space=\"0\" w:color=\"auto\"/>\r\n          \u003cw:left w:val=\"none\" w:sz=\"0\" w:space=\"0\" w:color=\"auto\"/>\r\n          \u003cw:bottom w:val=\"none\" w:sz=\"0\" w:space=\"0\" w:color=\"auto\"/>\r\n          \u003cw:right w:val=\"none\" w:sz=\"0\" w:space=\"0\" w:color=\"auto\"/>\r\n        \u003c/w:tcBorders>\r\n        \u003cw:shd w:val=\"clear\" w:color=\"auto\" w:fill=\"auto\"/>\r\n      \u003c/w:tcPr>\r\n      \u003cw:p w14:paraId=\"03D24C79\" w14:textId=\"77777777\" w:rsidR=\"008B0C52\" w:rsidRPr=\"00445981\" w:rsidRDefault=\"008B0C52\" w:rsidP=\"00D74CDB\">\r\n        \u003cw:pPr>\r\n          \u003cw:pStyle w:val=\"ListParagraph\"/>\r\n          \u003cw:ind w:left=\"0\"/>\r\n          \u003cw:cnfStyle w:val=\"100000000000\" w:firstRow=\"1\" w:lastRow=\"0\" w:firstColumn=\"0\" w:lastColumn=\"0\" w:oddVBand=\"0\" w:evenVBand=\"0\" w:oddHBand=\"0\" w:evenHBand=\"0\" w:firstRowFirstColumn=\"0\" w:firstRowLastColumn=\"0\" w:lastRowFirstColumn=\"0\" w:lastRowLastColumn=\"0\"/>\r\n          \u003cw:rPr>\r\n            \u003cw:rFonts w:cstheme=\"minorHAnsi\"/>\r\n            \u003cw:b w:val=\"0\"/>\r\n            \u003cw:bCs w:val=\"0\"/>\r\n          \u003c/w:rPr>\r\n        \u003c/w:pPr>\r\n        \u003cw:r w:rsidRPr=\"00445981\">\r\n          \u003cw:rPr>\r\n            \u003cw:rFonts w:cstheme=\"minorHAnsi\"/>\r\n          \u003c/w:rPr>\r\n          \u003cw:t>Firm: General information\u003c/w:t>\r\n        \u003c/w:r>\r\n      \u003c/w:p>\r\n    \u003c/w:tc>\r\n  \u003c/w:tr>\r\n```\r\n\r\nCode to loop through table rows.\r\n```\r\nfor i in d.tables:\r\n    print (i._column_count)\r\n    for j in i.rows:\r\n        for c in j.cells:\r\n            print (c.text)\r\n        break\r\n```","author":{"url":"https://github.com/BHAUTIK04","@type":"Person","name":"BHAUTIK04"},"datePublished":"2020-08-04T09:27:43Z","url":"https://github.com/python-openxml/python-docx/issues/852"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:e60a55fd-a29b-590c-dd6e-f5a1802d8a61
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idCDFC:C814F:9A4743:B78321:6AFF6B79
html-safe-nonce38729979224c6aa5ca70d645670bff7191ac618330ca57201c4044c5d566eb9e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDREZDOkM4MTRGOjlBNDc0MzpCNzgzMjE6NkFGRjZCNzkiLCJ2aXNpdG9yX2lkIjoiMjU2MjM1NDYxMTI5NzkzODI5NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac32c8dc9bd5adc6227667b67004888b617faa9176490aee9fbbaf748fafa75c42
hovercard-subject-tagissue:672647298
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-openxml/python-docx/852/issue_layout
twitter:imagehttps://opengraph.githubassets.com/2df1fc11ff432e5c4d57d25ec0b94d915d0cd7bab7a050d96ea4b60adbcd59d9/python-openxml/python-docx/issues/852
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2df1fc11ff432e5c4d57d25ec0b94d915d0cd7bab7a050d96ea4b60adbcd59d9/python-openxml/python-docx/issues/852
og:image:alt@scanny I am using docx lib to parse my docx files, and in one of the file i found the issue for the table object. If i check the XML(document.xml) for the document it shows 3 gridCol node but in <...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameBHAUTIK04
hostnamegithub.com
expected-hostnamegithub.com
None6d580fc7098c193d7866bf290c4c2b4859a153e87379f44161f35a4495e6b730
turbo-cache-controlno-preview
go-importgithub.com/python-openxml/python-docx git https://github.com/python-openxml/python-docx.git
octolytics-dimension-user_id3403760
octolytics-dimension-user_loginpython-openxml
octolytics-dimension-repository_id13592924
octolytics-dimension-repository_nwopython-openxml/python-docx
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id13592924
octolytics-dimension-repository_network_root_nwopython-openxml/python-docx
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseec5dd94a369dad6e9ce618a1705cbe3b618a2863
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/python-openxml/python-docx/issues/852#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-openxml%2Fpython-docx%2Fissues%2F852
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-openxml%2Fpython-docx%2Fissues%2F852
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python-openxml%2Fpython-docx
Reloadhttps://github.com/python-openxml/python-docx/issues/852
Reloadhttps://github.com/python-openxml/python-docx/issues/852
Reloadhttps://github.com/python-openxml/python-docx/issues/852
python-openxmlhttps://github.com/python-openxml
python-docxhttps://github.com/python-openxml/python-docx
Codehttps://github.com/python-openxml/python-docx
Issues387 (387)https://github.com/python-openxml/python-docx/issues
Pull requests167 (167)https://github.com/python-openxml/python-docx/pulls
Actionshttps://github.com/python-openxml/python-docx/actions
Projectshttps://github.com/python-openxml/python-docx/projects
Wikihttps://github.com/python-openxml/python-docx/wiki
Security and qualityhttps://github.com/python-openxml/python-docx/security
Insightshttps://github.com/python-openxml/python-docx/insights
https://github.com/python-openxml/python-docx
New issuehttps://github.com/login?return_to=https://github.com/python-openxml/python-docx/issues/852
New issuehttps://github.com/login?return_to=https://github.com/python-openxml/python-docx/issues/852
No. of columns are wrong in some table objectshttps://github.com/python-openxml/python-docx/issues/852#top
tablehttps://github.com/python-openxml/python-docx/issues?q=state%3Aopen%20label%3A%22table%22
https://github.com/BHAUTIK04
BHAUTIK04https://github.com/BHAUTIK04
on Aug 4, 2020https://github.com/python-openxml/python-docx/issues/852#issue-672647298
@scannyhttps://github.com/scanny
scannyhttps://github.com/scanny
tablehttps://github.com/python-openxml/python-docx/issues?q=state%3Aopen%20label%3A%22table%22
on Dec 27, 2020https://github.com/python-openxml/python-docx/issues/852#event-4149967188
https://github.com/unresto
unrestohttps://github.com/unresto
on Jul 8, 2021https://github.com/python-openxml/python-docx/issues/852#issuecomment-876022233
#564https://github.com/python-openxml/python-docx/pull/564
https://github.com/tonal
tonalhttps://github.com/tonal
on Feb 21, 2023https://github.com/python-openxml/python-docx/issues/852#issuecomment-1437979913
#881 (comment)https://github.com/python-openxml/python-docx/issues/881#issuecomment-1437979336
Sign up for freehttps://github.com/signup?return_to=https://github.com/python-openxml/python-docx/issues/852
Sign in to commenthttps://github.com/login?return_to=https://github.com/python-openxml/python-docx/issues/852
tablehttps://github.com/python-openxml/python-docx/issues?q=state%3Aopen%20label%3A%22table%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.