summaryrefslogtreecommitdiff
path: root/chart2/source
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-02-09 14:19:14 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-02-09 14:20:36 +0100
commit042fec5bf2d00e55a0ef8b2a0120e821189b5088 (patch)
treefa21bc178cf0511f71a18abe4acaac463d093e20 /chart2/source
parent7f8b4e14d787ec648a3de69fd51dc90fcfc876d9 (diff)
forgot the new files
Change-Id: I63bdb340aa06b072541bb8b0ed975457c504c9a2
Diffstat (limited to 'chart2/source')
-rw-r--r--chart2/source/controller/dialogs/dlg_PropertyMapping.cxx34
-rw-r--r--chart2/source/controller/dialogs/dlg_PropertyMapping.hxx35
2 files changed, 69 insertions, 0 deletions
diff --git a/chart2/source/controller/dialogs/dlg_PropertyMapping.cxx b/chart2/source/controller/dialogs/dlg_PropertyMapping.cxx
new file mode 100644
index 000000000000..c41859f4e98d
--- /dev/null
+++ b/chart2/source/controller/dialogs/dlg_PropertyMapping.cxx
@@ -0,0 +1,34 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * 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/.
+ */
+
+#include "dlg_PropertyMapping.hxx"
+
+namespace chart {
+
+namespace {
+
+static long pListBoxTabs[] =
+{
+ 3,
+ 0, 0, 75
+};
+
+}
+
+PropertyMappingDlg::PropertyMappingDlg(Window* pParent):
+ ModalDialog(pParent, "Property Mapping Dialog", "modules/schart/ui/dlg_PropertyMapping.ui")
+{
+ get(mpMappingTable, "LST_PROPERTY_MAPPING");
+
+ mpMappingTable->SetTabs( pListBoxTabs, MAP_APPFONT );
+}
+
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/controller/dialogs/dlg_PropertyMapping.hxx b/chart2/source/controller/dialogs/dlg_PropertyMapping.hxx
new file mode 100644
index 000000000000..3240a30fa1bc
--- /dev/null
+++ b/chart2/source/controller/dialogs/dlg_PropertyMapping.hxx
@@ -0,0 +1,35 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * 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/.
+ */
+
+#ifndef CHART2_PROPERTY_MAPPING_HXX
+#define CHART2_PROPERTY_MAPPING_HXX
+
+#include <vcl/dialog.hxx>
+#include <svtools/svtabbx.hxx>
+
+namespace chart {
+
+class PropertyMappingDlg : public ModalDialog
+{
+public:
+
+ PropertyMappingDlg(Window* pParent);
+
+ OUString getSelectedEntry();
+
+private:
+
+ SvTabListBox* mpMappingTable;
+};
+
+}
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */