2007-05-22 16:42:42 +00:00
|
|
|
/*************************************************************************
|
|
|
|
*
|
2008-04-10 19:12:47 +00:00
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
2007-05-22 16:42:42 +00:00
|
|
|
*
|
2010-02-12 15:01:35 +01:00
|
|
|
* Copyright 2000, 2010 Oracle and/or its affiliates.
|
2007-05-22 16:42:42 +00:00
|
|
|
*
|
2008-04-10 19:12:47 +00:00
|
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
2007-05-22 16:42:42 +00:00
|
|
|
*
|
2008-04-10 19:12:47 +00:00
|
|
|
* This file is part of OpenOffice.org.
|
2007-05-22 16:42:42 +00:00
|
|
|
*
|
2008-04-10 19:12:47 +00:00
|
|
|
* OpenOffice.org is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU Lesser General Public License version 3
|
|
|
|
* only, as published by the Free Software Foundation.
|
2007-05-22 16:42:42 +00:00
|
|
|
*
|
2008-04-10 19:12:47 +00:00
|
|
|
* OpenOffice.org is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU Lesser General Public License version 3 for more details
|
|
|
|
* (a copy is included in the LICENSE file that accompanied this code).
|
2007-05-22 16:42:42 +00:00
|
|
|
*
|
2008-04-10 19:12:47 +00:00
|
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
|
|
* version 3 along with OpenOffice.org. If not, see
|
|
|
|
* <http://www.openoffice.org/license.html>
|
|
|
|
* for a copy of the LGPLv3 License.
|
2007-05-22 16:42:42 +00:00
|
|
|
*
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
#include "tp_3D_SceneGeometry.hrc"
|
|
|
|
#include "dlg_View3D.hrc"
|
|
|
|
#include "SchSlotIds.hxx"
|
2010-07-10 18:21:24 +02:00
|
|
|
#include "HelpIds.hrc"
|
2007-05-22 16:42:42 +00:00
|
|
|
|
|
|
|
#ifndef _SVT_CONTROLDIMS_HRC_
|
|
|
|
#include <svtools/controldims.hrc>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define WIDTH_FL 108
|
|
|
|
#define WIDTH_MF 57
|
|
|
|
#define WIDTH_FT 50
|
|
|
|
|
|
|
|
#define HEIGHT_FL 8
|
|
|
|
#define HEIGHT_MF 12
|
|
|
|
#define HEIGHT_FT 10
|
|
|
|
|
|
|
|
#define POS_X_0 6
|
2007-07-03 12:39:56 +00:00
|
|
|
#define POS_X_1 6
|
2007-05-22 16:42:42 +00:00
|
|
|
#define POS_X_2 POS_X_1+WIDTH_FT+4
|
|
|
|
|
2007-07-03 12:39:56 +00:00
|
|
|
#define POS_Y_0 (8)
|
|
|
|
#define POS_Y_1 (POS_Y_0+RSC_CD_FIXEDTEXT_HEIGHT+10)
|
2007-05-22 16:42:42 +00:00
|
|
|
#define POS_Y_2 (POS_Y_1+RSC_CD_FIXEDTEXT_HEIGHT+8)
|
|
|
|
#define POS_Y_3 (POS_Y_2+RSC_CD_FIXEDTEXT_HEIGHT+8)
|
2007-07-03 12:39:56 +00:00
|
|
|
#define POS_Y_4 (POS_Y_3+RSC_CD_FIXEDTEXT_HEIGHT+12)
|
2007-05-22 16:42:42 +00:00
|
|
|
|
|
|
|
#define CUSTOMUNITTEXT_DEGREE \
|
|
|
|
Border = TRUE ; \
|
|
|
|
TabStop = TRUE ; \
|
|
|
|
Repeat = TRUE ; \
|
|
|
|
Spin = TRUE ; \
|
|
|
|
Minimum = -180 ; \
|
|
|
|
Maximum = 180 ; \
|
|
|
|
StrictFormat = TRUE ; \
|
|
|
|
DecimalDigits = 0 ; \
|
|
|
|
First = -180 ; \
|
|
|
|
Last = 180 ; \
|
2007-07-03 12:39:56 +00:00
|
|
|
SpinSize = 1 ; \
|
2007-05-22 16:42:42 +00:00
|
|
|
Unit = FUNIT_CUSTOM ; \
|
|
|
|
CustomUnitText [ en-US ] = " degrees" ;
|
|
|
|
|
|
|
|
TabPage TP_3D_SCENEGEOMETRY
|
|
|
|
{
|
2010-07-10 18:21:24 +02:00
|
|
|
HelpID = HID_3D_VIEW ;
|
2007-05-22 16:42:42 +00:00
|
|
|
OutputSize = TRUE ;
|
|
|
|
SVLook = TRUE ;
|
|
|
|
Hide = TRUE ;
|
|
|
|
Size = MAP_APPFONT ( VIEW3D_PAGE_WIDTH , VIEW3D_PAGE_HEIGHT ) ;
|
|
|
|
|
2007-07-03 12:39:56 +00:00
|
|
|
CheckBox CBX_RIGHT_ANGLED_AXES
|
|
|
|
{
|
2010-10-11 17:56:12 +02:00
|
|
|
HelpID = "chart2:CheckBox:TP_3D_SCENEGEOMETRY:CBX_RIGHT_ANGLED_AXES";
|
2007-07-03 12:39:56 +00:00
|
|
|
Pos = MAP_APPFONT ( POS_X_1 , POS_Y_0 ) ;
|
|
|
|
Size = MAP_APPFONT ( (WIDTH_FT+WIDTH_MF) , HEIGHT_FT ) ;
|
|
|
|
TabStop = TRUE ;
|
|
|
|
Text [ en-US ] = "~Right-angled axes" ;
|
|
|
|
};
|
2007-05-22 16:42:42 +00:00
|
|
|
FixedText FT_X_ROTATION
|
|
|
|
{
|
|
|
|
Pos = MAP_APPFONT ( POS_X_1 , POS_Y_1 ) ;
|
|
|
|
Size = MAP_APPFONT ( WIDTH_FT , HEIGHT_FT ) ;
|
|
|
|
Text [ en-US ] = "~X rotation" ;
|
|
|
|
};
|
|
|
|
FixedText FT_Y_ROTATION
|
|
|
|
{
|
|
|
|
Pos = MAP_APPFONT ( POS_X_1 , POS_Y_2 ) ;
|
|
|
|
Size = MAP_APPFONT ( WIDTH_FT , HEIGHT_FT ) ;
|
|
|
|
Text [ en-US ] = "~Y rotation" ;
|
|
|
|
};
|
|
|
|
FixedText FT_Z_ROTATION
|
|
|
|
{
|
|
|
|
Pos = MAP_APPFONT ( POS_X_1 , POS_Y_3 ) ;
|
|
|
|
Size = MAP_APPFONT ( WIDTH_FT , HEIGHT_FT ) ;
|
|
|
|
Text [ en-US ] = "~Z rotation" ;
|
|
|
|
};
|
|
|
|
MetricField MTR_FLD_X_ROTATION
|
|
|
|
{
|
2010-10-11 17:56:12 +02:00
|
|
|
HelpID = "chart2:MetricField:TP_3D_SCENEGEOMETRY:MTR_FLD_X_ROTATION";
|
2007-05-22 16:42:42 +00:00
|
|
|
Pos = MAP_APPFONT ( POS_X_2 , POS_Y_1-2 ) ;
|
|
|
|
Size = MAP_APPFONT ( WIDTH_MF , HEIGHT_MF ) ;
|
|
|
|
CUSTOMUNITTEXT_DEGREE
|
|
|
|
};
|
|
|
|
MetricField MTR_FLD_Y_ROTATION
|
|
|
|
{
|
2010-10-11 17:56:12 +02:00
|
|
|
HelpID = "chart2:MetricField:TP_3D_SCENEGEOMETRY:MTR_FLD_Y_ROTATION";
|
2007-05-22 16:42:42 +00:00
|
|
|
Pos = MAP_APPFONT ( POS_X_2 , POS_Y_2-2 ) ;
|
|
|
|
Size = MAP_APPFONT ( WIDTH_MF , HEIGHT_MF ) ;
|
|
|
|
CUSTOMUNITTEXT_DEGREE
|
|
|
|
};
|
|
|
|
MetricField MTR_FLD_Z_ROTATION
|
|
|
|
{
|
2010-10-11 17:56:12 +02:00
|
|
|
HelpID = "chart2:MetricField:TP_3D_SCENEGEOMETRY:MTR_FLD_Z_ROTATION";
|
2007-05-22 16:42:42 +00:00
|
|
|
Pos = MAP_APPFONT ( POS_X_2 , POS_Y_3-2 ) ;
|
|
|
|
Size = MAP_APPFONT ( WIDTH_MF , HEIGHT_MF ) ;
|
|
|
|
CUSTOMUNITTEXT_DEGREE
|
|
|
|
};
|
|
|
|
|
|
|
|
CheckBox CBX_PERSPECTIVE
|
|
|
|
{
|
2010-10-11 17:56:12 +02:00
|
|
|
HelpID = "chart2:CheckBox:TP_3D_SCENEGEOMETRY:CBX_PERSPECTIVE";
|
2007-05-22 16:42:42 +00:00
|
|
|
Pos = MAP_APPFONT ( POS_X_1 , POS_Y_4 ) ;
|
|
|
|
Size = MAP_APPFONT ( WIDTH_FT , HEIGHT_FT ) ;
|
|
|
|
TabStop = TRUE ;
|
|
|
|
Text [ en-US ] = "~Perspective" ;
|
|
|
|
};
|
|
|
|
MetricField MTR_FLD_PERSPECTIVE
|
|
|
|
{
|
2010-10-11 17:56:12 +02:00
|
|
|
HelpID = "chart2:MetricField:TP_3D_SCENEGEOMETRY:MTR_FLD_PERSPECTIVE";
|
2007-05-22 16:42:42 +00:00
|
|
|
Pos = MAP_APPFONT ( POS_X_2 , POS_Y_4-2 ) ;
|
|
|
|
Size = MAP_APPFONT ( WIDTH_MF , HEIGHT_MF ) ;
|
|
|
|
Border = TRUE ;
|
|
|
|
TabStop = TRUE ;
|
|
|
|
Repeat = TRUE ;
|
|
|
|
Spin = TRUE ;
|
|
|
|
Minimum = 0 ;
|
|
|
|
Maximum = 100 ;
|
|
|
|
StrictFormat = TRUE ;
|
|
|
|
DecimalDigits = 0 ;
|
|
|
|
First = 0 ;
|
|
|
|
Last = 100 ;
|
|
|
|
SpinSize = 5 ;
|
|
|
|
Unit = FUNIT_CUSTOM ;
|
|
|
|
CustomUnitText = "%" ;
|
|
|
|
};
|
|
|
|
};
|