Files
libreoffice/chart2/source/controller/inc/dlg_InsertDataLabel.hxx

71 lines
2.3 KiB
C++
Raw Normal View History

2003-10-06 08:58:36 +00:00
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
2003-10-06 08:58:36 +00:00
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
2003-10-06 08:58:36 +00:00
*
* OpenOffice.org - a multi-platform office productivity suite
2003-10-06 08:58:36 +00:00
*
* This file is part of OpenOffice.org.
2003-10-06 08:58:36 +00:00
*
* OpenOffice.org is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3
* only, as published by the Free Software Foundation.
2003-10-06 08:58:36 +00:00
*
* OpenOffice.org is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License version 3 for more details
* (a copy is included in the LICENSE file that accompanied this code).
2003-10-06 08:58:36 +00:00
*
* You should have received a copy of the GNU Lesser General Public License
* version 3 along with OpenOffice.org. If not, see
* <http://www.openoffice.org/license.html>
* for a copy of the LGPLv3 License.
2003-10-06 08:58:36 +00:00
*
************************************************************************/
#ifndef CHART2_DLG_INSERT_DATALABELS_GRID_HXX
#define CHART2_DLG_INSERT_DATALABELS_GRID_HXX
2003-10-06 08:58:36 +00:00
// header for class ModalDialog
#include <vcl/dialog.hxx>
// header for class CheckBox
#include <vcl/button.hxx>
// header for class SfxItemSet
#include <svl/itemset.hxx>
//for auto_ptr
#include <memory>
class SvNumberFormatter;
2003-10-06 08:58:36 +00:00
//.............................................................................
namespace chart
{
//.............................................................................
class DataLabelResources;
class DataLabelsDialog : public ModalDialog
2003-10-06 08:58:36 +00:00
{
private:
OKButton m_aBtnOK;
CancelButton m_aBtnCancel;
HelpButton m_aBtnHelp;
::std::auto_ptr< DataLabelResources > m_apDataLabelResources;
2003-10-06 08:58:36 +00:00
const SfxItemSet& m_rInAttrs;
2003-10-06 08:58:36 +00:00
void Reset();
public:
DataLabelsDialog(Window* pParent, const SfxItemSet& rInAttrs, SvNumberFormatter* pFormatter);
virtual ~DataLabelsDialog();
2003-10-06 08:58:36 +00:00
void FillItemSet(SfxItemSet& rOutAttrs);
2003-10-06 08:58:36 +00:00
};
//.............................................................................
} //namespace chart
//.............................................................................
#endif