How to import a page break from html to google docs?

六月ゝ 毕业季﹏ 提交于 2019-12-07 19:26:40

问题


I'm trying to export a document in html and import it again (for the purpose of the test I don't even edit the file). After exporting, I can see that the page break is kept in the html :

<hr style="page-break-before:always;display:none;">

But after I import this file into google docs, and do the conversion, the page break is not materialized in the document. I can only see a line where the pagebreak should be. Is there is a way to make it working ?

PS: I'm using the python gdata v3 API.


回答1:


I've also been looking for this. It seems this is as easy as adding:

<hr class="pb">

Credit: https://productforums.google.com/forum/#!topic/docs/fqLmAJkPpTs



来源:https://stackoverflow.com/questions/10418357/how-to-import-a-page-break-from-html-to-google-docs

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