Return-Path: X-Original-To: apmail-openoffice-commits-archive@www.apache.org Delivered-To: apmail-openoffice-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6CBC910722 for ; Sun, 7 Apr 2013 10:51:22 +0000 (UTC) Received: (qmail 103 invoked by uid 500); 7 Apr 2013 10:51:22 -0000 Delivered-To: apmail-openoffice-commits-archive@openoffice.apache.org Received: (qmail 99892 invoked by uid 500); 7 Apr 2013 10:51:21 -0000 Mailing-List: contact commits-help@openoffice.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openoffice.apache.org Delivered-To: mailing list commits@openoffice.apache.org Received: (qmail 99774 invoked by uid 99); 7 Apr 2013 10:51:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Apr 2013 10:51:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Apr 2013 10:51:17 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 9F34123889BB; Sun, 7 Apr 2013 10:50:50 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1465361 [2/5] - in /openoffice/branches/l10n: ./ extras/l10n/source/fi/ main/ main/chart2/source/controller/dialogs/ main/chart2/source/view/axes/ main/chart2/source/view/charttypes/ main/cppuhelper/source/ main/extensions/ main/extensions... Date: Sun, 07 Apr 2013 10:50:34 -0000 To: commits@openoffice.apache.org From: jani@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130407105050.9F34123889BB@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Modified: openoffice/branches/l10n/main/filter/source/pdf/impdialog.src URL: http://svn.apache.org/viewvc/openoffice/branches/l10n/main/filter/source/pdf/impdialog.src?rev=1465361&r1=1465360&r2=1465361&view=diff ============================================================================== --- openoffice/branches/l10n/main/filter/source/pdf/impdialog.src (original) +++ openoffice/branches/l10n/main/filter/source/pdf/impdialog.src Sun Apr 7 10:50:30 2013 @@ -257,7 +257,7 @@ TabPage RID_PDF_TAB_GENER Pos = MAP_APPFONT ( 12 , 261 ) ; Size = MAP_APPFONT ( 158 , 10 ) ; TabStop = TRUE ; - Text[ en-US ] = "Create ~hybrid file"; + Text[ en-US ] = "Embed this document ~inside the PDF"; }; }; Modified: openoffice/branches/l10n/main/helpcontent2/source/text/shared/01/ref_pdf_export.xhp URL: http://svn.apache.org/viewvc/openoffice/branches/l10n/main/helpcontent2/source/text/shared/01/ref_pdf_export.xhp?rev=1465361&r1=1465360&r2=1465361&view=diff ============================================================================== --- openoffice/branches/l10n/main/helpcontent2/source/text/shared/01/ref_pdf_export.xhp (original) +++ openoffice/branches/l10n/main/helpcontent2/source/text/shared/01/ref_pdf_export.xhp Sun Apr 7 10:50:30 2013 @@ -127,8 +127,8 @@ Embed standard fonts Normally the 14 standard Postscript fonts are not embedded in a PDF file, because every PDF reader software already contains these fonts. Enable this option to embed the standard fonts that are installed on your system and that are used in the document. Use this option if you expect to have a better looking or more useful standard font than the font that is available in the recipients' PDF reader software. -Create hybrid file - When the PDF Import Extension is installed, this setting enables you to export the document as a .pdf file containing two file formats: PDF and ODF. +Embed this document inside the PDF + The document being exported will be embedded inside the PDF file. Some PDF tools or %PRODUCTNAME extensions may allow to extract the file from the PDF and save it; in this way, the orignal %PRODUCTNAME document can be edited back without the need of a PDF editing application. Initial View Panes Propchange: openoffice/branches/l10n/main/helpcontent2/source/text/simpress/04/ ------------------------------------------------------------------------------ --- svn:mergeinfo (added) +++ svn:mergeinfo Sun Apr 7 10:50:30 2013 @@ -0,0 +1,7 @@ +/incubator/ooo/branches/AOO34/main/helpcontent2/source/text/simpress/04:1346776-1346777,1347535,1348052,1348914,1350569,1352456,1358991,1359004,1359010,1359024,1359546-1359547,1359553,1359555-1359556,1360552,1368968,1369110,1371068 +/incubator/ooo/branches/alg/linecap/main/helpcontent2/source/text/simpress/04:1226811-1232461 +/incubator/ooo/branches/alg/svgreplacement/main/helpcontent2/source/text/simpress/04:1205420-1220782 +/incubator/ooo/branches/writer001/main/helpcontent2/source/text/simpress/04:1356067-1386577 +/incubator/ooo/trunk/main/helpcontent2/source/text/simpress/04:1412675-1413470 +/openoffice/branches/alg/clibboard/main/helpcontent2/source/text/simpress/04:1428975-1437368 +/openoffice/trunk/main/helpcontent2/source/text/simpress/04:1413471-1465360 Modified: openoffice/branches/l10n/main/nss/makefile.mk URL: http://svn.apache.org/viewvc/openoffice/branches/l10n/main/nss/makefile.mk?rev=1465361&r1=1465360&r2=1465361&view=diff ============================================================================== --- openoffice/branches/l10n/main/nss/makefile.mk (original) +++ openoffice/branches/l10n/main/nss/makefile.mk Sun Apr 7 10:50:30 2013 @@ -89,7 +89,7 @@ BUILD_ACTION= $(GNUMAKE) nss_build_all #See #i105566# && moz#513024# .IF "$(OS)"=="LINUX" BUILD_ACTION+=FREEBL_NO_DEPEND=1 -PATCH_FILES+=nss_linux.patch +PATCH_FILES+=nss_linux.patch nspr-4.8.4-clang.patch .ENDIF .ENDIF # "$(GUI)"=="UNX" Modified: openoffice/branches/l10n/main/odk/docs/common/ref/idl.css URL: http://svn.apache.org/viewvc/openoffice/branches/l10n/main/odk/docs/common/ref/idl.css?rev=1465361&r1=1465360&r2=1465361&view=diff ============================================================================== --- openoffice/branches/l10n/main/odk/docs/common/ref/idl.css (original) +++ openoffice/branches/l10n/main/odk/docs/common/ref/idl.css Sun Apr 7 10:50:30 2013 @@ -126,6 +126,19 @@ body { background-color:#ffffff; } #adc-idlref .expl-table td, #adc-idlref .param-table td { border: none; } +#adc-idlref .devdoc td { + border-width: 1px; + padding: 5px; + border-style: inset; + border-color: gray; + background-color: white; } + +#adc-idlref .devdoc th { + border-width: 1px; + padding: 5px; + border-style: inset; + border-color: gray; + background-color: white; } /* Explanation of CSS classes: Modified: openoffice/branches/l10n/main/offapi/com/sun/star/chart2/CurveStyle.idl URL: http://svn.apache.org/viewvc/openoffice/branches/l10n/main/offapi/com/sun/star/chart2/CurveStyle.idl?rev=1465361&r1=1465360&r2=1465361&view=diff ============================================================================== --- openoffice/branches/l10n/main/offapi/com/sun/star/chart2/CurveStyle.idl (original) +++ openoffice/branches/l10n/main/offapi/com/sun/star/chart2/CurveStyle.idl Sun Apr 7 10:50:30 2013 @@ -45,9 +45,8 @@ enum CurveStyle */ CUBIC_SPLINES, - /** Data points are connected via a smoothed B-spline curve. The - data points themselves are not necessarily part of to the - curve. + /** Data points are connected via a parametric, interpolating + B-spline curve. */ B_SPLINES, Modified: openoffice/branches/l10n/main/offapi/com/sun/star/smarttags/XSmartTagAction.idl URL: http://svn.apache.org/viewvc/openoffice/branches/l10n/main/offapi/com/sun/star/smarttags/XSmartTagAction.idl?rev=1465361&r1=1465360&r2=1465361&view=diff ============================================================================== --- openoffice/branches/l10n/main/offapi/com/sun/star/smarttags/XSmartTagAction.idl (original) +++ openoffice/branches/l10n/main/offapi/com/sun/star/smarttags/XSmartTagAction.idl Sun Apr 7 10:50:30 2013 @@ -112,7 +112,7 @@ interface XSmartTagAction: com::sun::sta @throws com::sun::star::lang::IndexOutOfBoundsException if nSmartTagIndex is greater than SmartTagCount. */ - string getSmartTagName( [in] long nSmartTagIndex ) + string getSmartTagName( [in] long nSmartTagIndex) raises( com::sun::star::lang::IndexOutOfBoundsException ); @@ -135,7 +135,7 @@ interface XSmartTagAction: com::sun::sta if nSmartTagIndex is greater than SmartTagCount */ string getSmartTagCaption( [in] long nSmartTagIndex, - [in] ::com::sun::star::lang::Locale aLocale ) + [in] ::com::sun::star::lang::Locale aLocale) raises( com::sun::star::lang::IndexOutOfBoundsException ); @@ -155,7 +155,8 @@ interface XSmartTagAction: com::sun::sta type. */ long getActionCount( [in] string aSmartTagName, - [in] com::sun::star::frame::XController xController ); + [in] com::sun::star::frame::XController xController, + [in] com::sun::star::container::XStringKeyMap xProperties); //------------------------------------------------------------------------- /** obtains a unique integer identifier for an action. @@ -245,7 +246,7 @@ interface XSmartTagAction: com::sun::sta if the ActionID is not recognized. */ string getActionNameFromID( [in] long nActionID, - [in] com::sun::star::frame::XController xController ) + [in] com::sun::star::frame::XController xController) raises( com::sun::star::lang::IllegalArgumentException ); Modified: openoffice/branches/l10n/main/offapi/com/sun/star/smarttags/XSmartTagRecognizer.idl URL: http://svn.apache.org/viewvc/openoffice/branches/l10n/main/offapi/com/sun/star/smarttags/XSmartTagRecognizer.idl?rev=1465361&r1=1465360&r2=1465361&view=diff ============================================================================== --- openoffice/branches/l10n/main/offapi/com/sun/star/smarttags/XSmartTagRecognizer.idl (original) +++ openoffice/branches/l10n/main/offapi/com/sun/star/smarttags/XSmartTagRecognizer.idl Sun Apr 7 10:50:30 2013 @@ -52,6 +52,11 @@ #include #endif +#ifndef __com_sun_star_text_XTextRange_idl__ +#include +#endif + + //============================================================================= module com { module sun { module star { module smarttags { @@ -178,7 +183,6 @@ interface XSmartTagRecognizer: com::sun: [in] com::sun::star::frame::XController xController, [in] com::sun::star::i18n::XBreakIterator xTokenizer ); - //------------------------------------------------------------------------- /** indicates whether there is a property page for a smart tag type. Modified: openoffice/branches/l10n/main/offapi/com/sun/star/smarttags/makefile.mk URL: http://svn.apache.org/viewvc/openoffice/branches/l10n/main/offapi/com/sun/star/smarttags/makefile.mk?rev=1465361&r1=1465360&r2=1465361&view=diff ============================================================================== --- openoffice/branches/l10n/main/offapi/com/sun/star/smarttags/makefile.mk (original) +++ openoffice/branches/l10n/main/offapi/com/sun/star/smarttags/makefile.mk Sun Apr 7 10:50:30 2013 @@ -37,6 +37,7 @@ IDLFILES=\ SmartTagAction.idl\ SmartTagRecognizer.idl\ SmartTagRecognizerMode.idl\ + XRangeBasedSmartTagRecognizer.idl\ XSmartTagAction.idl\ XSmartTagRecognizer.idl Modified: openoffice/branches/l10n/main/offapi/com/sun/star/text/XTextMarkup.idl URL: http://svn.apache.org/viewvc/openoffice/branches/l10n/main/offapi/com/sun/star/text/XTextMarkup.idl?rev=1465361&r1=1465360&r2=1465361&view=diff ============================================================================== --- openoffice/branches/l10n/main/offapi/com/sun/star/text/XTextMarkup.idl (original) +++ openoffice/branches/l10n/main/offapi/com/sun/star/text/XTextMarkup.idl Sun Apr 7 10:50:30 2013 @@ -32,6 +32,11 @@ #include #endif +#ifndef __com_sun_star_text_XTextRange_idl__ +#include +#endif + + //============================================================================= module com { module sun { module star { module text { @@ -74,11 +79,17 @@ interface XTextMarkup @param xMarkupInfoContainer contains additional information about the markup. */ - void commitTextMarkup( [in] long nType, + void commitStringMarkup( [in] long nType, [in] string aIdentifier, [in] long nStart, [in] long nLength, [in] com::sun::star::container::XStringKeyMap xMarkupInfoContainer ); + + void commitTextRangeMarkup( [in] long nType, + [in] string aIdentifier, + [in] com::sun::star::text::XTextRange xRange, + [in] com::sun::star::container::XStringKeyMap xMarkupInfoContainer ); + }; }; }; }; }; Modified: openoffice/branches/l10n/main/offapi/com/sun/star/text/makefile.mk URL: http://svn.apache.org/viewvc/openoffice/branches/l10n/main/offapi/com/sun/star/text/makefile.mk?rev=1465361&r1=1465360&r2=1465361&view=diff ============================================================================== --- openoffice/branches/l10n/main/offapi/com/sun/star/text/makefile.mk (original) +++ openoffice/branches/l10n/main/offapi/com/sun/star/text/makefile.mk Sun Apr 7 10:50:30 2013 @@ -234,6 +234,7 @@ IDLFILES=\ XTextColumns.idl\ XTextContent.idl\ XTextCursor.idl\ + XMarkingAccess.idl\ XTextCopy.idl\ XTextDocument.idl\ XTextEmbeddedObject.idl\ Modified: openoffice/branches/l10n/main/offapi/com/sun/star/ucb/Content.idl URL: http://svn.apache.org/viewvc/openoffice/branches/l10n/main/offapi/com/sun/star/ucb/Content.idl?rev=1465361&r1=1465360&r2=1465361&view=diff ============================================================================== --- openoffice/branches/l10n/main/offapi/com/sun/star/ucb/Content.idl (original) +++ openoffice/branches/l10n/main/offapi/com/sun/star/ucb/Content.idl Sun Apr 7 10:50:30 2013 @@ -1,5 +1,5 @@ /************************************************************** - * + * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information @@ -7,20 +7,18 @@ * to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. - * + * *************************************************************/ - - #ifndef __com_sun_star_ucb_Content_idl__ #define __com_sun_star_ucb_Content_idl__ @@ -35,18 +33,15 @@ #include #include -//============================================================================= - module com { module sun { module star { module ucb { -//============================================================================= /** A Content is a service that provides access to data of a content provided by an implementation of the service ContentProvider. */ published service Content { - //------------------------------------------------------------------------- + /** provides access to the identitity and the type of the content and allows the registration of listeners for ContentEvents. @@ -54,7 +49,7 @@ published service Content */ interface com::sun::star::ucb::XContent; - //------------------------------------------------------------------------- + /** must be implemented to make it possible to resolve cyclic object references. @@ -73,7 +68,7 @@ published service Content */ interface com::sun::star::lang::XComponent; - //------------------------------------------------------------------------- + /** enables the caller to let the content execute commands.

