LibreOffice Module sc (master)  1
MatrixComparisonGenerator.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  */
10 
11 #pragma once
12 
13 #include <address.hxx>
14 #include "viewdata.hxx"
15 
17 
19 {
20 public:
22  SfxBindings* pSfxBindings, SfxChildWindow* pChildWindow,
23  weld::Window* pParent, ScViewData& rViewData,
24  const OUString& rUiXmlDescription, const OString& rID);
25 
26  virtual ~ScMatrixComparisonGenerator() override;
27 
28 protected:
29  virtual TranslateId GetUndoNameId() override;
30  virtual ScRange ApplyOutput(ScDocShell* pDocShell) override;
31 
32  virtual OUString getLabel() = 0;
33  virtual OUString getTemplate() = 0;
34 };
35 
36 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
virtual OUString getLabel()=0
ScMatrixComparisonGenerator(SfxBindings *pSfxBindings, SfxChildWindow *pChildWindow, weld::Window *pParent, ScViewData &rViewData, const OUString &rUiXmlDescription, const OString &rID)
virtual TranslateId GetUndoNameId() override
virtual OUString getTemplate()=0
virtual ScRange ApplyOutput(ScDocShell *pDocShell) override