merge the formfield patch from ooo-build
[ooovba.git] / offapi / com / sun / star / document / UpdateDocMode.idl
blobe8d7a5ea4fb7e31bc5d4db22c29d0354bdd8b806
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: UpdateDocMode.idl,v $
10 * $Revision: 1.8 $
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 ************************************************************************/
31 #ifndef __com_sun_star_document_UpdateDocMode_idl__
32 #define __com_sun_star_document_UpdateDocMode_idl__
34 //=============================================================================
36 module com { module sun { module star { module document {
38 //=============================================================================
39 /** Specify the way a document can be updated.
41 @since OOo 1.1.2
43 published constants UpdateDocMode
45 //-------------------------------------------------------------------------
46 /** Do not update document.
49 const short NO_UPDATE = 0;
51 //-------------------------------------------------------------------------
52 /** Update document if it does not require a dialog.
53 Otherwise do not update. For example a link to a database
54 can require a dialog to get password for an update.
57 const short QUIET_UPDATE = 1;
59 //-------------------------------------------------------------------------
60 /** Produce update according to configuration settings.
61 If there are no settings use dialog.
64 const short ACCORDING_TO_CONFIG = 2;
66 //-------------------------------------------------------------------------
67 /** Update document even if it does require a dialog.
70 const short FULL_UPDATE = 3;
74 //=============================================================================
76 }; }; }; };
78 #endif