如何从HTML导入分页符到Google文档? [英] How to import a page break from html to google docs?

查看:108
本文介绍了如何从HTML导入分页符到Google文档?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试导出html文档并再次导入(出于测试目的,我什至不编辑文件).导出后,我可以看到分页符保留在html中:

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;">

但是在我将此文件导入google docs并进行转换后,分页符未在文档中实现.我只能看到应该在分页符所在的行. 有办法使它工作吗?

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:我正在使用python gdata v3 API.

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

推荐答案

我也一直在寻找它.看来这就像添加一样简单:

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

<hr class="pb">

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

这篇关于如何从HTML导入分页符到Google文档?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