xref: /trunk/main/offapi/com/sun/star/xml/crypto/sax/ElementMarkPriority.idl (revision ffd38472365e95f6a578737bc9a5eb0fac624a86)
1*b63233d8Sdamjan/**************************************************************
2*b63233d8Sdamjan *
3*b63233d8Sdamjan * Licensed to the Apache Software Foundation (ASF) under one
4*b63233d8Sdamjan * or more contributor license agreements.  See the NOTICE file
5*b63233d8Sdamjan * distributed with this work for additional information
6*b63233d8Sdamjan * regarding copyright ownership.  The ASF licenses this file
7*b63233d8Sdamjan * to you under the Apache License, Version 2.0 (the
8*b63233d8Sdamjan * "License"); you may not use this file except in compliance
9*b63233d8Sdamjan * with the License.  You may obtain a copy of the License at
10*b63233d8Sdamjan *
11*b63233d8Sdamjan *   http://www.apache.org/licenses/LICENSE-2.0
12*b63233d8Sdamjan *
13*b63233d8Sdamjan * Unless required by applicable law or agreed to in writing,
14*b63233d8Sdamjan * software distributed under the License is distributed on an
15*b63233d8Sdamjan * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*b63233d8Sdamjan * KIND, either express or implied.  See the License for the
17*b63233d8Sdamjan * specific language governing permissions and limitations
18*b63233d8Sdamjan * under the License.
19*b63233d8Sdamjan *
20*b63233d8Sdamjan *************************************************************/
21*b63233d8Sdamjan
22*b63233d8Sdamjan
23*b63233d8Sdamjan
24*b63233d8Sdamjan//i20156 - new file for xmlsecurity module
25*b63233d8Sdamjan
26*b63233d8Sdamjan/** -- idl definition -- **/
27*b63233d8Sdamjan
28*b63233d8Sdamjan#ifndef __com_sun_star_xml_crypto_sax_elementmarkpriority_idl_
29*b63233d8Sdamjan#define __com_sun_star_xml_crypto_sax_elementmarkpriority_idl_
30*b63233d8Sdamjan
31*b63233d8Sdamjanmodule com { module sun { module star { module xml { module crypto { module sax {
32*b63233d8Sdamjan
33*b63233d8Sdamjan/**
34*b63233d8Sdamjan * Defines priority for the element mark's notification.
35*b63233d8Sdamjan * <p>
36*b63233d8Sdamjan * The PRI_MINIMUM priority is a value less than any practical
37*b63233d8Sdamjan * priority value, it is used when compare between different
38*b63233d8Sdamjan * priority values.
39*b63233d8Sdamjan * <p>
40*b63233d8Sdamjan * The PRI_AFTERMODIFY priority represents the notification will be
41*b63233d8Sdamjan * sent after any internal modification has finished.
42*b63233d8Sdamjan * <p>
43*b63233d8Sdamjan * The PRI_BEFOREMODIFY proirity represents the notification will be
44*b63233d8Sdamjan * sent before any internal modification happens.
45*b63233d8Sdamjan * <p>
46*b63233d8Sdamjan * So an element mark with PRI_BEFOREMODIFY will be handled first,
47*b63233d8Sdamjan * and one with PRI_AFTERMODIFY will be handled at last.
48*b63233d8Sdamjan */
49*b63233d8Sdamjanenum ElementMarkPriority
50*b63233d8Sdamjan{
51*b63233d8Sdamjan    MINIMUM = 1,
52*b63233d8Sdamjan    AFTERMODIFY,
53*b63233d8Sdamjan    BEFOREMODIFY
54*b63233d8Sdamjan};
55*b63233d8Sdamjan
56*b63233d8Sdamjan} ; } ; } ; } ; } ; } ;
57*b63233d8Sdamjan
58*b63233d8Sdamjan
59*b63233d8Sdamjan#endif
60