merge the formfield patch from ooo-build
[ooovba.git] / binfilter / inc / bf_xmloff / families.hxx
blob8c1213efd776a84d17322c6fc7a414212138c96f
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: families.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_FAMILIES_HXX_
31 #define _XMLOFF_FAMILIES_HXX_
32 namespace binfilter {
34 /** These defines determine the unique ids for XML style-families
35 used in the SvXMLAutoStylePoolP.
38 // Misc (Pool)
39 // reserved: 0..99
40 #define XML_STYLE_FAMILY_DATA_STYLE 0
41 #define XML_STYLE_FAMILY_DATA_STYLE_NAME "data-style"
42 #define XML_STYLE_FAMILY_PAGE_MASTER 1
43 #define XML_STYLE_FAMILY_PAGE_MASTER_NAME "page-master"
44 #define XML_STYLE_FAMILY_PAGE_MASTER_PREFIX "pm"
45 #define XML_STYLE_FAMILY_MASTER_PAGE 2
47 // Text
48 // reserved: 100..199
49 #define XML_STYLE_FAMILY_TEXT_PARAGRAPH 100
50 #define XML_STYLE_FAMILY_TEXT_TEXT 101
51 #define XML_STYLE_FAMILY_TEXT_LIST 102
52 #define XML_STYLE_FAMILY_TEXT_OUTLINE 103
53 #define XML_STYLE_FAMILY_TEXT_FOOTNOTECONFIG 105
54 #define XML_STYLE_FAMILY_TEXT_ENDNOTECONFIG 106
55 #define XML_STYLE_FAMILY_TEXT_SECTION 107
56 #define XML_STYLE_FAMILY_TEXT_FRAME 108 // export only
57 #define XML_STYLE_FAMILY_TEXT_RUBY 109
58 #define XML_STYLE_FAMILY_TEXT_BIBLIOGRAPHYCONFIG 110
59 #define XML_STYLE_FAMILY_TEXT_LINENUMBERINGCONFIG 111
61 // Table
62 // reserved: 200..299
63 #define XML_STYLE_FAMILY_TABLE_TABLE 200
64 #define XML_STYLE_FAMILY_TABLE_TABLE_STYLES_NAME "table"
65 #define XML_STYLE_FAMILY_TABLE_TABLE_STYLES_PREFIX "ta"
66 #define XML_STYLE_FAMILY_TABLE_COLUMN 202
67 #define XML_STYLE_FAMILY_TABLE_COLUMN_STYLES_NAME "table-column"
68 #define XML_STYLE_FAMILY_TABLE_COLUMN_STYLES_PREFIX "co"
69 #define XML_STYLE_FAMILY_TABLE_ROW 203
70 #define XML_STYLE_FAMILY_TABLE_ROW_STYLES_NAME "table-row"
71 #define XML_STYLE_FAMILY_TABLE_ROW_STYLES_PREFIX "ro"
72 #define XML_STYLE_FAMILY_TABLE_CELL 204
73 #define XML_STYLE_FAMILY_TABLE_CELL_STYLES_NAME "table-cell"
74 #define XML_STYLE_FAMILY_TABLE_CELL_STYLES_PREFIX "ce"
76 // Impress/Draw
77 // reserved: 300..399
78 #define XML_STYLE_FAMILY_SD_GRAPHICS_ID 300
79 #define XML_STYLE_FAMILY_SD_GRAPHICS_NAME "graphics"
80 #define XML_STYLE_FAMILY_SD_GRAPHICS_PREFIX "gr"
82 #define XML_STYLE_FAMILY_SD_PRESENTATION_ID 301
83 #define XML_STYLE_FAMILY_SD_PRESENTATION_NAME "presentation"
84 #define XML_STYLE_FAMILY_SD_PRESENTATION_PREFIX "pr"
85 // families for derived from SvXMLStyleContext
86 #define XML_STYLE_FAMILY_SD_PAGEMASTERCONEXT_ID 302
87 #define XML_STYLE_FAMILY_SD_PAGEMASTERSTYLECONEXT_ID 306
88 #define XML_STYLE_FAMILY_SD_PRESENTATIONPAGELAYOUT_ID 303
89 // family for draw pool
90 #define XML_STYLE_FAMILY_SD_POOL_ID 304
91 #define XML_STYLE_FAMILY_SD_POOL_NAME "default"
92 // family for presentation drawpage properties
93 #define XML_STYLE_FAMILY_SD_DRAWINGPAGE_ID 305
94 #define XML_STYLE_FAMILY_SD_DRAWINGPAGE_NAME "drawing-page"
95 #define XML_STYLE_FAMILY_SD_DRAWINGPAGE_PREFIX "dp"
97 // Chart
98 // reserved: 400..499
99 #define XML_STYLE_FAMILY_SCH_CHART_ID 400
100 #define XML_STYLE_FAMILY_SCH_CHART_NAME "chart"
101 #define XML_STYLE_FAMILY_SCH_CHART_PREFIX "ch"
103 // Math
104 // reserved: 500..599
106 // Forms/Controls
107 // reserved 600..649
108 #define XML_STYLE_FAMILY_CONTROL_ID 600
109 #define XML_STYLE_FAMILY_CONTROL_NAME "control"
110 #define XML_STYLE_FAMILY_CONTROL_PREFIX "ctrl"
112 }//end of namespace binfilter
113 #endif // _XMLOFF_FAMILIES_HXX_