1 /* AbiWord
2  * Copyright (c) 2003 Tomas Frydrych
3  *
4  * This program is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU General Public License
6  * as published by the Free Software Foundation; either version 2
7  * of the License, or (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
17  * 02110-1301 USA.
18  */
19 
20 #ifndef FP_TYPES_H
21 #define FP_TYPES_H
22 
23 typedef enum
24 {
25 	NUMBERED_LIST = 0,
26 	LOWERCASE_LIST = 1,
27 	UPPERCASE_LIST = 2,
28 	LOWERROMAN_LIST = 3,
29 	UPPERROMAN_LIST = 4,
30 	// any new numbered lists should be added below OTHER_NUMBERED_LISTS
31 	BULLETED_LIST = 5,
32 	DASHED_LIST = 6,
33 	SQUARE_LIST = 7,
34 	TRIANGLE_LIST = 8,
35 	DIAMOND_LIST = 9,
36 	STAR_LIST = 10,
37 	IMPLIES_LIST = 11,
38 	TICK_LIST = 12,
39 	BOX_LIST = 13,
40 	HAND_LIST = 14,
41 	HEART_LIST = 15,
42 	ARROWHEAD_LIST = 16,
43 	// add new bulleted lists here, and increase LAST_BULLETED_LIST accordingly
44 	// any new numbered lists should be added below OTHER_NUMBERED_LISTS
45 
46 	//could not just add the extra numbered lists above the bulletted one, since that would break compatibility
47 	LAST_BULLETED_LIST = 17,
48 	OTHER_NUMBERED_LISTS = 0x7f,
49 	ARABICNUMBERED_LIST = 0x80,
50 	HEBREW_LIST = 0x81,
51 	NOT_A_LIST = 0xff
52 } FL_ListType;
53 
54 typedef enum _FVDocPos
55 {
56 	FV_DOCPOS_BOB, FV_DOCPOS_EOB,	// block
57 	FV_DOCPOS_BOD, FV_DOCPOS_EOD,	// document
58 	FV_DOCPOS_BOP, FV_DOCPOS_EOP,	// page
59 	FV_DOCPOS_BOL, FV_DOCPOS_EOL,	// line
60 	FV_DOCPOS_BOS, FV_DOCPOS_EOS,	// sentence
61 	FV_DOCPOS_BOW, FV_DOCPOS_EOW_MOVE, FV_DOCPOS_EOW_SELECT // word
62 } FV_DocPos;
63 
64 typedef enum _ToggleCase
65 {
66   CASE_SENTENCE,
67   CASE_LOWER,
68   CASE_UPPER,
69   CASE_TITLE,
70   CASE_TOGGLE,
71   CASE_FIRST_CAPITAL,
72   CASE_ROTATE
73 } ToggleCase;
74 
75 typedef enum _FormatTable
76 {
77 	FORMAT_TABLE_SELECTION,
78 	FORMAT_TABLE_ROW,
79 	FORMAT_TABLE_COLUMN,
80 	FORMAT_TABLE_TABLE
81 } FormatTable;
82 
83 typedef enum
84 {
85 	BreakSectionContinuous,
86 	BreakSectionNextPage,
87 	BreakSectionEvenPage,
88 	BreakSectionOddPage
89 } BreakSectionType;
90 
91 typedef enum
92 {
93   VIEW_PRINT,
94   VIEW_NORMAL,
95   VIEW_WEB,
96   VIEW_PREVIEW
97 } ViewMode;
98 
99 typedef enum
100 {
101   PREVIEW_NONE,
102   PREVIEW_ZOOMED,
103   PREVIEW_ADJUSTED_PAGE,
104   PREVIEW_CLIPPED,
105   PREVIEW_ZOOMED_SCROLL,
106   PREVIEW_ADJUSTED_PAGE_SCROLL,
107   PREVIEW_CLIPPED_SCROLL
108 } PreViewMode;
109 
110 
111 #endif /* FP_TYPES_H */
112