It is strongly recommended that any implementation supports the @@ -85,527 +80,813 @@ published service Content commands and properties. A content may define additional commands and properties.

-

This interface is required.

+

This interface is required.

-
-        =======================================================================
-        Commands:
-        =======================================================================
-
-        [return type]
-            [command name]
-                [parameter type and name]
-
-        -----------------------------------------------------------------------
-        Mandatory commands:
-        -----------------------------------------------------------------------
-
-        // This command obtains an interface which allows to query
-        // information on commands supported by a content.
-        XCommandInfo
-            getCommandInfo
-                void
-
-        // This command obtains an interface which allows to query
-        // information on properties supported by a content.
-        XPropertySetInfo
-            getPropertySetInfo
-                void
-
-        // This command obtains property values from the content.
-        // Note: The execution will not be aborted, if there are properties
-        //       requested, that are unknown to the content! The returned
-        //       row object must contain a NULL value in the corresponding
-        //       column instead.
-        XRow
-            getPropertyValues
-                sequence< Property > aProps
-
-        // This command sets property values of the content.
-        // Note that setPropertyValues does not throw an exception in the case
-        // that one or more of the requested property values cannot be set! The
-        // implementation should set as much property values as possible. This
-        // command returns a sequence< any > which has exactly the same number
-        // of elements like the number of properties to set. Every sequence
-        // element contains the status for a property. The first sequence
-        // elements corresponds to the first element in the sequence of
-        // PropertyValue passed as
-        // command argument and so on. The exceptions will never be passed to
-        // an Interaction Handler.
-        //
-        // An any containing:
-        //
-        // - No value indicates, that the property value was set successfully.
-        // - UnknownPropertyException
-        //   indicates, that the property is not known to the content
-        //   implementation.
-        // - IllegalTypeException
-        //   indicates, that the data type of the property value is not
-        //   acceptable.
-        // - IllegalAccessException
-        //   indicates, that the property is constant
-        //   (PropertyAttribute::READONLY
-        //   is set).
-        // - IllegalArgumentException
-        //   indicates, that the property value is not acceptable. For instance,
-        //   setting an empty title may be illegal.
-        // - Any other execption derived from Exception
-        //   indicates, that the value was not set successfully. For example,
-        //   this can be a InteractiveAugmentedIOException
-        //   transporting the error code IOErrorCode::ACCESS_DENIED.
-        //
-        // If the value to set is equal to the current value, no exception must
-        // be added to the returned sequence
-        sequence< any >
-            setPropertyValues
-                sequence< PropertyValue > aValues
-
-        -----------------------------------------------------------------------
-        Optional commands:
-        -----------------------------------------------------------------------
-
-        // For folder objects, this command will return an implementation
-        // of service DynamicResultSet.
-        //
-        // The OpenCommandArgument2 members must be filled as follows:
-        //
-        // Mode         : ALL or FOLDERS or DOCUMENTS. The implementation
-        //                of the open command MUST support all these modes!
-        // Priority     : can be set, but implementation may ignore the value
-        // Sink         : empty( ignored )
-        // Properties   : The properties for that the result set shall
-        //                contain the property values. The order of the
-        //                sequence is the same as the order of result set
-        //                columns. First element of sequence will be row
-        //                number one, second will be row number two, ...
-        // SortingInfo      : contains sort criteria, if result set shall
-        //                be sorted, otherwise it can be left empty.
-        //
-        // The exceution must be aborted by the implementation of this command
-        // (by throwing a CommandAbortedException), if an
-        // unsupported mode is requested.
-        XDynamicResultSet
-            open
-                OpenCommandArgument2 aOpenCommandArg
-
-        // For non-folder objects, the OpenCommandArgument2 struct
-        // will be prefilled with a data sink object, which will be filled
-        // with the content data.
-        //
-        // The OpenCommandArgument2 members must be filled as follows:
-        //
-        // Mode         : DOCUMENT or DOCUMENT_SHARE_DENY_NONE or
-        //                DOCUMENT_SHARE_DENY_WRITE. Support for DOCUMENT
-        //                is mandatory, all others are optional.
-        // Priority     : can be set, but implementation may ignore the value
-        // Sink         : a sink, where the implementation can put the
-        //                document data into.
-        // Properties   : empty ( ignored )
-        // SortingInfo      : empty ( ignored )
-        //
-        // The exceution must be aborted by the implementation of this command
-        // (by throwing a CommandAbortedException), if an
-        // unsupported mode is requested.
-        void
-            open
-                OpenCommandArgument2 aOpenCommandArg
-
-        // This command triggers an update operation on a content. For example,
-        // when "updating" a POP3-Inbox, the content for that box will get
-        // and store all new objects on the appropriate server. The inserted
-        // contents will be notified by calling
-        // XContentEventListener::contentEvent.
-        void
-            update
-                OpenCommandArgument2 aOpenCommandArg
-
-        // This command triggers a synchronization operation between locally
-        // cached data and remote server's data. For example, when
-        // "synchronizing" a POP3-Inbox the content for that box will get and
-        // store all new objects and destroy all cached data for objects no
-        // longer existing on the server. The inserted/deleted contents will
-        // be notified by calling
-        // XContent::contentEvent.
-        void
-            synchronize
-                OpenCommandArgument2 aOpenCommandArg
-
-        // This command closes an object.
-        void
-            close
-                void
-
-        // This command deletes an object. If  is passed as parameter,
-        // the object will be destroyed physically. Otherwise it will be put
-        // into trash can, if such a service is available and the object to
-        // be deleted supports the command "undelete".
-        // On successful completion of this command, the deleted content
-        // must propagate its deletion by notifying a ContentEvent
-        // - ContentAction::DELETED. Additionally, the contents
-        // parent must notify a ContentEvent
-        // - ContentAction::REMOVED
-        void
-            delete
-                boolean bDeletePhysically
-
-        // This command restores an object previously deleted into trash. It
-        // must be supported by objects which claim to be undeletable, but
-        // should never be called directly.
-        void
-            undelete
-                void
-
-        // (1) This command inserts a new content. It commits the process of
-        // creating a new content via executing the command "createNewContent"
-        // and initializing it via setting properties, afterwards.
-        // The command is not called on the content which created the new
-        // content, because the new object already knows where it is to be
-        // inserted (i.e. Calling createNewContent with the content type for a
-        // message on a News Group creates a content which internally belongs
-        // to the Outbox. Calling "insert" on that message will result in
-        // posting the article to the appropriate News Group). Not calling
-        // "insert" for the new content, i.e. because the user cancels writing
-        // a new message, simply discards the new object. No extra call to
-        // "delete" is necessary.
-        // On successful completion of this command, the parent of the inserted
-        // content must propagate the change by notifying a
-        // ContentEvent - ContentAction::INSERTED.
-        //
-        // (2) Additionally this command can be called at any time to overwrite
-        // the data of an existing content.
-        void
-            insert
-                InsertCommandArgument aInsertCommandArg
-
-        // This command searches for subcontents of a content matching the
-        // given search criteria. The command will return an implemenation
-        // of service DynamicResultSet.
-        XDynamicResultSet
-            search
-                SearchCommandArgument aSearchCommandArg
-
-        // Important note: A client that wants to transfer data should
-        // not execute this command, but it should execute the command
-        // "globalTransfer" at the UniversalContentBroker.
-        // This command is able to transfer all kind of content
-        // supported by that UCB.
-        //
-        // This command transfers (copies/moves) an object from one location
-        // to another. It must be executed at the folder content representing
-        // the destination of the transfer operation. Note that the
-        // implementation need not(!) be able to handle any type of contents.
-        // Generally, there are good chances that a transfer of a content will
-        // succeed, if source and target folder have the same URL scheme.
-        // But there is no guaranty for that. For instance, moving a message
-        // from a folder on IMAP server A to a folder on IMAP server B may
-        // fail, because the transfer command can't be implemented efficiently
-        // for this scenario, because it is not directly supported by the IMAP
-        // protocol. On the other hand, moving a message from one folder to
-        // another folder on the same IMAP server should work, because it can
-        // be implemeted efficiently. If an implementation is not able to
-        // handle a given source URL, it should indicate this by issuing a
-        // InteractiveBadTransferURLException interaction request.
-        // Source and target folder may be the same when doing a move operation.
-        //
-        // Transfers without the transfer command can be done as follows:
-        //
-        // 1) Create a new content at the target folder
-        //    --> targetContent = target.execute( "createNewContent", type )
-        // 2) Transfer data from source to target content
-        //    --> props = sourceContent.execute( "getPropertyValues", ... )
-        //    --> dataStream = sourceContent.execute( "open", ... )
-        //    --> targetContent.execute( "setPropertyValues", props )
-        // 3) Insert ( commit ) the new content
-        //    --> targetContent.execute( "insert", dataStream )
-        // 4) For move operations only: destroy the source content
-        //    sourceContent.execute( "delete", ... )
-        //
-        // This mechanism should work for all transfer operations, but generally
-        // it's less efficient than the transfer command.
-        void
-            transfer
-                TransferInfo aTransferInfo
-
-        // This command obtains an exlusive write lock for the resource. The
-        // lock is active until command "unlock" is executed or the OOo
-        // session that obtained the lock ends or until the lock is released by
-        // a third party (e.g. a system administrator).
-        void
-            lock
-                void
-        Exceptions: InteractiveLockingLockedException
-                    InteractiveLockingLockExpiredException
-
-        // This command removes a lock obtained by executing the command "lock"
-        // from the resource.
-        void
-            unlock
-                void
-        Exceptions: InteractiveLockingNotLockedException
-                    InteractiveLockingLockExpiredException
-
-        // Note that InteractiveLockingLockExpiredException might
-        // be raised by any command that requires a previously obtained lock.
-
-        // This command creates a new non-persistent content of a given type.
-        //
-        // 

