merge the formfield patch from ooo-build
[ooovba.git] / offapi / com / sun / star / text / textfield / MetadataField.idl
blobf8227621352793a8f4fe2e3bb86edfe329f76820
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: MetadataField.idl,v $
10 * $Revision: 1.12 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #ifndef __com_sun_star_text_textfield_MetadataField_idl__
32 #define __com_sun_star_text_textfield_MetadataField_idl__
34 #ifndef __com_sun_star_container_XEnumerationAccess_idl__
35 #include <com/sun/star/container/XEnumerationAccess.idl>
36 #endif
38 #ifndef __com_sun_star_text_TextField_idl__
39 #include <com/sun/star/text/TextField.idl>
40 #endif
42 #ifndef __com_sun_star_text_XText_idl__
43 #include <com/sun/star/text/XText.idl>
44 #endif
46 #ifndef __com_sun_star_rdf_XMetadatable_idl__
47 #include <com/sun/star/rdf/XMetadatable.idl>
48 #endif
51 //=============================================================================
53 module com { module sun { module star { module text { module textfield {
55 //=============================================================================
56 /** is a <type>TextField</type> whose content is specified by RDF metadata.
58 @since OOo 3.2
60 @see com::sun::star::rdf
62 service MetadataField
64 //-------------------------------------------------------------------------
65 /** None of the properties of <type>TextContent</type> are
66 supported. */
67 service com::sun::star::text::TextField;
69 //-------------------------------------------------------------------------
70 /** The <type>MetadataField</type> can have RDF metadata attached. */
71 interface com::sun::star::rdf::XMetadatable;
73 //-------------------------------------------------------------------------
74 /** Allows for insertion of text content into, and creating cursors
75 that are bound within, the <type>MetadataField</type>. */
76 interface com::sun::star::text::XText;
78 //-------------------------------------------------------------------------
79 /** The <type>TextContent</type>s that are contained in the
80 <type>MetadataField</type> can be enumerated. */
81 interface com::sun::star::container::XEnumerationAccess;
83 //-------------------------------------------------------------------------
84 /** this is the number format for this field.
85 @see com::sun::star::util::NumberFormatter
87 [optional, property] long NumberFormat;
89 //-------------------------------------------------------------------------
90 /** determines whether changes in language attributes at the
91 position of the text field also change the number format
92 as appropriate for this language.
94 [optional, property] boolean IsFixedLanguage;
97 //=============================================================================
99 }; }; }; }; };
101 #endif