tdf#130857 qt weld: Support mail merge "Server Auth" dialog
[LibreOffice.git] / dbaccess / source / ui / misc / WExtendPages.cxx
blobc7eac9181e009dabe51ef493717a97b5602e072a
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 #include <WExtendPages.hxx>
21 #include <RtfReader.hxx>
22 #include <HtmlReader.hxx>
23 #include <WCopyTable.hxx>
25 using namespace com::sun::star;
27 namespace dbaui
30 void OWizHTMLExtend::createReaderAndCallParser(sal_Int32 _nRows)
32 tools::SvRef<OHTMLReader> xParser = new OHTMLReader(*m_pParserStream,
33 _nRows,
34 std::vector(m_pParent->GetColumnPositions()),
35 m_pParent->GetFormatter(),
36 m_pParent->GetComponentContext(),
37 &m_pParent->getDestVector(),
38 &m_pParent->getTypeInfo(),
39 m_pParent->shouldCreatePrimaryKey());
40 xParser->CallParser();
43 void OWizRTFExtend::createReaderAndCallParser(sal_Int32 _nRows)
45 tools::SvRef<ORTFReader> xParser = new ORTFReader(*m_pParserStream,
46 _nRows,
47 std::vector(m_pParent->GetColumnPositions()),
48 m_pParent->GetFormatter(),
49 m_pParent->GetComponentContext(),
50 &m_pParent->getDestVector(),
51 &m_pParent->getTypeInfo(),
52 m_pParent->shouldCreatePrimaryKey());
53 xParser->CallParser();
56 void OWizNormalExtend::createReaderAndCallParser(sal_Int32 /*_nRows*/)
62 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */