lok: Hide file linking in section
[LibreOffice.git] / sw / inc / toxe.hxx
blob417cc10cbebdefdc6c153a42de8241ecf7cb37f8
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef INCLUDED_SW_INC_TOXE_HXX
20 #define INCLUDED_SW_INC_TOXE_HXX
22 enum SwTOXSearch
24 TOX_NXT,
25 TOX_PRV,
26 TOX_SAME_NXT,
27 TOX_SAME_PRV
30 enum SwTOIKeyType
32 TOI_PRIMARY,
33 TOI_SECONDARY
36 // Somewhat redundantly fix TOXType's underlying type to int, so that
37 // SwTOXEntryTabPage (sw/source/ui/index/cnttab.cxx) can initialize
38 // aLastTOXType.eType to (TOXTypes)USHRT_MAX without causing -fsanitize=enum:
39 enum TOXTypes: int
41 TOX_INDEX,
42 TOX_USER,
43 TOX_CONTENT,
44 TOX_ILLUSTRATIONS,
45 TOX_OBJECTS,
46 TOX_TABLES,
47 TOX_AUTHORITIES,
48 TOX_BIBLIOGRAPHY,
49 TOX_CITATION
51 // this enum contains all types of sources
52 enum ToxAuthorityType
54 //BiBTeX - fields
55 AUTH_TYPE_ARTICLE,
56 AUTH_TYPE_BOOK,
57 AUTH_TYPE_BOOKLET,
58 AUTH_TYPE_CONFERENCE,
59 AUTH_TYPE_INBOOK,
60 AUTH_TYPE_INCOLLECTION,
61 AUTH_TYPE_INPROCEEDINGS,
62 AUTH_TYPE_JOURNAL,
63 AUTH_TYPE_MANUAL,
64 AUTH_TYPE_MASTERSTHESIS,
65 AUTH_TYPE_MISC,
66 AUTH_TYPE_PHDTHESIS,
67 AUTH_TYPE_PROCEEDINGS,
68 AUTH_TYPE_TECHREPORT,
69 AUTH_TYPE_UNPUBLISHED,
70 //additional types
71 AUTH_TYPE_EMAIL,
72 AUTH_TYPE_WWW,
73 AUTH_TYPE_CUSTOM1,
74 AUTH_TYPE_CUSTOM2,
75 AUTH_TYPE_CUSTOM3,
76 AUTH_TYPE_CUSTOM4,
77 AUTH_TYPE_CUSTOM5,
78 AUTH_TYPE_END
81 //this enum contains the fields of an authority entry
82 enum ToxAuthorityField
84 AUTH_FIELD_IDENTIFIER,
85 AUTH_FIELD_AUTHORITY_TYPE, //ToxAuthorityType
86 //BibTex types
87 AUTH_FIELD_ADDRESS,
88 AUTH_FIELD_ANNOTE,
89 AUTH_FIELD_AUTHOR,
90 AUTH_FIELD_BOOKTITLE,
91 AUTH_FIELD_CHAPTER,
92 AUTH_FIELD_EDITION,
93 AUTH_FIELD_EDITOR,
94 AUTH_FIELD_HOWPUBLISHED,
95 AUTH_FIELD_INSTITUTION,
96 AUTH_FIELD_JOURNAL,
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
120 #endif
122 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */