Bump version to 4.3-4
[LibreOffice.git] / sc / inc / importfilterdata.hxx
blob089f427d2bfccbaf8e91b10e5d8e5b1f3dbf4de2
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/.
8 */
10 #ifndef INCLUDED_SC_INC_IMPORTFILTERDATA_HXX
11 #define INCLUDED_SC_INC_IMPORTFILTERDATA_HXX
13 #include "address.hxx"
15 #include <boost/noncopyable.hpp>
16 #include <boost/scoped_ptr.hpp>
18 namespace sc {
20 /**
21 * Stores data imported from the file that need to be processed at the end
22 * of the import process.
24 struct ImportPostProcessData : boost::noncopyable
26 /**
27 * Data stream data needs to be post-processed because it requires
28 * ScDocShell instance which is not available in the filter code.
30 struct DataStream
32 enum InsertPos { InsertTop, InsertBottom };
34 OUString maURL;
35 ScRange maRange;
36 bool mbRefreshOnEmpty;
37 InsertPos meInsertPos;
39 DataStream();
42 boost::scoped_ptr<DataStream> mpDataStream;
47 #endif
49 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */