1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-10-06 03:51:40 +00:00
pdf2htmlEX/src/Param.h

49 lines
755 B
C
Raw Normal View History

2012-08-04 18:03:53 +00:00
/*
* Parameters
*
* Wang Lu
* 2012.08.03
*/
#ifndef PARAM_H__
#define PARAM_H__
#include <string>
struct Param
{
2012-08-31 05:00:24 +00:00
// PDF stuff
2012-08-04 18:03:53 +00:00
std::string owner_password, user_password;
std::string input_filename, output_filename;
2012-08-14 09:50:16 +00:00
2012-08-31 05:00:24 +00:00
// path
2012-08-14 10:12:58 +00:00
std::string dest_dir, tmp_dir;
2012-08-14 09:50:16 +00:00
2012-08-31 05:00:24 +00:00
// normal parameters
2012-08-04 18:03:53 +00:00
int first_page, last_page;
2012-08-15 13:26:13 +00:00
double zoom;
2012-08-04 18:03:53 +00:00
double h_dpi, v_dpi;
2012-08-09 14:47:22 +00:00
int process_nontext;
2012-08-15 07:43:49 +00:00
int single_html;
int embed_base_font;
int embed_external_font;
2012-09-06 07:09:47 +00:00
int decompose_ligature;
2012-08-31 05:00:24 +00:00
// Advanced tweak
double h_eps, v_eps;
double space_threshold;
double font_size_multiplier;
int always_apply_tounicode;
2012-08-12 06:04:45 +00:00
std::string font_suffix, font_format;
2012-08-12 06:04:45 +00:00
int debug;
2012-08-15 07:43:49 +00:00
int clean_tmp;
2012-08-04 18:03:53 +00:00
};
#endif //PARAM_h__