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/.
10 #ifndef INCLUDED_SC_INC_IMPORTFILTERDATA_HXX
11 #define INCLUDED_SC_INC_IMPORTFILTERDATA_HXX
13 #include "address.hxx"
20 * Stores data imported from the file that need to be processed at the end
21 * of the import process.
23 struct ImportPostProcessData
25 ImportPostProcessData() = default;
26 ImportPostProcessData(const ImportPostProcessData
&) = delete;
27 const ImportPostProcessData
& operator=(const ImportPostProcessData
&) = delete;
28 ~ImportPostProcessData() = default;
30 * Data stream data needs to be post-processed because it requires
31 * ScDocShell instance which is not available in the filter code.
35 enum InsertPos
{ InsertTop
, InsertBottom
};
39 bool mbRefreshOnEmpty
;
40 InsertPos meInsertPos
;
45 std::unique_ptr
<DataStream
> mpDataStream
;
52 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */