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 .
20 #ifndef INCLUDED_WRITERFILTERDLLAPI_H
21 #define INCLUDED_WRITERFILTERDLLAPI_H
23 #include "sal/types.h"
25 #if defined(WRITERFILTER_DOCTOK_DLLIMPLEMENTATION)
26 #define WRITERFILTER_DOCTOK_DLLPUBLIC SAL_DLLPUBLIC_EXPORT
28 #define WRITERFILTER_DOCTOK_DLLPUBLIC SAL_DLLPUBLIC_IMPORT
31 #if defined(WRITERFILTER_OOXML_DLLIMPLEMENTATION)
32 #define WRITERFILTER_OOXML_DLLPUBLIC SAL_DLLPUBLIC_EXPORT
34 #define WRITERFILTER_OOXML_DLLPUBLIC SAL_DLLPUBLIC_IMPORT
37 #if defined(WRITERFILTER_RTFTOK_DLLIMPLEMENTATION)
38 #define WRITERFILTER_RTFTOK_DLLPUBLIC SAL_DLLPUBLIC_EXPORT
40 #define WRITERFILTER_RTFTOK_DLLPUBLIC SAL_DLLPUBLIC_IMPORT
43 #if defined(WRITERFILTER_RESOURCEMODEL_DLLIMPLEMENTATION)
44 #define WRITERFILTER_RESOURCEMODEL_DLLPUBLIC SAL_DLLPUBLIC_EXPORT
46 #define WRITERFILTER_RESOURCEMODEL_DLLPUBLIC SAL_DLLPUBLIC_IMPORT
49 #if defined(WRITERFILTER_WRITERFILTER_DLLIMPLEMENTATION)
50 #define WRITERFILTER_WRITERFILTER_DLLPUBLIC SAL_DLLPUBLIC_EXPORT
52 #define WRITERFILTER_WRITERFILTER_DLLPUBLIC SAL_DLLPUBLIC_IMPORT
55 #if defined(WRITERFILTER_WRITERFILTER_UNO_DLLIMPLEMENTATION)
56 #define WRITERFILTER_WRITERFILTER_UNO_DLLPUBLIC SAL_DLLPUBLIC_EXPORT
58 #define WRITERFILTER_WRITERFILTER_UNO_DLLPUBLIC SAL_DLLPUBLIC_IMPORT
61 // This one can be shared
62 #define WRITERFILTER_DLLPRIVATE SAL_DLLPRIVATE
64 #endif /* INCLUDED_WRITERFILTERDLLAPI_H */
66 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */