summaryrefslogtreecommitdiff
path: root/offapi/com/sun
diff options
context:
space:
mode:
authorSascha Ballach <sab@openoffice.org>2002-09-27 10:03:14 +0000
committerSascha Ballach <sab@openoffice.org>2002-09-27 10:03:14 +0000
commitbde0b2bcef1c5d5bdf5ae91f611127b59c21601d (patch)
tree344fcce60aec5d146b03cccd79ca974f611b1da7 /offapi/com/sun
parenta6b49c1f74a86b2fd6ec0c88e108772c2b398dbe (diff)
#86769#; add a more simpler drawpage service for the spreadsheet drawpage
Diffstat (limited to 'offapi/com/sun')
-rw-r--r--offapi/com/sun/star/sheet/SpreadsheetDrawPage.idl161
-rw-r--r--offapi/com/sun/star/sheet/makefile.mk5
2 files changed, 164 insertions, 2 deletions
diff --git a/offapi/com/sun/star/sheet/SpreadsheetDrawPage.idl b/offapi/com/sun/star/sheet/SpreadsheetDrawPage.idl
new file mode 100644
index 000000000..9945a959f
--- /dev/null
+++ b/offapi/com/sun/star/sheet/SpreadsheetDrawPage.idl
@@ -0,0 +1,161 @@
+/*************************************************************************
+ *
+ * $RCSfile: SpreadsheetDrawPage.idl,v $
+ *
+ * $Revision: 1.1 $
+ *
+ * last change: $Author: sab $ $Date: 2002-09-27 11:03:14 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (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.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_sheet_SpreadsheetDrawPage_idl__
+#define __com_sun_star_sheet_SpreadsheetDrawPage_idl__
+
+#ifndef __com_sun_star_drawing_XDrawPage_idl__
+#include <com/sun/star/drawing/XDrawPage.idl>
+#endif
+
+#ifndef __com_sun_star_drawing_XShapeGrouper_idl__
+#include <com/sun/star/drawing/XShapeGrouper.idl>
+#endif
+
+#ifndef __com_sun_star_lang_XServiceInfo_idl__
+#include <com/sun/star/lang/XServiceInfo.idl>
+#endif
+
+//=============================================================================
+
+ module com { module sun { module star { module drawing {
+
+//=============================================================================
+
+/** This abstract service is implemented by every page of a
+ <type>SpreadsheetDocument</type>.
+
+
+
+ @example create and insert a couple of <type>LineShape</type>s:
+
+ <listing>
+ xPage = xDoc.DrawPages(0)
+ for x% = 0 to 200
+ xShape = xProv.createInstance( "com::sun::star::drawing::LineShape" )
+ xShape.LineColor = rgb( 255, 0, n%+20 )
+ xShape.LineWidth = 20
+ xShape.Position = Point( x%, 2*x% )
+ xShape.Size = Size( 300-x%, 20 )
+ xPage.add( xShape )
+ next x%
+ </listing>
+ */
+service GenericDrawPage
+{
+
+
+ /** manages the <type>Shape</type>s of this page.
+
+ <p>It also lets you add new <type>Shape</type>s. The program currently
+ requires that these <type>Shape</type>s be created by the factory of
+ the document.
+
+ @see <type>SpreadsheetDocument</type>
+ */
+ interface com::sun::star::drawing::XDrawPage;
+
+
+ /** With this interface you can group/ungroup a collection of
+ <type>Shape</type>s.
+ */
+ interface com::sun::star::drawing::XShapeGrouper;
+
+
+ /** returns the services implemented by this
+ instance.
+ */
+ interface com::sun::star::lang::XServiceInfo;
+};
+
+//=============================================================================
+
+}; }; }; };
+
+/*=============================================================================
+
+ $Log: not supported by cvs2svn $
+ Revision 1.6 2001/10/26 08:45:35 mi
+ proofreading and corrections from Richard Holt
+
+ Revision 1.5 2001/10/16 09:47:34 cl
+ #91486# added xml alien attributes
+
+ Revision 1.4 2000/12/21 08:35:06 mi
+ @see interface/service/... ident -> @see ident - for new docu generator
+
+ Revision 1.3 2000/11/08 12:42:41 mi
+ moved from api
+
+ Revision 1.2 2000/10/09 14:24:55 mi
+ #78715# exchanged stardiv::... by com::sun::star::... (especially in @see tags)
+
+ Revision 1.1.1.1 2000/09/18 23:35:12 hjs
+ initial import
+
+ Revision 1.3 2000/09/11 11:52:20 mi
+ documentation merged from XML
+
+ Revision 1.1.1.1 1999/11/11 09:48:42 jsc
+ new
+
+
+=============================================================================*/
+#endif
diff --git a/offapi/com/sun/star/sheet/makefile.mk b/offapi/com/sun/star/sheet/makefile.mk
index 59e4dd05a..10d8d1615 100644
--- a/offapi/com/sun/star/sheet/makefile.mk
+++ b/offapi/com/sun/star/sheet/makefile.mk
@@ -2,9 +2,9 @@
#
# $RCSfile: makefile.mk,v $
#
-# $Revision: 1.6 $
+# $Revision: 1.7 $
#
-# last change: $Author: sab $ $Date: 2001-07-06 11:48:39 $
+# last change: $Author: sab $ $Date: 2002-09-27 11:03:13 $
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
@@ -155,6 +155,7 @@ IDLFILES=\
Spreadsheet.idl\
SpreadsheetDocument.idl\
SpreadsheetDocumentSettings.idl\
+ SpreadsheetDrawPage.idl\
Spreadsheets.idl\
SpreadsheetView.idl\
SpreadsheetViewPane.idl\