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