Type: info
         Title: new: services css.text.InContentMetadata, 
css.text.textfield.MetadataField
     Posted by: m...@openoffice.org
      Affected: offapi, sw
         TaskId: i91565,i91566
<http://www.openoffice.org/issues/show_bug.cgi?id=91565,i91566>
Effective from: CWS odfmetadata3
           CWS:
<http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=DEV300/odfmetadata3>
    CWS status: integrated


*Summary*
--------
+ com.sun.star.text.TextPortion: property InContentMetadata
+ com.sun.star.text.InContentMetadata
+ com.sun.star.text.textfield.MetadataField


*Description*
-------------
The TextPortion service is extended with a new portion type
"InContentMetadata" and corresponding property:

 service TextPortion
 {
+    /** contains the text range of a text portion of type
InContentMetadata.
+        @since OOo 3.2
+     */
+    [optional, readonly, property]
+    ::com::sun::star::text::XTextContent InContentMetadata;
 }


There is a new TextContent service InContentMetadata, which recursively
enumerates its contained TextContents:

/** is a <type>TextContent</type> that can be used to attach RDF metadata
    to a range of text.

    @since OOo 3.2
 */
service InContentMetadata
{
    /** None of the properties of <type>TextContent</type> are
        supported. */
    service com::sun::star::text::TextContent;

    /** The <type>InContentMetadata</type> can have RDF metadata
attached. */
    interface com::sun::star::rdf::XMetadatable;

    /** The <type>TextContent</type>s that are contained in the
        annotated range of text can be enumerated. */
    interface com::sun::star::container::XEnumerationAccess;
};


There is a new TextField service MetadataField, which recursively
enumerates its contained TextContents:

/** is a <type>TextField</type> whose content is specified by RDF
metadata.

    @since OOo 3.2

    @see com::sun::star::rdf
*/
service MetadataField
{
    /** None of the properties of <type>TextContent</type> are
        supported. */
    service  com::sun::star::text::TextField;

    /** The <type>MetadataField</type> can have RDF metadata attached. */
    interface com::sun::star::rdf::XMetadatable;

    /** Allows for insertion of text content into, and creating cursors
        that are bound within, the <type>MetadataField</type>. */
    interface com::sun::star::text::XText;

    /** The <type>TextContent</type>s that are contained in the
        <type>MetadataField</type> can be enumerated. */
    interface com::sun::star::container::XEnumerationAccess;

    /** this is the number format for this field.
        @see com::sun::star::util::NumberFormatter
    */
    [optional, property] long NumberFormat;

    /** determines whether changes in language attributes at the
        position of the text field also change the number format
        as appropriate for this language.
     */
    [optional, property] boolean IsFixedLanguage;
};



Send feedback to interface-announce@openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: interface-announce-unsubscr...@openoffice.org
For additional commands, e-mail: interface-announce-h...@openoffice.org

Reply via email to