2009-10-30 18:36:06 -05:00
|
|
|
/*************************************************************************
|
|
|
|
*
|
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
|
|
*
|
2010-02-12 08:01:35 -06:00
|
|
|
* Copyright 2000, 2010 Oracle and/or its affiliates.
|
2009-10-30 18:36:06 -05:00
|
|
|
*
|
|
|
|
* 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>
|
2009-11-02 13:49:14 -06:00
|
|
|
#include <cuires.hrc>
|
2009-10-30 18:36:06 -05:00
|
|
|
#include "textattr.hrc"
|
|
|
|
#include "helpid.hrc"
|
2009-11-02 13:49:14 -06:00
|
|
|
#include <svx/dialogs.hrc>
|
2009-10-30 18:36:06 -05:00
|
|
|
|
|
|
|
// RID_SVXPAGE_TEXTATTR --------------------------------------------------
|
|
|
|
TabPage RID_SVXPAGE_TEXTATTR
|
|
|
|
{
|
|
|
|
HelpId = HID_PAGE_TEXTATTR ;
|
|
|
|
Hide = TRUE ;
|
|
|
|
Size = MAP_APPFONT ( 260 , 185 ) ;
|
|
|
|
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
|
|
|
|
{
|
|
|
|
TabStop = TRUE ;
|
|
|
|
Pos = MAP_APPFONT ( 12 , 14 ) ;
|
|
|
|
Size = MAP_APPFONT ( 102 , 10 ) ;
|
|
|
|
Text [ en-US ] = "Fit wi~dth to text" ;
|
|
|
|
};
|
|
|
|
TriStateBox 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
|
|
|
|
{
|
|
|
|
TabStop = TRUE ;
|
|
|
|
Pos = MAP_APPFONT ( 12 , 42 ) ;
|
|
|
|
Size = MAP_APPFONT ( 102 , 10 ) ;
|
|
|
|
Text [ en-US ] = "~Fit to frame" ;
|
|
|
|
};
|
|
|
|
TriStateBox TSB_CONTOUR
|
|
|
|
{
|
|
|
|
TabStop = TRUE ;
|
|
|
|
Pos = MAP_APPFONT ( 12 , 56 ) ;
|
|
|
|
Size = MAP_APPFONT ( 102 , 10 ) ;
|
|
|
|
Text [ en-US ] = "~Adjust to contour" ;
|
|
|
|
};
|
|
|
|
TriStateBox 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
|
|
|
|
{
|
|
|
|
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
|
|
|
|
{
|
|
|
|
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
|
|
|
|
{
|
|
|
|
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
|
|
|
|
{
|
|
|
|
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
|
|
|
|
{
|
|
|
|
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
|
|
|
|
{
|
|
|
|
TabStop = TRUE ;
|
|
|
|
Pos = MAP_APPFONT ( 132 , 139 ) ;
|
|
|
|
Size = MAP_APPFONT ( 116 , 10 ) ;
|
|
|
|
Text [ en-US ] = "Full ~width" ;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
// ********************************************************************** EOF
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|