fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / sc / source / ui / inc / scuiimoptdlg.hxx
blob348d27878daead654bcf583b3ae4275c93427a05
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 .
20 #ifndef INCLUDED_SC_SOURCE_UI_INC_SCUIIMOPTDLG_HXX
21 #define INCLUDED_SC_SOURCE_UI_INC_SCUIIMOPTDLG_HXX
23 #include <vcl/layout.hxx>
24 #include "imoptdlg.hxx"
26 class ScDelimiterTable;
28 class ScImportOptionsDlg : public ModalDialog
30 public:
31 ScImportOptionsDlg( vcl::Window* pParent,
32 bool bAscii = true,
33 const ScImportOptions* pOptions = NULL,
34 const OUString* pStrTitle = NULL,
35 bool bMultiByte = false,
36 bool bOnlyDbtoolsEncodings = false,
37 bool bImport = true );
39 virtual ~ScImportOptionsDlg();
40 virtual void dispose() SAL_OVERRIDE;
42 void GetImportOptions( ScImportOptions& rOptions ) const;
44 private:
45 VclPtr<VclFrame> m_pFieldFrame;
46 VclPtr<FixedText> m_pFtCharset;
47 VclPtr<SvxTextEncodingBox> m_pLbCharset;
48 VclPtr<FixedText> m_pFtFieldSep;
49 VclPtr<ComboBox> m_pEdFieldSep;
50 VclPtr<FixedText> m_pFtTextSep;
51 VclPtr<ComboBox> m_pEdTextSep;
52 VclPtr<CheckBox> m_pCbShown;
53 VclPtr<CheckBox> m_pCbFormulas;
54 VclPtr<CheckBox> m_pCbQuoteAll;
55 VclPtr<CheckBox> m_pCbFixed;
56 VclPtr<OKButton> m_pBtnOk;
58 ScDelimiterTable* pFieldSepTab;
59 ScDelimiterTable* pTextSepTab;
61 private:
62 sal_uInt16 GetCodeFromCombo( const ComboBox& rEd ) const;
64 DECL_LINK( FixedWidthHdl, CheckBox* );
65 DECL_LINK( DoubleClickHdl, ListBox* );
68 #endif
70 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */