Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | create IDL for com.sun.star.io.TempFile and use ImplHelper | ||
---|---|---|---|
Product: | App Dev | Reporter: | jsc |
Component: | api | Assignee: | mikhail.voytenko |
Status: | CLOSED FIXED | QA Contact: | issues@api <issues> |
Severity: | Trivial | ||
Priority: | P3 | CC: | issues, mikhail.voytenko, zhangxiaofei.ooo |
Version: | 3.3.0 or older (OOo) | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | PATCH | Latest Confirmation in: | --- |
Developer Difficulty: | --- | ||
Issue Depends on: | |||
Issue Blocks: | 72764 | ||
Attachments: |
Description
jsc
2005-04-15 14:53:20 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. Changing the target. 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 ). Created attachment 45685 [details]
This file specifis the new interface ::com::sun::star::io::XTempFile
Created attachment 45686 [details]
This file specifies the new-style service ::com::sun::star::io::Tempfile
Created attachment 45741 [details]
This is the patch to udkapi project, the formerly uploaded idl files should be ignored now.
Created attachment 45742 [details]
This is the patch to unotools project, the formerly uploaded idl files should be ignored now.
Change the type and target accordingly. The provided patch is going to be integrated in one of the next framework cws. Changing the target. Created attachment 47586 [details]
The unit tests for the interface
Added blocker to i47532 jsc (api project lead) -> mav: can you please take care of this patch and take the appropriate action asap. 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. The patch is integrated into cws fwk77. Verified. Closing. |