mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-21 12:40:08 +00:00
include-forms option : a few style changes
This commit is contained in:
parent
db10f6744a
commit
54781e0523
1
AUTHORS
1
AUTHORS
@ -17,6 +17,7 @@ Marc Sanfacon <marc.sanfacon@gmail.com>
|
||||
Michele Redolfi <michele@tecnicaict.com>
|
||||
Mick Giles <mick@mickgiles.com>
|
||||
Ryan Morlok <ryan.morlok@morlok.com>
|
||||
Simon Chenard <chenard.simon@gmail.com>
|
||||
Wanmin Liu <wanminliu@gmail.com>
|
||||
|
||||
Packagers:
|
||||
|
@ -267,10 +267,7 @@ Viewer.prototype = {
|
||||
var r = elements[i];
|
||||
|
||||
r.addEventListener('click', function() {
|
||||
if(!this.classList.contains("checked"))
|
||||
this.classList.add("checked");
|
||||
else
|
||||
this.classList.remove("checked");
|
||||
this.classList.toggle("checked");
|
||||
});
|
||||
}
|
||||
},
|
||||
|
@ -67,9 +67,7 @@ void HTMLRenderer::process_form(ofstream & out)
|
||||
<< " width: " << width << "px; height: "
|
||||
<< std::to_string(height) << "px; background-size: cover;\" ></div>" << endl;
|
||||
}
|
||||
else if(w->getType() == formChoice ||
|
||||
w->getType() == formSignature ||
|
||||
w->getType() == formUndef)
|
||||
else
|
||||
{
|
||||
cerr << "Unsupported form field detected" << endl;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user