1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: rtftoken.h,v $
10 * $Revision: 1.13.134.1 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil -*- */
38 // suche die TokenID zu dem Token
39 int GetRTFToken( const String
& rSearch
);
41 enum RTF_TOKEN_RANGES
{
46 RTF_TABSTOPDEF
= 0x0500,
49 RTF_SPECCHAR
= 0x0800,
51 RTF_SHADINGDEF
= 0x0A00,
53 RTF_DRAWOBJECTS
= 0x0C00,
55 RTF_NUMBULLETS
= 0x0E00,
57 // !!! kann hinein verodert werden (Border/Background) !!!!
58 RTF_TABLEDEF
= 0x1000,
60 // !!! kann hinein verodert werden (Border/Tab) !!!!
66 RTF_TEXTTOKEN
= RTF_NOGROUP
,
255 RTF_FFEXITMCR
, // Form Fields
281 RTF_DEFTAB
= RTF_DOCFMT
,
391 RTF_TRUNCATEFONTHEIGHT
,
449 RTF_SECTD
= RTF_SECTFMT
,
534 // Swg-Header/Footer-Tokens
535 RTF_HEADER_YB
= (RTF_SECTFMT
|RTF_SWGDEFS
),
548 RTF_PARD
= RTF_PARFMT
,
631 RTF_TX
= RTF_TABSTOPDEF
,
643 // Swg-TabStop-Tokens
644 RTF_TLSWG
= (RTF_TABSTOPDEF
|RTF_SWGDEFS
),
648 RTF_BRDRT
= RTF_BRDRDEF
,
668 RTF_BRDBOX
= (RTF_BRDRDEF
|RTF_SWGDEFS
),
676 RTF_PLAIN
= RTF_CHRFMT
,
774 // association control words
806 RTF_SWG_ESCPROP
= (RTF_CHRFMT
|RTF_SWGDEFS
),
815 RTF_CHDATE
= RTF_SPECCHAR
,
840 RTF_NONBREAKINGSPACE
,
842 RTF_NONBREAKINGHYPHEN
,
859 RTF_ABSW
= RTF_APOCTL
,
895 RTF_FLYPRINT
= (RTF_APOCTL
|RTF_SWGDEFS
),
914 RTF_SHADING
= RTF_SHADINGDEF
,
932 RTF_TROWD
= RTF_TABLEDEF
,
983 RTF_CLBRDRT
= (RTF_BRDRDEF
|RTF_TABLEDEF
),
988 RTF_CLCFPAT
= (RTF_SHADINGDEF
|RTF_TABLEDEF
),
1009 RTF_DO
= RTF_DRAWOBJECTS
,
1121 RTF_OBJALIAS
= RTF_OBJECTS
,
1159 RTF_PN
= RTF_NUMBULLETS
,
1203 RTF_LISTOVERRIDETABLE
,
1210 RTF_LISTOVERRIDECOUNT
,
1216 RTF_LISTOVERRIDESTART
,
1220 RTF_LISTOVERRIDEFORMAT
,
1245 RTF_GRF_ALIGNV
= RTF_SWGDEFS
,
1264 RTF_SHP
, RTF_SN
, RTF_SV
1274 #endif // _RTFTOKEN_H
1276 /* vi:set tabstop=4 shiftwidth=4 expandtab: */