1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23
24#include <com/sun/star/task/ClassifiedInteractionRequest.idl>
25
26#ifndef __com_sun_star_task_FutureDocumentVersionProductUpdateRequest_idl__
27#define __com_sun_star_task_FutureDocumentVersionProductUpdateRequest_idl__
28
29//=============================================================================
30
31module com { module sun { module star { module task {
32
33//=============================================================================
34
35/** describes a request to the user to update OpenOffice.org to a newer version, since
36    an ODF document was encountered which conforms to an ODF version unknown to the
37    current OpenOffice.org version.
38
39    <p>An interaction request of this type usually comes with an <type>XInteractionApprove</type>,
40    and <type>XInteractionDisapprove</type>, and <type>XInteractionAskLater</type> continuation.</p>
41 */
42exception FutureDocumentVersionProductUpdateRequest : ClassifiedInteractionRequest
43{
44    /// specifies the URL of the document which conforms to a future ODF version
45    string DocumentURL;
46
47    /** the ODF version which the document conforms to
48
49        <p>If the request was not issued because of a too-new ODF version of the document, but because
50        the application detected by other means that the document was too-new, then <code>DocumentODFVersion</code>
51        is allowed to be empty</p>
52    */
53    string DocumentODFVersion;
54};
55
56//=============================================================================
57
58}; }; }; };
59
60//=============================================================================
61
62#endif
63