Creation of a new (persistent) content: - //

    - //
  1. creatabletypes = obtain "CreatableContentsInfo" property
    - // from creator - //
  2. choose a suitable type from creatabletypes - //
  3. newObject = execute command "createNewContent(type)" at
    - // creator - //
  4. initialize the new object (i.e. newObject.Property1 = ...) - //
  5. execute command "insert" at new content. This command - // commits the data and makes the new content persistent. - //
- // - // This command must be supported by every Content that supports the - // property "CreatableContentsInfo" if the returned property value - // contains a non-empty sequence of creatable types. - // - // Note: This command is part of the replacement for the deprecated - // interface XContentCreator. - XContent > - createNewContent - ContentInfo contentinfo - - ======================================================================= - Properties: - ======================================================================= - - ----------------------------------------------------------------------- - Mandatory properties: - ----------------------------------------------------------------------- - - // contains a unique(!) type string for the content ( i.e. - // "application/vnd.sun.star.hierarchy-link" ). This property is always - // read-only. It does not contain the media type ( MIME types ) of the - // content. Media types may be provided through the optional property - // "MediaType". - // The value of this property should match the information on creatable - // contents given by UCB contents that implement the property - // "CreatableContentsInfo". - string ContentType - - // indicates, whether a content can contain other contents. - boolean IsFolder - - // indicates, whether a content is a document. This means, the - // content can dump itself into a data sink. - boolean IsDocument - - // contains the title of an object (e.g. the subject of a message). - string Title; - - ----------------------------------------------------------------------- - Optional properties: - ----------------------------------------------------------------------- - - // contains the interval for automatic updates of an object. - // It is specified in seconds. - long AutoUpdateInterval - - // contains the maximum number of network connections - // allowed for one (internet) protocol at a time. (e.g. The HTTP - // cache can be configured to use a maximum for the number of - // connections used for browsing.) - short ConnectionLimit - - // contains the current connection mode for the object. - // (see ConnectionMode) - short ConnectionMode - - // contains the date and time the object was created. - DateTime DateCreated - - // contains the date and time the object was last modified. - DateTime DateModified - - // contains the count of documents of a folder. - long DocumentCount; - - // contains the count of marked documents within a folder. - long DocumentCountMarked - - // contains a sequence of documemt header fields (i.e. header - // fields of a MIME-message, or the document info of an - // office document ). For some standard header fields there - // are predefined separate properties, like "MessageTo". - sequence< DocumentHeaderField > DocumentHeader - - // contains information about the way a folder stores the - // contents of (remote) documents. - DocumentStoreMode DocumentStoreMode - - // contains the count of subfolders of a folder. - long FolderCount - - // contains the free space left on a storage device. It is - // specified in bytes. - hyper FreeSpace - - // indicates whether a content has subcontents, which are documents. - boolean HasDocuments - - // indicates whether a content has subcontents, which are folders. - boolean HasFolders - - // indicates whether a content is "marked". - boolean IsMarked - - // indicates whether a content has been "read". - boolean IsRead; - - // indicates whether a content is read-only. - boolean IsReadOnly - - // indicates whether a content is subscribed. - boolean IsSubscribed - - // indicates whether the feature to store contents depending on - // their age is active. - boolean IsTimeLimitedStore; - - // indicates whether (sub)contents shall be automatically updated - // everytime a (folder) content is opened. This property may be - // used to control whether a folder content should read data only - // from local cache when it is opened, or whether it should connect - // to a server to obtain latest data. - boolean UpdateOnOpen - - // contains the keywords of a document (e.g. the value - // of the "keywords" header field of a news article). - string Keywords - - // contains the media type ( MIME type ) of a content. It is highly - // recommended to support this property if the content's implementation - // can obtain the media type natively from its data source ( i.e. - // HTTP servers provide media types for all their documents ). - string MediaType - - // contains the BCC (blind carbon copy) receiver(s) of a message. - string MessageBCC - - // contains the CC (carbon copy) receiver(s) of a message. - string MessageCC - - // contains (the address of) the sender of a message. - string MessageFrom - - // contains the ID of a message. - string MessageId - - // contains the "In-Reply-To" field of a message. - string MessageInReplyTo - - // contains the "Reply-To" field of a message. - string MessageReplyTo - - // contains the recipient(s) of a message. - string MessageTo - - // contains the name(s) of the newsgroup(s) into which a message - // was posted. - string NewsGroups - - // contains a password (e.g. needed to access a POP3-Server). - string Password - - // contains a priority (i.e. of a message). - Priority Priority - - // contains the "References" field of a news article. - string References - - // contains the rules set for a content. - RuleSet Rules - - // contains the count of seen/read subcontents of a folder content. - long SeenCount - - // contains the base directory to use on a server. (e.g. Setting - // the server base of an FTP-Account to "/pub/incoming" - // will result in showing contents from that directory and not from - // server's root directory) - string ServerBase - - // contains a server name (e.g. The name of the server to use for - // a POP3-Account). - string ServerName - - // contains a numeric server port. - short ServerPort - - // contains the size (usually in bytes) of an object. - hyper Size - - // contains a size limit for an object. (e.g. One may specify the - // maximum size of the HTTP-Cache) - hyper SizeLimit - - // contains the count of subscribed contents of a folder. - long SubscribedCount - - // contains the policy to use when synchronizing two objects. - SynchronizePolicy SynchronizePolicy - - // contains information about the target frame to use when displaying - // an object. - -

