On Jul 4, 2010, at 7:03 PM, Asiri Rathnayake wrote:

> Hi,
> 
>> 2. Need a couple of tests - I'm working on this.
>>> 
>>> Asiri, any update on this?
>>> 
>> 
>> I will have the tests ready by this weekend.
>> 
> 
> I've committed few test cases and also refactored the code a bit (to make it
> easy to add tests). Let me know if they look ok.

Ok thanks, I'll have a look on Monday morning. I'll also work on doing the 
ScriptService thingie. We'll need to decide if we want this in RC1 or not since 
it's not a bug but a new feature.

> Also note that the officepreview macro (which makes it very easy to consume
> the officepreview service) is located at one of our customer sites [1].

our = ? I guess you meant XWiki SAS.

> Thanks.
> 
> - Asiri
> 
> [1] https://emc.devxwiki.com/xwiki/bin/view/XWiki/OfficePreviewMacro

I don't believe this is accessible to anyone and thus shouldn't be seen here on 
this list.

Thanks
-Vincent

>> On another point, I'll take care of converting OfficePreviewVelocityBridge
>>> to a ScriptService.
>>> 
>>> We need a service name. 2 solutions:
>>> 
>>> Solution 1:
>>> =========
>>> $services.office.preview(...)
>>> 
>>> This means 3 build modules:
>>> - one for office converter (rename from office import)
>>> - one for office preview
>>> - one for office velocity (for unifying script services between office
>>> converter and office preview). This needs moving
>>> OfficeImporterVelocityBridge to a ScriptService too (which we need to do).
>>> 
>>> Solution 2:
>>> =========
>>> $services.officepreview.preview(....)
>>> + keep using $officeimporter for the office importer
>>> 
>> 
>> +1 for first solution.
>> 
>> Thanks.
>> 
>> - Asiri

_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to