Issue 47532 - create IDL for com.sun.star.io.TempFile and use ImplHelper
Summary: create IDL for com.sun.star.io.TempFile and use ImplHelper
Status: CLOSED FIXED
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P3 Trivial
Target Milestone: ---
Assignee: mikhail.voytenko
QA Contact: issues@api
URL:
Keywords:
Depends on:
Blocks: 72764
  Show dependency tree
 
Reported: 2005-04-15 14:53 UTC by jsc
Modified: 2013-02-24 21:09 UTC (History)
3 users (show)

See Also:
Issue Type: PATCH
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
This file specifis the new interface ::com::sun::star::io::XTempFile (856 bytes, text/plain)
2007-06-06 08:41 UTC, zhangxiaofei.ooo
no flags Details
This file specifies the new-style service ::com::sun::star::io::Tempfile (528 bytes, text/plain)
2007-06-06 08:42 UTC, zhangxiaofei.ooo
no flags Details
This is the patch to udkapi project, the formerly uploaded idl files should be ignored now. (6.14 KB, text/plain)
2007-06-08 02:50 UTC, zhangxiaofei.ooo
no flags Details
This is the patch to unotools project, the formerly uploaded idl files should be ignored now. (47.18 KB, text/plain)
2007-06-08 02:55 UTC, zhangxiaofei.ooo
no flags Details
The unit tests for the interface (7.29 KB, application/x-compressed)
2007-08-17 10:45 UTC, zhangxiaofei.ooo
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description jsc 2005-04-15 14:53:20 UTC
The com.sun.star.io.TempFile service should become an official service (we
should use the new UNO features for this service), means we need an IDL
definition for this service. And the implementation should inherit from
WeakImplHelper which automatically provides XTypeProvider, this makes the
service usable from Basic and is of course a must for service implementations
Comment 1 mikhail.voytenko 2005-05-27 13:02:07 UTC
The documentation and reimplementation of the service will be done for OOo
Later. For OOo2.0.1 the missing interface XTypeProvider was added for issue 49947.

Comment 2 mikhail.voytenko 2006-09-14 11:11:33 UTC
Changing the target.
Comment 3 mikhail.voytenko 2007-04-23 15:20:18 UTC
The task is to integrate an old-style service as new-style service ( single
interface service ). The service itself is already implemented in "unotools"
project as an old-style service( unotools/source/ucbhelper/xtempfile.* ), but
not documented officially.

The new-style services are described in "Developer Guide", there is also an
additional specification for the new-style services
"http://udk.openoffice.org/common/man/draft/multinherit.html". From my point of
view the second one describes the new-style services better.

The task could be divided to following steps :
- please specify a new interface ::com::sun::star::io::XTempFile in the udkapi
project based on the current service implementation and the new-style services
specification ( the currently accessible properties must be specified as
attributes ).
- please specify a new-style service ::com::sun::star::io::Tempfile ( derived
from the XTempFile interface ) in the udkapi project.
- please change the current service implementation to be based on the new
interface, it definitely makes sence to use the new helper class
::cppu::PropertySetMixin from the cppuhelper project. It will make the
attributes be accessible as properties ( this is required for backward
compatibility ).
Comment 4 zhangxiaofei.ooo 2007-06-06 08:41:00 UTC
Created attachment 45685 [details]
This file specifis the new interface ::com::sun::star::io::XTempFile
Comment 5 zhangxiaofei.ooo 2007-06-06 08:42:44 UTC
Created attachment 45686 [details]
This file specifies the new-style service ::com::sun::star::io::Tempfile
Comment 6 zhangxiaofei.ooo 2007-06-08 02:50:30 UTC
Created attachment 45741 [details]
This is the patch to udkapi project, the formerly uploaded idl files should be ignored now.
Comment 7 zhangxiaofei.ooo 2007-06-08 02:55:18 UTC
Created attachment 45742 [details]
This is the patch to unotools project, the formerly uploaded idl files should be ignored now.
Comment 8 mikhail.voytenko 2007-06-08 11:14:18 UTC
Change the type and target accordingly.
Comment 9 mikhail.voytenko 2007-06-08 11:15:05 UTC
The provided patch is going to be integrated in one of the next framework cws.
Comment 10 mikhail.voytenko 2007-06-12 15:10:47 UTC
Changing the target.
Comment 11 zhangxiaofei.ooo 2007-08-17 10:45:03 UTC
Created attachment 47586 [details]
The unit tests for the interface
Comment 12 zhangxiaofei.ooo 2007-09-12 09:08:41 UTC
Added blocker to i47532
Comment 13 jsc 2007-10-08 15:14:04 UTC
jsc (api project lead) -> mav: can you please take care of this patch and take
the appropriate action asap.
Comment 14 mikhail.voytenko 2007-10-08 15:36:18 UTC
mav->jsk: Sorry, but all the appropriate actions was already taken. The patch
was reviewed and approved, it has the next release ( OOo2.4 ) as the target and
there is enough time for integration before the feature freeze. Currently I see
no reason for hurry. 
Comment 15 mikhail.voytenko 2007-10-18 12:43:19 UTC
The patch is integrated into cws fwk77.
Comment 16 mikhail.voytenko 2007-12-05 16:32:32 UTC
Verified.
Comment 17 mikhail.voytenko 2008-02-28 09:30:48 UTC
Closing.