a0296296fb
use solenv/bin/add-modulelines script for the task and remove all UTF bom from *.src and *.hrc files svx/source/dialog/hdft.src Change-Id: I745d4f0fe9b05436a142a03f8512970f91c41bd4
268 lines
7.8 KiB
Text
268 lines
7.8 KiB
Text
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
|
/*
|
|
* This file is part of the LibreOffice project.
|
|
*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
*
|
|
* This file incorporates work covered by the following license notice:
|
|
*
|
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
|
* contributor license agreements. See the NOTICE file distributed
|
|
* with this work for additional information regarding copyright
|
|
* ownership. The ASF licenses this file to you under the Apache
|
|
* License, Version 2.0 (the "License"); you may not use this file
|
|
* except in compliance with the License. You may obtain a copy of
|
|
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
|
*/
|
|
|
|
#include <cuires.hrc>
|
|
#include "measure.hrc"
|
|
#include "helpid.hrc"
|
|
#include <svx/dialogs.hrc>
|
|
|
|
#define DELTA 20
|
|
|
|
// RID_SVXPAGE_MEASURE ---------------------------------------------------
|
|
TabPage RID_SVXPAGE_MEASURE
|
|
{
|
|
HelpId = HID_PAGE_MEASURE ;
|
|
Hide = TRUE ;
|
|
Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
|
|
Text [ en-US ] = "Dimensioning" ;
|
|
|
|
FixedLine FL_LINE
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 3 ) ;
|
|
Size = MAP_APPFONT ( 120 , 8 ) ;
|
|
Text [ en-US ] = "Line";
|
|
};
|
|
FixedText FT_LINE_DIST
|
|
{
|
|
Pos = MAP_APPFONT ( 12 , 16 ) ;
|
|
Size = MAP_APPFONT ( 65 , 8 ) ;
|
|
Text [ en-US ] = "Line ~distance" ;
|
|
};
|
|
MetricField MTR_LINE_DIST
|
|
{
|
|
HelpID = "cui:MetricField:RID_SVXPAGE_MEASURE:MTR_LINE_DIST";
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 78 , 14 ) ;
|
|
Size = MAP_APPFONT ( 42 , 12 ) ;
|
|
TabStop = TRUE ;
|
|
Repeat = TRUE ;
|
|
Spin = TRUE ;
|
|
Unit = FUNIT_MM ;
|
|
DecimalDigits = 2 ;
|
|
Minimum = -10000 ;
|
|
First = -10000 ;
|
|
Maximum = 10000 ;
|
|
Last = 10000 ;
|
|
SpinSize = 10 ;
|
|
};
|
|
FixedText FT_HELPLINE_OVERHANG
|
|
{
|
|
Pos = MAP_APPFONT ( 12 , 32 ) ;
|
|
Size = MAP_APPFONT ( 65 , 8 ) ;
|
|
Text [ en-US ] = "Guide ~overhang" ;
|
|
};
|
|
MetricField MTR_FLD_HELPLINE_OVERHANG
|
|
{
|
|
HelpID = "cui:MetricField:RID_SVXPAGE_MEASURE:MTR_FLD_HELPLINE_OVERHANG";
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 78 , 30 ) ;
|
|
Size = MAP_APPFONT ( 42 , 12 ) ;
|
|
TabStop = TRUE ;
|
|
Repeat = TRUE ;
|
|
Spin = TRUE ;
|
|
Unit = FUNIT_MM ;
|
|
DecimalDigits = 2 ;
|
|
Minimum = -10000 ;
|
|
First = -10000 ;
|
|
Maximum = 10000 ;
|
|
Last = 10000 ;
|
|
SpinSize = 10 ;
|
|
};
|
|
FixedText FT_HELPLINE_DIST
|
|
{
|
|
Pos = MAP_APPFONT ( 12 , 48 ) ;
|
|
Size = MAP_APPFONT ( 65 , 8 ) ;
|
|
Text [ en-US ] = "~Guide distance" ;
|
|
};
|
|
MetricField MTR_FLD_HELPLINE_DIST
|
|
{
|
|
HelpID = "cui:MetricField:RID_SVXPAGE_MEASURE:MTR_FLD_HELPLINE_DIST";
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 78 , 46 ) ;
|
|
Size = MAP_APPFONT ( 42 , 12 ) ;
|
|
TabStop = TRUE ;
|
|
Repeat = TRUE ;
|
|
Spin = TRUE ;
|
|
Unit = FUNIT_MM ;
|
|
DecimalDigits = 2 ;
|
|
Minimum = -10000 ;
|
|
First = -10000 ;
|
|
Maximum = 10000 ;
|
|
Last = 10000 ;
|
|
SpinSize = 10 ;
|
|
};
|
|
FixedText FT_HELPLINE1_LEN
|
|
{
|
|
Pos = MAP_APPFONT ( 12 , 64 ) ;
|
|
Size = MAP_APPFONT ( 65 , 8 ) ;
|
|
Text [ en-US ] = "~Left guide" ;
|
|
};
|
|
MetricField MTR_FLD_HELPLINE1_LEN
|
|
{
|
|
HelpID = "cui:MetricField:RID_SVXPAGE_MEASURE:MTR_FLD_HELPLINE1_LEN";
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 78 , 62 ) ;
|
|
Size = MAP_APPFONT ( 42 , 12 ) ;
|
|
TabStop = TRUE ;
|
|
Repeat = TRUE ;
|
|
Spin = TRUE ;
|
|
Unit = FUNIT_MM ;
|
|
DecimalDigits = 2 ;
|
|
Minimum = -10000 ;
|
|
First = -10000 ;
|
|
Maximum = 10000 ;
|
|
Last = 10000 ;
|
|
SpinSize = 10 ;
|
|
};
|
|
FixedText FT_HELPLINE2_LEN
|
|
{
|
|
Pos = MAP_APPFONT ( 12 , 80 ) ;
|
|
Size = MAP_APPFONT ( 65 , 8 ) ;
|
|
Text [ en-US ] = "~Right guide" ;
|
|
};
|
|
MetricField MTR_FLD_HELPLINE2_LEN
|
|
{
|
|
HelpID = "cui:MetricField:RID_SVXPAGE_MEASURE:MTR_FLD_HELPLINE2_LEN";
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 78 , 78 ) ;
|
|
Size = MAP_APPFONT ( 42 , 12 ) ;
|
|
TabStop = TRUE ;
|
|
Repeat = TRUE ;
|
|
Spin = TRUE ;
|
|
Unit = FUNIT_MM ;
|
|
DecimalDigits = 2 ;
|
|
Minimum = -10000 ;
|
|
First = -10000 ;
|
|
Maximum = 10000 ;
|
|
Last = 10000 ;
|
|
SpinSize = 10 ;
|
|
};
|
|
TriStateBox TSB_BELOW_REF_EDGE
|
|
{
|
|
HelpID = "cui:TriStateBox:RID_SVXPAGE_MEASURE:TSB_BELOW_REF_EDGE";
|
|
Pos = MAP_APPFONT ( 12 , 96 ) ;
|
|
Size = MAP_APPFONT ( 108 , 10 ) ;
|
|
TabStop = TRUE ;
|
|
Text [ en-US ] = "Measure ~below object";
|
|
};
|
|
FixedText FT_DECIMALPLACES
|
|
{
|
|
Pos = MAP_APPFONT ( 12 , 112 ) ;
|
|
Size = MAP_APPFONT ( 65 , 8 ) ;
|
|
|
|
Text [ en-US ] = "Decimal places" ;
|
|
};
|
|
MetricField MTR_FLD_DECIMALPLACES
|
|
{
|
|
HelpID = "cui:MetricField:RID_SVXPAGE_MEASURE:MTR_FLD_DECIMALPLACES";
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 78 , 110 ) ;
|
|
Size = MAP_APPFONT ( 42 , 12 ) ;
|
|
TabStop = TRUE ;
|
|
Right = TRUE ;
|
|
Repeat = TRUE ;
|
|
Spin = TRUE ;
|
|
Maximum = 99 ;
|
|
StrictFormat = TRUE ;
|
|
Last = 99 ;
|
|
SpinSize = 1 ;
|
|
};
|
|
FixedLine FL_VERT
|
|
{
|
|
Pos = MAP_APPFONT ( 127 , 14 ) ;
|
|
Size = MAP_APPFONT ( 4 , 108 ) ;
|
|
Vert = TRUE ;
|
|
};
|
|
FixedLine FL_LABEL
|
|
{
|
|
Pos = MAP_APPFONT ( 132 , 3 ) ;
|
|
Size = MAP_APPFONT ( 122 , 8 ) ;
|
|
Text [ en-US ] = "Legend";
|
|
};
|
|
FixedText FT_POSITION
|
|
{
|
|
Pos = MAP_APPFONT ( 138 , 14 ) ;
|
|
Size = MAP_APPFONT ( 110 , 8 ) ;
|
|
Text [ en-US ] = "~Text position" ;
|
|
};
|
|
Control CTL_POSITION
|
|
{
|
|
HelpId = HID_MEASURE_CTL_POSITION ;
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 154 , 25 ) ;
|
|
Size = MAP_APPFONT ( 60 , 24 ) ;
|
|
TabStop = TRUE ;
|
|
};
|
|
TriStateBox TSB_AUTOPOSV
|
|
{
|
|
HelpID = "cui:TriStateBox:RID_SVXPAGE_MEASURE:TSB_AUTOPOSV";
|
|
Pos = MAP_APPFONT ( 154 , 54 ) ;
|
|
Size = MAP_APPFONT ( 101 , 10 ) ;
|
|
TabStop = TRUE ;
|
|
Text [ en-US ] = "~AutoVertical" ;
|
|
};
|
|
TriStateBox TSB_AUTOPOSH
|
|
{
|
|
HelpID = "cui:TriStateBox:RID_SVXPAGE_MEASURE:TSB_AUTOPOSH";
|
|
Pos = MAP_APPFONT ( 154 , 68 ) ;
|
|
Size = MAP_APPFONT ( 101 , 10 ) ;
|
|
TabStop = TRUE ;
|
|
Text [ en-US ] = "A~utoHorizontal" ;
|
|
};
|
|
TriStateBox TSB_PARALLEL
|
|
{
|
|
HelpID = "cui:TriStateBox:RID_SVXPAGE_MEASURE:TSB_PARALLEL";
|
|
Pos = MAP_APPFONT ( 138 , 82 ) ;
|
|
Size = MAP_APPFONT ( 110 , 10 ) ;
|
|
TabStop = TRUE ;
|
|
Text [ en-US ] = "~Parallel to line";
|
|
};
|
|
TriStateBox TSB_SHOW_UNIT
|
|
{
|
|
HelpID = "cui:TriStateBox:RID_SVXPAGE_MEASURE:TSB_SHOW_UNIT";
|
|
Pos = MAP_APPFONT ( 138 , 96 ) ;
|
|
Size = MAP_APPFONT ( 64+40 , 10 ) ;
|
|
TabStop = TRUE ;
|
|
Text [ en-US ] = "Show ~meas. units" ;
|
|
};
|
|
ListBox LB_UNIT
|
|
{
|
|
HelpID = "cui:ListBox:RID_SVXPAGE_MEASURE:LB_UNIT";
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 154 , 110 ) ;
|
|
Size = MAP_APPFONT ( 60 , 80+35 ) ;
|
|
TabStop = TRUE ;
|
|
DropDown = TRUE ;
|
|
DDExtraWidth = TRUE ;
|
|
};
|
|
Control CTL_PREVIEW
|
|
{
|
|
HelpId = HID_MEASURE_CTL_PREVIEW ;
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 6 , 132 ) ;
|
|
Size = MAP_APPFONT ( 248 , 47 ) ;
|
|
};
|
|
String STR_MEASURE_AUTOMATIC
|
|
{
|
|
Text [ en-US ] = "Automatic" ;
|
|
};
|
|
};
|
|
// ********************************************************************** EOF
|
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|