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 #ifndef __FRAMEWORK_TARGETS_H_ 25 #define __FRAMEWORK_TARGETS_H_ 26 27 //_________________________________________________________________________________________________________________ 28 // includes 29 //_________________________________________________________________________________________________________________ 30 31 #include <macros/generic.hxx> 32 33 //_________________________________________________________________________________________________________________ 34 // namespace 35 //_________________________________________________________________________________________________________________ 36 37 namespace framework{ 38 39 //_________________________________________________________________________________________________________________ 40 // Values for special frame search ... sTargetFrameName of findFrame() or queryDispatch() or loadComponentFromURL() 41 //_________________________________________________________________________________________________________________ 42 43 #define SPECIALTARGET_ASCII_SELF "_self" // The frame himself is searched. 44 #define SPECIALTARGET_ASCII_PARENT "_parent" // The direct parent frame is searched. 45 #define SPECIALTARGET_ASCII_TOP "_top" // Search at our parents for the first task (if any exist) or a frame without a parent. 46 #define SPECIALTARGET_ASCII_BLANK "_blank" // Create a new task. 47 #define SPECIALTARGET_ASCII_DEFAULT "_default" // Create a new task or recycle an existing one 48 #define SPECIALTARGET_ASCII_BEAMER "_beamer" // special frame in hierarchy 49 #define SPECIALTARGET_ASCII_MENUBAR "_menubar" // special target for menubars 50 #define SPECIALTARGET_ASCII_HELPAGENT "_helpagent" // special target for the help agent window 51 #define SPECIALTARGET_ASCII_HELPTASK "OFFICE_HELP_TASK" // special name for our help task 52 53 #define SPECIALTARGET_SELF DECLARE_ASCII(SPECIALTARGET_ASCII_SELF ) 54 #define SPECIALTARGET_PARENT DECLARE_ASCII(SPECIALTARGET_ASCII_PARENT ) 55 #define SPECIALTARGET_TOP DECLARE_ASCII(SPECIALTARGET_ASCII_TOP ) 56 #define SPECIALTARGET_BLANK DECLARE_ASCII(SPECIALTARGET_ASCII_BLANK ) 57 #define SPECIALTARGET_DEFAULT DECLARE_ASCII(SPECIALTARGET_ASCII_DEFAULT ) 58 #define SPECIALTARGET_BEAMER DECLARE_ASCII(SPECIALTARGET_ASCII_BEAMER ) 59 #define SPECIALTARGET_MENUBAR DECLARE_ASCII(SPECIALTARGET_ASCII_MENUBAR ) 60 #define SPECIALTARGET_HELPAGENT DECLARE_ASCII(SPECIALTARGET_ASCII_HELPAGENT ) 61 #define SPECIALTARGET_HELPTASK DECLARE_ASCII(SPECIALTARGET_ASCII_HELPTASK ) 62 63 } // namespace framework 64 65 #endif // #ifndef __FRAMEWORK_TARGETS_H_ 66