Avoid potential negative array index access to cached text.
[LibreOffice.git] / include / svtools / htmlcfg.hxx
blob259c7e965887bd390cfa00948fd4f31737ec8976
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 #pragma once
21 #include <svtools/svtdllapi.h>
23 #define HTML_FONT_COUNT 7
25 // !!!be aware!!!: the following defines are _not_ used as values in the configuration file
26 // this is because of compatibility reasons
27 #define HTML_CFG_MSIE 0 // Internet Explorer
28 #define HTML_CFG_WRITER 1 // Writer
29 #define HTML_CFG_NS40 2 // Netscape 4.0
31 #define HTML_CFG_MAX HTML_CFG_NS40
33 namespace SvxHtmlOptions
35 SVT_DLLPUBLIC sal_uInt16 GetFontSize(sal_uInt16 nPos);
37 SVT_DLLPUBLIC sal_uInt16 GetExportMode();
40 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */