Lines 79-100
Link Here
|
79 |
{ |
79 |
{ |
80 |
//================================================================ |
80 |
//================================================================ |
81 |
/** A storage can be created through this interface. |
81 |
/** A storage can be created through this interface. |
82 |
In case <type>XSingleServiceFactory</type>::createInstance() call is used |
82 |
In case <member scope="com::sun::star::lang">XSingleServiceFactory::createInstance</member> call is used |
83 |
the result storage will be open in readwrite mode based on an arbitrary medium. |
83 |
the result storage will be open in readwrite mode based on an arbitrary medium. |
84 |
In case <type>XSingleServiceFactory</type>::createInstanceWithArguments() call is used |
84 |
In case <member scope="com::sun::star::lang">XSingleServiceFactory::createInstanceWithArguments</member> call is used |
85 |
a sequence of the following parameters can be used: |
85 |
a sequence of the following parameters can be used: |
86 |
parameter 1 - specifies source of the object, it can be a string containing URL, |
86 |
parameter 1 - specifies source of the object, it can be a string containing URL, |
87 |
an <type>XStream</type> implementation or <type>XInputStream</type>; |
87 |
an <type scope="com::sun::star::io">XStream</type> implementation or |
88 |
in case of <type>XStream</type> implementation the <type>XSeekable</type> |
88 |
<type scope="com::sun::star::io">XInputStream</type>; |
|
|
89 |
in case of <type scope="com::sun::star::io">XStream</type> implementation the <type scope="com::sun::star::io">XSeekable</type> |
89 |
interface must be supported. |
90 |
interface must be supported. |
90 |
parameter 2 - specifies mode the storage should be open in, can take values from |
91 |
parameter 2 - specifies mode the storage should be open in, can take values from |
91 |
<type>ElementModes</type> constant set. |
92 |
<type>ElementModes</type> constant set. |
92 |
parameter 3 - allowes to provide <type>MediaDescryptor</type> to the storage so some parts |
93 |
parameter 3 - allowes to provide <type scope="com::sun::star::document">MediaDescriptor</type> to the storage so some parts |
93 |
can be used for initialization, it can be for example <type>XInteractionHandler</type> |
94 |
can be used for initialization, it can be for example <type scope="com::sun::star::task">XInteractionHandler</type> |
94 |
implementation, password for the storage and repair package flag; |
95 |
implementation, password for the storage and repair package flag; |
95 |
The parameters are optional, that means that sequence can be empty or contain only first parameter, |
96 |
The parameters are optional, that means that sequence can be empty or contain only first parameter, |
96 |
or first and second one. In case no parameters are provided the call works the same way as |
97 |
or first and second one. In case no parameters are provided the call works the same way as |
97 |
<type>XSingleServiceFactory</type>::createInstance(). In case only first parameter is provided, |
98 |
<type scope="com::sun::star::lang">XSingleServiceFactory</type>::createInstance(). In case only first parameter is provided, |
98 |
the storage is opened in readonly mode. |
99 |
the storage is opened in readonly mode. |
99 |
The opened root storage can support read access in addition to specified one. |
100 |
The opened root storage can support read access in addition to specified one. |
100 |
*/ |
101 |
*/ |