1*22e87013SAndrew Rist /**************************************************************
2cdf0e10cSrcweir  *
3*22e87013SAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
4*22e87013SAndrew Rist  * or more contributor license agreements.  See the NOTICE file
5*22e87013SAndrew Rist  * distributed with this work for additional information
6*22e87013SAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
7*22e87013SAndrew Rist  * to you under the Apache License, Version 2.0 (the
8*22e87013SAndrew Rist  * "License"); you may not use this file except in compliance
9*22e87013SAndrew Rist  * with the License.  You may obtain a copy of the License at
10*22e87013SAndrew Rist  *
11*22e87013SAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
12*22e87013SAndrew Rist  *
13*22e87013SAndrew Rist  * Unless required by applicable law or agreed to in writing,
14*22e87013SAndrew Rist  * software distributed under the License is distributed on an
15*22e87013SAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*22e87013SAndrew Rist  * KIND, either express or implied.  See the License for the
17*22e87013SAndrew Rist  * specific language governing permissions and limitations
18*22e87013SAndrew Rist  * under the License.
19*22e87013SAndrew Rist  *
20*22e87013SAndrew Rist  *************************************************************/
21*22e87013SAndrew Rist 
22*22e87013SAndrew Rist 
23cdf0e10cSrcweir #ifndef _XMLFILTERTABPAGEBASIC_HXX_
24cdf0e10cSrcweir #define _XMLFILTERTABPAGEBASIC_HXX_
25cdf0e10cSrcweir 
26cdf0e10cSrcweir #include <sfx2/tabdlg.hxx>
27cdf0e10cSrcweir #include <vcl/fixed.hxx>
28cdf0e10cSrcweir #include <vcl/edit.hxx>
29cdf0e10cSrcweir #include <vcl/combobox.hxx>
30cdf0e10cSrcweir #include <svtools/svmedit.hxx>
31cdf0e10cSrcweir 
32cdf0e10cSrcweir class Window;
33cdf0e10cSrcweir class ResMgr;
34cdf0e10cSrcweir class filter_info_impl;
35cdf0e10cSrcweir 
36cdf0e10cSrcweir class XMLFilterTabPageBasic : public TabPage
37cdf0e10cSrcweir {
38cdf0e10cSrcweir public:
39cdf0e10cSrcweir 	XMLFilterTabPageBasic( Window* pParent, ResMgr& rResMgr );
40cdf0e10cSrcweir 	virtual ~XMLFilterTabPageBasic();
41cdf0e10cSrcweir 
42cdf0e10cSrcweir 	bool FillInfo( filter_info_impl* pInfo );
43cdf0e10cSrcweir 	void SetInfo(const filter_info_impl* pInfo);
44cdf0e10cSrcweir 
45cdf0e10cSrcweir 	static rtl::OUString decodeComment( const rtl::OUString& rComment );
46cdf0e10cSrcweir 	static rtl::OUString encodeComment( const rtl::OUString& rComment );
47cdf0e10cSrcweir 
48cdf0e10cSrcweir 	FixedText		maFTFilterName;
49cdf0e10cSrcweir 	Edit			maEDFilterName;
50cdf0e10cSrcweir 
51cdf0e10cSrcweir 	FixedText		maFTApplication;
52cdf0e10cSrcweir 	ComboBox		maCBApplication;
53cdf0e10cSrcweir 
54cdf0e10cSrcweir 	FixedText		maFTInterfaceName;
55cdf0e10cSrcweir 	Edit			maEDInterfaceName;
56cdf0e10cSrcweir 
57cdf0e10cSrcweir 	FixedText		maFTExtension;
58cdf0e10cSrcweir 	Edit			maEDExtension;
59cdf0e10cSrcweir 	FixedText		maFTDescription;
60cdf0e10cSrcweir 	MultiLineEdit	maEDDescription;
61cdf0e10cSrcweir };
62cdf0e10cSrcweir 
63cdf0e10cSrcweir #endif
64