summaryrefslogtreecommitdiff
path: root/offapi/com/sun/star/awt/UnoControlEditModel.idl
diff options
context:
space:
mode:
Diffstat (limited to 'offapi/com/sun/star/awt/UnoControlEditModel.idl')
-rw-r--r--offapi/com/sun/star/awt/UnoControlEditModel.idl260
1 files changed, 260 insertions, 0 deletions
diff --git a/offapi/com/sun/star/awt/UnoControlEditModel.idl b/offapi/com/sun/star/awt/UnoControlEditModel.idl
new file mode 100644
index 000000000000..f47523affe18
--- /dev/null
+++ b/offapi/com/sun/star/awt/UnoControlEditModel.idl
@@ -0,0 +1,260 @@
+/*************************************************************************
+ *
+ * $RCSfile: UnoControlEditModel.idl,v $
+ *
+ * $Revision: 1.1 $
+ *
+ * last change: $Author: mi $ $Date: 2000-11-06 09:21:05 $
+ *
+ * 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_UnoControlEditModel_idl__
+#define __com_sun_star_awt_UnoControlEditModel_idl__
+
+#ifndef __com_sun_star_awt_UnoControlModel_idl__
+#include <com/sun/star/awt/UnoControlModel.idl>
+#endif
+
+#ifndef __com_sun_star_awt_FontDescriptor_idl__
+#include <com/sun/star/awt/FontDescriptor.idl>
+#endif
+
+
+//=============================================================================
+
+ module com { module sun { module star { module awt {
+
+//=============================================================================
+
+// DocMerge from xml: service com::sun::star::awt::UnoControlEditModel
+/** specifies the standard model of an <type>UnoEditControl</type>.
+ */
+service UnoControlEditModel
+{
+ // DocMerge: empty anyway
+ service com::sun::star::awt::UnoControlModel;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: property com::sun::star::awt::UnoControlEditModel::Align
+ /** specifies the alignment of the text in the control.
+
+
+ <pre>
+ 0: left
+ 1: center
+ 2: right
+ </pre>
+ */
+ [property] short Align;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: property com::sun::star::awt::UnoControlEditModel::BackgroundColor
+ /** specifies the background color (RGB) of the control.
+ */
+ [property] long BackgroundColor;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: property com::sun::star::awt::UnoControlEditModel::Border
+ /** specifies the border style of the control.
+
+
+ <pre>
+ 0: No border
+ 1: 3D border
+ 2: simple border
+ </pre>
+ */
+ [property] short Border;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: property com::sun::star::awt::UnoControlEditModel::DefaultControl
+ /** specifies the service name of the default control for this model.
+ */
+ [property] string DefaultControl;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: property com::sun::star::awt::UnoControlEditModel::EchoChar
+ /** specifies the echo character for a password edit field.
+
+
+
+
+
+
+
+
+
+ @optional
+ */
+ [optional, property] short EchoChar;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: property com::sun::star::awt::UnoControlEditModel::Enabled
+ /** determines whether a control is enabled or disabled.
+ */
+ [property] boolean Enabled;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: property com::sun::star::awt::UnoControlEditModel::FontDescriptor
+ /** specifies the font attributes of the text in the control.
+ */
+ [property] com::sun::star::awt::FontDescriptor FontDescriptor;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: property com::sun::star::awt::UnoControlEditModel::HardLineBreaks
+ /** specifies that the soft line breaks will be
+ returned in the getText method of the editfield.
+ */
+ [property] boolean HardLineBreaks;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: property com::sun::star::awt::UnoControlEditModel::HScroll
+ /** specifies that the content of the control can be scrolled in
+ the
+ horizontal direction.
+ */
+ [property] boolean HScroll;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: property com::sun::star::awt::UnoControlEditModel::MaxTextLen
+ /** specifies the maximum character count; 0 means no limit.
+ */
+ [property] short MaxTextLen;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: property com::sun::star::awt::UnoControlEditModel::MultiLine
+ /** specifies that the edit may have more than one line.
+ */
+ [property] boolean MultiLine;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: property com::sun::star::awt::UnoControlEditModel::Printable
+ /** specifies that the control will be printed with the document.
+ */
+ [property] boolean Printable;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: property com::sun::star::awt::UnoControlEditModel::ReadOnly
+ /** specifies that the content of the control cannot be modified by the user.
+ */
+ [property] boolean ReadOnly;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: property com::sun::star::awt::UnoControlEditModel::Tabstop
+ /** specifies that the control can be reached with the tabulator key.
+ */
+ [property] boolean Tabstop;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: property com::sun::star::awt::UnoControlEditModel::Text
+ /** specifies the text that is displayed in the control.
+ */
+ [property] string Text;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: property com::sun::star::awt::UnoControlEditModel::TextColor
+ /** specifies the text color (RGB) of the control.
+ */
+ [property] long TextColor;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: property com::sun::star::awt::UnoControlEditModel::VScroll
+ /** specifies that the content of the control can be scrolled in the
+ vertical direction.
+ */
+ [property] boolean VScroll;
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+/*=============================================================================
+
+ $Log: not supported by cvs2svn $
+ Revision 1.1.1.1 2000/09/18 23:34:50 hjs
+ initial import
+
+ Revision 1.5 2000/09/11 11:52:06 mi
+ documentation merged from XML
+
+ Revision 1.3 2000/02/21 16:17:47 mi
+ string documentation from stardiv...*.idl-files
+
+ Revision 1.2 2000/01/26 09:12:12 mi
+ #72129# EchoChar is optional especially for MultiLineEdit
+
+ Revision 1.1.1.1 1999/11/11 09:48:40 jsc
+ new
+
+
+=============================================================================*/
+#endif