Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef FL_AUTOLISTS_H
00021 #define FL_AUTOLISTS_H
00022
00023 #include "ut_types.h"
00024 #include "ut_xml.h"
00025 #include "fp_types.h"
00026
00028
00030
00031 class ABI_EXPORT fl_AutoLists
00032 {
00033 public:
00034 UT_uint32 getXmlListsSize();
00035 UT_uint32 getFmtListsSize();
00036
00037 const gchar * getXmlList(UT_uint32 i);
00038 const char * getFmtList(UT_uint32 i);
00039 };
00040
00041 #define IS_NUMBERED_LIST_TYPE(x) (((x) >= NUMBERED_LIST && (x) < BULLETED_LIST) || ((x) > OTHER_NUMBERED_LISTS && (x) < NOT_A_LIST))
00042 #define IS_BULLETED_LIST_TYPE(x) ((x) >= BULLETED_LIST && (x) < OTHER_NUMBERED_LISTS)
00043
00044 #define IS_NONE_LIST_TYPE(x) ((x) == NOT_A_LIST)
00045
00046 #define XML_NUMBERED_LIST (( const gchar *) "Numbered List")
00047 #define XML_LOWERCASE_LIST ((const gchar *) "Lower Case List")
00048 #define XML_UPPERCASE_LIST ((const gchar *) "Upper Case List")
00049 #define XML_LOWERROMAN_LIST ((const gchar *) "Lower Roman List")
00050 #define XML_UPPERROMAN_LIST ((const gchar *) "Upper Roman List")
00051 #define XML_HEBREW_LIST ((const gchar *) "Hebrew List")
00052 #define XML_ARABICNUM_LIST ((const gchar *) "Arabic List")
00053 #define XML_BULLETED_LIST ((const gchar *) "Bullet List")
00054 #define XML_DASHED_LIST ((const gchar *) "Dashed List")
00055 #define XML_SQUARE_LIST ((const gchar *) "Square List")
00056 #define XML_TRIANGLE_LIST ((const gchar *) "Triangle List")
00057 #define XML_DIAMOND_LIST ((const gchar *) "Diamond List")
00058 #define XML_STAR_LIST ((const gchar *) "Star List")
00059 #define XML_IMPLIES_LIST ((const gchar *) "Implies List")
00060 #define XML_TICK_LIST ((const gchar *) "Tick List")
00061 #define XML_BOX_LIST ((const gchar *) "Box List")
00062 #define XML_HAND_LIST ((const gchar *) "Hand List")
00063 #define XML_HEART_LIST ((const gchar *) "Heart List")
00064 #define XML_ARROWHEAD_LIST ((const gchar *) "Arrowhead List")
00065
00066
00067
00068 #define LIST_DEFAULT_INDENT 0.50
00069
00070
00071
00072 #define LIST_DEFAULT_INDENT_LABEL 0.30
00073
00074
00075
00076
00077 #define AUTO_LIST_RESERVED 1000
00078
00079 #define fmt_NUMBERED_LIST ((const char *)"%*%d")
00080 #define fmt_LOWERCASE_LIST ((const char *)"%*%a")
00081 #define fmt_UPPERCASE_LIST ((const char *)"%*%A")
00082 #define fmt_LOWERROMAN_LIST ((const char *)"%*%r")
00083 #define fmt_UPPERROMAN_LIST ((const char *)"%*%R")
00084 #define fmt_BULLETED_LIST ((const char *)"%b")
00085 #define fmt_DASHED_LIST ((const char *)"%c")
00086 #define fmt_HEBREW_LIST ((const char *)"%*%h")
00087 #define fmt_ARABICNUM_LIST ((const char *)"%*%i")
00088
00089
00090 #endif