xref: /aoo4110/main/sw/source/core/inc/txttypes.hxx (revision b1cdbd2c)
1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 #ifndef _TXTTYPES_HXX
24 #define _TXTTYPES_HXX
25 
26 #include "swtypes.hxx"
27 
28 // Ueberpruefte USHORTs, z.B. Indizes auf Arrays oder garantiert kleine
29 // Integerwerte, auch von aussen vorgegebene
30 #define MSHORT sal_uInt16
31 #define MSHRT_MAX USHRT_MAX
32 // Koordinaten: Breite, Hoehe und Offsets in X-/Y-Richtung sowie Ascent etc.
33 #define KSHORT sal_uInt16
34 #define KSHRT_MAX USHRT_MAX
35 
36 // Portiontypen
37 #define POR_LIN			0x0000
38 #define POR_FLYCNT		0x0001
39 
40 #define	POR_HOLE		0x0080
41 #define POR_TMPEND 		0x0081
42 #define POR_BRK 		0x0082
43 #define POR_KERN 		0x0083
44 #define POR_ARROW 		0x0084
45 #define POR_MULTI 		0x0085
46 #define POR_HIDDEN_TXT  0x0086
47 #define POR_CONTROLCHAR 0x0087
48 
49 #define POR_TXT 		0x8000
50 #define POR_LAY 		0x8001
51 #define POR_PARA		0x8002
52 #define POR_URL			0x8003
53 #define POR_HNG 		0x8004
54 #define POR_INPUTFLD	0x8005
55 
56 #define	POR_DROP		0x8080
57 #define POR_TOX 		0x8089
58 #define POR_ISOTOX		0x808a
59 #define POR_REF 		0x808b
60 #define	POR_ISOREF		0x808c
61 #define POR_META        0x808d
62 
63 #define	POR_EXP 		0xc080
64 #define POR_BLANK		0xc081
65 #define POR_POSTITS     0xc082
66 
67 #define POR_HYPH		0xd080
68 #define POR_HYPHSTR 	0xd081
69 #define POR_SOFTHYPH	0xd082
70 #define	POR_SOFTHYPHSTR 0xd083
71 #define POR_SOFTHYPH_COMP 0xd084
72 
73 #define POR_FLD 		0xe080
74 #define POR_HIDDEN		0xe081
75 #define	POR_QUOVADIS	0xe082
76 #define	POR_ERGOSUM 	0xe083
77 #define POR_COMBINED 	0xe084
78 #define POR_FTN         0xe085
79 
80 #define	POR_FTNNUM		0xe880
81 #define POR_NUMBER		0xe881
82 #define POR_BULLET		0xe882
83 #define POR_GRFNUM		0xe883
84 
85 #define POR_GLUE		0x0480
86 
87 #define POR_MARGIN		0x04c0
88 
89 #define POR_FIX 		0x06c0
90 #define POR_FLY 		0x06c1
91 
92 #define	POR_TAB 		0x0750
93 
94 #define	POR_TABRIGHT	0x07d0
95 #define	POR_TABCENTER	0x07d1
96 #define	POR_TABDECIMAL	0x07d2
97 
98 #define POR_TABLEFT 	0x0740
99 
100 #endif	//_TXTTYPES_HXX
101