1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 04:50:09 +00:00

hide annotations for print

This commit is contained in:
Lu Wang 2013-03-01 00:00:06 +08:00
parent 7ca3cea0c5
commit 4cf8ffb95b
3 changed files with 6 additions and 3 deletions

3
TODO
View File

@ -1,4 +1,3 @@
print css for draw/link
== Future: == == Future: ==
@ -7,7 +6,6 @@ Too difficult/complicated to implement:
- naive support for image/drawing (SVG?) - naive support for image/drawing (SVG?)
- type 3 fonts (convert to SVG fonts?) - type 3 fonts (convert to SVG fonts?)
- reflowable text/combine lines/unwrapping - reflowable text/combine lines/unwrapping
- Printing
Not enough motivated/Lazy Not enough motivated/Lazy
- argument auto-completion - argument auto-completion
@ -25,3 +23,4 @@ Not enough motivated/Lazy
- don't dump image when there is nothing - don't dump image when there is nothing
- minimum line width of css drawing - minimum line width of css drawing
- ajax in pdf2htmlEX for separated pages - ajax in pdf2htmlEX for separated pages
- separate classes for annotations (such that we don't have to hide all css drawings for printing)

View File

@ -72,6 +72,9 @@
overflow:visible; overflow:visible;
background-color:transparent; background-color:transparent;
} }
.@CSS_CSS_DRAW_CN@ {
display:none;
}
} }
/* Part 2: Page Elements: Modify with caution /* Part 2: Page Elements: Modify with caution
* The followings are base classes, which are meant to be override by PDF specific classes * The followings are base classes, which are meant to be override by PDF specific classes

View File

@ -103,7 +103,8 @@ void parse_options (int argc, char **argv)
// misc. // misc.
.add("clean-tmp", &param.clean_tmp, 1, "remove temporary files after conversion") .add("clean-tmp", &param.clean_tmp, 1, "remove temporary files after conversion")
.add("data-dir", &param.data_dir, PDF2HTMLEX_DATA_PATH, "specify data directory") .add("data-dir", &param.data_dir, PDF2HTMLEX_DATA_PATH, "specify data directory")
.add("css-draw", &param.css_draw, 0, "[experimental and unsupported] CSS drawing") // TODO: css drawings are hidden on print, for annot links, need to fix it for other drawings
// .add("css-draw", &param.css_draw, 0, "[experimental and unsupported] CSS drawing")
.add("debug", &param.debug, 0, "print debugging information") .add("debug", &param.debug, 0, "print debugging information")
// meta // meta