fdo#74697 Add Bluez 5 support for impress remote.
[LibreOffice.git] / include / svtools / htmlcfg.hxx
blob62640e2bffe6ea1d10ad80b8d9347267b1b57ae7
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 .
19 #ifndef _SVX_HTMLCFG_HXX
20 #define _SVX_HTMLCFG_HXX
22 // -----------------------------------------------------------------------
24 #include <tools/solar.h>
25 #include <unotools/configitem.hxx>
26 #include <svtools/svtdllapi.h>
28 #define HTML_FONT_COUNT 7
30 // !!!be aware!!!: the following defines are _not_ used as values in the configuration file
31 // this is because of compatibility reasons
32 #define HTML_CFG_MSIE 1 // Internet Explorer
33 #define HTML_CFG_WRITER 2 // Writer
34 #define HTML_CFG_NS40 3 // Netscape 4.0
36 #define HTML_CFG_MAX HTML_CFG_NS40
38 class Link;
39 struct HtmlOptions_Impl;
40 // -----------------------------------------------------------------------
42 class SVT_DLLPUBLIC SvxHtmlOptions : public utl::ConfigItem
44 HtmlOptions_Impl*pImp;
45 const com::sun::star::uno::Sequence<OUString>& GetPropertyNames();
46 void Load( const com::sun::star::uno::Sequence< OUString >& rPropertyNames );
47 void CallListeners();
49 public:
50 SvxHtmlOptions();
51 ~SvxHtmlOptions();
53 virtual void Commit();
54 virtual void Notify( const com::sun::star::uno::Sequence< OUString >& _rPropertyNames);
56 sal_uInt16 GetFontSize(sal_uInt16 nPos) const;
57 void SetFontSize(sal_uInt16 nPos, sal_uInt16 nSize);
59 sal_Bool IsImportUnknown() const;
60 void SetImportUnknown(sal_Bool bSet);
62 sal_uInt16 GetExportMode() const;
63 void SetExportMode(sal_uInt16 nSet);
65 sal_Bool IsStarBasic() const;
66 void SetStarBasic(sal_Bool bSet);
68 sal_Bool IsStarBasicWarning() const;
69 void SetStarBasicWarning(sal_Bool bSet);
71 sal_Bool IsSaveGraphicsLocal() const;
72 void SetSaveGraphicsLocal(sal_Bool bSet);
74 sal_Bool IsPrintLayoutExtension() const;
75 void SetPrintLayoutExtension(sal_Bool bSet);
77 sal_Bool IsIgnoreFontFamily() const;
78 void SetIgnoreFontFamily(sal_Bool bSet);
80 sal_Bool IsDefaultTextEncoding() const;
81 rtl_TextEncoding GetTextEncoding() const;
82 void SetTextEncoding( rtl_TextEncoding );
83 static SvxHtmlOptions& Get();
85 sal_Bool IsNumbersEnglishUS() const;
86 void SetNumbersEnglishUS(sal_Bool bSet);
89 #endif
94 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */