build fix
[LibreOffice.git] / filter / source / xsltdialog / xmlfiltertabpagexslt.hxx
blob9d88183cdf968acebf932fc1689fb5b0f7b64cab
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef INCLUDED_FILTER_SOURCE_XSLTDIALOG_XMLFILTERTABPAGEXSLT_HXX
20 #define INCLUDED_FILTER_SOURCE_XSLTDIALOG_XMLFILTERTABPAGEXSLT_HXX
22 #include <com/sun/star/lang/XMultiServiceFactory.hpp>
23 #include <sfx2/tabdlg.hxx>
24 #include <vcl/fixed.hxx>
25 #include <vcl/edit.hxx>
26 #include <vcl/combobox.hxx>
27 #include <svtools/inettbc.hxx>
29 namespace vcl { class Window; }
30 class ResMgr;
31 class filter_info_impl;
33 class XMLFilterTabPageXSLT : public TabPage
35 public:
36 explicit XMLFilterTabPageXSLT(vcl::Window* pParent);
37 virtual ~XMLFilterTabPageXSLT() override;
38 virtual void dispose() override;
40 void FillInfo( filter_info_impl* pInfo );
41 void SetInfo(const filter_info_impl* pInfo);
43 DECL_LINK( ClickBrowseHdl_Impl, Button *, void );
46 VclPtr<Edit> m_pEDDocType;
48 VclPtr<SvtURLBox> m_pEDExportXSLT;
49 VclPtr<PushButton> m_pPBExprotXSLT;
51 VclPtr<SvtURLBox> m_pEDImportXSLT;
52 VclPtr<PushButton> m_pPBImportXSLT;
54 VclPtr<SvtURLBox> m_pEDImportTemplate;
55 VclPtr<PushButton> m_pPBImportTemplate;
57 VclPtr<CheckBox> m_pCBNeedsXSLT2;
59 private:
60 void SetURL( SvtURLBox *rURLBox, const OUString& rURL );
61 static OUString GetURL( SvtURLBox* rURLBox );
63 OUString sInstPath;
66 #endif
68 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */