bump product version to 4.2.0.1
[LibreOffice.git] / include / xmloff / families.hxx
blobc8e64d91e54c7bc01f1f22c8e4304f554685607c
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef INCLUDED_XMLOFF_FAMILIES_HXX
20 #define INCLUDED_XMLOFF_FAMILIES_HXX
22 /** These defines determine the unique ids for XML style-families
23 used in the SvXMLAutoStylePoolP.
26 // Misc (Pool)
27 // reserved: 0..99
28 #define XML_STYLE_FAMILY_DATA_STYLE 0
29 #define XML_STYLE_FAMILY_DATA_STYLE_NAME "data-style"
30 #define XML_STYLE_FAMILY_PAGE_MASTER 1
31 #define XML_STYLE_FAMILY_PAGE_MASTER_NAME "page-layout"
32 #define XML_STYLE_FAMILY_PAGE_MASTER_PREFIX "pm"
33 #define XML_STYLE_FAMILY_MASTER_PAGE 2
35 // Text
36 // reserved: 100..199
37 #define XML_STYLE_FAMILY_TEXT_PARAGRAPH 100
38 #define XML_STYLE_FAMILY_TEXT_TEXT 101
39 #define XML_STYLE_FAMILY_TEXT_LIST 102
40 #define XML_STYLE_FAMILY_TEXT_OUTLINE 103
41 #define XML_STYLE_FAMILY_TEXT_FOOTNOTECONFIG 105
42 #define XML_STYLE_FAMILY_TEXT_ENDNOTECONFIG 106
43 #define XML_STYLE_FAMILY_TEXT_SECTION 107
44 #define XML_STYLE_FAMILY_TEXT_FRAME 108 // export only
45 #define XML_STYLE_FAMILY_TEXT_RUBY 109
46 #define XML_STYLE_FAMILY_TEXT_BIBLIOGRAPHYCONFIG 110
47 #define XML_STYLE_FAMILY_TEXT_LINENUMBERINGCONFIG 111
49 // Table
50 // reserved: 200..299
51 #define XML_STYLE_FAMILY_TABLE_TABLE 200
52 #define XML_STYLE_FAMILY_TABLE_TABLE_STYLES_NAME "table"
53 #define XML_STYLE_FAMILY_TABLE_TABLE_STYLES_PREFIX "ta"
54 #define XML_STYLE_FAMILY_TABLE_COLUMN 202
55 #define XML_STYLE_FAMILY_TABLE_COLUMN_STYLES_NAME "table-column"
56 #define XML_STYLE_FAMILY_TABLE_COLUMN_STYLES_PREFIX "co"
57 #define XML_STYLE_FAMILY_TABLE_ROW 203
58 #define XML_STYLE_FAMILY_TABLE_ROW_STYLES_NAME "table-row"
59 #define XML_STYLE_FAMILY_TABLE_ROW_STYLES_PREFIX "ro"
60 #define XML_STYLE_FAMILY_TABLE_CELL 204
61 #define XML_STYLE_FAMILY_TABLE_CELL_STYLES_NAME "table-cell"
62 #define XML_STYLE_FAMILY_TABLE_CELL_STYLES_PREFIX "ce"
63 #define XML_STYLE_FAMILY_TABLE_TEMPLATE_ID 205
65 // Impress/Draw
66 // reserved: 300..399
67 #define XML_STYLE_FAMILY_SD_GRAPHICS_ID 300
68 #define XML_STYLE_FAMILY_SD_GRAPHICS_NAME "graphic"
69 #define XML_STYLE_FAMILY_SD_GRAPHICS_PREFIX "gr"
71 #define XML_STYLE_FAMILY_SD_PRESENTATION_ID 301
72 #define XML_STYLE_FAMILY_SD_PRESENTATION_NAME "presentation"
73 #define XML_STYLE_FAMILY_SD_PRESENTATION_PREFIX "pr"
74 // families for derived from SvXMLStyleContext
75 #define XML_STYLE_FAMILY_SD_PAGEMASTERCONEXT_ID 302
76 #define XML_STYLE_FAMILY_SD_PAGEMASTERSTYLECONEXT_ID 306
77 #define XML_STYLE_FAMILY_SD_PRESENTATIONPAGELAYOUT_ID 303
78 // family for draw pool
79 #define XML_STYLE_FAMILY_SD_POOL_ID 304
80 #define XML_STYLE_FAMILY_SD_POOL_NAME "default"
81 // family for presentation drawpage properties
82 #define XML_STYLE_FAMILY_SD_DRAWINGPAGE_ID 305
83 #define XML_STYLE_FAMILY_SD_DRAWINGPAGE_NAME "drawing-page"
84 #define XML_STYLE_FAMILY_SD_DRAWINGPAGE_PREFIX "dp"
86 #define XML_STYLE_FAMILY_SD_GRADIENT_ID 306
87 #define XML_STYLE_FAMILY_SD_HATCH_ID 307
88 #define XML_STYLE_FAMILY_SD_FILL_IMAGE_ID 308
89 #define XML_STYLE_FAMILY_SD_MARKER_ID 309
90 #define XML_STYLE_FAMILY_SD_STROKE_DASH_ID 310
92 // Chart
93 // reserved: 400..499
94 #define XML_STYLE_FAMILY_SCH_CHART_ID 400
95 #define XML_STYLE_FAMILY_SCH_CHART_NAME "chart"
96 #define XML_STYLE_FAMILY_SCH_CHART_PREFIX "ch"
98 // Math
99 // reserved: 500..599
102 // Forms/Controls
103 // reserved 600..649
104 #define XML_STYLE_FAMILY_CONTROL_ID 600
105 #define XML_STYLE_FAMILY_CONTROL_NAME "control"
106 #define XML_STYLE_FAMILY_CONTROL_PREFIX "ctrl"
108 #endif // INCLUDED_XMLOFF_FAMILIES_HXX
110 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */