xref: /AOO41X/main/sfx2/source/dialog/srchdlg.src (revision acbf353a85b021bfa30e3f1ad4b505fab50db670)
1*acbf353aSAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*acbf353aSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*acbf353aSAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*acbf353aSAndrew Rist * distributed with this work for additional information
6*acbf353aSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*acbf353aSAndrew Rist * to you under the Apache License, Version 2.0 (the
8*acbf353aSAndrew Rist * "License"); you may not use this file except in compliance
9*acbf353aSAndrew Rist * with the License.  You may obtain a copy of the License at
10cdf0e10cSrcweir *
11*acbf353aSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir *
13*acbf353aSAndrew Rist * Unless required by applicable law or agreed to in writing,
14*acbf353aSAndrew Rist * software distributed under the License is distributed on an
15*acbf353aSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*acbf353aSAndrew Rist * KIND, either express or implied.  See the License for the
17*acbf353aSAndrew Rist * specific language governing permissions and limitations
18*acbf353aSAndrew Rist * under the License.
19cdf0e10cSrcweir *
20*acbf353aSAndrew Rist *************************************************************/
21*acbf353aSAndrew Rist
22*acbf353aSAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#ifndef _SFX_SRCHDLG_HRC_
25cdf0e10cSrcweir#include "srchdlg.hrc"
26cdf0e10cSrcweir#endif
27cdf0e10cSrcweir#ifndef _SFX_DIALOG_HRC
28cdf0e10cSrcweir#include "dialog.hrc"
29cdf0e10cSrcweir#endif
30cdf0e10cSrcweir#ifndef _SFX_HELPID_HRC
31cdf0e10cSrcweir#include "helpid.hrc"
32cdf0e10cSrcweir#endif
33cdf0e10cSrcweir
34cdf0e10cSrcweirModelessDialog RID_DLG_SEARCH
35cdf0e10cSrcweir{
36cdf0e10cSrcweir	HelpId = HID_SEARCHDIALOG;
37cdf0e10cSrcweir	OutputSize = TRUE;
38cdf0e10cSrcweir	Moveable = TRUE;
39cdf0e10cSrcweir	Closeable = TRUE;
40cdf0e10cSrcweir	Hide = TRUE;
41cdf0e10cSrcweir	Size = MAP_APPFONT( 218, 84 );
42cdf0e10cSrcweir	Text [ en-US ] = "Find on this Page";
43cdf0e10cSrcweir	FixedText FT_SEARCH
44cdf0e10cSrcweir	{
45cdf0e10cSrcweir		Pos = MAP_APPFONT( 6, 3 );
46cdf0e10cSrcweir		Size = MAP_APPFONT( 150, 8 );
47cdf0e10cSrcweir		Text [ en-US ] = "~Search for";
48cdf0e10cSrcweir	};
49cdf0e10cSrcweir	ComboBox ED_SEARCH
50cdf0e10cSrcweir	{
51cdf0e10cSrcweir	    HelpID = "sfx2:ComboBox:RID_DLG_SEARCH:ED_SEARCH";
52cdf0e10cSrcweir		Border = TRUE;
53cdf0e10cSrcweir		Pos = MAP_APPFONT( 6, 14 );
54cdf0e10cSrcweir		Size = MAP_APPFONT( 150, 50 );
55cdf0e10cSrcweir		DropDown = TRUE ;
56cdf0e10cSrcweir		TabStop = TRUE;
57cdf0e10cSrcweir	};
58cdf0e10cSrcweir	CheckBox CB_WHOLEWORDS
59cdf0e10cSrcweir	{
60cdf0e10cSrcweir	    HelpID = "sfx2:CheckBox:RID_DLG_SEARCH:CB_WHOLEWORDS";
61cdf0e10cSrcweir		Pos = MAP_APPFONT( 6, 29 );
62cdf0e10cSrcweir		Size = MAP_APPFONT( 150, 10 );
63cdf0e10cSrcweir		Text [ en-US ] = "~Whole words only" ;
64cdf0e10cSrcweir		TabStop = TRUE;
65cdf0e10cSrcweir	};
66cdf0e10cSrcweir	CheckBox CB_MATCHCASE
67cdf0e10cSrcweir	{
68cdf0e10cSrcweir	    HelpID = "sfx2:CheckBox:RID_DLG_SEARCH:CB_MATCHCASE";
69cdf0e10cSrcweir		Pos = MAP_APPFONT( 6, 42 );
70cdf0e10cSrcweir		Size = MAP_APPFONT( 150, 10 );
71cdf0e10cSrcweir		Text[ en-US ] = "~Match case";
72cdf0e10cSrcweir		TabStop = TRUE;
73cdf0e10cSrcweir	};
74cdf0e10cSrcweir	CheckBox CB_WRAPAROUND
75cdf0e10cSrcweir	{
76cdf0e10cSrcweir	    HelpID = "sfx2:CheckBox:RID_DLG_SEARCH:CB_WRAPAROUND";
77cdf0e10cSrcweir		Pos = MAP_APPFONT( 6, 55 );
78cdf0e10cSrcweir		Size = MAP_APPFONT( 150, 10 );
79cdf0e10cSrcweir		Text [ en-US ] = "Wrap ~around" ;
80cdf0e10cSrcweir		TabStop = TRUE;
81cdf0e10cSrcweir	};
82cdf0e10cSrcweir	CheckBox CB_BACKWARDS
83cdf0e10cSrcweir	{
84cdf0e10cSrcweir	    HelpID = "sfx2:CheckBox:RID_DLG_SEARCH:CB_BACKWARDS";
85cdf0e10cSrcweir		Pos = MAP_APPFONT( 6, 68 );
86cdf0e10cSrcweir		Size = MAP_APPFONT( 150, 10 );
87cdf0e10cSrcweir		Text [ en-US ] = "~Backwards" ;
88cdf0e10cSrcweir		TabStop = TRUE;
89cdf0e10cSrcweir	};
90cdf0e10cSrcweir	PushButton PB_FIND
91cdf0e10cSrcweir	{
92cdf0e10cSrcweir	    HelpID = "sfx2:PushButton:RID_DLG_SEARCH:PB_FIND";
93cdf0e10cSrcweir		Pos = MAP_APPFONT( 162, 6 );
94cdf0e10cSrcweir		Size = MAP_APPFONT( 50, 14 );
95cdf0e10cSrcweir		Text [ en-US ] = "~Find" ;
96cdf0e10cSrcweir		TabStop = TRUE;
97cdf0e10cSrcweir		DefButton = TRUE ;
98cdf0e10cSrcweir	};
99cdf0e10cSrcweir	CancelButton PB_CANCELFIND
100cdf0e10cSrcweir	{
101cdf0e10cSrcweir		Pos = MAP_APPFONT( 162, 23 );
102cdf0e10cSrcweir		Size = MAP_APPFONT( 50, 14 );
103cdf0e10cSrcweir		Text [ en-US ] = "~Close" ;
104cdf0e10cSrcweir		TabStop = TRUE;
105cdf0e10cSrcweir	};
106cdf0e10cSrcweir
107cdf0e10cSrcweir	String STR_TOGGLE
108cdf0e10cSrcweir	{
109cdf0e10cSrcweir		Text [ en-US ] = "Wrap ~around" ;
110cdf0e10cSrcweir	};
111cdf0e10cSrcweir};
112cdf0e10cSrcweir
113