f70fe6e651
The reason is that they can be combined arbitrarily in dialogs, so changing, e.g., height of one tab can lead to "interesting" results. Cf. commits8631dbf85f
and29042d096a
that were the cause of the problem described fdo#49921. Change-Id: I9995002a2bd5c3604bdfa06dc817916ce61c558d
255 lines
6.9 KiB
Text
255 lines
6.9 KiB
Text
/*************************************************************************
|
|
*
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
*
|
|
* Copyright 2000, 2010 Oracle and/or its affiliates.
|
|
*
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
|
*
|
|
* This file is part of OpenOffice.org.
|
|
*
|
|
* 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.
|
|
*
|
|
* 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).
|
|
*
|
|
* 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.
|
|
*
|
|
************************************************************************/
|
|
// include ---------------------------------------------------------------
|
|
#include <svtools/controldims.hrc>
|
|
#include <cuires.hrc>
|
|
#include "textattr.hrc"
|
|
#include "helpid.hrc"
|
|
#include <svx/dialogs.hrc>
|
|
|
|
// RID_SVXPAGE_TEXTATTR --------------------------------------------------
|
|
TabPage RID_SVXPAGE_TEXTATTR
|
|
{
|
|
HelpId = HID_PAGE_TEXTATTR ;
|
|
Hide = TRUE ;
|
|
Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
|
|
Text [ en-US ] = "Text" ;
|
|
FixedLine FL_TEXT
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 3 ) ;
|
|
Size = MAP_APPFONT ( 248 , RSC_CD_FIXEDLINE_HEIGHT ) ;
|
|
Text [ en-US ] = "Text" ;
|
|
};
|
|
TriStateBox TSB_AUTOGROW_WIDTH
|
|
{
|
|
HelpID = "cui:TriStateBox:RID_SVXPAGE_TEXTATTR:TSB_AUTOGROW_WIDTH";
|
|
TabStop = TRUE ;
|
|
Pos = MAP_APPFONT ( 12 , 14 ) ;
|
|
Size = MAP_APPFONT ( 102 , 10 ) ;
|
|
Text [ en-US ] = "Fit wi~dth to text" ;
|
|
};
|
|
TriStateBox TSB_AUTOGROW_HEIGHT
|
|
{
|
|
HelpID = "cui:TriStateBox:RID_SVXPAGE_TEXTATTR:TSB_AUTOGROW_HEIGHT";
|
|
TabStop = TRUE ;
|
|
Pos = MAP_APPFONT ( 12 , 28 ) ;
|
|
Size = MAP_APPFONT ( 102 , 10 ) ;
|
|
Text [ en-US ] = "Fit h~eight to text" ;
|
|
};
|
|
TriStateBox TSB_FIT_TO_SIZE
|
|
{
|
|
HelpID = "cui:TriStateBox:RID_SVXPAGE_TEXTATTR:TSB_FIT_TO_SIZE";
|
|
TabStop = TRUE ;
|
|
Pos = MAP_APPFONT ( 12 , 42 ) ;
|
|
Size = MAP_APPFONT ( 102 , 10 ) ;
|
|
Text [ en-US ] = "~Fit to frame" ;
|
|
};
|
|
TriStateBox TSB_CONTOUR
|
|
{
|
|
HelpID = "cui:TriStateBox:RID_SVXPAGE_TEXTATTR:TSB_CONTOUR";
|
|
TabStop = TRUE ;
|
|
Pos = MAP_APPFONT ( 12 , 56 ) ;
|
|
Size = MAP_APPFONT ( 102 , 10 ) ;
|
|
Text [ en-US ] = "~Adjust to contour" ;
|
|
};
|
|
TriStateBox TSB_WORDWRAP_TEXT
|
|
{
|
|
HelpID = "cui:TriStateBox:RID_SVXPAGE_TEXTATTR:TSB_WORDWRAP_TEXT";
|
|
TabStop = TRUE;
|
|
Pos = MAP_APPFONT( 132, 14 ) ;
|
|
Size = MAP_APPFONT( 127 , 10 ) ;
|
|
Text [ en-US ] = "~Word wrap text in shape";
|
|
};
|
|
TriStateBox TSB_AUTOGROW_SIZE
|
|
{
|
|
HelpID = "cui:TriStateBox:RID_SVXPAGE_TEXTATTR:TSB_AUTOGROW_SIZE";
|
|
TabStop = TRUE;
|
|
Pos = MAP_APPFONT( 132, 28 );
|
|
Size = MAP_APPFONT( 127 , 10 );
|
|
Text [ en-US ] = "~Resize shape to fit text";
|
|
};
|
|
FixedLine FL_DISTANCE
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 72 ) ;
|
|
Size = MAP_APPFONT ( 114 , RSC_CD_FIXEDLINE_HEIGHT ) ;
|
|
Text [ en-US ] = "Spacing to borders" ;
|
|
};
|
|
FixedText FT_LEFT
|
|
{
|
|
Pos = MAP_APPFONT ( 12 , 85 ) ;
|
|
Size = MAP_APPFONT ( 50 , 8 ) ;
|
|
Text [ en-US ] = "~Left" ;
|
|
};
|
|
FixedText FT_RIGHT
|
|
{
|
|
Pos = MAP_APPFONT ( 12 , 101 ) ;
|
|
Size = MAP_APPFONT ( 50 , 8 ) ;
|
|
Text [ en-US ] = "~Right" ;
|
|
};
|
|
FixedText FT_TOP
|
|
{
|
|
Pos = MAP_APPFONT ( 12 , 117 ) ;
|
|
Size = MAP_APPFONT ( 50 , 8 ) ;
|
|
Text [ en-US ] = "~Top" ;
|
|
};
|
|
FixedText FT_BOTTOM
|
|
{
|
|
Pos = MAP_APPFONT ( 12 , 133 ) ;
|
|
Size = MAP_APPFONT ( 50 , 8 ) ;
|
|
Text [ en-US ] = "~Bottom" ;
|
|
};
|
|
MetricField MTR_FLD_LEFT
|
|
{
|
|
HelpID = "cui:MetricField:RID_SVXPAGE_TEXTATTR:MTR_FLD_LEFT";
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 69 , 83 ) ;
|
|
Size = MAP_APPFONT ( 45 , 12 ) ;
|
|
TabStop = TRUE ;
|
|
Repeat = TRUE ;
|
|
Spin = TRUE ;
|
|
DecimalDigits = 2 ;
|
|
Unit = FUNIT_MM ;
|
|
Minimum = -10000 ;
|
|
First = -10000 ;
|
|
Maximum = 10000 ;
|
|
Last = 10000 ;
|
|
SpinSize = 10 ;
|
|
};
|
|
MetricField MTR_FLD_RIGHT
|
|
{
|
|
HelpID = "cui:MetricField:RID_SVXPAGE_TEXTATTR:MTR_FLD_RIGHT";
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 69 , 99 ) ;
|
|
Size = MAP_APPFONT ( 45 , 12 ) ;
|
|
TabStop = TRUE ;
|
|
Repeat = TRUE ;
|
|
Spin = TRUE ;
|
|
DecimalDigits = 2 ;
|
|
Unit = FUNIT_MM ;
|
|
Minimum = -10000 ;
|
|
First = -10000 ;
|
|
Maximum = 10000 ;
|
|
Last = 10000 ;
|
|
SpinSize = 10 ;
|
|
};
|
|
MetricField MTR_FLD_TOP
|
|
{
|
|
HelpID = "cui:MetricField:RID_SVXPAGE_TEXTATTR:MTR_FLD_TOP";
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 69 , 115 ) ;
|
|
Size = MAP_APPFONT ( 45 , 12 ) ;
|
|
TabStop = TRUE ;
|
|
Repeat = TRUE ;
|
|
Spin = TRUE ;
|
|
DecimalDigits = 2 ;
|
|
Unit = FUNIT_MM ;
|
|
Minimum = -10000 ;
|
|
First = -10000 ;
|
|
Maximum = 10000 ;
|
|
Last = 10000 ;
|
|
SpinSize = 10 ;
|
|
};
|
|
MetricField MTR_FLD_BOTTOM
|
|
{
|
|
HelpID = "cui:MetricField:RID_SVXPAGE_TEXTATTR:MTR_FLD_BOTTOM";
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 69 , 131 ) ;
|
|
Size = MAP_APPFONT ( 45 , 12 ) ;
|
|
TabStop = TRUE ;
|
|
Repeat = TRUE ;
|
|
Spin = TRUE ;
|
|
DecimalDigits = 2 ;
|
|
Unit = FUNIT_MM ;
|
|
Minimum = -10000 ;
|
|
First = -10000 ;
|
|
Maximum = 10000 ;
|
|
Last = 10000 ;
|
|
SpinSize = 10 ;
|
|
};
|
|
FixedLine FL_SEPARATOR
|
|
{
|
|
Pos = MAP_APPFONT ( 121 , 83 ) ;
|
|
Size = MAP_APPFONT ( RSC_CD_FIXEDLINE_WIDTH , 66 ) ;
|
|
Vert = TRUE;
|
|
};
|
|
FixedLine FL_POSITION
|
|
{
|
|
Pos = MAP_APPFONT ( 126 , 72 ) ;
|
|
Size = MAP_APPFONT ( 128 , RSC_CD_FIXEDLINE_HEIGHT ) ;
|
|
Text [ en-US ] = "Text anchor" ;
|
|
};
|
|
Control CTL_POSITION
|
|
{
|
|
HelpId = HID_TEXTATTR_CTL_POSITION ;
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 132 , 83 ) ;
|
|
Size = MAP_APPFONT ( 116 , 52 ) ;
|
|
TabStop = TRUE ;
|
|
};
|
|
TriStateBox TSB_FULL_WIDTH
|
|
{
|
|
HelpID = "cui:TriStateBox:RID_SVXPAGE_TEXTATTR:TSB_FULL_WIDTH";
|
|
TabStop = TRUE ;
|
|
Pos = MAP_APPFONT ( 132 , 139 ) ;
|
|
Size = MAP_APPFONT ( 116 , 10 ) ;
|
|
Text [ en-US ] = "Full ~width" ;
|
|
};
|
|
};
|
|
// ********************************************************************** EOF
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|