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