Merging two .odt files from code

江枫思渺然 提交于 2019-12-03 05:59:12

I think this is "works as designed".

I tried this once with a global document, which imports documents and display them as is... as long as paragraph styles have different names !

Using same named templates are overwritten with the values the "master" document have.

So I ended up cloning standard styles with unique (per document) names.

HTH

Ma case was a rather simple one, files I wanted to merge were generated the same way and used the same basic formatting. Therefore, starting off of one of my files, instead of an empty document fixed my problem.

However this question will remain open until someone comes up with a more general solution to formatting retention (possibly based on ngulams answer and comments?).

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!