summaryrefslogtreecommitdiff
path: root/offapi
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2004-07-05 14:59:24 +0000
committerOliver Bolte <obo@openoffice.org>2004-07-05 14:59:24 +0000
commit683d9239c1040ff98335e188e0ecde0e7d56d216 (patch)
tree041c7a0e2cb82bae73081f94dde62cb222534785 /offapi
parentf12318057a68e7f9c5be023921bd6d73375e6280 (diff)
INTEGRATION: CWS frmcontrols04 (1.1.2); FILE ADDED
2004/05/04 15:22:10 fs 1.1.2.1: #i28672# image position
Diffstat (limited to 'offapi')
-rw-r--r--offapi/com/sun/star/awt/ImagePosition.idl134
1 files changed, 134 insertions, 0 deletions
diff --git a/offapi/com/sun/star/awt/ImagePosition.idl b/offapi/com/sun/star/awt/ImagePosition.idl
new file mode 100644
index 000000000000..b377e944b767
--- /dev/null
+++ b/offapi/com/sun/star/awt/ImagePosition.idl
@@ -0,0 +1,134 @@
+/*************************************************************************
+ *
+ * $RCSfile: ImagePosition.idl,v $
+ *
+ * $Revision: 1.2 $
+ *
+ * last change: $Author: obo $ $Date: 2004-07-05 15:59:24 $
+ *
+ * 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_awt_ImagePosition_idl__
+#define __com_sun_star_awt_ImagePosition_idl__
+
+//=============================================================================
+
+module com { module sun { module star { module awt {
+
+//=============================================================================
+
+/** specifies the position of a image, relative to another object
+
+ @see ImageAlign
+*/
+constants ImagePosition
+{
+ /** specifies that the image should be positioned at the left of, and top-aligned to, the other object
+ */
+ const short LeftTop = 0;
+
+ /** specifies that the image should be positioned at the left of, and vertically centered to, the other object
+ */
+ const short LeftCenter = 1;
+
+ /** specifies that the image should be positioned at the left of, and bottom-aligned to, the other object
+ */
+ const short LeftBottom = 2;
+
+ /** specifies that the image should be positioned at the right of, and top-aligned to, the other object
+ */
+ const short RightTop = 3;
+
+ /** specifies that the image should be positioned at the right of, and vertically centered to, the other object
+ */
+ const short RightCenter = 4;
+
+ /** specifies that the image should be positioned at the right of, and bottom-aligned to, the other object
+ */
+ const short RightBottom = 5;
+
+ /** specifies that the image should be positioned above and left-aligned to the other object
+ */
+ const short AboveLeft = 6;
+
+ /** specifies that the image should be positioned above and horizontally centered to the other object
+ */
+ const short AboveCenter = 7;
+
+ /** specifies that the image should be positioned above and right-aligned to the other object
+ */
+ const short AboveRight = 8;
+
+ /** specifies that the image should be positioned below and left-aligned to the other object
+ */
+ const short BelowLeft = 9;
+
+ /** specifies that the image should be positioned below and horizontally centered to the other object
+ */
+ const short BelowCenter = 10;
+
+ /** specifies that the image should be positioned below and right-aligned centered to the other object
+ */
+ const short BelowRight = 11;
+
+ /** specifies that the image should be horizontally and vertically centered to the other object.
+ */
+ const short Centered = 12;
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif