12f531595SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
32f531595SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
42f531595SAndrew Rist * or more contributor license agreements.  See the NOTICE file
52f531595SAndrew Rist * distributed with this work for additional information
62f531595SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
72f531595SAndrew Rist * to you under the Apache License, Version 2.0 (the
82f531595SAndrew Rist * "License"); you may not use this file except in compliance
92f531595SAndrew Rist * with the License.  You may obtain a copy of the License at
102f531595SAndrew Rist *
112f531595SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
122f531595SAndrew Rist *
132f531595SAndrew Rist * Unless required by applicable law or agreed to in writing,
142f531595SAndrew Rist * software distributed under the License is distributed on an
152f531595SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
162f531595SAndrew Rist * KIND, either express or implied.  See the License for the
172f531595SAndrew Rist * specific language governing permissions and limitations
182f531595SAndrew Rist * under the License.
192f531595SAndrew Rist *
202f531595SAndrew Rist *************************************************************/
212f531595SAndrew Rist
222f531595SAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#include "tp_3D_SceneGeometry.hrc"
25cdf0e10cSrcweir#include "dlg_View3D.hrc"
26cdf0e10cSrcweir#include "SchSlotIds.hxx"
27cdf0e10cSrcweir#include "HelpIds.hrc"
28cdf0e10cSrcweir
29cdf0e10cSrcweir#ifndef _SVT_CONTROLDIMS_HRC_
30cdf0e10cSrcweir#include <svtools/controldims.hrc>
31cdf0e10cSrcweir#endif
32cdf0e10cSrcweir
33cdf0e10cSrcweir#define WIDTH_FL 108
34cdf0e10cSrcweir#define WIDTH_MF 57
35cdf0e10cSrcweir#define WIDTH_FT 50
36cdf0e10cSrcweir
37cdf0e10cSrcweir#define HEIGHT_FL 8
38cdf0e10cSrcweir#define HEIGHT_MF 12
39cdf0e10cSrcweir#define HEIGHT_FT 10
40cdf0e10cSrcweir
41cdf0e10cSrcweir#define POS_X_0 6
42cdf0e10cSrcweir#define POS_X_1 6
43cdf0e10cSrcweir#define POS_X_2 POS_X_1+WIDTH_FT+4
44cdf0e10cSrcweir
45cdf0e10cSrcweir#define POS_Y_0 (8)
46cdf0e10cSrcweir#define POS_Y_1 (POS_Y_0+RSC_CD_FIXEDTEXT_HEIGHT+10)
47cdf0e10cSrcweir#define POS_Y_2 (POS_Y_1+RSC_CD_FIXEDTEXT_HEIGHT+8)
48cdf0e10cSrcweir#define POS_Y_3 (POS_Y_2+RSC_CD_FIXEDTEXT_HEIGHT+8)
49cdf0e10cSrcweir#define POS_Y_4 (POS_Y_3+RSC_CD_FIXEDTEXT_HEIGHT+12)
50cdf0e10cSrcweir
51cdf0e10cSrcweir#define CUSTOMUNITTEXT_DEGREE \
52cdf0e10cSrcweirBorder = TRUE ; \
53cdf0e10cSrcweirTabStop = TRUE ; \
54cdf0e10cSrcweirRepeat = TRUE ; \
55cdf0e10cSrcweirSpin = TRUE ; \
56cdf0e10cSrcweirMinimum = -180 ; \
57cdf0e10cSrcweirMaximum = 180 ; \
58cdf0e10cSrcweirStrictFormat = TRUE ; \
59cdf0e10cSrcweirDecimalDigits = 0 ; \
60cdf0e10cSrcweirFirst = -180 ; \
61cdf0e10cSrcweirLast = 180 ; \
62cdf0e10cSrcweirSpinSize = 1 ; \
63cdf0e10cSrcweirUnit = FUNIT_CUSTOM ; \
64cdf0e10cSrcweirCustomUnitText [ en-US ] = " degrees" ;
65cdf0e10cSrcweir
66cdf0e10cSrcweirTabPage TP_3D_SCENEGEOMETRY
67cdf0e10cSrcweir{
68cdf0e10cSrcweir	HelpID = HID_3D_VIEW ;
69cdf0e10cSrcweir	OutputSize = TRUE ;
70cdf0e10cSrcweir	SVLook = TRUE ;
71cdf0e10cSrcweir	Hide = TRUE ;
72cdf0e10cSrcweir	Size = MAP_APPFONT ( VIEW3D_PAGE_WIDTH , VIEW3D_PAGE_HEIGHT ) ;
73cdf0e10cSrcweir
74cdf0e10cSrcweir    CheckBox CBX_RIGHT_ANGLED_AXES
75cdf0e10cSrcweir    {
76cdf0e10cSrcweir        HelpID = "chart2:CheckBox:TP_3D_SCENEGEOMETRY:CBX_RIGHT_ANGLED_AXES";
77cdf0e10cSrcweir        Pos = MAP_APPFONT ( POS_X_1 , POS_Y_0  ) ;
78cdf0e10cSrcweir        Size = MAP_APPFONT ( (WIDTH_FT+WIDTH_MF) , HEIGHT_FT ) ;
79cdf0e10cSrcweir        TabStop = TRUE ;
80cdf0e10cSrcweir        Text [ en-US ] = "~Right-angled axes" ;
81cdf0e10cSrcweir    };
82cdf0e10cSrcweir	FixedText FT_X_ROTATION
83cdf0e10cSrcweir	{
84cdf0e10cSrcweir		Pos = MAP_APPFONT ( POS_X_1 , POS_Y_1  ) ;
85cdf0e10cSrcweir		Size = MAP_APPFONT ( WIDTH_FT , HEIGHT_FT ) ;
86cdf0e10cSrcweir		Text [ en-US ] = "~X rotation" ;
87cdf0e10cSrcweir	};
88cdf0e10cSrcweir	FixedText FT_Y_ROTATION
89cdf0e10cSrcweir	{
90cdf0e10cSrcweir		Pos = MAP_APPFONT ( POS_X_1 , POS_Y_2  ) ;
91cdf0e10cSrcweir		Size = MAP_APPFONT ( WIDTH_FT , HEIGHT_FT ) ;
92cdf0e10cSrcweir		Text [ en-US ] = "~Y rotation" ;
93cdf0e10cSrcweir	};
94cdf0e10cSrcweir	FixedText FT_Z_ROTATION
95cdf0e10cSrcweir	{
96cdf0e10cSrcweir		Pos = MAP_APPFONT ( POS_X_1 , POS_Y_3  ) ;
97cdf0e10cSrcweir		Size = MAP_APPFONT ( WIDTH_FT , HEIGHT_FT ) ;
98cdf0e10cSrcweir		Text [ en-US ] = "~Z rotation" ;
99cdf0e10cSrcweir	};
100cdf0e10cSrcweir	MetricField MTR_FLD_X_ROTATION
101cdf0e10cSrcweir	{
102cdf0e10cSrcweir	    HelpID = "chart2:MetricField:TP_3D_SCENEGEOMETRY:MTR_FLD_X_ROTATION";
103cdf0e10cSrcweir		Pos = MAP_APPFONT ( POS_X_2 , POS_Y_1-2  ) ;
104cdf0e10cSrcweir		Size = MAP_APPFONT ( WIDTH_MF , HEIGHT_MF ) ;
105cdf0e10cSrcweir		CUSTOMUNITTEXT_DEGREE
106cdf0e10cSrcweir	};
107cdf0e10cSrcweir	MetricField MTR_FLD_Y_ROTATION
108cdf0e10cSrcweir	{
109cdf0e10cSrcweir	    HelpID = "chart2:MetricField:TP_3D_SCENEGEOMETRY:MTR_FLD_Y_ROTATION";
110cdf0e10cSrcweir		Pos = MAP_APPFONT ( POS_X_2 , POS_Y_2-2  ) ;
111cdf0e10cSrcweir		Size = MAP_APPFONT ( WIDTH_MF , HEIGHT_MF ) ;
112cdf0e10cSrcweir		CUSTOMUNITTEXT_DEGREE
113cdf0e10cSrcweir	};
114cdf0e10cSrcweir	MetricField MTR_FLD_Z_ROTATION
115cdf0e10cSrcweir	{
116cdf0e10cSrcweir	    HelpID = "chart2:MetricField:TP_3D_SCENEGEOMETRY:MTR_FLD_Z_ROTATION";
117cdf0e10cSrcweir		Pos = MAP_APPFONT ( POS_X_2 , POS_Y_3-2 ) ;
118cdf0e10cSrcweir		Size = MAP_APPFONT ( WIDTH_MF , HEIGHT_MF ) ;
119cdf0e10cSrcweir        CUSTOMUNITTEXT_DEGREE
120cdf0e10cSrcweir	};
121cdf0e10cSrcweir
122cdf0e10cSrcweir	CheckBox CBX_PERSPECTIVE
123cdf0e10cSrcweir	{
124cdf0e10cSrcweir	    HelpID = "chart2:CheckBox:TP_3D_SCENEGEOMETRY:CBX_PERSPECTIVE";
125cdf0e10cSrcweir	    Pos = MAP_APPFONT ( POS_X_1 , POS_Y_4  ) ;
126cdf0e10cSrcweir		Size = MAP_APPFONT ( WIDTH_FT , HEIGHT_FT ) ;
127cdf0e10cSrcweir		TabStop = TRUE ;
128cdf0e10cSrcweir	    Text [ en-US ] = "~Perspective" ;
129cdf0e10cSrcweir    };
130cdf0e10cSrcweir    MetricField MTR_FLD_PERSPECTIVE
131cdf0e10cSrcweir	{
132cdf0e10cSrcweir        HelpID = "chart2:MetricField:TP_3D_SCENEGEOMETRY:MTR_FLD_PERSPECTIVE";
133cdf0e10cSrcweir		Pos = MAP_APPFONT ( POS_X_2 , POS_Y_4-2  ) ;
134cdf0e10cSrcweir		Size = MAP_APPFONT ( WIDTH_MF , HEIGHT_MF ) ;
135cdf0e10cSrcweir		Border = TRUE ;
136cdf0e10cSrcweir        TabStop = TRUE ;
137cdf0e10cSrcweir        Repeat = TRUE ;
138cdf0e10cSrcweir        Spin = TRUE ;
139cdf0e10cSrcweir        Minimum = 0 ;
140cdf0e10cSrcweir        Maximum = 100 ;
141cdf0e10cSrcweir        StrictFormat = TRUE ;
142cdf0e10cSrcweir        DecimalDigits = 0 ;
143cdf0e10cSrcweir        First = 0 ;
144cdf0e10cSrcweir        Last = 100 ;
145cdf0e10cSrcweir        SpinSize = 5 ;
146*7ea7a1ccSTsutomu Uchino        Unit = FUNIT_PERCENT ;
147cdf0e10cSrcweir	};
148cdf0e10cSrcweir};
149cdf0e10cSrcweir
150