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 "SchSlotIds.hxx"
25#include "tp_Wizard_TitlesAndObjects.hrc"
26#include "res_Titlesx.hrc"
27#include "res_SecondaryAxisCheckBoxes.hrc"
28#include "dlg_CreationWizard.hrc"
29#include "res_LegendPosition.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_TITLES_WIDTH 130
37
38#define WIZ_POSX1      6
39#define WIZ_POSX1_A   (WIZ_POSX1)
40#define WIZ_POSX_VERTICAL   (WIZ_POSX1+WIZ_TITLES_WIDTH+6)
41#define WIZ_POSX2       (WIZ_POSX_VERTICAL+RSC_CD_FIXEDLINE_WIDTH+2)
42#define WIZ_POSX2_A     (WIZ_POSX2)
43#define WIZ_POSX2_B     (WIZ_POSX2_A+9)
44
45#define WIZ_SECOND_FIXEDLINE_WIDTH (CHART_WIZARD_PAGEWIDTH-10-(WIZ_POSX2))
46#define WIZ_COMPLETE_FIXEDLINE_WIDTH (CHART_WIZARD_PAGEWIDTH-10-(WIZ_POSX1))
47#define WIZ_VERTICAL_FIXEDLINE_HEIGHT ( 88 )
48
49#define WIZ_POSY1    8
50#define WIZ_POSY1_A (WIZ_POSY1  + RSC_CD_FIXEDTEXT_HEIGHT +5)
51#define WIZ_POSY1_B (WIZ_POSY1_A+ RSC_CD_FIXEDTEXT_HEIGHT +7)
52
53#define WIZ_POSY2 110
54#define WIZ_POSY_GRID (WIZ_POSY2+RSC_CD_FIXEDTEXT_HEIGHT+6)
55
56TabPage TP_WIZARD_TITLEANDOBJECTS
57{
58    HelpID = "chart2:TabPage:TP_WIZARD_TITLEANDOBJECTS";
59	Hide = TRUE ;
60	SVLook = TRUE ;
61	Size = MAP_APPFONT ( CHART_WIZARD_PAGEWIDTH , CHART_WIZARD_PAGEHEIGHT ) ;
62
63	FixedText FT_TITLEDESCRIPTION
64	{
65        Pos = MAP_APPFONT ( WIZ_POSX1 , WIZ_POSY1 ) ;
66		Size = MAP_APPFONT ( WIZ_COMPLETE_FIXEDLINE_WIDTH , RSC_CD_FIXEDTEXT_HEIGHT ) ;
67		Text [ en-US ] = "Choose titles, legend, and grid settings";
68	};
69	FixedLine FL_VERTICAL
70	{
71        Pos = MAP_APPFONT ( WIZ_POSX_VERTICAL , WIZ_POSY1+3+RSC_CD_FIXEDLINE_HEIGHT ) ;
72		Size = MAP_APPFONT ( RSC_CD_FIXEDLINE_WIDTH, WIZ_VERTICAL_FIXEDLINE_HEIGHT ) ;
73		Vert = TRUE ;
74	};
75
76	TITLES(WIZ_POSX1_A,WIZ_POSY1_A,WIZ_TITLES_WIDTH,0,0)
77	RESOURCE_LEGENDDISPLAY( WIZ_POSX2_A, WIZ_POSY1_A )
78	RESOURCE_LEGENDPOSITION( WIZ_POSX2_B, WIZ_POSY1_B )
79
80
81	FixedLine FL_GRIDS
82	{
83        Pos = MAP_APPFONT ( WIZ_POSX1 , WIZ_POSY2 ) ;
84		Size = MAP_APPFONT ( WIZ_COMPLETE_FIXEDLINE_WIDTH , RSC_CD_FIXEDLINE_HEIGHT ) ;
85		Text [ en-US ] = "Display grids";
86	};
87
88	SECONDARYAXISCHECKBOXES( WIZ_POSX1_A, WIZ_POSY_GRID, 43, 0 )
89};
90