mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-08-25 04:47:40 +00:00
Merge branch 'master' of github.com:coolwanglu/pdf2htmlEX
This commit is contained in:
commit
237559e808
@ -287,7 +287,7 @@ By default, pdf2htmlEX will use the manifest in the default data-dir (run `pdf2h
|
|||||||
|
|
||||||
You can modify the default one, or you can create a new one and specify the correct data-dir in the command line.
|
You can modify the default one, or you can create a new one and specify the correct data-dir in the command line.
|
||||||
|
|
||||||
When single-html is 1, all files referred by the manifest must be located in the data-dir.
|
All files referred by the manifest must be located in the data-dir.
|
||||||
|
|
||||||
.SH EXAMPLE
|
.SH EXAMPLE
|
||||||
.TP
|
.TP
|
||||||
@ -297,7 +297,7 @@ Convert file.pdf into file.html
|
|||||||
.B pdf2htmlEX --clean-tmp 0 --debug 1 /path/to/file.pdf
|
.B pdf2htmlEX --clean-tmp 0 --debug 1 /path/to/file.pdf
|
||||||
Convert file.pdf and leave all intermediate files.
|
Convert file.pdf and leave all intermediate files.
|
||||||
.TP
|
.TP
|
||||||
.B pdf2htmlEX --dest-dir out --single-html 0 /path/to/file.pdf
|
.B pdf2htmlEX --dest-dir out --embed fi /path/to/file.pdf
|
||||||
Convert file.pdf into out/file.html and leave font/image files separated.
|
Convert file.pdf into out/file.html and leave font/image files separated.
|
||||||
|
|
||||||
.SH COPYRIGHT
|
.SH COPYRIGHT
|
||||||
|
@ -176,7 +176,7 @@ protected:
|
|||||||
void export_remote_default_font(long long fn_id);
|
void export_remote_default_font(long long fn_id);
|
||||||
void export_local_font(const FontInfo & info, GfxFont * font, const std::string & original_font_name, const std::string & cssfont);
|
void export_local_font(const FontInfo & info, GfxFont * font, const std::string & original_font_name, const std::string & cssfont);
|
||||||
|
|
||||||
// depending on single-html, to embed the content or add a link to it
|
// depending on --embed***, to embed the content or add a link to it
|
||||||
// "type": specify the file type, usually it's the suffix, in which case this parameter could be ""
|
// "type": specify the file type, usually it's the suffix, in which case this parameter could be ""
|
||||||
// "copy": indicates whether to copy the file into dest_dir, if not embedded
|
// "copy": indicates whether to copy the file into dest_dir, if not embedded
|
||||||
void embed_file(std::ostream & out, const std::string & path, const std::string & type, bool copy);
|
void embed_file(std::ostream & out, const std::string & path, const std::string & type, bool copy);
|
||||||
|
Loading…
Reference in New Issue
Block a user