File: lists.h

package info (click to toggle)
oleo 1.6-11
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 2,608 kB
  • ctags: 3,113
  • sloc: ansic: 38,917; yacc: 1,737; sh: 343; makefile: 81
file content (83 lines) | stat: -rw-r--r-- 2,921 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
#ifndef LISTSH
#define LISTSH

/*	Copyright (C) 1992, 1993 Free Software Foundation, Inc.

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this software; see the file COPYING.  If not, write to
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
/*  t. lord	Sun Aug  9 20:38:55 1992	*/


extern float height_scale;
extern float width_scale;
extern float user_height_scale;
extern float user_width_scale;
extern int display_formula_mode;

#if PROTOTYPES
extern void flush_everything (void);
extern void find_cells_in_range (struct rng *r);
extern void make_cells_in_range (struct rng *r);
extern struct cell * next_cell_in_range (void);
extern struct cell * next_row_col_in_range (CELLREF *rowp, CELLREF *colp);
extern void no_more_cells (void);
extern CELLREF max_row (CELLREF col);
extern CELLREF max_col (CELLREF row);
extern CELLREF highest_row (void);
extern CELLREF highest_col (void);
extern int get_width (CELLREF col);
extern int get_nodef_width (CELLREF col);
extern void set_width (CELLREF col, int wid);
extern void find_widths (CELLREF lo, CELLREF hi);
extern int next_width (CELLREF *posp);
extern void shift_widths (int over, CELLREF lo, CELLREF hi);
extern int get_height (CELLREF row);
extern int get_nodef_height (CELLREF row);
extern void set_height (CELLREF row, int hgt);
extern void set_user_scales (double hs, double ws);
extern int get_scaled_height (CELLREF r);
extern int get_scaled_width (CELLREF c);
extern void find_heights (CELLREF lo, CELLREF hi);
extern int next_height (CELLREF *posp);
extern void shift_heights (int dn, CELLREF lo, CELLREF hi);
#else /* PROTOTYPES */
extern void flush_everything ();
extern void find_cells_in_range ();
extern void make_cells_in_range ();
extern struct cell * next_cell_in_range ();
extern struct cell * next_row_col_in_range ();
extern void no_more_cells ();
extern CELLREF max_row ();
extern CELLREF max_col ();
extern CELLREF highest_row ();
extern CELLREF highest_col ();
extern int get_width ();
extern int get_nodef_width ();
extern void set_width ();
extern void find_widths ();
extern int next_width ();
extern void shift_widths ();
extern int get_height ();
extern int get_nodef_height ();
extern void set_height ();
extern void set_user_scales ();
extern int get_scaled_height ();
extern int get_scaled_width ();
extern void find_heights ();
extern int next_height ();
extern void shift_heights ();
#endif /* PROTOTYPES */


#endif