Lines Matching refs:environment
47 environment *env;
49 env_list(environment *e, env_list *p) : env(e), next(p) {}
54 environment *env_table[NENVIRONMENTS];
56 environment *curenv;
85 friend void environment::mark_last_line();
86 friend void environment::output(node *, int, vunits, vunits, hunits, int);
125 void environment::output(node *nd, int no_fill_flag,
160 void environment::output_title(node *nd, int no_fill_flag,
171 void environment::output_pending_lines()
182 void environment::mark_last_line()
261 curenv = env_table[0] = new environment("0");
276 void environment::add_char(charinfo *ci)
331 node *environment::make_char_node(charinfo *ci)
336 void environment::add_node(node *n)
373 void environment::add_hyphen_indicator()
383 int environment::get_hyphenation_flags()
388 int environment::get_hyphen_line_max()
393 int environment::get_hyphen_line_count()
398 int environment::get_center_lines()
403 int environment::get_right_justify_lines()
408 void environment::add_italic_correction()
418 void environment::space_newline()
443 void environment::space()
448 void environment::space(hunits space_width, hunits sentence_space_width)
481 void environment::set_font(symbol nm)
512 void environment::set_font(int n)
524 void environment::set_family(symbol fam)
544 void environment::set_size(int n)
564 void environment::set_char_height(int n)
574 void environment::set_char_slant(int n)
581 color *environment::get_prev_glyph_color()
586 color *environment::get_glyph_color()
591 color *environment::get_prev_fill_color()
596 color *environment::get_fill_color()
601 void environment::set_glyph_color(color *c)
609 void environment::set_fill_color(color *c)
617 environment::environment(symbol nm)
705 environment::environment(const environment *e)
790 void environment::copy(const environment *e)
870 environment::~environment()
877 hunits environment::get_input_line_position()
889 void environment::set_input_line_position(hunits n)
896 hunits environment::get_line_length()
901 hunits environment::get_saved_line_length()
909 vunits environment::get_vertical_spacing()
914 vunits environment::get_post_vertical_spacing()
919 int environment::get_line_spacing()
924 vunits environment::total_post_vertical_spacing()
932 int environment::get_bold()
937 hunits environment::get_digit_width()
942 int environment::get_adjust_mode()
947 int environment::get_fill()
952 hunits environment::get_indent()
957 hunits environment::get_saved_indent()
967 hunits environment::get_temporary_indent()
972 hunits environment::get_title_length()
977 node *environment::get_prev_char()
987 hunits environment::get_prev_char_width()
995 hunits environment::get_prev_char_skew()
1003 vunits environment::get_prev_char_height()
1013 vunits environment::get_prev_char_depth()
1023 hunits environment::get_text_length()
1031 hunits environment::get_prev_text_length()
1045 void environment::width_registers()
1078 node *environment::extract_output_line()
1087 /* environment related requests */
1093 error("can't switch environments when current environment is dummy");
1105 env_table[n] = new environment(i_to_a(n));
1120 environment *e = (environment *)env_dictionary.lookup(nm);
1122 e = new environment(nm);
1132 error("environment stack underflow");
1153 environment *e=0;
1168 e = (environment *)env_dictionary.lookup(nm);
1170 error("No environment to copy from");
1679 void environment::interrupt()
1687 void environment::newline()
1719 // see environment::final_break
1768 void environment::output_line(node *n, hunits width, int was_centered)
1831 void environment::start_line()
1847 hunits environment::get_hyphenation_space()
1865 hunits environment::get_hyphenation_margin()
1883 breakpoint *environment::choose_breakpoint()
1979 void environment::hyphenate_line(int start_here)
2074 void environment::possibly_break_line(int start_here, int forced)
2143 // the environment will be empty.
2186 provided that the current environment is not empty at the end of the
2190 even if the current environment is empty at the end of the input file.
2193 sure that the environment isn't empty so that we won't exit at the
2197 void environment::final_break()
2207 node *environment::make_tag(const char *nm, int i)
2228 void environment::dump_troff_state()
2247 statem *environment::construct_state(int only_eol)
2277 void environment::construct_format_state(node *n, int was_centered,
2308 void environment::construct_new_line_state(node *n)
2327 void environment::do_break(int do_spread)
2379 int environment::is_empty()
2412 environment env(curenv);
2413 environment *oldenv = curenv;
2800 const char *environment::get_tabs()
2805 tab_type environment::distance_to_next_tab(hunits *distance)
2812 tab_type environment::distance_to_next_tab(hunits *distance, hunits *leftpos)
2840 int environment::get_line_tabs()
2845 void environment::wrap_up_tab()
2890 node *environment::make_tab_node(hunits d, node *next)
2904 void environment::handle_tab(int is_leader)
2937 void environment::start_field()
2958 void environment::wrap_up_field()
3007 void environment::add_padding()
3021 typedef int (environment::*INT_FUNCP)();
3022 typedef vunits (environment::*VUNITS_FUNCP)();
3023 typedef hunits (environment::*HUNITS_FUNCP)();
3024 typedef const char *(environment::*STRING_FUNCP)();
3134 const char *environment::get_font_family_string()
3139 const char *environment::get_glyph_color_string()
3144 const char *environment::get_fill_color_string()
3149 const char *environment::get_font_name_string()
3155 const char *environment::get_style_name_string()
3161 const char *environment::get_name_string()
3216 const char *environment::get_point_size_string()
3221 const char *environment::get_requested_point_size_string()
3227 number_reg_dictionary.define(name, new int_env_reg(&environment::func))
3230 number_reg_dictionary.define(name, new vunits_env_reg(&environment::func))
3233 number_reg_dictionary.define(name, new hunits_env_reg(&environment::func))
3236 number_reg_dictionary.define(name, new string_env_reg(&environment::func))