1*cdf0e10cSrcweir/*************************************************************************
2*cdf0e10cSrcweir *
3*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4*cdf0e10cSrcweir *
5*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates.
6*cdf0e10cSrcweir *
7*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite
8*cdf0e10cSrcweir *
9*cdf0e10cSrcweir * This file is part of OpenOffice.org.
10*cdf0e10cSrcweir *
11*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify
12*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3
13*cdf0e10cSrcweir * only, as published by the Free Software Foundation.
14*cdf0e10cSrcweir *
15*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful,
16*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of
17*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details
19*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code).
20*cdf0e10cSrcweir *
21*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License
22*cdf0e10cSrcweir * version 3 along with OpenOffice.org.  If not, see
23*cdf0e10cSrcweir * <http://www.openoffice.org/license.html>
24*cdf0e10cSrcweir * for a copy of the LGPLv3 License.
25*cdf0e10cSrcweir *
26*cdf0e10cSrcweir ************************************************************************/
27*cdf0e10cSrcweir
28*cdf0e10cSrcweir#include "tp_3D_SceneGeometry.hrc"
29*cdf0e10cSrcweir#include "dlg_View3D.hrc"
30*cdf0e10cSrcweir#include "SchSlotIds.hxx"
31*cdf0e10cSrcweir#include "HelpIds.hrc"
32*cdf0e10cSrcweir
33*cdf0e10cSrcweir#ifndef _SVT_CONTROLDIMS_HRC_
34*cdf0e10cSrcweir#include <svtools/controldims.hrc>
35*cdf0e10cSrcweir#endif
36*cdf0e10cSrcweir
37*cdf0e10cSrcweir#define WIDTH_FL 108
38*cdf0e10cSrcweir#define WIDTH_MF 57
39*cdf0e10cSrcweir#define WIDTH_FT 50
40*cdf0e10cSrcweir
41*cdf0e10cSrcweir#define HEIGHT_FL 8
42*cdf0e10cSrcweir#define HEIGHT_MF 12
43*cdf0e10cSrcweir#define HEIGHT_FT 10
44*cdf0e10cSrcweir
45*cdf0e10cSrcweir#define POS_X_0 6
46*cdf0e10cSrcweir#define POS_X_1 6
47*cdf0e10cSrcweir#define POS_X_2 POS_X_1+WIDTH_FT+4
48*cdf0e10cSrcweir
49*cdf0e10cSrcweir#define POS_Y_0 (8)
50*cdf0e10cSrcweir#define POS_Y_1 (POS_Y_0+RSC_CD_FIXEDTEXT_HEIGHT+10)
51*cdf0e10cSrcweir#define POS_Y_2 (POS_Y_1+RSC_CD_FIXEDTEXT_HEIGHT+8)
52*cdf0e10cSrcweir#define POS_Y_3 (POS_Y_2+RSC_CD_FIXEDTEXT_HEIGHT+8)
53*cdf0e10cSrcweir#define POS_Y_4 (POS_Y_3+RSC_CD_FIXEDTEXT_HEIGHT+12)
54*cdf0e10cSrcweir
55*cdf0e10cSrcweir#define CUSTOMUNITTEXT_DEGREE \
56*cdf0e10cSrcweirBorder = TRUE ; \
57*cdf0e10cSrcweirTabStop = TRUE ; \
58*cdf0e10cSrcweirRepeat = TRUE ; \
59*cdf0e10cSrcweirSpin = TRUE ; \
60*cdf0e10cSrcweirMinimum = -180 ; \
61*cdf0e10cSrcweirMaximum = 180 ; \
62*cdf0e10cSrcweirStrictFormat = TRUE ; \
63*cdf0e10cSrcweirDecimalDigits = 0 ; \
64*cdf0e10cSrcweirFirst = -180 ; \
65*cdf0e10cSrcweirLast = 180 ; \
66*cdf0e10cSrcweirSpinSize = 1 ; \
67*cdf0e10cSrcweirUnit = FUNIT_CUSTOM ; \
68*cdf0e10cSrcweirCustomUnitText [ en-US ] = " degrees" ;
69*cdf0e10cSrcweir
70*cdf0e10cSrcweirTabPage TP_3D_SCENEGEOMETRY
71*cdf0e10cSrcweir{
72*cdf0e10cSrcweir	HelpID = HID_3D_VIEW ;
73*cdf0e10cSrcweir	OutputSize = TRUE ;
74*cdf0e10cSrcweir	SVLook = TRUE ;
75*cdf0e10cSrcweir	Hide = TRUE ;
76*cdf0e10cSrcweir	Size = MAP_APPFONT ( VIEW3D_PAGE_WIDTH , VIEW3D_PAGE_HEIGHT ) ;
77*cdf0e10cSrcweir
78*cdf0e10cSrcweir    CheckBox CBX_RIGHT_ANGLED_AXES
79*cdf0e10cSrcweir    {
80*cdf0e10cSrcweir        HelpID = "chart2:CheckBox:TP_3D_SCENEGEOMETRY:CBX_RIGHT_ANGLED_AXES";
81*cdf0e10cSrcweir        Pos = MAP_APPFONT ( POS_X_1 , POS_Y_0  ) ;
82*cdf0e10cSrcweir        Size = MAP_APPFONT ( (WIDTH_FT+WIDTH_MF) , HEIGHT_FT ) ;
83*cdf0e10cSrcweir        TabStop = TRUE ;
84*cdf0e10cSrcweir        Text [ en-US ] = "~Right-angled axes" ;
85*cdf0e10cSrcweir    };
86*cdf0e10cSrcweir	FixedText FT_X_ROTATION
87*cdf0e10cSrcweir	{
88*cdf0e10cSrcweir		Pos = MAP_APPFONT ( POS_X_1 , POS_Y_1  ) ;
89*cdf0e10cSrcweir		Size = MAP_APPFONT ( WIDTH_FT , HEIGHT_FT ) ;
90*cdf0e10cSrcweir		Text [ en-US ] = "~X rotation" ;
91*cdf0e10cSrcweir	};
92*cdf0e10cSrcweir	FixedText FT_Y_ROTATION
93*cdf0e10cSrcweir	{
94*cdf0e10cSrcweir		Pos = MAP_APPFONT ( POS_X_1 , POS_Y_2  ) ;
95*cdf0e10cSrcweir		Size = MAP_APPFONT ( WIDTH_FT , HEIGHT_FT ) ;
96*cdf0e10cSrcweir		Text [ en-US ] = "~Y rotation" ;
97*cdf0e10cSrcweir	};
98*cdf0e10cSrcweir	FixedText FT_Z_ROTATION
99*cdf0e10cSrcweir	{
100*cdf0e10cSrcweir		Pos = MAP_APPFONT ( POS_X_1 , POS_Y_3  ) ;
101*cdf0e10cSrcweir		Size = MAP_APPFONT ( WIDTH_FT , HEIGHT_FT ) ;
102*cdf0e10cSrcweir		Text [ en-US ] = "~Z rotation" ;
103*cdf0e10cSrcweir	};
104*cdf0e10cSrcweir	MetricField MTR_FLD_X_ROTATION
105*cdf0e10cSrcweir	{
106*cdf0e10cSrcweir	    HelpID = "chart2:MetricField:TP_3D_SCENEGEOMETRY:MTR_FLD_X_ROTATION";
107*cdf0e10cSrcweir		Pos = MAP_APPFONT ( POS_X_2 , POS_Y_1-2  ) ;
108*cdf0e10cSrcweir		Size = MAP_APPFONT ( WIDTH_MF , HEIGHT_MF ) ;
109*cdf0e10cSrcweir		CUSTOMUNITTEXT_DEGREE
110*cdf0e10cSrcweir	};
111*cdf0e10cSrcweir	MetricField MTR_FLD_Y_ROTATION
112*cdf0e10cSrcweir	{
113*cdf0e10cSrcweir	    HelpID = "chart2:MetricField:TP_3D_SCENEGEOMETRY:MTR_FLD_Y_ROTATION";
114*cdf0e10cSrcweir		Pos = MAP_APPFONT ( POS_X_2 , POS_Y_2-2  ) ;
115*cdf0e10cSrcweir		Size = MAP_APPFONT ( WIDTH_MF , HEIGHT_MF ) ;
116*cdf0e10cSrcweir		CUSTOMUNITTEXT_DEGREE
117*cdf0e10cSrcweir	};
118*cdf0e10cSrcweir	MetricField MTR_FLD_Z_ROTATION
119*cdf0e10cSrcweir	{
120*cdf0e10cSrcweir	    HelpID = "chart2:MetricField:TP_3D_SCENEGEOMETRY:MTR_FLD_Z_ROTATION";
121*cdf0e10cSrcweir		Pos = MAP_APPFONT ( POS_X_2 , POS_Y_3-2 ) ;
122*cdf0e10cSrcweir		Size = MAP_APPFONT ( WIDTH_MF , HEIGHT_MF ) ;
123*cdf0e10cSrcweir        CUSTOMUNITTEXT_DEGREE
124*cdf0e10cSrcweir	};
125*cdf0e10cSrcweir
126*cdf0e10cSrcweir	CheckBox CBX_PERSPECTIVE
127*cdf0e10cSrcweir	{
128*cdf0e10cSrcweir	    HelpID = "chart2:CheckBox:TP_3D_SCENEGEOMETRY:CBX_PERSPECTIVE";
129*cdf0e10cSrcweir	    Pos = MAP_APPFONT ( POS_X_1 , POS_Y_4  ) ;
130*cdf0e10cSrcweir		Size = MAP_APPFONT ( WIDTH_FT , HEIGHT_FT ) ;
131*cdf0e10cSrcweir		TabStop = TRUE ;
132*cdf0e10cSrcweir	    Text [ en-US ] = "~Perspective" ;
133*cdf0e10cSrcweir    };
134*cdf0e10cSrcweir    MetricField MTR_FLD_PERSPECTIVE
135*cdf0e10cSrcweir	{
136*cdf0e10cSrcweir        HelpID = "chart2:MetricField:TP_3D_SCENEGEOMETRY:MTR_FLD_PERSPECTIVE";
137*cdf0e10cSrcweir		Pos = MAP_APPFONT ( POS_X_2 , POS_Y_4-2  ) ;
138*cdf0e10cSrcweir		Size = MAP_APPFONT ( WIDTH_MF , HEIGHT_MF ) ;
139*cdf0e10cSrcweir		Border = TRUE ;
140*cdf0e10cSrcweir        TabStop = TRUE ;
141*cdf0e10cSrcweir        Repeat = TRUE ;
142*cdf0e10cSrcweir        Spin = TRUE ;
143*cdf0e10cSrcweir        Minimum = 0 ;
144*cdf0e10cSrcweir        Maximum = 100 ;
145*cdf0e10cSrcweir        StrictFormat = TRUE ;
146*cdf0e10cSrcweir        DecimalDigits = 0 ;
147*cdf0e10cSrcweir        First = 0 ;
148*cdf0e10cSrcweir        Last = 100 ;
149*cdf0e10cSrcweir        SpinSize = 5 ;
150*cdf0e10cSrcweir        Unit = FUNIT_CUSTOM ;
151*cdf0e10cSrcweir		CustomUnitText = "%" ;
152*cdf0e10cSrcweir	};
153*cdf0e10cSrcweir};
154*cdf0e10cSrcweir
155