xref: /aoo4110/main/sw/inc/toxe.hxx (revision b1cdbd2c)
1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 #ifndef _TOXE_HXX
24 #define _TOXE_HXX
25 
26 enum SwTOXSearch
27 {
28 	TOX_NXT,
29 	TOX_PRV,
30 	TOX_SAME_NXT,
31 	TOX_SAME_PRV
32 };
33 
34 enum SwTOIKeyType
35 {
36 	TOI_PRIMARY,
37 	TOI_SECONDARY
38 };
39 
40 enum TOXTypes
41 {
42 	TOX_INDEX,
43 	TOX_USER,
44 	TOX_CONTENT,
45 	TOX_ILLUSTRATIONS,
46 	TOX_OBJECTS,
47 	TOX_TABLES,
48 	TOX_AUTHORITIES
49 };
50 // this enum contains all types of sources
51 enum ToxAuthorityType
52 {
53 	//BiBTeX - fields
54 	AUTH_TYPE_ARTICLE,
55 	AUTH_TYPE_BOOK,
56 	AUTH_TYPE_BOOKLET,
57 	AUTH_TYPE_CONFERENCE,
58 	AUTH_TYPE_INBOOK,
59 	AUTH_TYPE_INCOLLECTION,
60 	AUTH_TYPE_INPROCEEDINGS,
61 	AUTH_TYPE_JOURNAL,
62 	AUTH_TYPE_MANUAL,
63 	AUTH_TYPE_MASTERSTHESIS,
64 	AUTH_TYPE_MISC,
65 	AUTH_TYPE_PHDTHESIS,
66 	AUTH_TYPE_PROCEEDINGS,
67 	AUTH_TYPE_TECHREPORT,
68 	AUTH_TYPE_UNPUBLISHED,
69 	//additional types
70 	AUTH_TYPE_EMAIL,
71 	AUTH_TYPE_WWW,
72 	AUTH_TYPE_CUSTOM1,
73 	AUTH_TYPE_CUSTOM2,
74 	AUTH_TYPE_CUSTOM3,
75 	AUTH_TYPE_CUSTOM4,
76 	AUTH_TYPE_CUSTOM5,
77 	AUTH_TYPE_END
78 };
79 
80 //this enum contains the fields of an authority entry
81 enum ToxAuthorityField
82 {
83 	AUTH_FIELD_IDENTIFIER,
84 	AUTH_FIELD_AUTHORITY_TYPE, //ToxAuthorityType
85 	//BibTex types
86 	AUTH_FIELD_ADDRESS,
87 	AUTH_FIELD_ANNOTE,
88 	AUTH_FIELD_AUTHOR,
89 	AUTH_FIELD_BOOKTITLE,
90 	AUTH_FIELD_CHAPTER,
91 	AUTH_FIELD_EDITION,
92 	AUTH_FIELD_EDITOR,
93 	AUTH_FIELD_HOWPUBLISHED,
94 	AUTH_FIELD_INSTITUTION,
95 	AUTH_FIELD_JOURNAL,
96 //	AUTH_FIELD_KEY, // BiBTeX - Field
97 	AUTH_FIELD_MONTH,
98 	AUTH_FIELD_NOTE,
99 	AUTH_FIELD_NUMBER,
100 	AUTH_FIELD_ORGANIZATIONS,
101 	AUTH_FIELD_PAGES,
102 	AUTH_FIELD_PUBLISHER,
103 	AUTH_FIELD_SCHOOL,
104 	AUTH_FIELD_SERIES,
105 	AUTH_FIELD_TITLE,
106 	AUTH_FIELD_REPORT_TYPE,
107 	AUTH_FIELD_VOLUME,
108 	AUTH_FIELD_YEAR,
109 	//additional types
110 	AUTH_FIELD_URL,
111 	AUTH_FIELD_CUSTOM1,
112 	AUTH_FIELD_CUSTOM2,
113 	AUTH_FIELD_CUSTOM3,
114 	AUTH_FIELD_CUSTOM4,
115 	AUTH_FIELD_CUSTOM5,
116 	AUTH_FIELD_ISBN,
117 	AUTH_FIELD_END
118 };
119 
120 
121 #endif
122