1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: xmlfiltertabpagexslt.hxx,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef _XMLFILTERTABPAGEXSLT_HXX_
31 #define _XMLFILTERTABPAGEXSLT_HXX_
33 #include <com/sun/star/lang/XMultiServiceFactory.hpp>
34 #include <sfx2/tabdlg.hxx>
35 #include <vcl/fixed.hxx>
36 #include <vcl/edit.hxx>
37 #include <vcl/combobox.hxx>
38 #include <svtools/inettbc.hxx>
42 class filter_info_impl
;
44 class XMLFilterTabPageXSLT
: public TabPage
47 XMLFilterTabPageXSLT( Window
* pParent
, ResMgr
& rResMgr
, const com::sun::star::uno::Reference
< com::sun::star::lang::XMultiServiceFactory
>& rxMSF
);
48 virtual ~XMLFilterTabPageXSLT();
50 bool FillInfo( filter_info_impl
* pInfo
);
51 void SetInfo(const filter_info_impl
* pInfo
);
53 DECL_LINK( ClickBrowseHdl_Impl
, PushButton
* );
55 FixedText maFTDocType
;
58 FixedText maFTDTDSchema
;
59 SvtURLBox maEDDTDSchema
;
60 PushButton maPBDTDSchemaBrowse
;
62 FixedText maFTExportXSLT
;
63 SvtURLBox maEDExportXSLT
;
64 PushButton maPBExprotXSLT
;
66 FixedText maFTImportXSLT
;
67 SvtURLBox maEDImportXSLT
;
68 PushButton maPBImportXSLT
;
70 FixedText maFTImportTemplate
;
71 SvtURLBox maEDImportTemplate
;
72 PushButton maPBImportTemplate
;
75 void SetURL( SvtURLBox
& rURLBox
, const rtl::OUString
& rURL
);
76 rtl::OUString
GetURL( SvtURLBox
& rURLBox
);
78 ::rtl::OUString sHTTPSchema
;
79 ::rtl::OUString sSHTTPSchema
;
80 ::rtl::OUString sFILESchema
;
81 ::rtl::OUString sFTPSchema
;
82 ::rtl::OUString sInstPath
;