tdf#130857 qt weld: Implement QtInstanceWidget::get_text_height
[LibreOffice.git] / ucb / source / ucp / file / filerror.hxx
blob38b32fec19590efd17624a8a7681bbacf5837d71
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 .
20 #pragma once
22 enum class TaskHandlerErr {
24 // Error codes used to deliver the resulting exceptions
26 NO_ERROR ,
27 UNSUPPORTED_COMMAND ,
28 WRONG_SETPROPERTYVALUES_ARGUMENT ,
29 WRONG_GETPROPERTYVALUES_ARGUMENT ,
30 WRONG_OPEN_ARGUMENT ,
31 WRONG_DELETE_ARGUMENT ,
32 WRONG_TRANSFER_ARGUMENT ,
33 WRONG_INSERT_ARGUMENT ,
34 WRONG_CREATENEWCONTENT_ARGUMENT ,
35 UNSUPPORTED_OPEN_MODE ,
37 DELETED_STATE_IN_OPEN_COMMAND ,
38 INSERTED_STATE_IN_OPEN_COMMAND ,
40 OPEN_FILE_FOR_PAGING ,
41 NOTCONNECTED_FOR_PAGING ,
42 BUFFERSIZEEXCEEDED_FOR_PAGING ,
43 IOEXCEPTION_FOR_PAGING ,
44 READING_FILE_FOR_PAGING ,
46 OPEN_FOR_INPUTSTREAM ,
47 OPEN_FOR_STREAM ,
48 OPEN_FOR_DIRECTORYLISTING ,
50 NOFRESHINSERT_IN_INSERT_COMMAND ,
51 NONAMESET_INSERT_COMMAND ,
52 NOCONTENTTYPE_INSERT_COMMAND ,
54 NO_OPEN_FILE_FOR_OVERWRITE ,
55 NO_OPEN_FILE_FOR_WRITE ,
56 NOTCONNECTED_FOR_WRITE ,
57 BUFFERSIZEEXCEEDED_FOR_WRITE ,
58 IOEXCEPTION_FOR_WRITE ,
59 FILEIOERROR_FOR_WRITE ,
60 FILEIOERROR_FOR_NO_SPACE ,
61 FILESIZE_FOR_WRITE ,
62 INPUTSTREAM_FOR_WRITE ,
63 NOREPLACE_FOR_WRITE ,
64 ENSUREDIR_FOR_WRITE ,
66 FOLDER_EXISTS_MKDIR ,
67 INVALID_NAME_MKDIR ,
68 CREATEDIRECTORY_MKDIR ,
70 NOSUCHFILEORDIR_FOR_REMOVE ,
71 VALIDFILESTATUS_FOR_REMOVE ,
72 OPENDIRECTORY_FOR_REMOVE ,
73 DELETEFILE_FOR_REMOVE ,
74 DELETEDIRECTORY_FOR_REMOVE ,
75 FILETYPE_FOR_REMOVE ,
76 VALIDFILESTATUSWHILE_FOR_REMOVE ,
77 DIRECTORYEXHAUSTED_FOR_REMOVE ,
79 TRANSFER_INVALIDSCHEME ,
80 TRANSFER_INVALIDURL ,
81 TRANSFER_DESTFILETYPE ,
82 TRANSFER_BY_MOVE_SOURCE ,
83 TRANSFER_BY_MOVE_SOURCESTAT ,
84 KEEPERROR_FOR_MOVE ,
85 NAMECLASH_FOR_MOVE ,
86 NAMECLASHMOVE_FOR_MOVE ,
87 NAMECLASHSUPPORT_FOR_MOVE ,
88 OVERWRITE_FOR_MOVE ,
89 RENAME_FOR_MOVE ,
90 RENAMEMOVE_FOR_MOVE ,
92 TRANSFER_BY_COPY_SOURCE ,
93 TRANSFER_BY_COPY_SOURCESTAT ,
94 KEEPERROR_FOR_COPY ,
95 OVERWRITE_FOR_COPY ,
96 RENAME_FOR_COPY ,
97 RENAMEMOVE_FOR_COPY ,
98 NAMECLASH_FOR_COPY ,
99 NAMECLASHMOVE_FOR_COPY ,
100 NAMECLASHSUPPORT_FOR_COPY ,
104 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */