1*2f531595SAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3*2f531595SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*2f531595SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*2f531595SAndrew Rist * distributed with this work for additional information 6*2f531595SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*2f531595SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*2f531595SAndrew Rist * "License"); you may not use this file except in compliance 9*2f531595SAndrew Rist * with the License. You may obtain a copy of the License at 10*2f531595SAndrew Rist * 11*2f531595SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*2f531595SAndrew Rist * 13*2f531595SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*2f531595SAndrew Rist * software distributed under the License is distributed on an 15*2f531595SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*2f531595SAndrew Rist * KIND, either express or implied. See the License for the 17*2f531595SAndrew Rist * specific language governing permissions and limitations 18*2f531595SAndrew Rist * under the License. 19*2f531595SAndrew Rist * 20*2f531595SAndrew Rist *************************************************************/ 21*2f531595SAndrew Rist 22*2f531595SAndrew Rist 23cdf0e10cSrcweir#include "HelpIds.hrc" 24cdf0e10cSrcweir#include "tp_Location.hrc" 25cdf0e10cSrcweir#include "dlg_CreationWizard.hrc" 26cdf0e10cSrcweir 27cdf0e10cSrcweir#ifndef _SVT_CONTROLDIMS_HRC_ 28cdf0e10cSrcweir#include <svtools/controldims.hrc> 29cdf0e10cSrcweir#endif 30cdf0e10cSrcweir 31cdf0e10cSrcweir#define MASKCOLOR MaskColor = Color { Red = 0xC000 ; Green = 0xC000 ; Blue = 0xC000 ; } 32cdf0e10cSrcweir#define WIZ_POSX1 6 33cdf0e10cSrcweir#define WIZ_POSY1 6 34cdf0e10cSrcweir#define WIZ_POSX2 (6+4) 35cdf0e10cSrcweir#define WIZ_POSY2 (WIZ_POSY1+RSC_CD_FIXEDTEXT_HEIGHT+4) 36cdf0e10cSrcweir#define TEXT_WIDTH 50 37cdf0e10cSrcweir#define WIZ_POSX3 (WIZ_POSX2+TEXT_WIDTH+6) 38cdf0e10cSrcweir#define WIZ_FIXEDLINE_WIDTH (CHART_WIZARD_PAGEWIDTH-WIZ_POSX1-6) 39cdf0e10cSrcweir#define WIZ_LISTBOX_WIDTH (CHART_WIZARD_PAGEWIDTH-WIZ_POSX2-TEXT_WIDTH-6-6) 40cdf0e10cSrcweir 41cdf0e10cSrcweir 42cdf0e10cSrcweirTabPage TP_LOCATION 43cdf0e10cSrcweir{ 44cdf0e10cSrcweir HelpID = "chart2:TabPage:TP_LOCATION"; 45cdf0e10cSrcweir Hide = TRUE ; 46cdf0e10cSrcweir SVLook = TRUE ; 47cdf0e10cSrcweir Size = MAP_APPFONT ( CHART_WIZARD_PAGEWIDTH , CHART_WIZARD_PAGEHEIGHT ) ; 48cdf0e10cSrcweir 49cdf0e10cSrcweir FixedLine FL_TABLE 50cdf0e10cSrcweir { 51cdf0e10cSrcweir Pos = MAP_APPFONT ( WIZ_POSX1 , WIZ_POSY1 ) ; 52cdf0e10cSrcweir Size = MAP_APPFONT ( WIZ_FIXEDLINE_WIDTH , RSC_CD_FIXEDTEXT_HEIGHT ) ; 53cdf0e10cSrcweir 54cdf0e10cSrcweir Text [ en-US ] = "Place chart" ; 55cdf0e10cSrcweir }; 56cdf0e10cSrcweir FixedText FT_TABLE 57cdf0e10cSrcweir { 58cdf0e10cSrcweir Pos = MAP_APPFONT ( WIZ_POSX2 , WIZ_POSY2 ) ; 59cdf0e10cSrcweir Size = MAP_APPFONT ( TEXT_WIDTH , RSC_CD_FIXEDTEXT_HEIGHT ) ; 60cdf0e10cSrcweir 61cdf0e10cSrcweir Text [ en-US ] = "~Insert in sheet" ; 62cdf0e10cSrcweir }; 63cdf0e10cSrcweir ListBox LB_TABLE 64cdf0e10cSrcweir { 65cdf0e10cSrcweir HelpID = "chart2:ListBox:TP_LOCATION:LB_TABLE"; 66cdf0e10cSrcweir Border = TRUE ; 67cdf0e10cSrcweir DropDown = TRUE ; 68cdf0e10cSrcweir Pos = MAP_APPFONT ( WIZ_POSX3 , WIZ_POSY2 ) ; 69cdf0e10cSrcweir Size = MAP_APPFONT ( WIZ_LISTBOX_WIDTH , RSC_CD_FIXEDTEXT_HEIGHT ) ; 70cdf0e10cSrcweir }; 71cdf0e10cSrcweir}; 72