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 _XMLFILTERTABPAGEXSLT_HXX_ 24 #define _XMLFILTERTABPAGEXSLT_HXX_ 25 26 #include <com/sun/star/lang/XMultiServiceFactory.hpp> 27 #include <sfx2/tabdlg.hxx> 28 #include <vcl/fixed.hxx> 29 #include <vcl/edit.hxx> 30 #include <vcl/combobox.hxx> 31 #include <svtools/inettbc.hxx> 32 33 class Window; 34 class ResMgr; 35 class filter_info_impl; 36 37 class XMLFilterTabPageXSLT : public TabPage 38 { 39 public: 40 XMLFilterTabPageXSLT( Window* pParent, ResMgr& rResMgr, const com::sun::star::uno::Reference< com::sun::star::lang::XMultiServiceFactory >& rxMSF ); 41 virtual ~XMLFilterTabPageXSLT(); 42 43 bool FillInfo( filter_info_impl* pInfo ); 44 void SetInfo(const filter_info_impl* pInfo); 45 46 DECL_LINK( ClickBrowseHdl_Impl, PushButton * ); 47 48 FixedText maFTDocType; 49 Edit maEDDocType; 50 51 FixedText maFTDTDSchema; 52 SvtURLBox maEDDTDSchema; 53 PushButton maPBDTDSchemaBrowse; 54 55 FixedText maFTExportXSLT; 56 SvtURLBox maEDExportXSLT; 57 PushButton maPBExprotXSLT; 58 59 FixedText maFTImportXSLT; 60 SvtURLBox maEDImportXSLT; 61 PushButton maPBImportXSLT; 62 63 FixedText maFTImportTemplate; 64 SvtURLBox maEDImportTemplate; 65 PushButton maPBImportTemplate; 66 67 private: 68 void SetURL( SvtURLBox& rURLBox, const rtl::OUString& rURL ); 69 rtl::OUString GetURL( SvtURLBox& rURLBox ); 70 71 ::rtl::OUString sHTTPSchema; 72 ::rtl::OUString sSHTTPSchema; 73 ::rtl::OUString sFILESchema; 74 ::rtl::OUString sFTPSchema; 75 ::rtl::OUString sInstPath; 76 }; 77 78 #endif 79