1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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.
30 published constants RuleAction
32 /** "None" - Do nothing.
36 /** "Show" - Shows object when term matches.
40 /** "Hide" - Hides object when term matches.
44 /** "Mark" - Marks object when term matches.
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
65 /** "Copy" - Copies object to Rule::Parameter when term
70 /** "Delete" - Deletes object when term matches.
72 const short DELETE
= 9;
74 /** "Link" - Creates a link to Rule::Parameter when term
77 const short LINK
= 10;
79 /** "Forward" - Forwards object to Rule::Parameter when
82 const short FORWARD
= 11;
91 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */