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 .
25 // suche die TokenID zu dem Token
26 int GetRTFToken( const String
& rSearch
);
28 enum RTF_TOKEN_RANGES
{
33 RTF_TABSTOPDEF
= 0x0500,
36 RTF_SPECCHAR
= 0x0800,
38 RTF_SHADINGDEF
= 0x0A00,
40 RTF_DRAWOBJECTS
= 0x0C00,
42 RTF_NUMBULLETS
= 0x0E00,
44 // !!! kann hinein verodert werden (Border/Background) !!!!
45 RTF_TABLEDEF
= 0x1000,
47 // !!! kann hinein verodert werden (Border/Tab) !!!!
53 RTF_TEXTTOKEN
= RTF_NOGROUP
,
242 RTF_FFEXITMCR
, // Form Fields
268 RTF_DEFTAB
= RTF_DOCFMT
,
378 RTF_TRUNCATEFONTHEIGHT
,
436 RTF_SECTD
= RTF_SECTFMT
,
521 // Swg-Header/Footer-Tokens
522 RTF_HEADER_YB
= (RTF_SECTFMT
|RTF_SWGDEFS
),
535 RTF_PARD
= RTF_PARFMT
,
618 RTF_TX
= RTF_TABSTOPDEF
,
630 // Swg-TabStop-Tokens
631 RTF_TLSWG
= (RTF_TABSTOPDEF
|RTF_SWGDEFS
),
635 RTF_BRDRT
= RTF_BRDRDEF
,
657 RTF_BRDBOX
= (RTF_BRDRDEF
|RTF_SWGDEFS
),
665 RTF_PLAIN
= RTF_CHRFMT
,
763 // association control words
795 RTF_SWG_ESCPROP
= (RTF_CHRFMT
|RTF_SWGDEFS
),
804 RTF_CHDATE
= RTF_SPECCHAR
,
829 RTF_NONBREAKINGSPACE
,
831 RTF_NONBREAKINGHYPHEN
,
848 RTF_ABSW
= RTF_APOCTL
,
884 RTF_FLYPRINT
= (RTF_APOCTL
|RTF_SWGDEFS
),
903 RTF_SHADING
= RTF_SHADINGDEF
,
921 RTF_TROWD
= RTF_TABLEDEF
,
972 RTF_CLBRDRT
= (RTF_BRDRDEF
|RTF_TABLEDEF
),
977 RTF_CLCFPAT
= (RTF_SHADINGDEF
|RTF_TABLEDEF
),
998 RTF_DO
= RTF_DRAWOBJECTS
,
1110 RTF_OBJALIAS
= RTF_OBJECTS
,
1148 RTF_PN
= RTF_NUMBULLETS
,
1192 RTF_LISTOVERRIDETABLE
,
1199 RTF_LISTOVERRIDECOUNT
,
1205 RTF_LISTOVERRIDESTART
,
1209 RTF_LISTOVERRIDEFORMAT
,
1234 RTF_GRF_ALIGNV
= RTF_SWGDEFS
,
1253 RTF_SHP
, RTF_SN
, RTF_SV
, RTF_SP
1263 #endif // _RTFTOKEN_H
1265 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */