1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-09-28 17:21:29 +00:00

re-ordered Param.h to match new usage order

This commit is contained in:
John Hewson 2013-01-28 23:11:29 +00:00
parent c80a732ea5
commit 4cddb4dbb3

View File

@ -15,64 +15,56 @@ namespace pdf2htmlEX {
struct Param struct Param
{ {
// PDF stuff // pages
std::string owner_password, user_password;
std::string input_filename, output_filename;
int no_drm;
// path
std::string dest_dir, tmp_dir, data_dir;
// normal parameters
int first_page, last_page; int first_page, last_page;
// dimensions
double zoom; double zoom;
double fit_width, fit_height; double fit_width, fit_height;
double h_dpi, v_dpi;
int use_cropbox; int use_cropbox;
double h_dpi, v_dpi;
int process_nontext;
// output files
int single_html; int single_html;
int split_pages; int split_pages;
std::string dest_dir;
std::string css_filename;
std::string outline_filename;
// embedded fonts
int embed_base_font; int embed_base_font;
int embed_external_font; int embed_external_font;
std::string font_suffix, font_format;
int decompose_ligature; int decompose_ligature;
int remove_unused_glyph;
// Advanced tweak int auto_hint;
/* std::string external_hint_tool;
* Position & Size int stretch_narrow_glyph;
*/ int squeeze_wide_glyph;
// text
double h_eps, v_eps; double h_eps, v_eps;
double space_threshold; double space_threshold;
double font_size_multiplier; double font_size_multiplier;
/*
* Font
*/
int auto_hint;
int tounicode;
int space_as_offset; int space_as_offset;
int stretch_narrow_glyph; int tounicode;
int squeeze_wide_glyph;
int remove_unused_glyph; // encryption
std::string owner_password, user_password;
std::string font_suffix, font_format; int no_drm;
std::string external_hint_tool;
// misc.
/*
* Output
*/
std::string css_filename;
std::string outline_filename;
/*
* Debug
*/
int debug;
int clean_tmp; int clean_tmp;
int process_nontext;
// experimental std::string data_dir;
int css_draw; int css_draw;
int debug;
// non-optional
std::string input_filename, output_filename;
// not a paramater
std::string tmp_dir;
}; };
} // namespace pdf2htmlEX } // namespace pdf2htmlEX