• 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., 51 Franklin Street, Fifth Floor, Boston, MA
00017  * 02110-1301 USA.
00018  */
00019 
00020 #ifndef FP_TYPES_H
00021 #define FP_TYPES_H
00022 
00023 enum FL_ListType
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   ARROWHEAD_LIST = 16,
00043   // add new bulleted lists here, and increase LAST_BULLETED_LIST accordingly
00044   // any new numbered lists should be added below OTHER_NUMBERED_LISTS
00045 
00046   // could not just add the extra numbered lists above the bulletted one,
00047   // since that would break compatibility
00048   LAST_BULLETED_LIST = 17,
00049   OTHER_NUMBERED_LISTS = 0x7f,
00050   ARABICNUMBERED_LIST = 0x80,
00051   HEBREW_LIST = 0x81,
00052   NOT_A_LIST = 0xff
00053 };
00054 
00055 enum FV_DocPos
00056 {
00057   FV_DOCPOS_BOB, FV_DOCPOS_EOB, // block
00058   FV_DOCPOS_BOD, FV_DOCPOS_EOD, // document
00059   FV_DOCPOS_BOP, FV_DOCPOS_EOP, // page
00060   FV_DOCPOS_BOL, FV_DOCPOS_EOL, // line
00061   FV_DOCPOS_BOS, FV_DOCPOS_EOS, // sentence
00062   FV_DOCPOS_BOW, FV_DOCPOS_EOW_MOVE, FV_DOCPOS_EOW_SELECT // word
00063 };
00064 
00065 enum ToggleCase
00066 {
00067   CASE_SENTENCE,
00068   CASE_LOWER,
00069   CASE_UPPER,
00070   CASE_TITLE,
00071   CASE_TOGGLE,
00072   CASE_FIRST_CAPITAL,
00073   CASE_ROTATE
00074 };
00075 
00076 enum FormatTable
00077 {
00078   FORMAT_TABLE_SELECTION,
00079   FORMAT_TABLE_ROW,
00080   FORMAT_TABLE_COLUMN,
00081   FORMAT_TABLE_TABLE
00082 };
00083 
00084 enum  BreakSectionType
00085 {
00086   BreakSectionContinuous,
00087   BreakSectionNextPage,
00088   BreakSectionEvenPage,
00089   BreakSectionOddPage
00090 };
00091 
00092 enum ViewMode
00093 {
00094   VIEW_PRINT,
00095   VIEW_NORMAL,
00096   VIEW_WEB,
00097   VIEW_PREVIEW
00098 };
00099 
00100 enum PreViewMode
00101 {
00102   PREVIEW_NONE,
00103   PREVIEW_ZOOMED,
00104   PREVIEW_ADJUSTED_PAGE,
00105   PREVIEW_CLIPPED,
00106   PREVIEW_ZOOMED_SCROLL,
00107   PREVIEW_ADJUSTED_PAGE_SCROLL,
00108   PREVIEW_CLIPPED_SCROLL
00109 };
00110 
00111 
00112 #endif /* FP_TYPES_H */

Generated on Sun Feb 14 2021 for AbiWord by  doxygen 1.7.1