-
Notifications
You must be signed in to change notification settings - Fork 1.2k
How to add a hyperlink to a table. [This is the answer!] #1041
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
if you wanna without spaces in first table
|
Thanks. I tried the above code but it didn't work for me:
|
@abubelinha hello there, I find this issue and use this way solved my problem. NeilRiver show the way but did not paste the complete code, you can check my code to solve your problem
|
Thanks @sixlycos , it worked except for the underlining option: So I changed the if underline:
u = docx.oxml.shared.OxmlElement('w:u')
u.set(docx.oxml.shared.qn('w:val'), 'single')
rPr.append(u)
else:
u = docx.oxml.shared.OxmlElement('w:u')
u.set(docx.oxml.shared.qn('w:val'), 'none')
rPr.append(u) More underlining style options are available in #19 and in this documentation |
Uh oh!
There was an error while loading. Please reload this page.
Сала малейкум братья мои, я часов 5 еб**** чтобы найти как так сделать, это решение для вас, чтобы оно отображалось в гугле
Sala maleikum my brothers, I fu**** 5 hours to find how to do this, this is a solution for you so that it is displayed in Google
Dear developers, please contact the clinic for the foreskin to be returned to you and you finally made a normal addition to the table
result
The text was updated successfully, but these errors were encountered: