Update ooo320-m1
[ooovba.git] / binfilter / inc / bf_sw / toxe.hxx
bloba31d479a4430c6f2e357fd5f41fa7893b1428d10
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.4 $
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 namespace binfilter {//STRIP009
34 enum SwTOXSearch
36 TOX_NXT,
37 TOX_PRV,
38 TOX_SAME_NXT,
39 TOX_SAME_PRV
42 enum SwTOIKeyType
44 TOI_PRIMARY,
45 TOI_SECONDARY
48 enum TOXTypes
50 TOX_INDEX,
51 TOX_USER,
52 TOX_CONTENT,
53 TOX_ILLUSTRATIONS,
54 TOX_OBJECTS,
55 TOX_TABLES,
56 TOX_AUTHORITIES
58 // this enum contains all types of sources
59 enum ToxAuthorityType
61 //BiBTeX - fields
62 AUTH_TYPE_ARTICLE,
63 AUTH_TYPE_BOOK,
64 AUTH_TYPE_BOOKLET,
65 AUTH_TYPE_CONFERENCE,
66 AUTH_TYPE_INBOOK,
67 AUTH_TYPE_INCOLLECTION,
68 AUTH_TYPE_INPROCEEDINGS,
69 AUTH_TYPE_JOURNAL,
70 AUTH_TYPE_MANUAL,
71 AUTH_TYPE_MASTERSTHESIS,
72 AUTH_TYPE_MISC,
73 AUTH_TYPE_PHDTHESIS,
74 AUTH_TYPE_PROCEEDINGS,
75 AUTH_TYPE_TECHREPORT,
76 AUTH_TYPE_UNPUBLISHED,
77 //additional types
78 AUTH_TYPE_EMAIL,
79 AUTH_TYPE_WWW,
80 AUTH_TYPE_CUSTOM1,
81 AUTH_TYPE_CUSTOM2,
82 AUTH_TYPE_CUSTOM3,
83 AUTH_TYPE_CUSTOM4,
84 AUTH_TYPE_CUSTOM5,
85 AUTH_TYPE_END
88 //this enum contains the fields of an authority entry
89 enum ToxAuthorityField
91 AUTH_FIELD_IDENTIFIER,
92 AUTH_FIELD_AUTHORITY_TYPE, //ToxAuthorityType
93 //BibTex types
94 AUTH_FIELD_ADDRESS,
95 AUTH_FIELD_ANNOTE,
96 AUTH_FIELD_AUTHOR,
97 AUTH_FIELD_BOOKTITLE,
98 AUTH_FIELD_CHAPTER,
99 AUTH_FIELD_EDITION,
100 AUTH_FIELD_EDITOR,
101 AUTH_FIELD_HOWPUBLISHED,
102 AUTH_FIELD_INSTITUTION,
103 AUTH_FIELD_JOURNAL,
104 // AUTH_FIELD_KEY, // BiBTeX - Field
105 AUTH_FIELD_MONTH,
106 AUTH_FIELD_NOTE,
107 AUTH_FIELD_NUMBER,
108 AUTH_FIELD_ORGANIZATIONS,
109 AUTH_FIELD_PAGES,
110 AUTH_FIELD_PUBLISHER,
111 AUTH_FIELD_SCHOOL,
112 AUTH_FIELD_SERIES,
113 AUTH_FIELD_TITLE,
114 AUTH_FIELD_REPORT_TYPE,
115 AUTH_FIELD_VOLUME,
116 AUTH_FIELD_YEAR,
117 //additional types
118 AUTH_FIELD_URL,
119 AUTH_FIELD_CUSTOM1,
120 AUTH_FIELD_CUSTOM2,
121 AUTH_FIELD_CUSTOM3,
122 AUTH_FIELD_CUSTOM4,
123 AUTH_FIELD_CUSTOM5,
124 AUTH_FIELD_ISBN,
125 AUTH_FIELD_END
127 } //namespace binfilter
129 #endif