summaryrefslogtreecommitdiff
path: root/udkapi
diff options
context:
space:
mode:
Diffstat (limited to 'udkapi')
-rw-r--r--udkapi/com/sun/star/reflection/TypeDescriptionManager.idl16
-rw-r--r--udkapi/com/sun/star/reflection/TypeDescriptionProvider.idl13
2 files changed, 20 insertions, 9 deletions
diff --git a/udkapi/com/sun/star/reflection/TypeDescriptionManager.idl b/udkapi/com/sun/star/reflection/TypeDescriptionManager.idl
index 597dda266ceb..467047a61e6b 100644
--- a/udkapi/com/sun/star/reflection/TypeDescriptionManager.idl
+++ b/udkapi/com/sun/star/reflection/TypeDescriptionManager.idl
@@ -47,9 +47,18 @@ published service TypeDescriptionManager
{
/** Interface to retrieve type descriptions.
+ In addition to the semantics specified for the corresponding interface
+ of the <type>TypeDescriptionProvider</type> service (which changed
+ slightly for LibreOffice&nbsp;4.1; see there), this interface allows to
+ retrieve the following entities:
<ul>
- <li>Names are given in dotted notation, for example
- <code>"com.sun.star.uno.XInterface"</code>.</li>
+ <li>The simple types are accessible via <code>"void"</code>,
+ <code>"boolean"</code>, <code>"byte"</code>, <code>"short"</code>,
+ <code>"unsigned short"</code>, <code>"long"</code>, <code>"unsigned
+ long"</code>, <code>"hyper"</code>, <code>"unsigned hyper"</code>,
+ <code>"float"</code>, <code>"double"</code>, <code>"char"</code>,
+ <code>"string"</code>, <code>"type"</code>, and
+ <code>"any"</code>.</li>
<li>Sequence types are accessible via
<code>"[]<var>ComponentType</var>"</code></li>
@@ -63,9 +72,6 @@ published service TypeDescriptionManager
<code>"<var>InterfaceType</var>::<var>Member</var>"</code>.</li>
</ul>
- <p>The returned values are of interface type
- <type>XTypeDescription</type>.</p>
-
<p>Even though the name of this interface suggests that the used type
names are hierarchic, this need not be the case. (For example, consider
the names of instantiated polymorphic struct types, like
diff --git a/udkapi/com/sun/star/reflection/TypeDescriptionProvider.idl b/udkapi/com/sun/star/reflection/TypeDescriptionProvider.idl
index 672274b8d163..af84f3cff577 100644
--- a/udkapi/com/sun/star/reflection/TypeDescriptionProvider.idl
+++ b/udkapi/com/sun/star/reflection/TypeDescriptionProvider.idl
@@ -39,11 +39,16 @@ published service TypeDescriptionProvider
/** Interface to retrieve type descriptions.
<p>Names are given in dotted notation, for example
- <code>"com.sun.star.uno.XInterface"</code>. The returned values are of
- interface type <type>XTypeDescription</type>.</p>
+ <code>"com.sun.star.uno.XInterface"</code>.</p>
- <p>Even though the name of this interface suggests that the used type
- names are hierarchic, this need not be the case.</p>
+ </p>The returned values are generally non-null references of type
+ <type>XTypeDescription</type>. However, before LibreOffice&nbsp;4.1,
+ the value returned for a UNO constant was the value of the constant,
+ rather than a reference to an <type>XConstantTypeDescription</type>
+ object. (It also appears that some implementations return values for
+ individual UNO enum members, e.g.
+ <code>"com.sun.star.uno.TypeClass.VOID"</code>, though this is probably
+ best treated as an implementation obscurity.)</p>
*/
interface com::sun::star::container::XHierarchicalNameAccess;