The value is a string containing three tokens, separated by ";" - (A semicolon):
-

-
1st token -
Behavior on "select" ( single click ) -
2nd token -
Behavior on "open" ( double click ) -
3rd token -
Behavior on "open in new task" ( double click + CTRL key ) -
-

-

Each token may contain the following values:
-

-
"_beamer" -
Show in "Beamer" -
"_top" -
Show in current frame (replaces old) -
"_blank" -
Show in new task -
-

- string TargetFrames - - // for contents that are links to other contents, contains the URL of - // the target content - string TargetURL - - // contains the value to use if the property "IsTimeLimitedStore" is set. - short TimeLimitStore; - - // contains a user name. (e.g. the user name needed to access a - // POP3-Account) - string UserName - - // describes a verification policy. - VerificationMode VerificationMode - - // contains the types of Contents a Content object can create via - // command "createNewContent". - // - // If the property value can be a non-empty sequence, the Content must - // also support command "createNewContent". - // - // Note: This property is part of the replacement for the deprecated - // interface XContentCreator. - sequence ContentInfo CreatableContentsInfo +

Commands

+

Mandatory commands

-
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Command NameReturn TypeParametersDescription
getCommandInfoXCommandInfovoidThis command obtains an interface which allows to query + information on commands supported by a content. +
getPropertySetInfoXPropertySetInfovoidThis command obtains an interface which allows to query + information on properties supported by a content. +
getPropertyValuesXRowsequence< Property > aPropsThis command obtains property values from the content. +
+ Note: The execution will not be aborted, if there + are properties requested, that are unknown to the + content. The returned row object must contain a NULL + value in the corresponding column instead. +
+
setPropertyValuessequence< any >sequence< PropertyValue > aValuesThis command sets property values of the content. +

