You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
document = Document()
document.add_paragraph('start')
for i in 'text':
document.add_paragraph(i, style='ListNumber')
document.add_paragraph('continue')
for i in 'text':
document.add_paragraph(i, style='ListNumber')
document.add_paragraph('end')
document.save('demo.docx')
this is generated to
start
t
e
x
t
continue
t
e
x
t
end
why second list started 5, i need 1
thanks
The text was updated successfully, but these errors were encountered:
You can add to the feature request if you like. I'll close this one as a duplicate.
If you're interested in working on it let me know. There are several dependencies though, namely access to styles and numbering definitions, that aren't in place yet. So it would be a bigger job than just the numbering restart itself.
this is generated to
start
continue
end
why second list started 5, i need 1
thanks
The text was updated successfully, but these errors were encountered: