mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 04:50:09 +00:00
fixing jumping
This commit is contained in:
parent
011aab96bc
commit
fc0f2ee12b
@ -24,7 +24,7 @@
|
||||
@base.css
|
||||
$css
|
||||
@jquery.js
|
||||
@hide_pages.js
|
||||
#@hide_pages.js
|
||||
|
||||
"""
|
||||
<title></title>
|
||||
@ -39,7 +39,7 @@ $pages
|
||||
</div>
|
||||
"""
|
||||
|
||||
@scroll.js
|
||||
#@scroll.js
|
||||
|
||||
"""
|
||||
</body>
|
||||
|
@ -162,8 +162,11 @@ void HTMLRenderer::startPage(int pageNum, GfxState *state)
|
||||
|
||||
assert((!line_opened) && "Open line in startPage detected!");
|
||||
|
||||
html_fout << "<div class=\"b\" style=\"width:" << pageWidth << "px;height:" << pageHeight << "px;\">"
|
||||
<< "<div id=\"p" << pageNum << "\" class=\"p\" style=\"width:" << pageWidth << "px;height:" << pageHeight << "px;";
|
||||
html_fout << "<div class=\"b\" style=\"width:" << pageWidth << "px;height:" << pageHeight << "px;\">";
|
||||
|
||||
html_fout << "<a name=\"p" << pageNum << "\"></a>";
|
||||
|
||||
html_fout << "<div id=\"p" << pageNum << "\" class=\"p\" style=\"width:" << pageWidth << "px;height:" << pageHeight << "px;";
|
||||
|
||||
if(param->process_nontext)
|
||||
{
|
||||
@ -188,8 +191,6 @@ void HTMLRenderer::startPage(int pageNum, GfxState *state)
|
||||
}
|
||||
|
||||
html_fout << "\">";
|
||||
|
||||
html_fout << "<a name=\"p" << pageNum << "\"></a>";
|
||||
|
||||
draw_scale = 1.0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user