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

48 lines
727 B
C++

/*
* Parameters
*
* Wang Lu
* 2012.08.03
*/
#ifndef PARAM_H__
#define PARAM_H__
#include <string>
struct Param
{
// PDF stuff
std::string owner_password, user_password;
std::string input_filename, output_filename;
// path
std::string dest_dir, tmp_dir;
// normal parameters
int first_page, last_page;
double zoom;
double h_dpi, v_dpi;
int process_nontext;
int single_html;
int embed_base_font;
int embed_external_font;
// Advanced tweak
double h_eps, v_eps;
double space_threshold;
double font_size_multiplier;
int always_apply_tounicode;
std::string font_suffix, font_format;
int debug;
int clean_tmp;
};
#endif //PARAM_h__