xref: /trunk/main/cui/source/inc/insrc.hxx (revision c4eee24d)
1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 #ifndef _SVX_INSRC_HXX
24 #define _SVX_INSRC_HXX
25 
26 #include <svx/stddlg.hxx>
27 
28 #include <vcl/fixed.hxx>
29 #include <vcl/field.hxx>
30 #include <vcl/button.hxx>
31 #include <vcl/group.hxx>
32 #include <vcl/button.hxx>
33 
34 #include <tools/string.hxx>
35 
36 class SvxInsRowColDlg : public SvxAbstractInsRowColDlg, public ModalDialog
37 {
38 	FixedText 		aCount;
39 	NumericField 	aCountEdit;
40     FixedLine        aInsFL;
41 
42 	RadioButton 	aBeforeBtn;
43 	RadioButton 	aAfterBtn;
44     FixedLine        aPosFL;
45 
46 	String 			aRow;
47 	String 			aCol;
48 
49 	OKButton 		aOKBtn;
50 	CancelButton 	aCancelBtn;
51 	HelpButton 		aHelpBtn;
52 
53 	bool            bColumn;
54 
55 public:
56 	SvxInsRowColDlg( Window* pParent, bool bCol, const rtl::OString& sHelpId );
57 
58 	virtual short Execute(void);
59 
60     virtual bool isInsertBefore() const;
61     virtual sal_uInt16 getInsertCount() const;
62 };
63 
64 #endif
65 
66