Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / offapi / com / sun / star / ucb / RuleAction.idl
blob358621409cde4ef20eceeb65d7fa54618f908176
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 #ifndef __com_sun_star_ucb_RuleAction_idl__
20 #define __com_sun_star_ucb_RuleAction_idl__
24 module com { module sun { module star { module ucb {
26 /** These are the possible values for Rule::Action.
28 @see RuleSet
30 published constants RuleAction
32 /** "None" - Do nothing.
34 const short NONE = 0;
36 /** "Show" - Shows object when term matches.
38 const short SHOW = 1;
40 /** "Hide" - Hides object when term matches.
42 const short HIDE = 2;
44 /** "Mark" - Marks object when term matches.
46 const short MARK = 3;
48 /** "UnMark" - Removes mark from object when term matches.
50 const short UNMARK = 4;
52 /** "MarkRead" - Marks object as read when term matches.
54 const short MARKREAD = 5;
56 /** "MarkUnRead" - Marks object as not read when term matches.
58 const short MARKUNREAD = 6;
60 /** "Move" - Moves object to Rule::Parameter when term
61 matches.
63 const short MOVE = 7;
65 /** "Copy" - Copies object to Rule::Parameter when term
66 matches.
68 const short COPY = 8;
70 /** "Delete" - Deletes object when term matches.
72 const short DELETE = 9;
74 /** "Link" - Creates a link to Rule::Parameter when term
75 matches.
77 const short LINK = 10;
79 /** "Forward" - Forwards object to Rule::Parameter when
80 term matches.
82 const short FORWARD = 11;
87 }; }; }; };
89 #endif
91 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */