Gtk-WARNING gtktreestore.c:1047: Invalid column number 1 added to iter
[LibreOffice.git] / dbaccess / source / ui / inc / AppElementType.hxx
blobb7265e5af6634f3281984c614eaede2c5db14c48
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 #pragma once
21 #include <com/sun/star/sdb/application/DatabaseObject.hpp>
23 namespace dbaui
26 enum ElementType
28 E_TABLE = css::sdb::application::DatabaseObject::TABLE,
29 E_QUERY = css::sdb::application::DatabaseObject::QUERY,
30 E_FORM = css::sdb::application::DatabaseObject::FORM,
31 E_REPORT = css::sdb::application::DatabaseObject::REPORT,
33 E_NONE = 4,
34 E_ELEMENT_TYPE_COUNT = E_NONE
37 enum class PreviewMode
39 NONE = 0,
40 Document = 1,
41 DocumentInfo = 2
44 enum class ElementOpenMode
46 Normal,
47 Design,
48 Mail
51 } // namespace dbaui
53 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */