merge the formfield patch from ooo-build
[ooovba.git] / sw / inc / toxe.hxx
blob4ce53ba17cc6ae21463d87fd27a4f17c342deacf
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: toxe.hxx,v $
10 * $Revision: 1.3 $
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 ************************************************************************/
30 #ifndef _TOXE_HXX
31 #define _TOXE_HXX
33 enum SwTOXSearch
35 TOX_NXT,
36 TOX_PRV,
37 TOX_SAME_NXT,
38 TOX_SAME_PRV
41 enum SwTOIKeyType
43 TOI_PRIMARY,
44 TOI_SECONDARY
47 enum TOXTypes
49 TOX_INDEX,
50 TOX_USER,
51 TOX_CONTENT,
52 TOX_ILLUSTRATIONS,
53 TOX_OBJECTS,
54 TOX_TABLES,
55 TOX_AUTHORITIES
57 // this enum contains all types of sources
58 enum ToxAuthorityType
60 //BiBTeX - fields
61 AUTH_TYPE_ARTICLE,
62 AUTH_TYPE_BOOK,
63 AUTH_TYPE_BOOKLET,
64 AUTH_TYPE_CONFERENCE,
65 AUTH_TYPE_INBOOK,
66 AUTH_TYPE_INCOLLECTION,
67 AUTH_TYPE_INPROCEEDINGS,
68 AUTH_TYPE_JOURNAL,
69 AUTH_TYPE_MANUAL,
70 AUTH_TYPE_MASTERSTHESIS,
71 AUTH_TYPE_MISC,
72 AUTH_TYPE_PHDTHESIS,
73 AUTH_TYPE_PROCEEDINGS,
74 AUTH_TYPE_TECHREPORT,
75 AUTH_TYPE_UNPUBLISHED,
76 //additional types
77 AUTH_TYPE_EMAIL,
78 AUTH_TYPE_WWW,
79 AUTH_TYPE_CUSTOM1,
80 AUTH_TYPE_CUSTOM2,
81 AUTH_TYPE_CUSTOM3,
82 AUTH_TYPE_CUSTOM4,
83 AUTH_TYPE_CUSTOM5,
84 AUTH_TYPE_END
87 //this enum contains the fields of an authority entry
88 enum ToxAuthorityField
90 AUTH_FIELD_IDENTIFIER,
91 AUTH_FIELD_AUTHORITY_TYPE, //ToxAuthorityType
92 //BibTex types
93 AUTH_FIELD_ADDRESS,
94 AUTH_FIELD_ANNOTE,
95 AUTH_FIELD_AUTHOR,
96 AUTH_FIELD_BOOKTITLE,
97 AUTH_FIELD_CHAPTER,
98 AUTH_FIELD_EDITION,
99 AUTH_FIELD_EDITOR,
100 AUTH_FIELD_HOWPUBLISHED,
101 AUTH_FIELD_INSTITUTION,
102 AUTH_FIELD_JOURNAL,
103 // AUTH_FIELD_KEY, // BiBTeX - Field
104 AUTH_FIELD_MONTH,
105 AUTH_FIELD_NOTE,
106 AUTH_FIELD_NUMBER,
107 AUTH_FIELD_ORGANIZATIONS,
108 AUTH_FIELD_PAGES,
109 AUTH_FIELD_PUBLISHER,
110 AUTH_FIELD_SCHOOL,
111 AUTH_FIELD_SERIES,
112 AUTH_FIELD_TITLE,
113 AUTH_FIELD_REPORT_TYPE,
114 AUTH_FIELD_VOLUME,
115 AUTH_FIELD_YEAR,
116 //additional types
117 AUTH_FIELD_URL,
118 AUTH_FIELD_CUSTOM1,
119 AUTH_FIELD_CUSTOM2,
120 AUTH_FIELD_CUSTOM3,
121 AUTH_FIELD_CUSTOM4,
122 AUTH_FIELD_CUSTOM5,
123 AUTH_FIELD_ISBN,
124 AUTH_FIELD_END
128 #endif