summaryrefslogtreecommitdiff
path: root/offapi
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2007-05-22 14:07:27 +0000
committerVladimir Glazounov <vg@openoffice.org>2007-05-22 14:07:27 +0000
commit0f68cbe51ec157524890699bf9e2eecfab279763 (patch)
tree956d6c805996a46d5c2fb5911bda67f50cf9c1a4 /offapi
parent3e2a285fdcc14dce2b16b4d9d8c8a7a7fd91fb4d (diff)
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED
2005/10/11 12:07:53 bm 1.1.2.3: license header change 2005/09/08 12:39:39 bm 1.1.2.2: +comment, -published flag 2005/09/08 11:35:45 sab 1.1.2.1: #i17416#; add generateLabel
Diffstat (limited to 'offapi')
-rw-r--r--offapi/com/sun/star/chart2/data/LabelOrigin.idl108
1 files changed, 108 insertions, 0 deletions
diff --git a/offapi/com/sun/star/chart2/data/LabelOrigin.idl b/offapi/com/sun/star/chart2/data/LabelOrigin.idl
new file mode 100644
index 000000000000..611fccd87810
--- /dev/null
+++ b/offapi/com/sun/star/chart2/data/LabelOrigin.idl
@@ -0,0 +1,108 @@
+/*************************************************************************
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: LabelOrigin.idl,v $
+ *
+ * $Revision: 1.2 $
+ *
+ * last change: $Author: vg $ $Date: 2007-05-22 15:07:27 $
+ *
+ * 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 com_sun_star_chart2_data_LabelOrigin_idl
+#define com_sun_star_chart2_data_LabelOrigin_idl
+
+//=============================================================================
+
+module com { module sun { module star { module chart2 { module data {
+
+//=============================================================================
+
+/** is used to specify how the labels have to be created.
+
+ @see <member>XDataSequence::generateLabel</member>.
+ */
+enum LabelOrigin
+{
+ //-------------------------------------------------------------------------
+
+ /** If a range spans a single row over more than one column, this
+ parameter has the same effect as ROW. If the range spans a
+ single column over more than one row, this is the same as
+ COLUMN.
+
+ <p>In case of a range spanning more than one column and row,
+ the shorter range of both should be used (e.g. a spreadsheet
+ range A1:B10 should treat columns as short side).</p>
+
+ <p>In case of a rectangular range, or a range that is composed
+ of more than one contiguous sub-regions, the short side cannot
+ be determined, thus
+ <member>XDataSequence::generateLabel</member> will return an
+ empty sequence.</p>
+ */
+ SHORT_SIDE,
+
+ //-------------------------------------------------------------------------
+
+ /** This is exactly the opposite of SHORT_SIDE. I.e., if
+ SHORT_SIDE has the same effect as ROW, LONG_SIDE will have the
+ same effect as COLUMN and the other way round.
+
+ @see <member>LabelOrigin::SHORT_SIDE</member>
+ */
+ LONG_SIDE,
+
+ //-------------------------------------------------------------------------
+
+ /** Uses the column name for label generation. A spreadsheet
+ range A1:A6 could, e.g., result in "Column A".
+
+ <p>If a range consists of more than one column the result of
+ label generation may be empty. Of course, it could also
+ succeed with a string like "Columns A to B".
+ */
+ COLUMN,
+
+ //-------------------------------------------------------------------------
+
+ /** Uses the column name for label generation. A spreadsheet
+ range A2:D2 could, e.g., result in "Row 2".
+
+ <p>If a range consists of more than one row the result of
+ label generation may be empty. Of course, it could also
+ succeed with a string like "Rows 1-3".
+ */
+ ROW
+};
+
+//=============================================================================
+
+}; }; }; }; };
+
+#endif
+