1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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 _SVT_FLTRCFG_HXX
20 #define _SVT_FLTRCFG_HXX
22 // -----------------------------------------------------------------------
24 #include "unotools/unotoolsdllapi.h"
25 #include <unotools/configitem.hxx>
27 struct SvtFilterOptions_Impl
;
28 class UNOTOOLS_DLLPUBLIC SvtFilterOptions
: public utl::ConfigItem
30 SvtFilterOptions_Impl
* pImp
;
32 const com::sun::star::uno::Sequence
<OUString
>& GetPropertyNames();
35 virtual ~SvtFilterOptions();
37 virtual void Notify( const com::sun::star::uno::Sequence
<OUString
>& aPropertyNames
);
38 virtual void Commit();
41 void SetLoadWordBasicCode( sal_Bool bFlag
);
42 sal_Bool
IsLoadWordBasicCode() const;
43 void SetLoadWordBasicExecutable( sal_Bool bFlag
);
44 sal_Bool
IsLoadWordBasicExecutable() const;
45 void SetLoadWordBasicStorage( sal_Bool bFlag
);
46 sal_Bool
IsLoadWordBasicStorage() const;
48 void SetLoadExcelBasicCode( sal_Bool bFlag
);
49 sal_Bool
IsLoadExcelBasicCode() const;
50 void SetLoadExcelBasicExecutable( sal_Bool bFlag
);
51 sal_Bool
IsLoadExcelBasicExecutable() const;
52 void SetLoadExcelBasicStorage( sal_Bool bFlag
);
53 sal_Bool
IsLoadExcelBasicStorage() const;
55 void SetLoadPPointBasicCode( sal_Bool bFlag
);
56 sal_Bool
IsLoadPPointBasicCode() const;
57 void SetLoadPPointBasicStorage( sal_Bool bFlag
);
58 sal_Bool
IsLoadPPointBasicStorage() const;
60 sal_Bool
IsMathType2Math() const;
61 void SetMathType2Math( sal_Bool bFlag
);
62 sal_Bool
IsMath2MathType() const;
63 void SetMath2MathType( sal_Bool bFlag
);
65 sal_Bool
IsWinWord2Writer() const;
66 void SetWinWord2Writer( sal_Bool bFlag
);
67 sal_Bool
IsWriter2WinWord() const;
68 void SetWriter2WinWord( sal_Bool bFlag
);
70 sal_Bool
IsUseEnhancedFields() const;
72 sal_Bool
IsExcel2Calc() const;
73 void SetExcel2Calc( sal_Bool bFlag
);
74 sal_Bool
IsCalc2Excel() const;
75 void SetCalc2Excel( sal_Bool bFlag
);
77 sal_Bool
IsPowerPoint2Impress() const;
78 void SetPowerPoint2Impress( sal_Bool bFlag
);
79 sal_Bool
IsImpress2PowerPoint() const;
80 void SetImpress2PowerPoint( sal_Bool bFlag
);
82 sal_Bool
IsEnablePPTPreview() const;
83 sal_Bool
IsEnableCalcPreview() const;
84 sal_Bool
IsEnableWordPreview() const;
86 static SvtFilterOptions
& Get();
91 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */