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 INCLUDED_UNOTOOLS_FLTRCFG_HXX
20 #define INCLUDED_UNOTOOLS_FLTRCFG_HXX
22 #include <unotools/unotoolsdllapi.h>
23 #include <unotools/configitem.hxx>
25 struct SvtFilterOptions_Impl
;
26 class UNOTOOLS_DLLPUBLIC SvtFilterOptions
: public utl::ConfigItem
28 SvtFilterOptions_Impl
* pImp
;
30 const com::sun::star::uno::Sequence
<OUString
>& GetPropertyNames();
33 virtual ~SvtFilterOptions();
35 virtual void Notify( const com::sun::star::uno::Sequence
<OUString
>& aPropertyNames
) SAL_OVERRIDE
;
36 virtual void Commit() SAL_OVERRIDE
;
39 void SetLoadWordBasicCode( bool bFlag
);
40 bool IsLoadWordBasicCode() const;
41 void SetLoadWordBasicExecutable( bool bFlag
);
42 bool IsLoadWordBasicExecutable() const;
43 void SetLoadWordBasicStorage( bool bFlag
);
44 bool IsLoadWordBasicStorage() const;
46 void SetLoadExcelBasicCode( bool bFlag
);
47 bool IsLoadExcelBasicCode() const;
48 void SetLoadExcelBasicExecutable( bool bFlag
);
49 bool IsLoadExcelBasicExecutable() const;
50 void SetLoadExcelBasicStorage( bool bFlag
);
51 bool IsLoadExcelBasicStorage() const;
53 void SetLoadPPointBasicCode( bool bFlag
);
54 bool IsLoadPPointBasicCode() const;
55 void SetLoadPPointBasicStorage( bool bFlag
);
56 bool IsLoadPPointBasicStorage() const;
58 bool IsMathType2Math() const;
59 void SetMathType2Math( bool bFlag
);
60 bool IsMath2MathType() const;
61 void SetMath2MathType( bool bFlag
);
63 bool IsWinWord2Writer() const;
64 void SetWinWord2Writer( bool bFlag
);
65 bool IsWriter2WinWord() const;
66 void SetWriter2WinWord( bool bFlag
);
68 bool IsUseEnhancedFields() const;
70 bool IsExcel2Calc() const;
71 void SetExcel2Calc( bool bFlag
);
72 bool IsCalc2Excel() const;
73 void SetCalc2Excel( bool bFlag
);
75 bool IsPowerPoint2Impress() const;
76 void SetPowerPoint2Impress( bool bFlag
);
77 bool IsImpress2PowerPoint() const;
78 void SetImpress2PowerPoint( bool bFlag
);
80 bool IsSmartArt2Shape() const;
81 void SetSmartArt2Shape( bool bFlag
);
83 bool IsEnablePPTPreview() const;
84 bool IsEnableCalcPreview() const;
85 bool IsEnableWordPreview() const;
87 static SvtFilterOptions
& Get();
92 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */