2010-10-12 15:59:00 +02:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2012-06-21 14:30:25 +01:00
|
|
|
/*
|
|
|
|
* This file is part of the LibreOffice project.
|
|
|
|
*
|
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
*
|
|
|
|
* This file incorporates work covered by the following license notice:
|
|
|
|
*
|
|
|
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
* contributor license agreements. See the NOTICE file distributed
|
|
|
|
* with this work for additional information regarding copyright
|
|
|
|
* ownership. The ASF licenses this file to you under the Apache
|
|
|
|
* License, Version 2.0 (the "License"); you may not use this file
|
|
|
|
* except in compliance with the License. You may obtain a copy of
|
|
|
|
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
|
|
|
*/
|
2006-09-17 11:57:55 +00:00
|
|
|
|
2003-10-06 08:58:36 +00:00
|
|
|
#include "dlg_InsertDataLabel.hxx"
|
2007-07-25 07:32:53 +00:00
|
|
|
#include "res_DataLabel.hxx"
|
2003-10-06 08:58:36 +00:00
|
|
|
|
|
|
|
namespace chart
|
|
|
|
{
|
|
|
|
|
2014-09-23 11:20:40 +02:00
|
|
|
DataLabelsDialog::DataLabelsDialog(vcl::Window* pWindow, const SfxItemSet& rInAttrs, SvNumberFormatter* pFormatter) :
|
2013-12-26 16:43:13 -02:00
|
|
|
ModalDialog(pWindow
|
|
|
|
,"dlg_DataLabels"
|
|
|
|
,"modules/schart/ui/dlg_DataLabel.ui"),
|
|
|
|
m_apDataLabelResources( new DataLabelResources(this, this, rInAttrs) ),
|
2004-01-26 08:13:31 +00:00
|
|
|
m_rInAttrs(rInAttrs)
|
2003-10-06 08:58:36 +00:00
|
|
|
{
|
2007-07-25 07:32:53 +00:00
|
|
|
m_apDataLabelResources->SetNumberFormatter( pFormatter );
|
2016-11-10 15:06:03 +02:00
|
|
|
m_apDataLabelResources->Reset(m_rInAttrs);
|
2003-10-06 08:58:36 +00:00
|
|
|
}
|
|
|
|
|
2016-08-26 13:11:34 +02:00
|
|
|
DataLabelsDialog::~DataLabelsDialog() = default;
|
|
|
|
|
2007-07-25 07:32:53 +00:00
|
|
|
void DataLabelsDialog::FillItemSet(SfxItemSet& rOutAttrs)
|
2003-10-06 08:58:36 +00:00
|
|
|
{
|
2014-06-10 17:23:12 +02:00
|
|
|
m_apDataLabelResources->FillItemSet(&rOutAttrs);
|
2003-10-06 08:58:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
} //namespace chart
|
|
|
|
|
2010-10-12 15:59:00 +02:00
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|