ms word - N page break object after running add_break method fails -


i'm having problem python-docx library. i'm following page's example doesn't seem work. can provide assistance?

>>> all_runs[0] <docx.text.run object @ 0x7f49b899c5d0> >>> play=all_runs[0] >>> play.add_break(wd_break.page) >>> play.breaks traceback (most recent call last):   file "<stdin>", line 1, in <module> attributeerror: 'run' object has no attribute 'breaks' 

that page part of design documentation, not as-built documentation (notice title 'candidate' protocol). there no breaks property implemented on run yet.

if can bit you're trying accomplish may able help.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -