我正在将.html文件加载到 RTE(富文本编辑器),然后点击另存为PDF按钮后保存为PDF
这是RTE编辑器内容的视图
一旦我点击另存为PDF并通过adobe pdf阅读器打开,我就会收到这种PDF
它是一个缺少部分的无格式结构,我该怎么做才能获得RTE编辑器内容中存在的确切视图
这是RTE编辑器内容加载html文件
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<div id="header" style="font-family:'Segoe UI';background-color: black;color: white;text-align: center;padding: 5px;">
<h1 style="font-family:'Segoe UI';color: white;text-align: center;">Bank Brochure</h1>
</div>
<div id="nav" style="font-family:'Segoe UI';line-height: 30px;background-color: #eeeeee;height: 300px;width: 100px;float: left;padding: 5px;">
London<br>
Paris<br>
Tokyo<br>
</div>
<div id="section" style="font-family:'Segoe UI';float: left;padding: 10px;color:black">
<h2>London</h2>
<p>
London is the capital city of England. It is the most populous city in the United Kingdom,
with a metropolitan area of over 13 million inhabitants.
</p>
<p>
Standing on the River Thames, London has been a major settlement for two millennia,
its history going back to its founding by the Romans, who named it Londinium.
</p>
</div>
<div id="footer" style="font-family:'Segoe UI';background-color: black;color: white;clear: both;text-align: center;padding: 5px;">
Copyright © 2015 Zoo Group , Solution by kelum.
</div>
</body>
</html>
一旦我与这个RTE编辑技术管理员沟通,他们就说因为上面的html文件,某些样式不支持pdf。
这可能吗?如果是这样,我想知道什么不支持HTML标记
或欣赏是否可以建议一种方法来获得RTE编辑器内容中存在的精确视图为PDF