1 /************************************************************************* 2 * 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * Copyright 2000, 2010 Oracle and/or its affiliates. 6 * 7 * OpenOffice.org - a multi-platform office productivity suite 8 * 9 * This file is part of OpenOffice.org. 10 * 11 * OpenOffice.org is free software: you can redistribute it and/or modify 12 * it under the terms of the GNU Lesser General Public License version 3 13 * only, as published by the Free Software Foundation. 14 * 15 * OpenOffice.org is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU Lesser General Public License version 3 for more details 19 * (a copy is included in the LICENSE file that accompanied this code). 20 * 21 * You should have received a copy of the GNU Lesser General Public License 22 * version 3 along with OpenOffice.org. If not, see 23 * <http://www.openoffice.org/license.html> 24 * for a copy of the LGPLv3 License. 25 * 26 ************************************************************************/ 27 #ifndef _TOXE_HXX 28 #define _TOXE_HXX 29 30 enum SwTOXSearch 31 { 32 TOX_NXT, 33 TOX_PRV, 34 TOX_SAME_NXT, 35 TOX_SAME_PRV 36 }; 37 38 enum SwTOIKeyType 39 { 40 TOI_PRIMARY, 41 TOI_SECONDARY 42 }; 43 44 enum TOXTypes 45 { 46 TOX_INDEX, 47 TOX_USER, 48 TOX_CONTENT, 49 TOX_ILLUSTRATIONS, 50 TOX_OBJECTS, 51 TOX_TABLES, 52 TOX_AUTHORITIES 53 }; 54 // this enum contains all types of sources 55 enum ToxAuthorityType 56 { 57 //BiBTeX - fields 58 AUTH_TYPE_ARTICLE, 59 AUTH_TYPE_BOOK, 60 AUTH_TYPE_BOOKLET, 61 AUTH_TYPE_CONFERENCE, 62 AUTH_TYPE_INBOOK, 63 AUTH_TYPE_INCOLLECTION, 64 AUTH_TYPE_INPROCEEDINGS, 65 AUTH_TYPE_JOURNAL, 66 AUTH_TYPE_MANUAL, 67 AUTH_TYPE_MASTERSTHESIS, 68 AUTH_TYPE_MISC, 69 AUTH_TYPE_PHDTHESIS, 70 AUTH_TYPE_PROCEEDINGS, 71 AUTH_TYPE_TECHREPORT, 72 AUTH_TYPE_UNPUBLISHED, 73 //additional types 74 AUTH_TYPE_EMAIL, 75 AUTH_TYPE_WWW, 76 AUTH_TYPE_CUSTOM1, 77 AUTH_TYPE_CUSTOM2, 78 AUTH_TYPE_CUSTOM3, 79 AUTH_TYPE_CUSTOM4, 80 AUTH_TYPE_CUSTOM5, 81 AUTH_TYPE_END 82 }; 83 84 //this enum contains the fields of an authority entry 85 enum ToxAuthorityField 86 { 87 AUTH_FIELD_IDENTIFIER, 88 AUTH_FIELD_AUTHORITY_TYPE, //ToxAuthorityType 89 //BibTex types 90 AUTH_FIELD_ADDRESS, 91 AUTH_FIELD_ANNOTE, 92 AUTH_FIELD_AUTHOR, 93 AUTH_FIELD_BOOKTITLE, 94 AUTH_FIELD_CHAPTER, 95 AUTH_FIELD_EDITION, 96 AUTH_FIELD_EDITOR, 97 AUTH_FIELD_HOWPUBLISHED, 98 AUTH_FIELD_INSTITUTION, 99 AUTH_FIELD_JOURNAL, 100 // AUTH_FIELD_KEY, // BiBTeX - Field 101 AUTH_FIELD_MONTH, 102 AUTH_FIELD_NOTE, 103 AUTH_FIELD_NUMBER, 104 AUTH_FIELD_ORGANIZATIONS, 105 AUTH_FIELD_PAGES, 106 AUTH_FIELD_PUBLISHER, 107 AUTH_FIELD_SCHOOL, 108 AUTH_FIELD_SERIES, 109 AUTH_FIELD_TITLE, 110 AUTH_FIELD_REPORT_TYPE, 111 AUTH_FIELD_VOLUME, 112 AUTH_FIELD_YEAR, 113 //additional types 114 AUTH_FIELD_URL, 115 AUTH_FIELD_CUSTOM1, 116 AUTH_FIELD_CUSTOM2, 117 AUTH_FIELD_CUSTOM3, 118 AUTH_FIELD_CUSTOM4, 119 AUTH_FIELD_CUSTOM5, 120 AUTH_FIELD_ISBN, 121 AUTH_FIELD_END 122 }; 123 124 125 #endif 126