Update ooo320-m1
[ooovba.git] / binfilter / inc / bf_xmloff / txtprmap.hxx
blobc7339e90b4b3270672316bb09fc2dbdfc5d18583
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: txtprmap.hxx,v $
10 * $Revision: 1.4 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef _XMLOFF_TEXTPRMAP_HXX_
31 #define _XMLOFF_TEXTPRMAP_HXX_
33 #ifndef _XMLOFF_CONTEXTID_HXX_
34 #include <bf_xmloff/contextid.hxx>
35 #endif
36 #ifndef _XMLOFF_PROPERTYSETMAPPER_HXX
37 #include <bf_xmloff/xmlprmap.hxx>
38 #endif
39 namespace binfilter {
41 #define CTF_CHARHEIGHT (XML_TEXT_CTF_START + 1)
42 #define CTF_CHARHEIGHT_REL (XML_TEXT_CTF_START + 2)
43 #define CTF_PARALEFTMARGIN (XML_TEXT_CTF_START + 3)
44 #define CTF_PARALEFTMARGIN_REL (XML_TEXT_CTF_START + 4)
45 #define CTF_PARARIGHTMARGIN (XML_TEXT_CTF_START + 5)
46 #define CTF_PARARIGHTMARGIN_REL (XML_TEXT_CTF_START + 6)
47 #define CTF_PARAFIRSTLINE (XML_TEXT_CTF_START + 7)
48 #define CTF_PARAFIRSTLINE_REL (XML_TEXT_CTF_START + 8)
49 #define CTF_PARATOPMARGIN (XML_TEXT_CTF_START + 9)
50 #define CTF_PARATOPMARGIN_REL (XML_TEXT_CTF_START + 10)
51 #define CTF_PARABOTTOMMARGIN (XML_TEXT_CTF_START + 11)
52 #define CTF_PARABOTTOMMARGIN_REL (XML_TEXT_CTF_START + 12)
53 #define CTF_ALLBORDERWIDTH (XML_TEXT_CTF_START + 13)
54 #define CTF_LEFTBORDERWIDTH (XML_TEXT_CTF_START + 14)
55 #define CTF_RIGHTBORDERWIDTH (XML_TEXT_CTF_START + 15)
56 #define CTF_TOPBORDERWIDTH (XML_TEXT_CTF_START + 16)
57 #define CTF_BOTTOMBORDERWIDTH (XML_TEXT_CTF_START + 17)
58 #define CTF_ALLBORDERDISTANCE (XML_TEXT_CTF_START + 18)
59 #define CTF_LEFTBORDERDISTANCE (XML_TEXT_CTF_START + 19)
60 #define CTF_RIGHTBORDERDISTANCE (XML_TEXT_CTF_START + 20)
61 #define CTF_TOPBORDERDISTANCE (XML_TEXT_CTF_START + 21)
62 #define CTF_BOTTOMBORDERDISTANCE (XML_TEXT_CTF_START + 22)
63 #define CTF_ALLBORDER (XML_TEXT_CTF_START + 23)
64 #define CTF_LEFTBORDER (XML_TEXT_CTF_START + 24)
65 #define CTF_RIGHTBORDER (XML_TEXT_CTF_START + 25)
66 #define CTF_TOPBORDER (XML_TEXT_CTF_START + 26)
67 #define CTF_BOTTOMBORDER (XML_TEXT_CTF_START + 27)
68 #define CTF_DROPCAPWHOLEWORD (XML_TEXT_CTF_START + 28)
69 #define CTF_DROPCAPFORMAT (XML_TEXT_CTF_START + 29)
70 #define CTF_DROPCAPCHARSTYLE (XML_TEXT_CTF_START + 30)
71 #define CTF_TABSTOP (XML_TEXT_CTF_START + 31)
72 #define CTF_NUMBERINGSTYLENAME (XML_TEXT_CTF_START + 32)
73 #define CTF_OLDTEXTBACKGROUND (XML_TEXT_CTF_START + 33)
74 #define CTF_FONTFAMILYNAME (XML_TEXT_CTF_START + 34)
75 #define CTF_FONTSTYLENAME (XML_TEXT_CTF_START + 35)
76 #define CTF_FONTFAMILY (XML_TEXT_CTF_START + 36)
77 #define CTF_FONTPITCH (XML_TEXT_CTF_START + 37)
78 #define CTF_FONTCHARSET (XML_TEXT_CTF_START + 38)
79 // (XML_TEXT_CTF_START + 39)
80 #define CTF_SYNCHEIGHT_MIN (XML_TEXT_CTF_START + 40)
81 #define CTF_FRAMEHEIGHT_ABS (XML_TEXT_CTF_START + 41)
82 #define CTF_FRAMEHEIGHT_REL (XML_TEXT_CTF_START + 42)
83 #define CTF_FRAMEHEIGHT_MIN_ABS (XML_TEXT_CTF_START + 43)
84 #define CTF_FRAMEHEIGHT_MIN_REL (XML_TEXT_CTF_START + 44)
85 #define CTF_SIZETYPE (XML_TEXT_CTF_START + 45)
86 #define CTF_SYNCHEIGHT (XML_TEXT_CTF_START + 46)
87 #define CTF_WRAP (XML_TEXT_CTF_START + 47)
88 #define CTF_WRAP_CONTOUR (XML_TEXT_CTF_START + 48)
89 #define CTF_WRAP_CONTOUR_MODE (XML_TEXT_CTF_START + 49)
90 #define CTF_WRAP_PARAGRAPH_ONLY (XML_TEXT_CTF_START + 50)
91 #define CTF_ANCHORTYPE (XML_TEXT_CTF_START + 51)
92 #define CTF_ANCHORPAGENUMBER (XML_TEXT_CTF_START + 52)
93 #define CTF_TEXTCOLUMNS (XML_TEXT_CTF_START + 53)
94 #define CTF_HORIZONTALPOS (XML_TEXT_CTF_START + 54)
95 #define CTF_HORIZONTALPOS_MIRRORED (XML_TEXT_CTF_START + 55)
96 #define CTF_HORIZONTALREL (XML_TEXT_CTF_START + 56)
97 #define CTF_HORIZONTALREL_FRAME (XML_TEXT_CTF_START + 57)
98 #define CTF_HORIZONTALMIRROR (XML_TEXT_CTF_START + 58)
99 #define CTF_VERTICALPOS (XML_TEXT_CTF_START + 59)
100 #define CTF_VERTICALREL (XML_TEXT_CTF_START + 60)
101 #define CTF_VERTICALREL_PAGE (XML_TEXT_CTF_START + 61)
102 #define CTF_VERTICALREL_FRAME (XML_TEXT_CTF_START + 62)
103 #define CTF_VERTICALREL_ASCHAR (XML_TEXT_CTF_START + 63)
104 #define CTF_PAGEDESCNAME (XML_TEXT_CTF_START + 64)
105 #define CTF_BACKGROUND_URL (XML_TEXT_CTF_START + 66)
106 #define CTF_BACKGROUND_POS (XML_TEXT_CTF_START + 67)
107 #define CTF_BACKGROUND_FILTER (XML_TEXT_CTF_START + 68)
108 #define CTF_CHARHEIGHT_DIFF (XML_TEXT_CTF_START + 69)
109 #define CTF_FONTNAME (XML_TEXT_CTF_START + 70)
110 #define CTF_FONTNAME_CJK (XML_TEXT_CTF_START + 71)
111 #define CTF_FONTFAMILYNAME_CJK (XML_TEXT_CTF_START + 72)
112 #define CTF_FONTSTYLENAME_CJK (XML_TEXT_CTF_START + 73)
113 #define CTF_FONTFAMILY_CJK (XML_TEXT_CTF_START + 74)
114 #define CTF_FONTPITCH_CJK (XML_TEXT_CTF_START + 75)
115 #define CTF_FONTCHARSET_CJK (XML_TEXT_CTF_START + 76)
116 #define CTF_CHARHEIGHT_CJK (XML_TEXT_CTF_START + 77)
117 #define CTF_CHARHEIGHT_REL_CJK (XML_TEXT_CTF_START + 78)
118 #define CTF_CHARHEIGHT_DIFF_CJK (XML_TEXT_CTF_START + 79)
119 #define CTF_FONTNAME_CTL (XML_TEXT_CTF_START + 80)
120 #define CTF_FONTFAMILYNAME_CTL (XML_TEXT_CTF_START + 81)
121 #define CTF_FONTSTYLENAME_CTL (XML_TEXT_CTF_START + 82)
122 #define CTF_FONTFAMILY_CTL (XML_TEXT_CTF_START + 83)
123 #define CTF_FONTPITCH_CTL (XML_TEXT_CTF_START + 84)
124 #define CTF_FONTCHARSET_CTL (XML_TEXT_CTF_START + 85)
125 #define CTF_CHARHEIGHT_CTL (XML_TEXT_CTF_START + 86)
126 #define CTF_CHARHEIGHT_REL_CTL (XML_TEXT_CTF_START + 87)
127 #define CTF_CHARHEIGHT_DIFF_CTL (XML_TEXT_CTF_START + 88)
128 #define CTF_UNDERLINE (XML_TEXT_CTF_START + 89)
129 #define CTF_UNDERLINE_COLOR (XML_TEXT_CTF_START + 90)
130 #define CTF_UNDERLINE_HASCOLOR (XML_TEXT_CTF_START + 91)
131 #define CTF_SECTION_FOOTNOTE_END (XML_TEXT_CTF_START + 92)
132 #define CTF_SECTION_FOOTNOTE_NUM_RESTART (XML_TEXT_CTF_START + 93)
133 #define CTF_SECTION_FOOTNOTE_NUM_RESTART_AT (XML_TEXT_CTF_START + 94)
134 #define CTF_SECTION_FOOTNOTE_NUM_TYPE (XML_TEXT_CTF_START + 95)
135 #define CTF_SECTION_FOOTNOTE_NUM_PREFIX (XML_TEXT_CTF_START + 96)
136 #define CTF_SECTION_FOOTNOTE_NUM_SUFFIX (XML_TEXT_CTF_START + 97)
137 #define CTF_SECTION_FOOTNOTE_NUM_OWN (XML_TEXT_CTF_START + 98)
138 #define CTF_SECTION_ENDNOTE_END (XML_TEXT_CTF_START + 99)
139 #define CTF_SECTION_ENDNOTE_NUM_RESTART (XML_TEXT_CTF_START + 100)
140 #define CTF_SECTION_ENDNOTE_NUM_RESTART_AT (XML_TEXT_CTF_START + 101)
141 #define CTF_SECTION_ENDNOTE_NUM_TYPE (XML_TEXT_CTF_START + 102)
142 #define CTF_SECTION_ENDNOTE_NUM_PREFIX (XML_TEXT_CTF_START + 103)
143 #define CTF_SECTION_ENDNOTE_NUM_SUFFIX (XML_TEXT_CTF_START + 104)
144 #define CTF_SECTION_ENDNOTE_NUM_OWN (XML_TEXT_CTF_START + 105)
145 #define CTF_PAGE_FOOTNOTE (XML_TEXT_CTF_START + 106)
146 #define CTF_FRAME_DISPLAY_SCROLLBAR (XML_TEXT_CTF_START + 107)
147 #define CTF_FRAME_DISPLAY_BORDER (XML_TEXT_CTF_START + 108)
148 #define CTF_FRAME_MARGIN_HORI (XML_TEXT_CTF_START + 109)
149 #define CTF_FRAME_MARGIN_VERT (XML_TEXT_CTF_START + 110)
150 #define CTF_COMBINED_CHARACTERS_FIELD (XML_TEXT_CTF_START + 111)
151 #define CTF_OLE_VIS_AREA_TOP (XML_TEXT_CTF_START + 112)
152 #define CTF_OLE_VIS_AREA_LEFT (XML_TEXT_CTF_START + 113)
153 #define CTF_OLE_VIS_AREA_WIDTH (XML_TEXT_CTF_START + 114)
154 #define CTF_OLE_VIS_AREA_HEIGHT (XML_TEXT_CTF_START + 115)
155 #define CTF_OLE_DRAW_ASPECT (XML_TEXT_CTF_START + 116)
156 #define CTF_HYPERLINK_URL (XML_TEXT_CTF_START + 117)
157 #define CTF_CHAR_STYLE_NAME (XML_TEXT_CTF_START + 118)
158 #define CTF_VERTICALPOS_ATCHAR (XML_TEXT_CTF_START + 119)
159 #define CTF_BACKGROUND_TRANSPARENCY (XML_TEXT_CTF_START + 120)
160 #define CTF_BACKGROUND_TRANSPARENT (XML_TEXT_CTF_START + 121)
162 #define TEXT_PROP_MAP_TEXT 0
163 #define TEXT_PROP_MAP_PARA 1
164 #define TEXT_PROP_MAP_FRAME 2
165 #define TEXT_PROP_MAP_AUTO_FRAME 3
166 #define TEXT_PROP_MAP_SECTION 4
167 #define TEXT_PROP_MAP_SHAPE 5
168 #define TEXT_PROP_MAP_RUBY 6
169 #define TEXT_PROP_MAP_SHAPE_PARA 7
171 class XMLTextPropertySetMapper : public XMLPropertySetMapper
174 public:
176 XMLTextPropertySetMapper( sal_uInt16 nType );
177 virtual ~XMLTextPropertySetMapper();
180 }//end of namespace binfilter
181 #endif