xref: /AOO41X/main/xmloff/inc/xmloff/families.hxx (revision ecfe53c5d1886e1e0d215b0d140d05282ab1c477)
1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 #ifndef _XMLOFF_FAMILIES_HXX_
24 #define _XMLOFF_FAMILIES_HXX_
25 
26 /** These defines determine the unique ids for XML style-families
27     used in the SvXMLAutoStylePoolP.
28  */
29 
30 // Misc (Pool)
31 // reserved: 0..99
32 #define XML_STYLE_FAMILY_DATA_STYLE             0
33 #define XML_STYLE_FAMILY_DATA_STYLE_NAME        "data-style"
34 #define XML_STYLE_FAMILY_PAGE_MASTER            1
35 #define XML_STYLE_FAMILY_PAGE_MASTER_NAME       "page-layout"
36 #define XML_STYLE_FAMILY_PAGE_MASTER_PREFIX     "pm"
37 #define XML_STYLE_FAMILY_MASTER_PAGE            2
38 
39 // Text
40 // reserved: 100..199
41 #define XML_STYLE_FAMILY_TEXT_PARAGRAPH         100
42 #define XML_STYLE_FAMILY_TEXT_TEXT              101
43 #define XML_STYLE_FAMILY_TEXT_LIST              102
44 #define XML_STYLE_FAMILY_TEXT_OUTLINE           103
45 #define XML_STYLE_FAMILY_TEXT_FOOTNOTECONFIG    105
46 #define XML_STYLE_FAMILY_TEXT_ENDNOTECONFIG     106
47 #define XML_STYLE_FAMILY_TEXT_SECTION           107
48 #define XML_STYLE_FAMILY_TEXT_FRAME             108 // export only
49 #define XML_STYLE_FAMILY_TEXT_RUBY              109
50 #define XML_STYLE_FAMILY_TEXT_BIBLIOGRAPHYCONFIG 110
51 #define XML_STYLE_FAMILY_TEXT_LINENUMBERINGCONFIG 111
52 
53 // Table
54 // reserved: 200..299
55 #define XML_STYLE_FAMILY_TABLE_TABLE            200
56 #define XML_STYLE_FAMILY_TABLE_TABLE_STYLES_NAME    "table"
57 #define XML_STYLE_FAMILY_TABLE_TABLE_STYLES_PREFIX  "ta"
58 #define XML_STYLE_FAMILY_TABLE_COLUMN           202
59 #define XML_STYLE_FAMILY_TABLE_COLUMN_STYLES_NAME   "table-column"
60 #define XML_STYLE_FAMILY_TABLE_COLUMN_STYLES_PREFIX "co"
61 #define XML_STYLE_FAMILY_TABLE_ROW              203
62 #define XML_STYLE_FAMILY_TABLE_ROW_STYLES_NAME  "table-row"
63 #define XML_STYLE_FAMILY_TABLE_ROW_STYLES_PREFIX    "ro"
64 #define XML_STYLE_FAMILY_TABLE_CELL             204
65 #define XML_STYLE_FAMILY_TABLE_CELL_STYLES_NAME "table-cell"
66 #define XML_STYLE_FAMILY_TABLE_CELL_STYLES_PREFIX   "ce"
67 #define XML_STYLE_FAMILY_TABLE_TEMPLATE_ID      205
68 
69 // Impress/Draw
70 // reserved: 300..399
71 #define XML_STYLE_FAMILY_SD_GRAPHICS_ID         300
72 #define XML_STYLE_FAMILY_SD_GRAPHICS_NAME       "graphic"
73 #define XML_STYLE_FAMILY_SD_GRAPHICS_PREFIX     "gr"
74 
75 #define XML_STYLE_FAMILY_SD_PRESENTATION_ID     301
76 #define XML_STYLE_FAMILY_SD_PRESENTATION_NAME   "presentation"
77 #define XML_STYLE_FAMILY_SD_PRESENTATION_PREFIX "pr"
78 // families for derived from SvXMLStyleContext
79 #define XML_STYLE_FAMILY_SD_PAGEMASTERCONEXT_ID         302
80 #define XML_STYLE_FAMILY_SD_PAGEMASTERSTYLECONEXT_ID    306
81 #define XML_STYLE_FAMILY_SD_PRESENTATIONPAGELAYOUT_ID   303
82 // family for draw pool
83 #define XML_STYLE_FAMILY_SD_POOL_ID             304
84 #define XML_STYLE_FAMILY_SD_POOL_NAME           "default"
85 // family for presentation drawpage properties
86 #define XML_STYLE_FAMILY_SD_DRAWINGPAGE_ID      305
87 #define XML_STYLE_FAMILY_SD_DRAWINGPAGE_NAME    "drawing-page"
88 #define XML_STYLE_FAMILY_SD_DRAWINGPAGE_PREFIX  "dp"
89 
90 #define XML_STYLE_FAMILY_SD_GRADIENT_ID     306
91 #define XML_STYLE_FAMILY_SD_HATCH_ID        307
92 #define XML_STYLE_FAMILY_SD_FILL_IMAGE_ID       308
93 #define XML_STYLE_FAMILY_SD_MARKER_ID       309
94 #define XML_STYLE_FAMILY_SD_STROKE_DASH_ID      310
95 
96 // Chart
97 // reserved: 400..499
98 #define XML_STYLE_FAMILY_SCH_CHART_ID           400
99 #define XML_STYLE_FAMILY_SCH_CHART_NAME         "chart"
100 #define XML_STYLE_FAMILY_SCH_CHART_PREFIX       "ch"
101 
102 // Math
103 // reserved: 500..599
104 
105 
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"
111 
112 #endif  // _XMLOFF_FAMILIES_HXX_
113