Note that setPropertyValues does not throw an exception in the case + that one or more of the requested property values cannot be set. + The implementation should set as much property values as possible.

+ +

This command returns a sequence< any > which has exactly the same number + of elements like the number of properties to set. Every sequence + element contains the status for a property. The first sequence + elements corresponds to the first element in the sequence of + PropertyValues passed as + command argument, and so on. The exceptions will never be passed to + an InteractionHandler.

+ +

Every element in the returned sequence is an any containing:

+
    +
  • No value indicates, that the property value was set successfully.
  • +
  • UnknownPropertyException + indicates, that the property is not known to the content + implementation.
  • +
  • IllegalTypeException + indicates, that the data type of the property value is not + acceptable.
  • +
  • IllegalAccessException + indicates, that the property is constant + (PropertyAttribute::READONLY + is set).
  • +
  • IllegalArgumentException + indicates, that the property value is not acceptable. For instance, + setting an empty title may be illegal.
  • +
  • Any other execption derived from Exception + indicates, that the value was not set successfully. For example, + this can be a InteractiveAugmentedIOException + transporting the error code IOErrorCode::ACCESS_DENIED.
  • +
+ +

If the value to set is equal to the current value, no exception must + be added to the returned sequence

+
+ +

Optional commands

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Command NameReturn TypeParametersDescription
openXDynamicResultSetOpenCommandArgument2 aOpenCommandArg + For folder objects, this command will return an + implementation of service DynamicResultSet. +

