1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: tp_3D_SceneGeometry.src,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #include "tp_3D_SceneGeometry.hrc"
32 #include "dlg_View3D.hrc"
33 #include "SchSlotIds.hxx"
35 #ifndef _SVT_CONTROLDIMS_HRC_
36 #include <svtools/controldims.hrc>
49 #define POS_X_2 POS_X_1+WIDTH_FT+4
52 #define POS_Y_1 (POS_Y_0+RSC_CD_FIXEDTEXT_HEIGHT+10)
53 #define POS_Y_2 (POS_Y_1+RSC_CD_FIXEDTEXT_HEIGHT+8)
54 #define POS_Y_3 (POS_Y_2+RSC_CD_FIXEDTEXT_HEIGHT+8)
55 #define POS_Y_4 (POS_Y_3+RSC_CD_FIXEDTEXT_HEIGHT+12)
57 #define CUSTOMUNITTEXT_DEGREE \
64 StrictFormat = TRUE ; \
69 Unit = FUNIT_CUSTOM ; \
70 CustomUnitText [ en-US ] = " degrees" ;
72 TabPage TP_3D_SCENEGEOMETRY
74 HelpID = SID_3D_VIEW ;
78 Size = MAP_APPFONT ( VIEW3D_PAGE_WIDTH , VIEW3D_PAGE_HEIGHT ) ;
80 CheckBox CBX_RIGHT_ANGLED_AXES
82 Pos = MAP_APPFONT ( POS_X_1 , POS_Y_0 ) ;
83 Size = MAP_APPFONT ( (WIDTH_FT+WIDTH_MF) , HEIGHT_FT ) ;
85 Text [ en-US ] = "~Right-angled axes" ;
87 FixedText FT_X_ROTATION
89 Pos = MAP_APPFONT ( POS_X_1 , POS_Y_1 ) ;
90 Size = MAP_APPFONT ( WIDTH_FT , HEIGHT_FT ) ;
91 Text [ en-US ] = "~X rotation" ;
93 FixedText FT_Y_ROTATION
95 Pos = MAP_APPFONT ( POS_X_1 , POS_Y_2 ) ;
96 Size = MAP_APPFONT ( WIDTH_FT , HEIGHT_FT ) ;
97 Text [ en-US ] = "~Y rotation" ;
99 FixedText FT_Z_ROTATION
101 Pos = MAP_APPFONT ( POS_X_1 , POS_Y_3 ) ;
102 Size = MAP_APPFONT ( WIDTH_FT , HEIGHT_FT ) ;
103 Text [ en-US ] = "~Z rotation" ;
105 MetricField MTR_FLD_X_ROTATION
107 Pos = MAP_APPFONT ( POS_X_2 , POS_Y_1-2 ) ;
108 Size = MAP_APPFONT ( WIDTH_MF , HEIGHT_MF ) ;
109 CUSTOMUNITTEXT_DEGREE
111 MetricField MTR_FLD_Y_ROTATION
113 Pos = MAP_APPFONT ( POS_X_2 , POS_Y_2-2 ) ;
114 Size = MAP_APPFONT ( WIDTH_MF , HEIGHT_MF ) ;
115 CUSTOMUNITTEXT_DEGREE
117 MetricField MTR_FLD_Z_ROTATION
119 Pos = MAP_APPFONT ( POS_X_2 , POS_Y_3-2 ) ;
120 Size = MAP_APPFONT ( WIDTH_MF , HEIGHT_MF ) ;
121 CUSTOMUNITTEXT_DEGREE
124 CheckBox CBX_PERSPECTIVE
126 Pos = MAP_APPFONT ( POS_X_1 , POS_Y_4 ) ;
127 Size = MAP_APPFONT ( WIDTH_FT , HEIGHT_FT ) ;
129 Text [ en-US ] = "~Perspective" ;
131 MetricField MTR_FLD_PERSPECTIVE
133 Pos = MAP_APPFONT ( POS_X_2 , POS_Y_4-2 ) ;
134 Size = MAP_APPFONT ( WIDTH_MF , HEIGHT_MF ) ;
141 StrictFormat = TRUE ;
146 Unit = FUNIT_CUSTOM ;
147 CustomUnitText = "%" ;