LibreOffice Module sw (master)  1
sdrhhcwrap.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
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  *
9  * This file incorporates work covered by the following license notice:
10  *
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 .
18  */
19 #ifndef INCLUDED_SW_SOURCE_UIBASE_LINGU_SDRHHCWRAP_HXX
20 #define INCLUDED_SW_SOURCE_UIBASE_LINGU_SDRHHCWRAP_HXX
21 
22 #include <svx/svdoutl.hxx>
23 
24 class SwView;
25 class SdrTextObj;
26 class OutlinerView;
27 
28 class SdrHHCWrapper : public SdrOutliner
29 {
30  // modified version of SdrSpeller
31 
34  std::unique_ptr<OutlinerView> pOutlView;
35  sal_Int32 const nOptions;
36  sal_uInt16 nDocIndex;
40  bool const bIsInteractive;
41 
42 public:
43  SdrHHCWrapper( SwView* pVw,
44  LanguageType nSourceLanguage, LanguageType nTargetLanguage,
45  const vcl::Font* pTargetFnt,
46  sal_Int32 nConvOptions, bool bInteractive );
47 
48  virtual ~SdrHHCWrapper() override;
49 
50  virtual bool ConvertNextDocument() override;
51  void StartTextConversion();
52 };
53 
54 #endif
55 
56 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
const vcl::Font * pTargetFont
Definition: sdrhhcwrap.hxx:39
std::unique_ptr< OutlinerView > pOutlView
Definition: sdrhhcwrap.hxx:34
LanguageType const nSourceLang
Definition: sdrhhcwrap.hxx:37
sal_uInt16 nDocIndex
Definition: sdrhhcwrap.hxx:36
SdrHHCWrapper(SwView *pVw, LanguageType nSourceLanguage, LanguageType nTargetLanguage, const vcl::Font *pTargetFnt, sal_Int32 nConvOptions, bool bInteractive)
Definition: sdrhhcwrap.cxx:49
void StartTextConversion()
Definition: sdrhhcwrap.cxx:102
SwView * pView
Definition: sdrhhcwrap.hxx:32
bool const bIsInteractive
Definition: sdrhhcwrap.hxx:40
SdrTextObj * pTextObj
Definition: sdrhhcwrap.hxx:33
sal_Int32 const nOptions
Definition: sdrhhcwrap.hxx:35
virtual ~SdrHHCWrapper() override
Definition: sdrhhcwrap.cxx:88
virtual bool ConvertNextDocument() override
Definition: sdrhhcwrap.cxx:107
Definition: view.hxx:146
LanguageType const nTargetLang
Definition: sdrhhcwrap.hxx:38