The OpenCommandArgument2 members must be + filled as follows:

+
    +
  • OpenCommandArgument::Mode: + OpenMode::ALL or + OpenMode::FOLDERS or + OpenMode::DOCUMENTS. + The implementation of the open command MUST support all these modes! +
  • +
  • OpenCommandArgument::Priority: + can be set, but implementation may ignore the value +
  • +
  • OpenCommandArgument::Sink: + empty( ignored ) +
  • +
  • OpenCommandArgument::Properties: + The properties for which the result set shall + contain the property values. The order of the + sequence is the same as the order of result set + columns. First element of sequence will be row + number one, second will be row number two, ... +
  • +
  • OpenCommandArgument2::SortingInfo: + contains sort criteria, if result set shall + be sorted, otherwise it can be left empty. +
  • +
+ The exceution must be aborted by the implementation of this command + (by throwing a CommandAbortedException), if an + unsupported mode is requested. +
openvoidOpenCommandArgument2 aOpenCommandArgFor non-folder objects, the OpenCommandArgument2 + struct will be prefilled with a data sink object, which + will be filled with the content data. +

The OpenCommandArgument2 members must be + filled as follows:

+
    +
  • OpenCommandArgument::Mode: + OpenMode::DOCUMENT or + OpenMode::DOCUMENT_SHARE_DENY_NONE or + OpenMode::DOCUMENT_SHARE_DENY_WRITE. + Support for DOCUMENT is mandatory, all others are optional. +
  • +
  • OpenCommandArgument::Priority: + can be set, but implementation may ignore the value +
  • +
  • OpenCommandArgument::Sink: + a sink, where the implementation can put the document data into. +
  • +
  • OpenCommandArgument::Properties: empty ( ignored )
  • +
  • OpenCommandArgument2::SortingInfo: empty ( ignored )
  • +
+

The exceution must be aborted by the implementation of this command + (by throwing a CommandAbortedException), if an + unsupported mode is requested.

+
createNewContentXContentContentInfo contentinfo + This command creates a new non-persistent content of a given type. +

This command must be supported by every Content + that supports the property "CreatableContentsInfo", if the returned + property value contains a non-empty sequence of creatable types. +

+ Note: This command is part of the replacement for the deprecated + interface XContentCreator. +
+

Creation of a new persistent content: +

    +
  1. creatabletypes = obtain "CreatableContentsInfo" property from creator
  2. +
  3. choose a suitable type from creatabletypes
  4. +
  5. newObject = execute command "createNewContent(type)" at creator
  6. +
  7. initialize the new object (i.e. newObject.Property1 = ...)
  8. +
  9. execute command "insert" at new content. This command + commits the data and makes the new content persistent.
  10. +
+
insertvoidInsertCommandArgument aInsertCommandArg +
    +
  1. + This command inserts a new content. It commits the process of + creating a new content via executing the command "createNewContent" + and initializing it via setting properties, afterwards.
    + The command is not called on the content which created the new + content, because the new object already knows where it is to be + inserted (i.e. Calling createNewContent with the content type for a + message on a News Group creates a content which internally belongs + to the Outbox. Calling "insert" on that message will result in + posting the article to the appropriate News Group). Not calling + "insert" for the new content, i.e. because the user cancels writing + a new message, simply discards the new object. No extra call to + "delete" is necessary.
    + On successful completion of this command, the parent of the inserted + content must propagate the change by notifying a + ContentEvent - ContentAction::INSERTED. +
  2. +
  3. + Additionally this command can be called at any time to overwrite + the data of an existing content. +
  4. +
