I have a barebones document to which I would like to add new sections. I am simply loading and then saving the document like so:
let template = Document::open("front_page.docx")?;
let result = template.save("translated.docx");
I have the following problems:
- Two custom XML fields which are deliberately duplicated - on the front page and in the general footer - are not present on the front page
- The style of tables is not preserved
- Two tables are removed entirely and replaced with their contents as plain text
- The tables of figures and tables lose their fields altogether and are replaced with the text of the field code, e.g.
TOC \h \z \c "Figure"No table of figures entries found.
Is there a way to clear these issues up?
I have a barebones document to which I would like to add new sections. I am simply loading and then saving the document like so:
I have the following problems:
TOC \h \z \c "Figure"No table of figures entries found.Is there a way to clear these issues up?