LibreOffice Module xmloff (master) 1
families.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
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/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
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 .
18 */
19#ifndef INCLUDED_XMLOFF_FAMILIES_HXX
20#define INCLUDED_XMLOFF_FAMILIES_HXX
21
22#include <rtl/ustring.hxx>
23
28inline constexpr OUStringLiteral XML_STYLE_FAMILY_PAGE_MASTER_NAME = u"page-layout";
29inline constexpr OUStringLiteral XML_STYLE_FAMILY_PAGE_MASTER_PREFIX = u"pm";
30inline constexpr OUStringLiteral XML_STYLE_FAMILY_TABLE_TABLE_STYLES_NAME = u"table";
31inline constexpr OUStringLiteral XML_STYLE_FAMILY_TABLE_TABLE_STYLES_PREFIX = u"ta";
32inline constexpr OUStringLiteral XML_STYLE_FAMILY_TABLE_COLUMN_STYLES_NAME = u"table-column";
33inline constexpr OUStringLiteral XML_STYLE_FAMILY_TABLE_COLUMN_STYLES_PREFIX = u"co";
34inline constexpr OUStringLiteral XML_STYLE_FAMILY_TABLE_ROW_STYLES_NAME = u"table-row";
35inline constexpr OUStringLiteral XML_STYLE_FAMILY_TABLE_ROW_STYLES_PREFIX = u"ro";
36inline constexpr OUStringLiteral XML_STYLE_FAMILY_TABLE_CELL_STYLES_NAME = u"table-cell";
37inline constexpr OUStringLiteral XML_STYLE_FAMILY_TABLE_CELL_STYLES_PREFIX = u"ce";
38inline constexpr OUStringLiteral XML_STYLE_FAMILY_SD_GRAPHICS_NAME = u"graphic";
39inline constexpr OUStringLiteral XML_STYLE_FAMILY_SD_GRAPHICS_PREFIX = u"gr";
40inline constexpr OUStringLiteral XML_STYLE_FAMILY_SD_PRESENTATION_NAME = u"presentation";
41inline constexpr OUStringLiteral XML_STYLE_FAMILY_SD_PRESENTATION_PREFIX = u"pr";
42#define XML_STYLE_FAMILY_SD_POOL_NAME u"default"
43inline constexpr OUStringLiteral XML_STYLE_FAMILY_SD_DRAWINGPAGE_NAME = u"drawing-page";
44inline constexpr OUStringLiteral XML_STYLE_FAMILY_SD_DRAWINGPAGE_PREFIX = u"dp";
45inline constexpr OUStringLiteral XML_STYLE_FAMILY_SCH_CHART_NAME = u"chart";
46inline constexpr OUStringLiteral XML_STYLE_FAMILY_SCH_CHART_PREFIX = u"ch";
47inline constexpr OUStringLiteral XML_STYLE_FAMILY_CONTROL_PREFIX = u"ctrl";
48
50{
51// Misc (Pool)
52// reserved: 0..99
53 DATA_STYLE = 0,
54 PAGE_MASTER = 1,
55 MASTER_PAGE = 2,
56
57// Text
58// reserved: 100..199
59 TEXT_PARAGRAPH = 100,
60 TEXT_TEXT = 101,
61 TEXT_LIST = 102,
62 TEXT_OUTLINE = 103,
65 TEXT_SECTION = 107,
66 TEXT_FRAME = 108, // export only
67 TEXT_RUBY = 109,
70
71// Table
72// reserved: 200..299
73 TABLE_TABLE = 200,
74 TABLE_COLUMN = 202,
75 TABLE_ROW = 203,
76 TABLE_CELL = 204,
78
79// Impress/Draw
80// reserved: 300..399
81 SD_GRAPHICS_ID = 300,
82
84// families for derived from SvXMLStyleContext
88// family for draw pool
89 SD_POOL_ID = 305,
90// family for presentation drawpage properties
92
93 SD_GRADIENT_ID = 307,
94 SD_HATCH_ID = 308,
95 SD_FILL_IMAGE_ID = 309,
96 SD_MARKER_ID = 310,
98
99// Chart
100// reserved: 400..499
101 SCH_CHART_ID = 400,
102
103// Math
104// reserved: 500..599
105
106
107// Forms/Controls
108// reserved 600..649
109 CONTROL_ID = 600,
110
111};
112
113#endif // INCLUDED_XMLOFF_FAMILIES_HXX
114
115/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
float u
constexpr OUStringLiteral XML_STYLE_FAMILY_TABLE_ROW_STYLES_PREFIX
Definition: families.hxx:35
constexpr OUStringLiteral XML_STYLE_FAMILY_TABLE_CELL_STYLES_PREFIX
Definition: families.hxx:37
XmlStyleFamily
Definition: families.hxx:50
@ SD_PAGEMASTERSTYLECONTEXT_ID
@ SD_PRESENTATIONPAGELAYOUT_ID
constexpr OUStringLiteral XML_STYLE_FAMILY_PAGE_MASTER_PREFIX
Definition: families.hxx:29
constexpr OUStringLiteral XML_STYLE_FAMILY_TABLE_COLUMN_STYLES_NAME
Definition: families.hxx:32
constexpr OUStringLiteral XML_STYLE_FAMILY_SD_PRESENTATION_PREFIX
Definition: families.hxx:41
constexpr OUStringLiteral XML_STYLE_FAMILY_SD_DRAWINGPAGE_PREFIX
Definition: families.hxx:44
constexpr OUStringLiteral XML_STYLE_FAMILY_SD_GRAPHICS_NAME
Definition: families.hxx:38
constexpr OUStringLiteral XML_STYLE_FAMILY_SD_GRAPHICS_PREFIX
Definition: families.hxx:39
constexpr OUStringLiteral XML_STYLE_FAMILY_TABLE_COLUMN_STYLES_PREFIX
Definition: families.hxx:33
constexpr OUStringLiteral XML_STYLE_FAMILY_TABLE_TABLE_STYLES_PREFIX
Definition: families.hxx:31
constexpr OUStringLiteral XML_STYLE_FAMILY_SD_DRAWINGPAGE_NAME
Definition: families.hxx:43
constexpr OUStringLiteral XML_STYLE_FAMILY_CONTROL_PREFIX
Definition: families.hxx:47
constexpr OUStringLiteral XML_STYLE_FAMILY_SCH_CHART_PREFIX
Definition: families.hxx:46
constexpr OUStringLiteral XML_STYLE_FAMILY_SCH_CHART_NAME
Definition: families.hxx:45
constexpr OUStringLiteral XML_STYLE_FAMILY_TABLE_ROW_STYLES_NAME
Definition: families.hxx:34
constexpr OUStringLiteral XML_STYLE_FAMILY_TABLE_CELL_STYLES_NAME
Definition: families.hxx:36
constexpr OUStringLiteral XML_STYLE_FAMILY_SD_PRESENTATION_NAME
Definition: families.hxx:40
constexpr OUStringLiteral XML_STYLE_FAMILY_PAGE_MASTER_NAME
These defines determine the unique ids for XML style-families used in the SvXMLAutoStylePoolP.
Definition: families.hxx:28
constexpr OUStringLiteral XML_STYLE_FAMILY_TABLE_TABLE_STYLES_NAME
Definition: families.hxx:30