• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

fp_types.h

Go to the documentation of this file.
00001 /* AbiWord
00002  * Copyright (c) 2003 Tomas Frydrych
00003  *
00004  * This program is free software; you can redistribute it and/or
00005  * modify it under the terms of the GNU General Public License
00006  * as published by the Free Software Foundation; either version 2
00007  * of the License, or (at your option) any later version.
00008  *
00009  * This program is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  * GNU General Public License for more details.
00013  *
00014  * You should have received a copy of the GNU General Public License
00015  * along with this program; if not, write to the Free Software
00016  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
00017  * 02111-1307, USA.
00018  */
00019 
00020 #ifndef FP_TYPES_H
00021 #define FP_TYPES_H
00022 
00023 typedef enum
00024 {
00025     NUMBERED_LIST = 0,
00026     LOWERCASE_LIST = 1,
00027     UPPERCASE_LIST = 2,
00028     LOWERROMAN_LIST = 3,
00029     UPPERROMAN_LIST = 4,
00030     // any new numbered lists should be added below OTHER_NUMBERED_LISTS
00031     BULLETED_LIST = 5,
00032     DASHED_LIST = 6,
00033     SQUARE_LIST = 7,
00034     TRIANGLE_LIST = 8,
00035     DIAMOND_LIST = 9,
00036     STAR_LIST = 10,
00037     IMPLIES_LIST = 11,
00038     TICK_LIST = 12,
00039     BOX_LIST = 13,
00040     HAND_LIST = 14,
00041     HEART_LIST = 15,
00042     // add new bulleted lists here, and increase LAST_BULLETED_LIST accordingly
00043     // any new numbered lists should be added below OTHER_NUMBERED_LISTS
00044 
00045     //could not just add the extra numbered lists above the bulletted one, since that would break compatibility
00046     LAST_BULLETED_LIST = 16,
00047     OTHER_NUMBERED_LISTS = 0x7f,
00048     ARABICNUMBERED_LIST = 0x80,
00049     HEBREW_LIST = 0x81,
00050     NOT_A_LIST = 0xff
00051 } FL_ListType;
00052 
00053 typedef enum _FVDocPos
00054 {
00055     FV_DOCPOS_BOB, FV_DOCPOS_EOB,   // block
00056     FV_DOCPOS_BOD, FV_DOCPOS_EOD,   // document
00057     FV_DOCPOS_BOP, FV_DOCPOS_EOP,   // page
00058     FV_DOCPOS_BOL, FV_DOCPOS_EOL,   // line
00059     FV_DOCPOS_BOS, FV_DOCPOS_EOS,   // sentence
00060     FV_DOCPOS_BOW, FV_DOCPOS_EOW_MOVE, FV_DOCPOS_EOW_SELECT // word
00061 } FV_DocPos;
00062 
00063 typedef enum _ToggleCase
00064 {
00065   CASE_SENTENCE,
00066   CASE_LOWER,
00067   CASE_UPPER,
00068   CASE_TITLE,
00069   CASE_TOGGLE,
00070   CASE_FIRST_CAPITAL,
00071   CASE_ROTATE
00072 } ToggleCase;
00073 
00074 typedef enum _FormatTable
00075 {
00076     FORMAT_TABLE_SELECTION,
00077     FORMAT_TABLE_ROW,
00078     FORMAT_TABLE_COLUMN,
00079     FORMAT_TABLE_TABLE
00080 } FormatTable;
00081 
00082 typedef enum
00083 {
00084     BreakSectionContinuous,
00085     BreakSectionNextPage,
00086     BreakSectionEvenPage,
00087     BreakSectionOddPage
00088 } BreakSectionType;
00089 
00090 typedef enum
00091 {
00092   VIEW_PRINT,
00093   VIEW_NORMAL,
00094   VIEW_WEB,
00095   VIEW_PREVIEW
00096 } ViewMode;
00097 
00098 typedef enum
00099 {
00100   PREVIEW_NONE,
00101   PREVIEW_ZOOMED,
00102   PREVIEW_ADJUSTED_PAGE,
00103   PREVIEW_CLIPPED,
00104   PREVIEW_ZOOMED_SCROLL,
00105   PREVIEW_ADJUSTED_PAGE_SCROLL,
00106   PREVIEW_CLIPPED_SCROLL
00107 } PreViewMode;
00108 
00109 
00110 #endif /* FP_TYPES_H */

Generated on Sun May 27 2012 for AbiWord by  doxygen 1.7.1