summaryrefslogtreecommitdiff
path: root/offapi
diff options
context:
space:
mode:
authorMichael Stahl <mst@openoffice.org>2010-03-09 13:27:21 +0100
committerMichael Stahl <mst@openoffice.org>2010-03-09 13:27:21 +0100
commit0797739d84b9d613390d176803a0e9d71e0a5d18 (patch)
treed725311f216b8741ba94723e6f840abbb04eb8a4 /offapi
parentde8c35bb47c4847bb378ba1aed717872d8ba4dd3 (diff)
odfmetadata4: #i109601#:
add XChild interface to MetadataField, InContentMetadata.
Diffstat (limited to 'offapi')
-rwxr-xr-xoffapi/com/sun/star/text/InContentMetadata.idl10
-rwxr-xr-xoffapi/com/sun/star/text/textfield/MetadataField.idl11
2 files changed, 21 insertions, 0 deletions
diff --git a/offapi/com/sun/star/text/InContentMetadata.idl b/offapi/com/sun/star/text/InContentMetadata.idl
index f6aec7bbee63..5eac10714576 100755
--- a/offapi/com/sun/star/text/InContentMetadata.idl
+++ b/offapi/com/sun/star/text/InContentMetadata.idl
@@ -32,6 +32,10 @@
#include <com/sun/star/container/XEnumerationAccess.idl>
#endif
+#ifndef __com_sun_star_container_XChild_idl__
+#include <com/sun/star/container/XChild.idl>
+#endif
+
#ifndef __com_sun_star_text_TextContent_idl__
#include <com/sun/star/text/TextContent.idl>
#endif
@@ -68,6 +72,12 @@ service InContentMetadata
annotated range of text can be enumerated. */
interface com::sun::star::container::XEnumerationAccess;
+ //-------------------------------------------------------------------------
+ /** The <type>TextContent</type> that is the parent of this text range.
+ @since OOo 3.3
+ */
+ interface com::sun::star::container::XChild;
+
};
diff --git a/offapi/com/sun/star/text/textfield/MetadataField.idl b/offapi/com/sun/star/text/textfield/MetadataField.idl
index 64918b12849f..962df24dcc06 100755
--- a/offapi/com/sun/star/text/textfield/MetadataField.idl
+++ b/offapi/com/sun/star/text/textfield/MetadataField.idl
@@ -32,6 +32,10 @@
#include <com/sun/star/container/XEnumerationAccess.idl>
#endif
+#ifndef __com_sun_star_container_XChild_idl__
+#include <com/sun/star/container/XChild.idl>
+#endif
+
#ifndef __com_sun_star_text_TextField_idl__
#include <com/sun/star/text/TextField.idl>
#endif
@@ -78,6 +82,13 @@ service MetadataField
interface com::sun::star::container::XEnumerationAccess;
//-------------------------------------------------------------------------
+ /** The <type scope="com::sun::star::text">TextContent</type>
+ that is the parent of this <type>MetadataField</type>.
+ @since OOo 3.3
+ */
+ interface com::sun::star::container::XChild;
+
+ //-------------------------------------------------------------------------
/** this is the number format for this field.
@see com::sun::star::util::NumberFormatter
*/