Content.idl (bde78562) Content.idl (06594b87)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 445 unchanged lines hidden (view full) ---

454 <li><type>InteractiveLockingLockExpiredException</type></li>
455 </ul>
456 </p>
457 <p>Note that <type>InteractiveLockingLockExpiredException</type> might
458 be raised by any command that requires a previously obtained lock.
459 </p>
460 </td>
461 </tr>
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 445 unchanged lines hidden (view full) ---

454 <li><type>InteractiveLockingLockExpiredException</type></li>
455 </ul>
456 </p>
457 <p>Note that <type>InteractiveLockingLockExpiredException</type> might
458 be raised by any command that requires a previously obtained lock.
459 </p>
460 </td>
461 </tr>
462 <tr>
463 <td>addProperty</td>
464 <td>void</td>
465 <td><type>PropertyCommandArgument</type> aCmdArg</td>
466 <td>
467 Adds a new properties to the content.
468 <p>
469 <member>PropertyCommandArgument::Property</member>
470 contains information about the property to be added.
471 <member>PropertyCommandArgument::DefaultValue</member>
472 may contain the default value for the property. Its type must
473 match the one specified in <member scope="com::sun::star::beans">Property::Type</member>.
474 </p>
475 <p>Note that the dynamic properties must be kept persistent. The
476 service <type>Store</type> (UCB persistence service) may be used to
477 implement this.</p>
478 <p><b>Important:</b> The implementation must at least support
479 adding properties of the following basic data types:</p>
480 <p>
481 <ul>
482 <li>boolean
483 <li>char
484 <li>byte
485 <li>string
486 <li>short
487 <li>long
488 <li>hyper
489 <li>float
490 <li>double
491 </ul>
492 </p>
493 <p>
494 Raises a <type scope="com::sun::star::beans">PropertyExistException</type>
495 if a property with the same name already exists;
496 <type scope="com::sun::star::beans">IllegalTypeException</type>
497 if the property has an unsupported type;
498 <type scope="com::sun::star::lang">IllegalArgumentException</type>
499 if the Name of the property is empty.</p>
500 <blockquote>
501 Note: This command replaces the deprecated interface method
502 <member scope="com::sun::star::beans">XPropertyContainer::addProperty</member>.
503 </blockquote>
504 </td>
505 </tr>
506 <tr>
507 <td>removeProperty</td>
508 <td>void</td>
509 <td>string PropertyName</td>
510 <td>Removes the properties from the content.
511 <p>Raises a <type scope="com::sun::star::beans">UnknownPropertyException</type>
512 if the property does not exist;
513 <type scope="com::sun::star::beans">NotRemoveableException</type>
514 if the property is not removable.</p>
515 <blockquote>
516 Note: This command replaces the deprecated interface method
517 <member scope="com::sun::star::beans">XPropertyContainer::removeProperty</member>.
518 </blockquote>
519 </td>
520 </tr>
462 </tbody>
463 </table>
464
465 <h3>Properties</h3>
466 <h4>Mandatory properties</h4>
467
468 <table style="border-width: 1px; border-spacing: 0px; border-style: solid; border-color: gray; border-collapse: collapse; background-color: white;" class="devdoc">
469 <thead>

--- 329 unchanged lines hidden (view full) ---

799 </dl>
800 </p>
801 </td>
802 </tr>
803 <tr>
804 <td>TargetURL</td>
805 <td>string</td>
806 <td>for contents that are links to other contents, contains the URL of
521 </tbody>
522 </table>
523
524 <h3>Properties</h3>
525 <h4>Mandatory properties</h4>
526
527 <table style="border-width: 1px; border-spacing: 0px; border-style: solid; border-color: gray; border-collapse: collapse; background-color: white;" class="devdoc">
528 <thead>

--- 329 unchanged lines hidden (view full) ---

858 </dl>
859 </p>
860 </td>
861 </tr>
862 <tr>
863 <td>TargetURL</td>
864 <td>string</td>
865 <td>for contents that are links to other contents, contains the URL of
807 the target content</td>
866 the target content</td>
808 </tr>
809 <tr>
810 <td>TimeLimitStore</td>
811 <td>short</td>
812 <td>contains the value to use if the property "IsTimeLimitedStore" is set.</td>
813 </tr>
814 <tr>
815 <td>UserName</td>
816 <td>string</td>
817 <td>contains a user name. (e.g. the user name needed to access a
867 </tr>
868 <tr>
869 <td>TimeLimitStore</td>
870 <td>short</td>
871 <td>contains the value to use if the property "IsTimeLimitedStore" is set.</td>
872 </tr>
873 <tr>
874 <td>UserName</td>
875 <td>string</td>
876 <td>contains a user name. (e.g. the user name needed to access a
818 POP3-Account)</td>
877 POP3-Account)</td>
819 </tr>
820 <tr>
821 <td>VerificationMode</td>
822 <td><type>VerificationMode</type> </td>
823 <td>describes a verification policy.</td>
824 </tr>
825 </tbody>
826 </table>

--- 121 unchanged lines hidden ---
878 </tr>
879 <tr>
880 <td>VerificationMode</td>
881 <td><type>VerificationMode</type> </td>
882 <td>describes a verification policy.</td>
883 </tr>
884 </tbody>
885 </table>

--- 121 unchanged lines hidden ---