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