xref: /trunk/main/sw/source/ui/chrdlg/drpcps.src (revision c27bd3456f020227b07c476f80e29b5ccd8e1dc8)
18660f102SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
38660f102SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
48660f102SAndrew Rist * or more contributor license agreements.  See the NOTICE file
58660f102SAndrew Rist * distributed with this work for additional information
68660f102SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
78660f102SAndrew Rist * to you under the Apache License, Version 2.0 (the
88660f102SAndrew Rist * "License"); you may not use this file except in compliance
98660f102SAndrew Rist * with the License.  You may obtain a copy of the License at
10cdf0e10cSrcweir *
118660f102SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir *
138660f102SAndrew Rist * Unless required by applicable law or agreed to in writing,
148660f102SAndrew Rist * software distributed under the License is distributed on an
158660f102SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
168660f102SAndrew Rist * KIND, either express or implied.  See the License for the
178660f102SAndrew Rist * specific language governing permissions and limitations
188660f102SAndrew Rist * under the License.
19cdf0e10cSrcweir *
208660f102SAndrew Rist *************************************************************/
218660f102SAndrew Rist
228660f102SAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir// #include *****************************************************************
25cdf0e10cSrcweir#include "globals.hrc"
26cdf0e10cSrcweir#include "chrdlg.hrc"
27cdf0e10cSrcweir#include "drpcps.hrc"
28cdf0e10cSrcweir#include "helpid.h"
29cdf0e10cSrcweir// TabDialog ****************************************************************
30cdf0e10cSrcweirTabDialog DLG_DROPCAPS
31cdf0e10cSrcweir{
32cdf0e10cSrcweir    OutputSize = TRUE ;
33cdf0e10cSrcweir    SVLook = TRUE ;
34cdf0e10cSrcweir    Text [ en-US ] = "Drop Caps" ;
35cdf0e10cSrcweir    Moveable = TRUE ;
36cdf0e10cSrcweir    TabControl 1
37cdf0e10cSrcweir    {
38cdf0e10cSrcweir        OutputSize = TRUE ;
39cdf0e10cSrcweir        PageList =
40cdf0e10cSrcweir        {
41cdf0e10cSrcweir            PageItem
42cdf0e10cSrcweir            {
43cdf0e10cSrcweir                Identifier = TP_DROPCAPS ;
44cdf0e10cSrcweir                Text [ en-US ] = "Drop Caps" ;
45cdf0e10cSrcweir                PageResID = TP_DROPCAPS ;
46cdf0e10cSrcweir            };
47cdf0e10cSrcweir        };
48cdf0e10cSrcweir    };
49cdf0e10cSrcweir};
50cdf0e10cSrcweir // TabPage ******************************************************************
51cdf0e10cSrcweirTabPage TP_DROPCAPS
52cdf0e10cSrcweir{
53cdf0e10cSrcweir    HelpID = HID_DROPCAPS ;
54cdf0e10cSrcweir    Size = MAP_APPFONT ( 260, 185 ) ;
55cdf0e10cSrcweir    Hide = TRUE ;
56cdf0e10cSrcweir    CheckBox CB_SWITCH
57cdf0e10cSrcweir    {
58cdf0e10cSrcweir        HelpID = "sw:CheckBox:TP_DROPCAPS:CB_SWITCH" ;
59cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 14 ) ;
60cdf0e10cSrcweir        Size = MAP_APPFONT ( 90, 10 ) ;
61cdf0e10cSrcweir        Text [ en-US ] = "Display drop caps" ;
62cdf0e10cSrcweir    };
63cdf0e10cSrcweir    CheckBox CB_WORD
64cdf0e10cSrcweir    {
65cdf0e10cSrcweir        HelpID = "sw:CheckBox:TP_DROPCAPS:CB_WORD" ;
66cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 28 ) ;
67cdf0e10cSrcweir        Size = MAP_APPFONT ( 90, 10 ) ;
68cdf0e10cSrcweir        Text [ en-US ] = "~Whole word" ;
69cdf0e10cSrcweir    };
70cdf0e10cSrcweir    FixedText FT_DROPCAPS
71cdf0e10cSrcweir    {
72cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 44 ) ;
73cdf0e10cSrcweir        Size = MAP_APPFONT ( 70, 8 ) ;
74cdf0e10cSrcweir        Text [ en-US ] = "Number of ~characters:" ;
75cdf0e10cSrcweir    };
76cdf0e10cSrcweir    NumericField FLD_DROPCAPS
77cdf0e10cSrcweir    {
78cdf0e10cSrcweir        HelpID = "sw:NumericField:TP_DROPCAPS:FLD_DROPCAPS" ;
79cdf0e10cSrcweir        Border = TRUE ;
80cdf0e10cSrcweir        First = 1 ;
81cdf0e10cSrcweir        Last = 9 ;
82cdf0e10cSrcweir        Left = TRUE ;
83cdf0e10cSrcweir        Maximum = 9 ;
84cdf0e10cSrcweir        Minimum = 1 ;
85cdf0e10cSrcweir        Pos = MAP_APPFONT ( 89, 42 ) ;
86cdf0e10cSrcweir        Repeat = TRUE ;
87cdf0e10cSrcweir        Size = MAP_APPFONT ( 36, 12 ) ;
88cdf0e10cSrcweir        Spin = TRUE ;
89cdf0e10cSrcweir        TabStop = TRUE ;
90cdf0e10cSrcweir    };
91cdf0e10cSrcweir    FixedText TXT_LINES
92cdf0e10cSrcweir    {
93cdf0e10cSrcweir        Left = TRUE ;
94cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 60 ) ;
95cdf0e10cSrcweir        Size = MAP_APPFONT ( 70, 8 ) ;
96cdf0e10cSrcweir        Text [ en-US ] = "~Lines" ;
97cdf0e10cSrcweir    };
98cdf0e10cSrcweir    NumericField FLD_LINES
99cdf0e10cSrcweir    {
100cdf0e10cSrcweir        HelpID = "sw:NumericField:TP_DROPCAPS:FLD_LINES" ;
101cdf0e10cSrcweir        Border = TRUE ;
102cdf0e10cSrcweir        First = 2 ;
103cdf0e10cSrcweir        Last = 9 ;
104cdf0e10cSrcweir        Left = TRUE ;
105cdf0e10cSrcweir        Maximum = 9 ;
106cdf0e10cSrcweir        Minimum = 2 ;
107cdf0e10cSrcweir        Pos = MAP_APPFONT ( 89, 58 ) ;
108cdf0e10cSrcweir        Repeat = TRUE ;
109cdf0e10cSrcweir        Size = MAP_APPFONT ( 36, 12 ) ;
110cdf0e10cSrcweir        Spin = TRUE ;
111cdf0e10cSrcweir        TabStop = TRUE ;
112cdf0e10cSrcweir    };
113cdf0e10cSrcweir    FixedText TXT_DISTANCE
114cdf0e10cSrcweir    {
115cdf0e10cSrcweir        Left = TRUE ;
116cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 76 ) ;
117cdf0e10cSrcweir        Size = MAP_APPFONT ( 70, 8 ) ;
118cdf0e10cSrcweir        Text [ en-US ] = "Space to text" ;
119cdf0e10cSrcweir    };
120cdf0e10cSrcweir    MetricField FLD_DISTANCE
121cdf0e10cSrcweir    {
122cdf0e10cSrcweir        HelpID = "sw:MetricField:TP_DROPCAPS:FLD_DISTANCE" ;
123cdf0e10cSrcweir        Border = TRUE ;
124cdf0e10cSrcweir        DecimalDigits = 2 ;
125cdf0e10cSrcweir        First = 0 ;
126cdf0e10cSrcweir        Last = 200 ;
127cdf0e10cSrcweir        Left = TRUE ;
128cdf0e10cSrcweir        Maximum = 200 ;
129cdf0e10cSrcweir        Minimum = 0 ;
130cdf0e10cSrcweir        Pos = MAP_APPFONT ( 89, 74 ) ;
131cdf0e10cSrcweir        Repeat = TRUE ;
132cdf0e10cSrcweir        Size = MAP_APPFONT ( 36, 12 ) ;
133cdf0e10cSrcweir        Spin = TRUE ;
134cdf0e10cSrcweir        SpinSize = 10 ;
135cdf0e10cSrcweir        TabStop = TRUE ;
136cdf0e10cSrcweir        Unit = FUNIT_CM ;
137cdf0e10cSrcweir    };
138cdf0e10cSrcweir    FixedLine FL_SETTINGS
139cdf0e10cSrcweir    {
140cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6, 3 ) ;
141cdf0e10cSrcweir        Size = MAP_APPFONT ( 125, 8 ) ;
142cdf0e10cSrcweir        Text [ en-US ] = "Settings" ;
143cdf0e10cSrcweir    };
144cdf0e10cSrcweir    Control CNT_PICT
145cdf0e10cSrcweir    {
146cdf0e10cSrcweir        Border = TRUE ;
147cdf0e10cSrcweir        Pos = MAP_APPFONT ( 143, 7 ) ;
148cdf0e10cSrcweir        Size = MAP_APPFONT ( 105, 80 ) ;
149cdf0e10cSrcweir    };
150cdf0e10cSrcweir    FixedText TXT_TEXT
151cdf0e10cSrcweir    {
152cdf0e10cSrcweir        Left = TRUE ;
153cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 102 ) ;
154cdf0e10cSrcweir        Size = MAP_APPFONT ( 125, 8 ) ;
155cdf0e10cSrcweir        Text [ en-US ] = "~Text" ;
156cdf0e10cSrcweir    };
157cdf0e10cSrcweir    Edit EDT_TEXT
158cdf0e10cSrcweir    {
159cdf0e10cSrcweir        HelpID = "sw:Edit:TP_DROPCAPS:EDT_TEXT" ;
160cdf0e10cSrcweir        Border = TRUE ;
161cdf0e10cSrcweir        Left = TRUE ;
162cdf0e10cSrcweir        Pos = MAP_APPFONT ( 143, 100 ) ;
163cdf0e10cSrcweir        Size = MAP_APPFONT ( 105, 12 ) ;
164cdf0e10cSrcweir        TabStop = TRUE ;
165cdf0e10cSrcweir        MaxTextLength = 9 ;
166cdf0e10cSrcweir    };
167cdf0e10cSrcweir    FixedText TXT_TEMPLATE
168cdf0e10cSrcweir    {
169cdf0e10cSrcweir        Left = TRUE ;
170cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 118 ) ;
171cdf0e10cSrcweir        Size = MAP_APPFONT ( 125, 8 ) ;
172cdf0e10cSrcweir        Text [ en-US ] = "Character St~yle" ;
173cdf0e10cSrcweir    };
174cdf0e10cSrcweir    ListBox BOX_TEMPLATE
175cdf0e10cSrcweir    {
176cdf0e10cSrcweir        HelpID = "sw:ListBox:TP_DROPCAPS:BOX_TEMPLATE" ;
177cdf0e10cSrcweir        Border = TRUE ;
178cdf0e10cSrcweir        DropDown = TRUE ;
179cdf0e10cSrcweir        Pos = MAP_APPFONT ( 143, 116 ) ;
180cdf0e10cSrcweir        Size = MAP_APPFONT ( 105, 61 ) ;
181cdf0e10cSrcweir        TabStop = TRUE ;
182cdf0e10cSrcweir    };
183cdf0e10cSrcweir    FixedLine FL_CONTENT
184cdf0e10cSrcweir    {
185cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6, 89 ) ;
186cdf0e10cSrcweir        Size = MAP_APPFONT ( 248, 8 ) ;
187cdf0e10cSrcweir        Text [ en-US ] = "Contents" ;
188cdf0e10cSrcweir    };
189cdf0e10cSrcweir};
190*c27bd345Smseidel
191cdf0e10cSrcweir// ********************************************************************** EOF
192