1*228b4580SAndrew Rist /************************************************************** 2cdf0e10cSrcweir * 3*228b4580SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*228b4580SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*228b4580SAndrew Rist * distributed with this work for additional information 6*228b4580SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*228b4580SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*228b4580SAndrew Rist * "License"); you may not use this file except in compliance 9*228b4580SAndrew Rist * with the License. You may obtain a copy of the License at 10*228b4580SAndrew Rist * 11*228b4580SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*228b4580SAndrew Rist * 13*228b4580SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*228b4580SAndrew Rist * software distributed under the License is distributed on an 15*228b4580SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*228b4580SAndrew Rist * KIND, either express or implied. See the License for the 17*228b4580SAndrew Rist * specific language governing permissions and limitations 18*228b4580SAndrew Rist * under the License. 19*228b4580SAndrew Rist * 20*228b4580SAndrew Rist *************************************************************/ 21*228b4580SAndrew Rist 22*228b4580SAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir #ifndef __FRAMEWORK_TARGETS_H_ 25cdf0e10cSrcweir #define __FRAMEWORK_TARGETS_H_ 26cdf0e10cSrcweir 27cdf0e10cSrcweir //_________________________________________________________________________________________________________________ 28cdf0e10cSrcweir // includes 29cdf0e10cSrcweir //_________________________________________________________________________________________________________________ 30cdf0e10cSrcweir 31cdf0e10cSrcweir #include <macros/generic.hxx> 32cdf0e10cSrcweir 33cdf0e10cSrcweir //_________________________________________________________________________________________________________________ 34cdf0e10cSrcweir // namespace 35cdf0e10cSrcweir //_________________________________________________________________________________________________________________ 36cdf0e10cSrcweir 37cdf0e10cSrcweir namespace framework{ 38cdf0e10cSrcweir 39cdf0e10cSrcweir //_________________________________________________________________________________________________________________ 40cdf0e10cSrcweir // Values for special frame search ... sTargetFrameName of findFrame() or queryDispatch() or loadComponentFromURL() 41cdf0e10cSrcweir //_________________________________________________________________________________________________________________ 42cdf0e10cSrcweir 43cdf0e10cSrcweir #define SPECIALTARGET_ASCII_SELF "_self" // The frame himself is searched. 44cdf0e10cSrcweir #define SPECIALTARGET_ASCII_PARENT "_parent" // The direct parent frame is searched. 45cdf0e10cSrcweir #define SPECIALTARGET_ASCII_TOP "_top" // Search at ouer parents for the first task (if any exist) or a frame without a parent. 46cdf0e10cSrcweir #define SPECIALTARGET_ASCII_BLANK "_blank" // Create a new task. 47cdf0e10cSrcweir #define SPECIALTARGET_ASCII_DEFAULT "_default" // Create a new task or recycle an existing one 48cdf0e10cSrcweir #define SPECIALTARGET_ASCII_BEAMER "_beamer" // special frame in hierarchy 49cdf0e10cSrcweir #define SPECIALTARGET_ASCII_MENUBAR "_menubar" // special target for menubars 50cdf0e10cSrcweir #define SPECIALTARGET_ASCII_HELPAGENT "_helpagent" // special target for the help agent window 51cdf0e10cSrcweir #define SPECIALTARGET_ASCII_HELPTASK "OFFICE_HELP_TASK" // special name for our help task 52cdf0e10cSrcweir 53cdf0e10cSrcweir #define SPECIALTARGET_SELF DECLARE_ASCII(SPECIALTARGET_ASCII_SELF ) 54cdf0e10cSrcweir #define SPECIALTARGET_PARENT DECLARE_ASCII(SPECIALTARGET_ASCII_PARENT ) 55cdf0e10cSrcweir #define SPECIALTARGET_TOP DECLARE_ASCII(SPECIALTARGET_ASCII_TOP ) 56cdf0e10cSrcweir #define SPECIALTARGET_BLANK DECLARE_ASCII(SPECIALTARGET_ASCII_BLANK ) 57cdf0e10cSrcweir #define SPECIALTARGET_DEFAULT DECLARE_ASCII(SPECIALTARGET_ASCII_DEFAULT ) 58cdf0e10cSrcweir #define SPECIALTARGET_BEAMER DECLARE_ASCII(SPECIALTARGET_ASCII_BEAMER ) 59cdf0e10cSrcweir #define SPECIALTARGET_MENUBAR DECLARE_ASCII(SPECIALTARGET_ASCII_MENUBAR ) 60cdf0e10cSrcweir #define SPECIALTARGET_HELPAGENT DECLARE_ASCII(SPECIALTARGET_ASCII_HELPAGENT ) 61cdf0e10cSrcweir #define SPECIALTARGET_HELPTASK DECLARE_ASCII(SPECIALTARGET_ASCII_HELPTASK ) 62cdf0e10cSrcweir 63cdf0e10cSrcweir } // namespace framework 64cdf0e10cSrcweir 65cdf0e10cSrcweir #endif // #ifndef __FRAMEWORK_TARGETS_H_ 66