DocX icon indicating copy to clipboard operation
DocX copied to clipboard

Cannot insert after save

Open jianboqi opened this issue 4 years ago • 1 comments

Hi, I want to save the document every one minutes during a long writing. But I found that after calling document.save(), I can not insertparagraph anymore. Is this possible? or How to achieve this goal? Because my writing takes a long time, I don't want lost all the content if some errors happen during the writing. Thank you very much!

jianboqi avatar Feb 01 '21 07:02 jianboqi

Hi, After calling document.Save(), you cannot insert paragraphs anymore because the document is considered closed. If you want to continue inserting paragraphs, you have 2 choices: -Insert every paragraphs before calling Save() -Call Save(), followed by Load() and continue inserting paragraphs, and finish will a call to Save().

XceedBoucherS avatar Feb 01 '21 18:02 XceedBoucherS