summaryrefslogtreecommitdiff
path: root/chart2/source/view/inc/LegendEntryProvider.hxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2007-05-22 18:18:58 +0000
committerVladimir Glazounov <vg@openoffice.org>2007-05-22 18:18:58 +0000
commita067d904b506870ca1932046a3badedb9b6eb7ec (patch)
tree8cb5a1e7054ec512fa8ef1b1ea4883b5bf48350b /chart2/source/view/inc/LegendEntryProvider.hxx
parent17a18f7e1b1e3687d8ad5cf4763013a9fb8196c6 (diff)
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED
2006/03/29 22:21:40 iha 1.1.2.1: restructure legend entry creation + legend entries in data labels
Diffstat (limited to 'chart2/source/view/inc/LegendEntryProvider.hxx')
-rw-r--r--chart2/source/view/inc/LegendEntryProvider.hxx76
1 files changed, 76 insertions, 0 deletions
diff --git a/chart2/source/view/inc/LegendEntryProvider.hxx b/chart2/source/view/inc/LegendEntryProvider.hxx
new file mode 100644
index 000000000000..f2521b46c532
--- /dev/null
+++ b/chart2/source/view/inc/LegendEntryProvider.hxx
@@ -0,0 +1,76 @@
+/*************************************************************************
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: LegendEntryProvider.hxx,v $
+ *
+ * $Revision: 1.2 $
+ *
+ * last change: $Author: vg $ $Date: 2007-05-22 19:18:58 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+ *
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2005 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library 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 for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ ************************************************************************/
+#ifndef CHART2_VIEW_LEGENDENTRYPROVIDER_HXX
+#define CHART2_VIEW_LEGENDENTRYPROVIDER_HXX
+
+#ifndef _COM_SUN_STAR_CHART2_LEGENDEXPANSION_HPP_
+#include <com/sun/star/chart2/LegendExpansion.hpp>
+#endif
+
+#ifndef _COM_SUN_STAR_CHART2_VIEWLEGENDENTRYP_HPP_
+#include <com/sun/star/chart2/ViewLegendEntry.hpp>
+#endif
+
+#ifndef _COM_SUN_STAR_UNO_XCOMPONENTCONTEXT_HPP_
+#include <com/sun/star/uno/XComponentContext.hpp>
+#endif
+
+namespace chart
+{
+
+class LegendEntryProvider
+{
+public:
+ virtual ::com::sun::star::uno::Sequence<
+ ::com::sun::star::chart2::ViewLegendEntry > SAL_CALL createLegendEntries(
+ ::com::sun::star::chart2::LegendExpansion eLegendExpansion,
+ const ::com::sun::star::uno::Reference<
+ ::com::sun::star::beans::XPropertySet >& xTextProperties,
+ const ::com::sun::star::uno::Reference<
+ ::com::sun::star::drawing::XShapes >& xTarget,
+ const ::com::sun::star::uno::Reference<
+ ::com::sun::star::lang::XMultiServiceFactory >& xShapeFactory,
+ const ::com::sun::star::uno::Reference<
+ ::com::sun::star::uno::XComponentContext >& xContext
+ )
+ throw (::com::sun::star::uno::RuntimeException) = 0;
+
+private:
+};
+
+} // namespace chart
+
+// CHART2_VIEW_LEGENDENTRYPROVIDER_HXX
+#endif