build fix
[LibreOffice.git] / filter / source / svg / impsvgdialog.hxx
blob205a3417e118e110a3966ccb920eb3bee28864fd
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 .
20 #ifndef INCLUDED_FILTER_SOURCE_SVG_IMPSVGDIALOG_HXX
21 #define INCLUDED_FILTER_SOURCE_SVG_IMPSVGDIALOG_HXX
23 #include <vcl/dialog.hxx>
24 #include <vcl/button.hxx>
25 #include <vcl/fixed.hxx>
26 #include <vcl/field.hxx>
27 #include <vcl/FilterConfigItem.hxx>
29 #include <com/sun/star/uno/Sequence.h>
30 #include <com/sun/star/beans/PropertyValue.hpp>
32 #define SVG_EXPORTFILTER_CONFIGPATH "Office.Common/Filter/SVG/Export/"
33 #define SVG_PROP_TINYPROFILE "TinyMode"
34 #define SVG_PROP_EMBEDFONTS "EmbedFonts"
35 #define SVG_PROP_NATIVEDECORATION "UseNativeTextDecoration"
36 #define SVG_PROP_OPACITY "Opacity"
37 #define SVG_PROP_POSITIONED_CHARACTERS "UsePositionedCharacters"
40 class ResMgr;
41 namespace vcl { class Window; }
44 class ImpSVGDialog : public ModalDialog
46 private:
48 VclPtr<FixedLine> maFI;
49 VclPtr<CheckBox> maCBTinyProfile;
50 VclPtr<CheckBox> maCBEmbedFonts;
51 VclPtr<CheckBox> maCBUseNativeDecoration;
53 VclPtr<OKButton> maBTOK;
54 VclPtr<CancelButton> maBTCancel;
55 VclPtr<HelpButton> maBTHelp;
57 FilterConfigItem maConfigItem;
58 bool mbOldNativeDecoration;
60 DECL_LINK( OnToggleCheckbox, CheckBox&, void );
62 public:
64 ImpSVGDialog( vcl::Window* pParent, /*ResMgr& rResMgr,*/
65 css::uno::Sequence< css::beans::PropertyValue >& rFilterData );
66 virtual ~ImpSVGDialog() override;
67 virtual void dispose() override;
69 css::uno::Sequence< css::beans::PropertyValue > GetFilterData();
72 #endif // INCLUDED_FILTER_SOURCE_SVG_IMPSVGDIALOG_HXX
74 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */