tdf#130857 qt weld: Implement QtInstanceWidget::get_text_height
[LibreOffice.git] / editeng / source / misc / SvXMLAutoCorrectExport.hxx
blob58570e3ad1915712c16f97d7c137df6dd8946ffb
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 .
19 #pragma once
21 #include <xmloff/xmlexp.hxx>
22 #include <editeng/svxacorr.hxx>
24 class SvXMLAutoCorrectExport : public SvXMLExport
26 private:
27 const SvxAutocorrWordList *pAutocorr_List;
28 public:
29 SvXMLAutoCorrectExport(
30 const css::uno::Reference< css::uno::XComponentContext > & xContext,
31 const SvxAutocorrWordList * pNewAutocorr_List,
32 const OUString &rFileName,
33 css::uno::Reference< css::xml::sax::XDocumentHandler> const &rHandler);
35 ErrCode exportDoc(enum ::xmloff::token::XMLTokenEnum eClass = ::xmloff::token::XML_TOKEN_INVALID) override;
36 void ExportAutoStyles_() override {}
37 void ExportMasterStyles_ () override {}
38 void ExportContent_() override {}
41 class SvStringsISortDtor;
43 class SvXMLExceptionListExport : public SvXMLExport
45 private:
46 const SvStringsISortDtor & rList;
47 public:
48 SvXMLExceptionListExport(
49 const css::uno::Reference< css::uno::XComponentContext > & xContext,
50 const SvStringsISortDtor &rNewList,
51 const OUString &rFileName,
52 css::uno::Reference< css::xml::sax::XDocumentHandler> const &rHandler);
54 ErrCode exportDoc(enum ::xmloff::token::XMLTokenEnum eClass = ::xmloff::token::XML_TOKEN_INVALID) override;
55 void ExportAutoStyles_() override {}
56 void ExportMasterStyles_ () override {}
57 void ExportContent_() override {}
60 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */