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 .
20 #ifndef INCLUDED_SVTOOLS_RTFTOKEN_H
21 #define INCLUDED_SVTOOLS_RTFTOKEN_H
27 // suche die TokenID zu dem Token
28 int GetRTFToken( const rtl::OUString
& rSearch
);
30 enum RTF_TOKEN_RANGES
{
35 RTF_TABSTOPDEF
= 0x0500,
38 RTF_SPECCHAR
= 0x0800,
40 RTF_SHADINGDEF
= 0x0A00,
42 RTF_DRAWOBJECTS
= 0x0C00,
44 RTF_NUMBULLETS
= 0x0E00,
46 // !!! kann hinein verodert werden (Border/Background) !!!!
47 RTF_TABLEDEF
= 0x1000,
49 // !!! kann hinein verodert werden (Border/Tab) !!!!
55 RTF_TEXTTOKEN
= RTF_NOGROUP
,
244 RTF_FFEXITMCR
, // Form Fields
270 RTF_DEFTAB
= RTF_DOCFMT
,
380 RTF_TRUNCATEFONTHEIGHT
,
438 RTF_SECTD
= RTF_SECTFMT
,
523 // Swg-Header/Footer-Tokens
524 RTF_HEADER_YB
= (RTF_SECTFMT
|RTF_SWGDEFS
),
537 RTF_PARD
= RTF_PARFMT
,
620 RTF_TX
= RTF_TABSTOPDEF
,
632 // Swg-TabStop-Tokens
633 RTF_TLSWG
= (RTF_TABSTOPDEF
|RTF_SWGDEFS
),
637 RTF_BRDRT
= RTF_BRDRDEF
,
659 RTF_BRDBOX
= (RTF_BRDRDEF
|RTF_SWGDEFS
),
667 RTF_PLAIN
= RTF_CHRFMT
,
765 // association control words
797 RTF_SWG_ESCPROP
= (RTF_CHRFMT
|RTF_SWGDEFS
),
806 RTF_CHDATE
= RTF_SPECCHAR
,
831 RTF_NONBREAKINGSPACE
,
833 RTF_NONBREAKINGHYPHEN
,
850 RTF_ABSW
= RTF_APOCTL
,
886 RTF_FLYPRINT
= (RTF_APOCTL
|RTF_SWGDEFS
),
905 RTF_SHADING
= RTF_SHADINGDEF
,
923 RTF_TROWD
= RTF_TABLEDEF
,
974 RTF_CLBRDRT
= (RTF_BRDRDEF
|RTF_TABLEDEF
),
979 RTF_CLCFPAT
= (RTF_SHADINGDEF
|RTF_TABLEDEF
),
1000 RTF_DO
= RTF_DRAWOBJECTS
,
1113 RTF_OBJALIAS
= RTF_OBJECTS
,
1151 RTF_PN
= RTF_NUMBULLETS
,
1195 RTF_LISTOVERRIDETABLE
,
1202 RTF_LISTOVERRIDECOUNT
,
1208 RTF_LISTOVERRIDESTART
,
1212 RTF_LISTOVERRIDEFORMAT
,
1237 RTF_GRF_ALIGNV
= RTF_SWGDEFS
,
1256 RTF_SHP
, RTF_SN
, RTF_SV
, RTF_SP
1266 #endif // INCLUDED_SVTOOLS_RTFTOKEN_H
1268 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */