1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23 24#include "tp_3D_SceneAppearance.hrc" 25#include "dlg_View3D.hrc" 26#include "SchSlotIds.hxx" 27 28#define WIDTH_FL 108 29#define WIDTH_LB 57 30#define WIDTH_FT 41 31 32#define HEIGHT_FL 8 33#define HEIGHT_LB 12 34#define HEIGHT_FT 10 35 36#define POS_X_0 6 37#define POS_X_1 6 38#define POS_X_2 POS_X_1+WIDTH_FT+4 39 40#define POS_Y_SCHEME 8 41#define POS_Y_SEPERATOR (POS_Y_SCHEME+13) 42 43#define POS_Y_SHADING (POS_Y_SEPERATOR+16) 44#define POS_Y_OBJECTLINES (POS_Y_SHADING+16) 45#define POS_Y_ROUNDEDEDGE (POS_Y_OBJECTLINES+16) 46 47 48TabPage TP_3D_SCENEAPPEARANCE 49{ 50 HelpID = "chart2:TabPage:TP_3D_SCENEAPPEARANCE"; 51 OutputSize = TRUE ; 52 SVLook = TRUE ; 53 Hide = TRUE ; 54 Size = MAP_APPFONT ( VIEW3D_PAGE_WIDTH , VIEW3D_PAGE_HEIGHT ) ; 55 56 FixedText FT_SCHEME 57 { 58 Pos = MAP_APPFONT ( POS_X_1 , POS_Y_SCHEME ) ; 59 Size = MAP_APPFONT ( WIDTH_FT , HEIGHT_FT ) ; 60 Text [ en-US ] = "Sche~me" ; 61 }; 62 ListBox LB_SCHEME 63 { 64 HelpID = "chart2:ListBox:TP_3D_SCENEAPPEARANCE:LB_SCHEME"; 65 Border = TRUE; 66 TabStop = TRUE; 67 DropDown = TRUE; 68 Pos = MAP_APPFONT ( POS_X_2 , POS_Y_SCHEME-2 ) ; 69 Size = MAP_APPFONT ( WIDTH_LB , HEIGHT_LB ) ; 70 }; 71 FixedLine FL_SEPERATOR 72 { 73 Pos = MAP_APPFONT ( POS_X_0 , POS_Y_SEPERATOR ) ; 74 Size = MAP_APPFONT ( WIDTH_FL , HEIGHT_FL ) ; 75 }; 76 77 CheckBox CB_SHADING 78 { 79 HelpID = "chart2:CheckBox:TP_3D_SCENEAPPEARANCE:CB_SHADING"; 80 Pos = MAP_APPFONT ( POS_X_1 , POS_Y_SHADING ) ; 81 Size = MAP_APPFONT ( WIDTH_FL , HEIGHT_LB ) ; 82 Text [ en-US ] = "~Shading" ; 83 }; 84 CheckBox CB_OBJECTLINES 85 { 86 HelpID = "chart2:CheckBox:TP_3D_SCENEAPPEARANCE:CB_OBJECTLINES"; 87 Pos = MAP_APPFONT ( POS_X_1 , POS_Y_OBJECTLINES ) ; 88 Size = MAP_APPFONT ( WIDTH_FL , HEIGHT_LB ) ; 89 Text [ en-US ] = "~Object borders" ; 90 }; 91 Checkbox CB_ROUNDEDEDGE 92 { 93 Pos = MAP_APPFONT ( POS_X_1 , POS_Y_ROUNDEDEDGE ) ; 94 Size = MAP_APPFONT ( WIDTH_FL , HEIGHT_LB ) ; 95 Text [ en-US ] = "~Rounded edges" ; 96 }; 97}; 98 99