Type: required
         Title: SfxMedium::GetStorage has now additional parameter.
     Posted by: mikhail.voyte...@sun.com
      Affected: all
         TaskId: i103906
<http://www.openoffice.org/issues/show_bug.cgi?id=103906>
Effective from: cws encsig09
           CWS:
<http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=DEV300/encsig09>
    CWS status: approved by QA


*Summary*
--------
- ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage > 
GetStorage();
+ ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage > 
GetStorage( sal_Bool bCreateTempIfNo = sal_True );


*Description*
-------------
Now it is possible to specify whether the medium should create a
temporary file on storage creation.

Normally the temporary copy of the original document should be created
in case the storage is planned for "long use", otherwise the temporary
file makes no sense.

For example if a document is loaded and the document storage is
created using this method, the temporary copy creation should be
requested. But in case the storage is created by typedetection only to
check some info and to dispose the storage afterwards, it definitely
makes no sense to request creation of the copy.

The related source code is adjusted accordingly ( cws is based on
DEV300_m56 milestone ).


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