Update ooo320-m1
[ooovba.git] / offapi / com / sun / star / frame / FrameSearchFlag.idl
blobf8c9fafa02873f1c34e3160cd57640b14fee8116
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: FrameSearchFlag.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 ************************************************************************/
30 #ifndef __com_sun_star_frame_FrameSearchFlag_idl__
31 #define __com_sun_star_frame_FrameSearchFlag_idl__
34 //=============================================================================
36 module com { module sun { module star { module frame {
38 //=============================================================================
39 /** these types describe the algorithm to be used to search a frame
41 <p>
42 Such flags will be used on methods <member>XFrame::findFrame()</member>,
43 <member>XDispatchProvider::queryDispatch()</member> or
44 <member>XComponentLoader::loadComponentFromURL()</member> if no special target
45 frame name (e.g. "_blank", "_self") is used.
46 </p>
48 @see XFrame::findFrame()
49 @see XDispatchProvider::queryDispatch()
50 @see XComponentLoader::loadComponentFromURL()
52 published constants FrameSearchFlag
54 //-------------------------------------------------------------------------
55 /** no longer supported
57 <p>
58 Using of this flag will do nothing. Use right combination of other flags
59 instead of this one.
60 </p>
62 @deprecated
64 const long AUTO = 0;
66 //-------------------------------------------------------------------------
67 /** allows search on the parent frames
69 const long PARENT = 1;
71 //-------------------------------------------------------------------------
72 /** includes the start frame himself
74 const long SELF = 2;
76 //-------------------------------------------------------------------------
77 /** includes all child frames of the start frame
79 <p>
80 Note: That means all direct children and of course her childrens too.
81 Search doesn't stop at the next level inside the tree!
82 </p>
84 const long CHILDREN = 4;
86 //-------------------------------------------------------------------------
87 /** frame will be created if not found
89 const long CREATE = 8;
91 //-------------------------------------------------------------------------
92 /** includes the direct siblings of the start frame
94 <p>
95 Normaly it's interpreted as search on the direct childs of the parent
96 only. But in combination with e.g. the CHILDREN flag it can include all
97 children of it too.
98 </p>
100 const long SIBLINGS = 16;
102 //-------------------------------------------------------------------------
103 /** allow the search outside the current sub task tree of the whole possible frame tree
106 If this flag isn't present, any search from bottom to top has to stop, if a top frame
107 will be reached. It doesn't influence a search from top to bottom.
108 But it can be used at the root of the frame tree to search on direct childrens of it only.
109 Because the direct children of the root node are the root's of the task sub trees, which
110 are top frames too. Instead of using the CHILDREN flag there, it's possible so to supress
111 a deeper search so.
112 </p>
114 const long TASKS = 32;
116 //-------------------------------------------------------------------------
117 /** includes all frames except frames in other tasks sub trees
118 but doesn't create any new frame
120 const long ALL = 23;
122 //-------------------------------------------------------------------------
123 /** searches in the whole hierarchy of frames
124 but doesn't create any new frame
126 const long GLOBAL = 55;
129 //=============================================================================
131 }; }; }; };
133 #endif