LibreOffice Module sw (master) 1
txttypes.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
20#pragma once
21
23enum class PortionType
24{
25 NONE = 0x0000,
26 FlyCnt = 0x0001,
27
28 Hole = 0x0080,
29 TempEnd = 0x0081,
30 Break = 0x0082,
31 Kern = 0x0083,
32 Arrow = 0x0084,
33 Multi = 0x0085,
34 HiddenText = 0x0086,
35 ControlChar = 0x0087,
36 Bookmark = 0x0088,
37
38 Text = 0x8000,
39 Lay = 0x8001,
40 Para = 0x8002,
41 Hanging = 0x8004,
42 InputField = 0x8005,
43 FieldMark = 0x8006,
44 FieldFormCheckbox = 0x8007,
45
46 Drop = 0x8080,
47 Tox = 0x8089,
48 IsoTox = 0x808a,
49 Ref = 0x808b,
50 IsoRef = 0x808c,
51 Meta = 0x808d,
52 ContentControl = 0x808e,
53
54 Expand = 0xc080,
55 Blank = 0xc081,
56 PostIts = 0xc082,
57
58 Hyphen = 0xd080,
59 HyphenStr = 0xd081,
60 SoftHyphen = 0xd082,
61 SoftHyphenStr = 0xd083,
62 SoftHyphenComp = 0xd084,
63
64 Field = 0xe080,
65 Hidden = 0xe081,
66 QuoVadis = 0xe082,
67 ErgoSum = 0xe083,
68 Combined = 0xe084,
69 Footnote = 0xe085,
70
71 FootnoteNum = 0xe880,
72 Number = 0xe881,
73 Bullet = 0xe882,
74 GrfNum = 0xe883,
75
76 Glue = 0x0480,
77
78 Margin = 0x04c0,
79
80 Fix = 0x06c0,
81 Fly = 0x06c1,
82
83 // Tabulator, not table
84 Tab = 0x0750,
85
86 TabRight = 0x07d0,
87 TabCenter = 0x07d1,
88 TabDecimal = 0x07d2,
89
90 TabLeft = 0x0740,
91};
92
93namespace sw
94{
95const char* PortionTypeToString(PortionType nType);
96}
97
98/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
NONE
Dialog to specify the properties of date form field.
const char * PortionTypeToString(PortionType nType)
Definition: xmldump.cxx:34
PortionType
Definition: txttypes.hxx:24