merge the formfield patch from ooo-build
[ooovba.git] / dbaccess / source / ui / inc / IClipBoardTest.hxx
blob5bdc334f4a4683a2150c0fab4c9d653ec85c90b3
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: IClipBoardTest.hxx,v $
10 * $Revision: 1.5 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef DBACCESS_TABLEDESIGN_ICLIPBOARDTEST_HXX
31 #define DBACCESS_TABLEDESIGN_ICLIPBOARDTEST_HXX
32 #ifndef _SAL_TYPES_H_
33 #include <sal/types.h>
34 #endif
36 namespace dbaui
38 class SAL_NO_VTABLE IClipboardTest
40 public:
41 virtual sal_Bool isCutAllowed() = 0;
42 virtual sal_Bool isCopyAllowed() = 0;
43 virtual sal_Bool isPasteAllowed() = 0;
45 virtual sal_Bool hasChildPathFocus() = 0;
47 virtual void copy() = 0;
48 virtual void cut() = 0;
49 virtual void paste() = 0;
52 #endif // DBACCESS_TABLEDESIGN_ICLIPBOARDTEST_HXX