bump product version to 4.1.6.2
[LibreOffice.git] / filter / source / svg / impsvgdialog.hxx
blob563a874a77b8396fee86fa8519a49491cdf4d007
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 IMPSVGDIALOG_HXX
21 #define IMPSVGDIALOG_HXX
23 #include <com/sun/star/uno/Sequence.h>
24 #include <com/sun/star/beans/PropertyValue.hpp>
26 #include <vcl/dialog.hxx>
27 #include <vcl/button.hxx>
28 #include <vcl/fixed.hxx>
29 #include <vcl/field.hxx>
30 #include <svtools/stdctrl.hxx>
31 #include <vcl/FilterConfigItem.hxx>
33 #define SVG_EXPORTFILTER_CONFIGPATH "Office.Common/Filter/SVG/Export/"
34 #define SVG_PROP_TINYPROFILE "TinyMode"
35 #define SVG_PROP_EMBEDFONTS "EmbedFonts"
36 #define SVG_PROP_NATIVEDECORATION "UseNativeTextDecoration"
37 #define SVG_PROP_GLYPHPLACEMENT "GlyphPlacement"
38 #define SVG_PROP_OPACITY "Opacity"
39 #define SVG_PROP_GRADIENT "Gradient"
41 // ----------------
42 // - ImpSVGDialog -
43 // ----------------
45 class ResMgr;
46 class Window;
48 class ImpSVGDialog : public ModalDialog
50 private:
52 FixedLine maFI;
53 CheckBox maCBTinyProfile;
54 CheckBox maCBEmbedFonts;
55 CheckBox maCBUseNativeDecoration;
57 OKButton maBTOK;
58 CancelButton maBTCancel;
59 HelpButton maBTHelp;
61 FilterConfigItem maConfigItem;
62 sal_Bool mbOldNativeDecoration;
64 DECL_LINK( OnToggleCheckbox, CheckBox* );
66 public:
68 ImpSVGDialog( Window* pParent, /*ResMgr& rResMgr,*/
69 com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue >& rFilterData );
70 ~ImpSVGDialog();
72 com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue > GetFilterData();
75 #endif // IMPSVGDIALOG_HXX
77 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */