1*4bfbcde8SAndrew Rist /************************************************************** 2*4bfbcde8SAndrew Rist * 3*4bfbcde8SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*4bfbcde8SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*4bfbcde8SAndrew Rist * distributed with this work for additional information 6*4bfbcde8SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*4bfbcde8SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*4bfbcde8SAndrew Rist * "License"); you may not use this file except in compliance 9*4bfbcde8SAndrew Rist * with the License. You may obtain a copy of the License at 10*4bfbcde8SAndrew Rist * 11*4bfbcde8SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*4bfbcde8SAndrew Rist * 13*4bfbcde8SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*4bfbcde8SAndrew Rist * software distributed under the License is distributed on an 15*4bfbcde8SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*4bfbcde8SAndrew Rist * KIND, either express or implied. See the License for the 17*4bfbcde8SAndrew Rist * specific language governing permissions and limitations 18*4bfbcde8SAndrew Rist * under the License. 19*4bfbcde8SAndrew Rist * 20*4bfbcde8SAndrew Rist *************************************************************/ 21cdf0e10cSrcweir 22cdf0e10cSrcweir #ifndef IMPSVGDIALOG_HXX 23cdf0e10cSrcweir #define IMPSVGDIALOG_HXX 24cdf0e10cSrcweir 25cdf0e10cSrcweir #ifndef _COM_SUN_STAR_UNO_SEQUENCE_H_ 26cdf0e10cSrcweir #include <com/sun/star/uno/Sequence.h> 27cdf0e10cSrcweir #endif 28cdf0e10cSrcweir 29cdf0e10cSrcweir #ifndef _COM_SUN_STAR_BEANS_PROPERTYVALUE_HPP_ 30cdf0e10cSrcweir #include <com/sun/star/beans/PropertyValue.hpp> 31cdf0e10cSrcweir #endif 32cdf0e10cSrcweir 33cdf0e10cSrcweir #include <vcl/dialog.hxx> 34cdf0e10cSrcweir #include <vcl/button.hxx> 35cdf0e10cSrcweir #include <vcl/fixed.hxx> 36cdf0e10cSrcweir #include <vcl/field.hxx> 37cdf0e10cSrcweir #include <svtools/stdctrl.hxx> 38cdf0e10cSrcweir #include <svtools/FilterConfigItem.hxx> 39cdf0e10cSrcweir 40cdf0e10cSrcweir #define SVG_EXPORTFILTER_CONFIGPATH "Office.Common/Filter/SVG/Export/" 41cdf0e10cSrcweir #define SVG_PROP_TINYPROFILE "TinyMode" 42cdf0e10cSrcweir #define SVG_PROP_EMBEDFONTS "EmbedFonts" 43cdf0e10cSrcweir #define SVG_PROP_NATIVEDECORATION "UseNativeTextDecoration" 44cdf0e10cSrcweir #define SVG_PROP_GLYPHPLACEMENT "GlyphPlacement" 45cdf0e10cSrcweir #define SVG_PROP_OPACITY "Opacity" 46cdf0e10cSrcweir #define SVG_PROP_GRADIENT "Gradient" 47cdf0e10cSrcweir 48cdf0e10cSrcweir // ---------------- 49cdf0e10cSrcweir // - ImpSVGDialog - 50cdf0e10cSrcweir // ---------------- 51cdf0e10cSrcweir 52cdf0e10cSrcweir class ResMgr; 53cdf0e10cSrcweir class Window; 54cdf0e10cSrcweir 55cdf0e10cSrcweir class ImpSVGDialog : public ModalDialog 56cdf0e10cSrcweir { 57cdf0e10cSrcweir private: 58cdf0e10cSrcweir 59cdf0e10cSrcweir FixedLine maFI; 60cdf0e10cSrcweir CheckBox maCBTinyProfile; 61cdf0e10cSrcweir CheckBox maCBEmbedFonts; 62cdf0e10cSrcweir CheckBox maCBUseNativeDecoration; 63cdf0e10cSrcweir 64cdf0e10cSrcweir OKButton maBTOK; 65cdf0e10cSrcweir CancelButton maBTCancel; 66cdf0e10cSrcweir HelpButton maBTHelp; 67cdf0e10cSrcweir 68cdf0e10cSrcweir FilterConfigItem maConfigItem; 69cdf0e10cSrcweir sal_Bool mbOldNativeDecoration; 70cdf0e10cSrcweir 71cdf0e10cSrcweir DECL_LINK( OnToggleCheckbox, CheckBox* ); 72cdf0e10cSrcweir 73cdf0e10cSrcweir public: 74cdf0e10cSrcweir 75cdf0e10cSrcweir ImpSVGDialog( Window* pParent, /*ResMgr& rResMgr,*/ 76cdf0e10cSrcweir com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue >& rFilterData ); 77cdf0e10cSrcweir ~ImpSVGDialog(); 78cdf0e10cSrcweir 79cdf0e10cSrcweir com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue > GetFilterData(); 80cdf0e10cSrcweir }; 81cdf0e10cSrcweir 82cdf0e10cSrcweir #endif // IMPSVGDIALOG_HXX 83