+
updatevoidOpenCommandArgument2 aOpenCommandArgThis command triggers an update operation on a content. + For example, when "updating" a POP3-Inbox, the content + for that box will get and store all new objects on the + appropriate server. The inserted contents will be + notified by calling + XContentEventListener::contentEvent. +
synchronizevoidOpenCommandArgument2 aOpenCommandArg + This command triggers a synchronization operation between locally + cached data and remote server's data. For example, when + "synchronizing" a POP3-Inbox the content for that box will get and + store all new objects and destroy all cached data for objects no + longer existing on the server. The inserted/deleted contents will + be notified by calling + XContent::contentEvent. +
closevoidvoidThis command closes an object.
deletevoidboolean bDeletePhysically + This command deletes an object. If is passed as parameter, + the object will be destroyed physically. Otherwise it will be put + into trash can, if such a service is available and the object to + be deleted supports the command "undelete". + On successful completion of this command, the deleted content + must propagate its deletion by notifying a ContentEvent + - ContentAction::DELETED. Additionally, the contents + parent must notify a ContentEvent + - ContentAction::REMOVED +
undeletevoidvoid + This command restores an object previously deleted into trash. It + must be supported by objects which claim to be undeletable, but + should never be called directly. +
searchXDynamicResultSetSearchCommandArgument aSearchCommandArg + This command searches for subcontents of a content matching the + given search criteria. The command will return an implemenation + of service DynamicResultSet. +
transfervoidTransferInfo aTransferInfo +
+ Important note: A client that wants to transfer data should + not execute this command, but it should execute the command + "globalTransfer" at the UniversalContentBroker. + This command is able to transfer all kind of content + supported by that UCB. +
+ This command transfers (copies/moves) an object from one location + to another. It must be executed at the folder content representing + the destination of the transfer operation.
+ Note that the implementation need not be able to handle + any type of contents.
+ Generally, there are good chances that a transfer of a content will + succeed, if source and target folder have the same URL scheme. + But there is no guaranty for that.
+ For instance, moving a message from a folder on IMAP server A + to a folder on IMAP server B may fail, because the transfer + command can't be implemented efficiently for this scenario, + because it is not directly supported by the IMAP protocol. + On the other hand, moving a message from one folder to + another folder on the same IMAP server should work, because it can + be implemeted efficiently.
+ If an implementation is not able to handle a given source URL, + it should indicate this by issuing a + InteractiveBadTransferURLException interaction request.
+ Source and target folder may be the same when doing a move operation. +
+ Transfers without the transfer command can be done as follows: +
    +
  1. Create a new content at the target folder
    + targetContent = target.execute( "createNewContent", type ) +
  2. +
  3. Transfer data from source to target content
    + props = sourceContent.execute( "getPropertyValues", ... ) + dataStream = sourceContent.execute( "open", ... ) + targetContent.execute( "setPropertyValues", props ) +
  4. +
  5. Insert ( commit ) the new content
    + targetContent.execute( "insert", dataStream ) +
  6. +
  7. For move operations only: destroy the source content
    + sourceContent.execute( "delete", ... ) +
  8. +
+

This mechanism should work for all transfer operations, but generally + it's less efficient than the transfer command.

+
lockvoidvoid + This command obtains an exlusive write lock for the resource. The + lock is active until command "unlock" is executed, or the OOo + session that obtained the lock ends, or until the lock is released by + a third party (e.g. a system administrator).
+ Exceptions: +
    +
  • InteractiveLockingLockedException
  • +
  • InteractiveLockingLockExpiredException
  • +
+
unlockvoidvoid + This command removes a lock obtained by executing the command "lock" + from the resource.
+

Exceptions: +

    +
  • InteractiveLockingLockedException
  • +
  • InteractiveLockingLockExpiredException
  • +
+

+

Note that InteractiveLockingLockExpiredException might + be raised by any command that requires a previously obtained lock. +

+
addPropertyvoidPropertyCommandArgument aCmdArg + Adds a new properties to the content. +

+ PropertyCommandArgument::Property + contains information about the property to be added. + PropertyCommandArgument::DefaultValue + may contain the default value for the property. Its type must + match the one specified in Property::Type. +

+

Note that the dynamic properties must be kept persistent. The + service Store (UCB persistence service) may be used to + implement this.

+

Important: The implementation must at least support + adding properties of the following basic data types:

+

+

    +
  • boolean +
  • char +
  • byte +
  • string +
  • short +
  • long +
  • hyper +
  • float +
  • double +
+

+

+ Raises a PropertyExistException + if a property with the same name already exists; + IllegalTypeException + if the property has an unsupported type; + IllegalArgumentException + if the Name of the property is empty.

+
+ Note: This command replaces the deprecated interface method + XPropertyContainer::addProperty. +
+
removePropertyvoidstring PropertyNameRemoves the properties from the content. +

Raises a UnknownPropertyException + if the property does not exist; + NotRemoveableException + if the property is not removable.

+
+ Note: This command replaces the deprecated interface method + XPropertyContainer::removeProperty. +
+
+ +

Properties

+

Mandatory properties

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
ContentTypestring + contains a unique type string for the content + ( i.e. "application/vnd.sun.star.hierarchy-link" ). +

This property is always read-only.

+

The ContentType should not be confused with the MIME + media type ( MIME types ) of the content. Media types + may be provided through the optional property "MediaType".

+

The value of this property should match the information on creatable + contents given by UCB contents that implement the property + "CreatableContentsInfo".

+
IsFolderbooleanindicates, whether a content can contain other contents.
IsDocumentbooleanindicates, whether a content is a document. This means, + the content can dump itself into a data sink. +
Titlestringcontains the title of an object (e.g. the subject of a message).
+ +

Optional properties

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
AutoUpdateIntervallongcontains the interval for automatic updates of an object. + It is specified in seconds. +
ConnectionLimitshortcontains the maximum number of network connections + allowed for one (internet) protocol at a time. (e.g. The HTTP + cache can be configured to use a maximum for the number of + connections used for browsing.) +
ConnectionModeshortcontains the current connection mode for the object. + (see ConnectionMode) +
CreatableContentsInfosequence ContentInfo + contains the types of Contents a Content object can create via + command "createNewContent". +

If the property value can be a non-empty sequence, the + Content must also support command "createNewContent".

