xref: /AOO41X/main/chart2/source/controller/dialogs/tp_Location.src (revision 2f5315951371201eb1e2aa2861820b5efe289fe3)
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#include "HelpIds.hrc"
24#include "tp_Location.hrc"
25#include "dlg_CreationWizard.hrc"
26
27#ifndef _SVT_CONTROLDIMS_HRC_
28#include <svtools/controldims.hrc>
29#endif
30
31#define MASKCOLOR MaskColor = Color { Red = 0xC000 ; Green = 0xC000 ; Blue = 0xC000 ; }
32#define WIZ_POSX1 6
33#define WIZ_POSY1 6
34#define WIZ_POSX2 (6+4)
35#define WIZ_POSY2 (WIZ_POSY1+RSC_CD_FIXEDTEXT_HEIGHT+4)
36#define TEXT_WIDTH 50
37#define WIZ_POSX3 (WIZ_POSX2+TEXT_WIDTH+6)
38#define WIZ_FIXEDLINE_WIDTH (CHART_WIZARD_PAGEWIDTH-WIZ_POSX1-6)
39#define WIZ_LISTBOX_WIDTH (CHART_WIZARD_PAGEWIDTH-WIZ_POSX2-TEXT_WIDTH-6-6)
40
41
42TabPage TP_LOCATION
43{
44    HelpID = "chart2:TabPage:TP_LOCATION";
45    Hide = TRUE ;
46    SVLook = TRUE ;
47    Size = MAP_APPFONT ( CHART_WIZARD_PAGEWIDTH , CHART_WIZARD_PAGEHEIGHT ) ;
48
49    FixedLine FL_TABLE
50    {
51        Pos = MAP_APPFONT ( WIZ_POSX1 , WIZ_POSY1 ) ;
52        Size = MAP_APPFONT ( WIZ_FIXEDLINE_WIDTH , RSC_CD_FIXEDTEXT_HEIGHT ) ;
53
54        Text [ en-US ] = "Place chart" ;
55    };
56    FixedText FT_TABLE
57    {
58        Pos = MAP_APPFONT ( WIZ_POSX2 , WIZ_POSY2 ) ;
59        Size = MAP_APPFONT ( TEXT_WIDTH , RSC_CD_FIXEDTEXT_HEIGHT ) ;
60
61        Text [ en-US ] = "~Insert in sheet" ;
62    };
63    ListBox LB_TABLE
64    {
65        HelpID = "chart2:ListBox:TP_LOCATION:LB_TABLE";
66        Border = TRUE ;
67        DropDown = TRUE ;
68        Pos = MAP_APPFONT ( WIZ_POSX3 , WIZ_POSY2 ) ;
69        Size = MAP_APPFONT ( WIZ_LISTBOX_WIDTH , RSC_CD_FIXEDTEXT_HEIGHT ) ;
70    };
71};
72