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 /** These defines determine the unique ids for XML style-families
23 used in the SvXMLAutoStylePoolP.
26 #define XML_STYLE_FAMILY_PAGE_MASTER_NAME "page-layout"
27 #define XML_STYLE_FAMILY_PAGE_MASTER_PREFIX "pm"
28 #define XML_STYLE_FAMILY_TABLE_TABLE_STYLES_NAME "table"
29 #define XML_STYLE_FAMILY_TABLE_TABLE_STYLES_PREFIX "ta"
30 #define XML_STYLE_FAMILY_TABLE_COLUMN_STYLES_NAME "table-column"
31 #define XML_STYLE_FAMILY_TABLE_COLUMN_STYLES_PREFIX "co"
32 #define XML_STYLE_FAMILY_TABLE_ROW_STYLES_NAME "table-row"
33 #define XML_STYLE_FAMILY_TABLE_ROW_STYLES_PREFIX "ro"
34 #define XML_STYLE_FAMILY_TABLE_CELL_STYLES_NAME "table-cell"
35 #define XML_STYLE_FAMILY_TABLE_CELL_STYLES_PREFIX "ce"
36 #define XML_STYLE_FAMILY_SD_GRAPHICS_NAME "graphic"
37 #define XML_STYLE_FAMILY_SD_GRAPHICS_PREFIX "gr"
38 #define XML_STYLE_FAMILY_SD_PRESENTATION_NAME "presentation"
39 #define XML_STYLE_FAMILY_SD_PRESENTATION_PREFIX "pr"
40 #define XML_STYLE_FAMILY_SD_POOL_NAME "default"
41 #define XML_STYLE_FAMILY_SD_DRAWINGPAGE_NAME "drawing-page"
42 #define XML_STYLE_FAMILY_SD_DRAWINGPAGE_PREFIX "dp"
43 #define XML_STYLE_FAMILY_SCH_CHART_NAME "chart"
44 #define XML_STYLE_FAMILY_SCH_CHART_PREFIX "ch"
45 #define XML_STYLE_FAMILY_CONTROL_PREFIX "ctrl"
47 enum class XmlStyleFamily
61 TEXT_FOOTNOTECONFIG
= 105,
62 TEXT_ENDNOTECONFIG
= 106,
64 TEXT_FRAME
= 108, // export only
66 TEXT_BIBLIOGRAPHYCONFIG
= 110,
67 TEXT_LINENUMBERINGCONFIG
= 111,
75 TABLE_TEMPLATE_ID
= 205,
81 SD_PRESENTATION_ID
= 301,
82 // families for derived from SvXMLStyleContext
83 SD_PAGEMASTERCONTEXT_ID
= 302,
84 SD_PAGEMASTERSTYLECONTEXT_ID
= 306,
85 SD_PRESENTATIONPAGELAYOUT_ID
= 303,
86 // family for draw pool
88 // family for presentation drawpage properties
89 SD_DRAWINGPAGE_ID
= 305,
93 SD_FILL_IMAGE_ID
= 308,
95 SD_STROKE_DASH_ID
= 310,
102 // reserved: 500..599
111 #endif // INCLUDED_XMLOFF_FAMILIES_HXX
113 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */