1*e037e032SAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3*e037e032SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*e037e032SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*e037e032SAndrew Rist * distributed with this work for additional information 6*e037e032SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*e037e032SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*e037e032SAndrew Rist * "License"); you may not use this file except in compliance 9*e037e032SAndrew Rist * with the License. You may obtain a copy of the License at 10*e037e032SAndrew Rist * 11*e037e032SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*e037e032SAndrew Rist * 13*e037e032SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*e037e032SAndrew Rist * software distributed under the License is distributed on an 15*e037e032SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*e037e032SAndrew Rist * KIND, either express or implied. See the License for the 17*e037e032SAndrew Rist * specific language governing permissions and limitations 18*e037e032SAndrew Rist * under the License. 19*e037e032SAndrew Rist * 20*e037e032SAndrew Rist *************************************************************/ 21*e037e032SAndrew Rist 22*e037e032SAndrew Rist 23cdf0e10cSrcweir#ifndef _SFX_ALIENWARN_HRC 24cdf0e10cSrcweir#define _SFX_ALIENWARN_HRC 25cdf0e10cSrcweir 26cdf0e10cSrcweir#include <svtools/controldims.hrc> 27cdf0e10cSrcweir 28cdf0e10cSrcweir// dialog ids 29cdf0e10cSrcweir 30cdf0e10cSrcweir#define FI_QUERY 10 31cdf0e10cSrcweir#define FT_INFOTEXT 11 32cdf0e10cSrcweir#define PB_YES 12 33cdf0e10cSrcweir#define PB_NO 13 34cdf0e10cSrcweir#define PB_MOREINFO 14 35cdf0e10cSrcweir#define FL_OPTION 15 36cdf0e10cSrcweir#define CB_WARNING_OFF 16 37cdf0e10cSrcweir 38cdf0e10cSrcweir// --------- general metrics --------- 39cdf0e10cSrcweir 40cdf0e10cSrcweir#define SYMBOL_EDGE 20 41cdf0e10cSrcweir#define DIALOG_WIDTH 220 42cdf0e10cSrcweir#define INFO_TEXT_LINES 11 43cdf0e10cSrcweir 44cdf0e10cSrcweir#define AW_COL_1 (RSC_SP_DLG_INNERBORDER_LEFT) 45cdf0e10cSrcweir#define AW_COL_2 (AW_COL_1+SYMBOL_EDGE+RSC_SP_CTRL_DESC_X) 46cdf0e10cSrcweir#define AW_COL_3 (AW_COL_2+RSC_CD_PUSHBUTTON_WIDTH+RSC_SP_CTRL_DESC_X) 47cdf0e10cSrcweir#define AW_COL_4 (DIALOG_WIDTH-RSC_SP_DLG_INNERBORDER_RIGHT-RSC_CD_PUSHBUTTON_WIDTH) 48cdf0e10cSrcweir 49cdf0e10cSrcweir#define AW_ROW_1 (RSC_SP_DLG_INNERBORDER_TOP) 50cdf0e10cSrcweir#define AW_ROW_2 (AW_ROW_1+INFO_TEXT_LINES*RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_Y) 51cdf0e10cSrcweir#define AW_ROW_3 (AW_ROW_2+RSC_CD_PUSHBUTTON_HEIGHT+RSC_SP_CTRL_DESC_Y) 52cdf0e10cSrcweir#define AW_ROW_4 (AW_ROW_3+RSC_CD_FIXEDLINE_HEIGHT+RSC_SP_CTRL_DESC_Y) 53cdf0e10cSrcweir 54cdf0e10cSrcweir#define DIALOG_HEIGHT (AW_ROW_4+RSC_CD_CHECKBOX_HEIGHT+RSC_SP_DLG_INNERBORDER_BOTTOM) 55cdf0e10cSrcweir 56cdf0e10cSrcweir#endif 57cdf0e10cSrcweir 58