+
+ Note: This property is part of the replacement for the deprecated + interface XContentCreator. +
+
DateCreatedDateTimecontains the date and time the object was created.
DateModifiedDateTimecontains the date and time the object was last modified.
DocumentCountlongcontains the count of documents of a folder.
DocumentCountMarkedlongcontains the count of marked documents within a folder.
DocumentHeadersequence< DocumentHeaderField > contains a sequence of documemt header fields (i.e. header + fields of a MIME-message, or the document info of an + office document ). For some standard header fields there + are predefined separate properties, like "MessageTo". +
DocumentStoreModeDocumentStoreModecontains information about the way a folder stores the + contents of (remote) documents. +
FolderCountlongcontains the count of subfolders of a folder.
FreeSpacehypercontains the free space left on a storage device. It is + specified in bytes.
HasDocumentsbooleanindicates whether a content has subcontents, which are documents.
HasFoldersbooleanindicates whether a content has subcontents, which are folders.
IsMarkedbooleanindicates whether a content is "marked".
IsReadbooleanindicates whether a content has been "read".
IsReadOnlybooleanindicates whether a content is read-only.
IsSubscribedbooleanindicates whether a content is subscribed.
IsTimeLimitedStorebooleanindicates whether the feature to store contents + depending on their age is active.
UpdateOnOpenbooleanindicates whether (sub)contents shall be automatically updated + everytime a (folder) content is opened.
This property may be + used to control whether a folder content should read data only + from local cache when it is opened, or whether it should connect + to a server to obtain latest data.
Keywordsstringcontains the keywords of a document (e.g. the value + of the "keywords" header field of a news article).
MediaTypestringcontains the media type ( MIME type ) of a content. It is highly + recommended to support this property if the content's implementation + can obtain the media type natively from its data source ( i.e. + HTTP servers provide media types for all their documents ). +
MessageBCCstringcontains the BCC (blind carbon copy) receiver(s) of a message.
MessageCCstringcontains the CC (carbon copy) receiver(s) of a message.
MessageFromstringcontains (the address of) the sender of a message.
MessageIdstringcontains the ID of a message.
MessageInReplyTostringcontains the "In-Reply-To" field of a message.
MessageReplyTostringcontains the "Reply-To" field of a message.
MessageTostringcontains the recipient(s) of a message.
NewsGroupsstringcontains the name(s) of the newsgroup(s) into which a message was posted.
Passwordstringcontains a password (e.g. needed to access a POP3-Server).
PriorityPrioritycontains a priority (i.e. of a message).
Referencesstringcontains the "References" field of a news article.
RulesRuleSetcontains the rules set for a content.
SeenCountlongcontains the count of seen/read subcontents of a folder content.
ServerBasestringcontains the base directory to use on a server. (e.g. Setting + the server base of an FTP-Account to "/pub/incoming" + will result in showing contents from that directory and not from + server's root directory) +
ServerNamestringcontains a server name (e.g. The name of the server to use for + a POP3-Account). +
ServerPortshortcontains a numeric server port.
Sizehypercontains the size (usually in bytes) of an object.
SizeLimithypercontains a size limit for an object. (e.g. One may specify the + maximum size of the HTTP-Cache) +
SubscribedCountlongcontains the count of subscribed contents of a folder.
SynchronizePolicySynchronizePolicycontains the policy to use when synchronizing two objects.
TargetFramesstringcontains information about the target frame to use when displaying + an object. +

The value is a string containing three tokens, separated by ";" + (A semicolon):
+

+
1st token
+
Behavior on "select" ( single click )
+
2nd token
+
Behavior on "open" ( double click )
+
3rd token
+
Behavior on "open in new task" ( double click + CTRL key )
+
+

+

Each token may contain the following values:
+

+
"_beamer"
+
Show in "Beamer"
+
"_top"
+
Show in current frame (replaces old)
+
"_blank"
+
Show in new task
+
+

+
TargetURLstringfor contents that are links to other contents, contains the URL of + the target content
TimeLimitStoreshortcontains the value to use if the property "IsTimeLimitedStore" is set.
UserNamestringcontains a user name. (e.g. the user name needed to access a + POP3-Account)
VerificationModeVerificationMode describes a verification policy.
*/ interface com::sun::star::ucb::XCommandProcessor; - //------------------------------------------------------------------------- + /** is an enhanced version of XCommandProcessor that has an additional method for releasing command identifiers obtained via XCommandProcessor::createCommandIdentifier to avoid @@ -617,7 +898,7 @@ published service Content */ [optional] interface com::sun::star::ucb::XCommandProcessor2; - //------------------------------------------------------------------------- + /** notifies changes of property values to listeners registered for those properties. @@ -625,7 +906,7 @@ published service Content */ interface com::sun::star::beans::XPropertiesChangeNotifier; - //------------------------------------------------------------------------- + /** can be used to add new properties to the content and to remove properties from the content dynamically. @@ -639,25 +920,33 @@ published service Content types:

-

    -
  • boolean -
  • char -
  • byte -
  • string -
  • short -
  • long -
  • hyper -
  • float -
  • double -
+
    +
  • boolean +
  • char +
  • byte +
  • string +
  • short +
  • long +
  • hyper +
  • float +
  • double +
+

If a property with an unsupported type shall be added a IllegalTypeException must be raised. + + @deprecated +

This interface is deprecated, because a + ContentProvider might need a + XCommandEnvironment to perform the tasks of adding and + removing properties. New implementations should implement the + respective commands "addProperty" and "removeProperty" instead. */ interface com::sun::star::beans::XPropertyContainer; - //------------------------------------------------------------------------- + /** can be used to notify properties removed from or added to the content's property set. @@ -668,7 +957,7 @@ published service Content */ [optional] interface com::sun::star::beans::XPropertySetInfoChangeNotifier; - //------------------------------------------------------------------------- + /** can be used to notify commands removed from or added to the content's command set. @@ -681,7 +970,7 @@ published service Content */ [optional] interface com::sun::star::ucb::XCommandInfoChangeNotifier; - //------------------------------------------------------------------------- + /** creates new contents (i.e. creates a new folder in another folder somewhere in the local file system). @@ -698,7 +987,7 @@ published service Content */ [optional] interface com::sun::star::ucb::XContentCreator; - //------------------------------------------------------------------------- + /** provides access to the parent content of this content.

The object returned by the implementation of the method @@ -712,9 +1001,6 @@ published service Content [optional] interface com::sun::star::container::XChild; }; -//============================================================================= - }; }; }; }; #endif -