1/************************************************************************* 2 * 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * Copyright 2000, 2010 Oracle and/or its affiliates. 6 * 7 * OpenOffice.org - a multi-platform office productivity suite 8 * 9 * This file is part of OpenOffice.org. 10 * 11 * OpenOffice.org is free software: you can redistribute it and/or modify 12 * it under the terms of the GNU Lesser General Public License version 3 13 * only, as published by the Free Software Foundation. 14 * 15 * OpenOffice.org is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU Lesser General Public License version 3 for more details 19 * (a copy is included in the LICENSE file that accompanied this code). 20 * 21 * You should have received a copy of the GNU Lesser General Public License 22 * version 3 along with OpenOffice.org. If not, see 23 * <http://www.openoffice.org/license.html> 24 * for a copy of the LGPLv3 License. 25 * 26 ************************************************************************/ 27#include "HelpIds.hrc" 28#include "tp_Location.hrc" 29#include "dlg_CreationWizard.hrc" 30 31#ifndef _SVT_CONTROLDIMS_HRC_ 32#include <svtools/controldims.hrc> 33#endif 34 35#define MASKCOLOR MaskColor = Color { Red = 0xC000 ; Green = 0xC000 ; Blue = 0xC000 ; } 36#define WIZ_POSX1 6 37#define WIZ_POSY1 6 38#define WIZ_POSX2 (6+4) 39#define WIZ_POSY2 (WIZ_POSY1+RSC_CD_FIXEDTEXT_HEIGHT+4) 40#define TEXT_WIDTH 50 41#define WIZ_POSX3 (WIZ_POSX2+TEXT_WIDTH+6) 42#define WIZ_FIXEDLINE_WIDTH (CHART_WIZARD_PAGEWIDTH-WIZ_POSX1-6) 43#define WIZ_LISTBOX_WIDTH (CHART_WIZARD_PAGEWIDTH-WIZ_POSX2-TEXT_WIDTH-6-6) 44 45 46TabPage TP_LOCATION 47{ 48 HelpID = "chart2:TabPage:TP_LOCATION"; 49 Hide = TRUE ; 50 SVLook = TRUE ; 51 Size = MAP_APPFONT ( CHART_WIZARD_PAGEWIDTH , CHART_WIZARD_PAGEHEIGHT ) ; 52 53 FixedLine FL_TABLE 54 { 55 Pos = MAP_APPFONT ( WIZ_POSX1 , WIZ_POSY1 ) ; 56 Size = MAP_APPFONT ( WIZ_FIXEDLINE_WIDTH , RSC_CD_FIXEDTEXT_HEIGHT ) ; 57 58 Text [ en-US ] = "Place chart" ; 59 }; 60 FixedText FT_TABLE 61 { 62 Pos = MAP_APPFONT ( WIZ_POSX2 , WIZ_POSY2 ) ; 63 Size = MAP_APPFONT ( TEXT_WIDTH , RSC_CD_FIXEDTEXT_HEIGHT ) ; 64 65 Text [ en-US ] = "~Insert in sheet" ; 66 }; 67 ListBox LB_TABLE 68 { 69 HelpID = "chart2:ListBox:TP_LOCATION:LB_TABLE"; 70 Border = TRUE ; 71 DropDown = TRUE ; 72 Pos = MAP_APPFONT ( WIZ_POSX3 , WIZ_POSY2 ) ; 73 Size = MAP_APPFONT ( WIZ_LISTBOX_WIDTH , RSC_CD_FIXEDTEXT_HEIGHT ) ; 74 }; 75}; 76