1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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 #include <rtl/ustring.hxx>
24 /** These defines determine the unique ids for XML style-families
25 used in the SvXMLAutoStylePoolP.
28 inline constexpr OUString XML_STYLE_FAMILY_PAGE_MASTER_NAME
= u
"page-layout"_ustr
;
29 inline constexpr OUString XML_STYLE_FAMILY_PAGE_MASTER_PREFIX
= u
"pm"_ustr
;
30 inline constexpr OUString XML_STYLE_FAMILY_TABLE_TABLE_STYLES_NAME
= u
"table"_ustr
;
31 inline constexpr OUString XML_STYLE_FAMILY_TABLE_TABLE_STYLES_PREFIX
= u
"ta"_ustr
;
32 inline constexpr OUString XML_STYLE_FAMILY_TABLE_COLUMN_STYLES_NAME
= u
"table-column"_ustr
;
33 inline constexpr OUString XML_STYLE_FAMILY_TABLE_COLUMN_STYLES_PREFIX
= u
"co"_ustr
;
34 inline constexpr OUString XML_STYLE_FAMILY_TABLE_ROW_STYLES_NAME
= u
"table-row"_ustr
;
35 inline constexpr OUString XML_STYLE_FAMILY_TABLE_ROW_STYLES_PREFIX
= u
"ro"_ustr
;
36 inline constexpr OUString XML_STYLE_FAMILY_TABLE_CELL_STYLES_NAME
= u
"table-cell"_ustr
;
37 inline constexpr OUString XML_STYLE_FAMILY_TABLE_CELL_STYLES_PREFIX
= u
"ce"_ustr
;
38 inline constexpr OUString XML_STYLE_FAMILY_SD_GRAPHICS_NAME
= u
"graphic"_ustr
;
39 inline constexpr OUString XML_STYLE_FAMILY_SD_GRAPHICS_PREFIX
= u
"gr"_ustr
;
40 inline constexpr OUString XML_STYLE_FAMILY_SD_PRESENTATION_NAME
= u
"presentation"_ustr
;
41 inline constexpr OUString XML_STYLE_FAMILY_SD_PRESENTATION_PREFIX
= u
"pr"_ustr
;
42 #define XML_STYLE_FAMILY_SD_POOL_NAME u"default"
43 inline constexpr OUString XML_STYLE_FAMILY_SD_DRAWINGPAGE_NAME
= u
"drawing-page"_ustr
;
44 inline constexpr OUString XML_STYLE_FAMILY_SD_DRAWINGPAGE_PREFIX
= u
"dp"_ustr
;
45 inline constexpr OUString XML_STYLE_FAMILY_SCH_CHART_NAME
= u
"chart"_ustr
;
46 inline constexpr OUString XML_STYLE_FAMILY_SCH_CHART_PREFIX
= u
"ch"_ustr
;
47 inline constexpr OUString XML_STYLE_FAMILY_CONTROL_PREFIX
= u
"ctrl"_ustr
;
49 enum class XmlStyleFamily
63 TEXT_FOOTNOTECONFIG
= 105,
64 TEXT_ENDNOTECONFIG
= 106,
66 TEXT_FRAME
= 108, // export only
68 TEXT_BIBLIOGRAPHYCONFIG
= 110,
69 TEXT_LINENUMBERINGCONFIG
= 111,
77 TABLE_TEMPLATE_ID
= 205,
83 SD_PRESENTATION_ID
= 301,
84 // families for derived from SvXMLStyleContext
85 SD_PAGEMASTERCONTEXT_ID
= 302,
86 SD_PAGEMASTERSTYLECONTEXT_ID
= 303,
87 SD_PRESENTATIONPAGELAYOUT_ID
= 304,
88 // family for draw pool
90 // family for presentation drawpage properties
91 SD_DRAWINGPAGE_ID
= 306,
95 SD_FILL_IMAGE_ID
= 309,
97 SD_STROKE_DASH_ID
= 311,
100 // reserved: 400..499
104 // reserved: 500..599
113 #endif // INCLUDED_XMLOFF_FAMILIES_HXX
115 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */