Branch libreoffice-5-0-4
[LibreOffice.git] / include / xmloff / families.hxx
blob5f88b0f471c4215840f4c5404b0c2939bf3926c8
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_PAGE_MASTER 1
30 #define XML_STYLE_FAMILY_PAGE_MASTER_NAME "page-layout"
31 #define XML_STYLE_FAMILY_PAGE_MASTER_PREFIX "pm"
32 #define XML_STYLE_FAMILY_MASTER_PAGE 2
34 // Text
35 // reserved: 100..199
36 #define XML_STYLE_FAMILY_TEXT_PARAGRAPH 100
37 #define XML_STYLE_FAMILY_TEXT_TEXT 101
38 #define XML_STYLE_FAMILY_TEXT_LIST 102
39 #define XML_STYLE_FAMILY_TEXT_OUTLINE 103
40 #define XML_STYLE_FAMILY_TEXT_FOOTNOTECONFIG 105
41 #define XML_STYLE_FAMILY_TEXT_ENDNOTECONFIG 106
42 #define XML_STYLE_FAMILY_TEXT_SECTION 107
43 #define XML_STYLE_FAMILY_TEXT_FRAME 108 // export only
44 #define XML_STYLE_FAMILY_TEXT_RUBY 109
45 #define XML_STYLE_FAMILY_TEXT_BIBLIOGRAPHYCONFIG 110
46 #define XML_STYLE_FAMILY_TEXT_LINENUMBERINGCONFIG 111
48 // Table
49 // reserved: 200..299
50 #define XML_STYLE_FAMILY_TABLE_TABLE 200
51 #define XML_STYLE_FAMILY_TABLE_TABLE_STYLES_NAME "table"
52 #define XML_STYLE_FAMILY_TABLE_TABLE_STYLES_PREFIX "ta"
53 #define XML_STYLE_FAMILY_TABLE_COLUMN 202
54 #define XML_STYLE_FAMILY_TABLE_COLUMN_STYLES_NAME "table-column"
55 #define XML_STYLE_FAMILY_TABLE_COLUMN_STYLES_PREFIX "co"
56 #define XML_STYLE_FAMILY_TABLE_ROW 203
57 #define XML_STYLE_FAMILY_TABLE_ROW_STYLES_NAME "table-row"
58 #define XML_STYLE_FAMILY_TABLE_ROW_STYLES_PREFIX "ro"
59 #define XML_STYLE_FAMILY_TABLE_CELL 204
60 #define XML_STYLE_FAMILY_TABLE_CELL_STYLES_NAME "table-cell"
61 #define XML_STYLE_FAMILY_TABLE_CELL_STYLES_PREFIX "ce"
62 #define XML_STYLE_FAMILY_TABLE_TEMPLATE_ID 205
64 // Impress/Draw
65 // reserved: 300..399
66 #define XML_STYLE_FAMILY_SD_GRAPHICS_ID 300
67 #define XML_STYLE_FAMILY_SD_GRAPHICS_NAME "graphic"
68 #define XML_STYLE_FAMILY_SD_GRAPHICS_PREFIX "gr"
70 #define XML_STYLE_FAMILY_SD_PRESENTATION_ID 301
71 #define XML_STYLE_FAMILY_SD_PRESENTATION_NAME "presentation"
72 #define XML_STYLE_FAMILY_SD_PRESENTATION_PREFIX "pr"
73 // families for derived from SvXMLStyleContext
74 #define XML_STYLE_FAMILY_SD_PAGEMASTERCONEXT_ID 302
75 #define XML_STYLE_FAMILY_SD_PAGEMASTERSTYLECONEXT_ID 306
76 #define XML_STYLE_FAMILY_SD_PRESENTATIONPAGELAYOUT_ID 303
77 // family for draw pool
78 #define XML_STYLE_FAMILY_SD_POOL_ID 304
79 #define XML_STYLE_FAMILY_SD_POOL_NAME "default"
80 // family for presentation drawpage properties
81 #define XML_STYLE_FAMILY_SD_DRAWINGPAGE_ID 305
82 #define XML_STYLE_FAMILY_SD_DRAWINGPAGE_NAME "drawing-page"
83 #define XML_STYLE_FAMILY_SD_DRAWINGPAGE_PREFIX "dp"
85 #define XML_STYLE_FAMILY_SD_GRADIENT_ID 306
86 #define XML_STYLE_FAMILY_SD_HATCH_ID 307
87 #define XML_STYLE_FAMILY_SD_FILL_IMAGE_ID 308
88 #define XML_STYLE_FAMILY_SD_MARKER_ID 309
89 #define XML_STYLE_FAMILY_SD_STROKE_DASH_ID 310
91 // Chart
92 // reserved: 400..499
93 #define XML_STYLE_FAMILY_SCH_CHART_ID 400
94 #define XML_STYLE_FAMILY_SCH_CHART_NAME "chart"
95 #define XML_STYLE_FAMILY_SCH_CHART_PREFIX "ch"
97 // Math
98 // reserved: 500..599
101 // Forms/Controls
102 // reserved 600..649
103 #define XML_STYLE_FAMILY_CONTROL_ID 600
104 #define XML_STYLE_FAMILY_CONTROL_PREFIX "ctrl"
106 #endif // INCLUDED_XMLOFF_FAMILIES_HXX
108 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */