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 OUStringLiteral XML_STYLE_FAMILY_PAGE_MASTER_NAME
= u
"page-layout";
29 inline constexpr OUStringLiteral XML_STYLE_FAMILY_PAGE_MASTER_PREFIX
= u
"pm";
30 inline constexpr OUStringLiteral XML_STYLE_FAMILY_TABLE_TABLE_STYLES_NAME
= u
"table";
31 inline constexpr OUStringLiteral XML_STYLE_FAMILY_TABLE_TABLE_STYLES_PREFIX
= u
"ta";
32 inline constexpr OUStringLiteral XML_STYLE_FAMILY_TABLE_COLUMN_STYLES_NAME
= u
"table-column";
33 inline constexpr OUStringLiteral XML_STYLE_FAMILY_TABLE_COLUMN_STYLES_PREFIX
= u
"co";
34 inline constexpr OUStringLiteral XML_STYLE_FAMILY_TABLE_ROW_STYLES_NAME
= u
"table-row";
35 inline constexpr OUStringLiteral XML_STYLE_FAMILY_TABLE_ROW_STYLES_PREFIX
= u
"ro";
36 inline constexpr OUStringLiteral XML_STYLE_FAMILY_TABLE_CELL_STYLES_NAME
= u
"table-cell";
37 inline constexpr OUStringLiteral XML_STYLE_FAMILY_TABLE_CELL_STYLES_PREFIX
= u
"ce";
38 inline constexpr OUStringLiteral XML_STYLE_FAMILY_SD_GRAPHICS_NAME
= u
"graphic";
39 inline constexpr OUStringLiteral XML_STYLE_FAMILY_SD_GRAPHICS_PREFIX
= u
"gr";
40 inline constexpr OUStringLiteral XML_STYLE_FAMILY_SD_PRESENTATION_NAME
= u
"presentation";
41 inline constexpr OUStringLiteral XML_STYLE_FAMILY_SD_PRESENTATION_PREFIX
= u
"pr";
42 #define XML_STYLE_FAMILY_SD_POOL_NAME u"default"
43 inline constexpr OUStringLiteral XML_STYLE_FAMILY_SD_DRAWINGPAGE_NAME
= u
"drawing-page";
44 inline constexpr OUStringLiteral XML_STYLE_FAMILY_SD_DRAWINGPAGE_PREFIX
= u
"dp";
45 inline constexpr OUStringLiteral XML_STYLE_FAMILY_SCH_CHART_NAME
= u
"chart";
46 inline constexpr OUStringLiteral XML_STYLE_FAMILY_SCH_CHART_PREFIX
= u
"ch";
47 inline constexpr OUStringLiteral XML_STYLE_FAMILY_CONTROL_PREFIX
= u
"ctrl";
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: */