xref: /aoo42x/main/sc/source/ui/inc/opredlin.hxx (revision 38d50f7b)
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 _SC_OPREDLIN_HXX
24 #define _SC_OPREDLIN_HXX
25 
26 #include <sfx2/tabdlg.hxx>
27 
28 #ifndef _GROUP_HXX //autogen
29 #include <vcl/group.hxx>
30 #endif
31 
32 #ifndef _BUTTON_HXX //autogen
33 #include <vcl/button.hxx>
34 #endif
35 
36 #ifndef _LSTBOX_HXX //autogen
37 #include <vcl/lstbox.hxx>
38 #endif
39 
40 #ifndef _FIELD_HXX //autogen
41 #include <vcl/field.hxx>
42 #endif
43 
44 #ifndef _FIXED_HXX //autogen
45 #include <vcl/fixed.hxx>
46 #endif
47 #include <svtools/ctrlbox.hxx>
48 #include <svx/fntctrl.hxx>
49 #include <svx/strarray.hxx>
50 
51 /*-----------------------------------------------------------------------
52 	Beschreibung: Redlining-Optionen
53  -----------------------------------------------------------------------*/
54 
55 class ScRedlineOptionsTabPage : public SfxTabPage
56 {
57 	FixedText			aContentFT;
58 	ColorListBox		aContentColorLB;
59 	FixedText			aRemoveFT;
60 	ColorListBox		aRemoveColorLB;
61 	FixedText			aInsertFT;
62 	ColorListBox		aInsertColorLB;
63 	FixedText			aMoveFT;
64 	ColorListBox		aMoveColorLB;
65     FixedLine           aChangedGB;
66 	String				aAuthorStr;
67 	DECL_LINK( ColorHdl, ColorListBox *pColorLB );
68 
69 
70 public:
71 
72 	ScRedlineOptionsTabPage( Window* pParent, const SfxItemSet& rSet );
73 	~ScRedlineOptionsTabPage();
74 
75 	static SfxTabPage*	Create( Window* pParent, const SfxItemSet& rAttrSet );
76 
77 	virtual	sal_Bool 		FillItemSet( SfxItemSet& rSet );
78 	virtual	void 		Reset( const SfxItemSet& rSet );
79 };
80 #endif
81 
82 
83