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_SceneAppearance.hrc" 29#include "dlg_View3D.hrc" 30#include "SchSlotIds.hxx" 31 32#define WIDTH_FL 108 33#define WIDTH_LB 57 34#define WIDTH_FT 41 35 36#define HEIGHT_FL 8 37#define HEIGHT_LB 12 38#define HEIGHT_FT 10 39 40#define POS_X_0 6 41#define POS_X_1 6 42#define POS_X_2 POS_X_1+WIDTH_FT+4 43 44#define POS_Y_SCHEME 8 45#define POS_Y_SEPERATOR (POS_Y_SCHEME+13) 46 47#define POS_Y_SHADING (POS_Y_SEPERATOR+16) 48#define POS_Y_OBJECTLINES (POS_Y_SHADING+16) 49#define POS_Y_ROUNDEDEDGE (POS_Y_OBJECTLINES+16) 50 51 52TabPage TP_3D_SCENEAPPEARANCE 53{ 54 HelpID = "chart2:TabPage:TP_3D_SCENEAPPEARANCE"; 55 OutputSize = TRUE ; 56 SVLook = TRUE ; 57 Hide = TRUE ; 58 Size = MAP_APPFONT ( VIEW3D_PAGE_WIDTH , VIEW3D_PAGE_HEIGHT ) ; 59 60 FixedText FT_SCHEME 61 { 62 Pos = MAP_APPFONT ( POS_X_1 , POS_Y_SCHEME ) ; 63 Size = MAP_APPFONT ( WIDTH_FT , HEIGHT_FT ) ; 64 Text [ en-US ] = "Sche~me" ; 65 }; 66 ListBox LB_SCHEME 67 { 68 HelpID = "chart2:ListBox:TP_3D_SCENEAPPEARANCE:LB_SCHEME"; 69 Border = TRUE; 70 TabStop = TRUE; 71 DropDown = TRUE; 72 Pos = MAP_APPFONT ( POS_X_2 , POS_Y_SCHEME-2 ) ; 73 Size = MAP_APPFONT ( WIDTH_LB , HEIGHT_LB ) ; 74 }; 75 FixedLine FL_SEPERATOR 76 { 77 Pos = MAP_APPFONT ( POS_X_0 , POS_Y_SEPERATOR ) ; 78 Size = MAP_APPFONT ( WIDTH_FL , HEIGHT_FL ) ; 79 }; 80 81 CheckBox CB_SHADING 82 { 83 HelpID = "chart2:CheckBox:TP_3D_SCENEAPPEARANCE:CB_SHADING"; 84 Pos = MAP_APPFONT ( POS_X_1 , POS_Y_SHADING ) ; 85 Size = MAP_APPFONT ( WIDTH_FL , HEIGHT_LB ) ; 86 Text [ en-US ] = "~Shading" ; 87 }; 88 CheckBox CB_OBJECTLINES 89 { 90 HelpID = "chart2:CheckBox:TP_3D_SCENEAPPEARANCE:CB_OBJECTLINES"; 91 Pos = MAP_APPFONT ( POS_X_1 , POS_Y_OBJECTLINES ) ; 92 Size = MAP_APPFONT ( WIDTH_FL , HEIGHT_LB ) ; 93 Text [ en-US ] = "~Object borders" ; 94 }; 95 Checkbox CB_ROUNDEDEDGE 96 { 97 Pos = MAP_APPFONT ( POS_X_1 , POS_Y_ROUNDEDEDGE ) ; 98 Size = MAP_APPFONT ( WIDTH_FL , HEIGHT_LB ) ; 99 Text [ en-US ] = "~Rounded edges" ; 100 }; 101}; 102 103