Hi,
Some corrections after discussing with Asiri:
- it seems what Asiri is proposing is a Velocity API, ie for usage of
the importer from velocity, not from Java
I was actually proposing a java API but now I understand that it's not
correct. I already have different components responsible for carrying out
the tasks these proposed methods are supposed to do. So I will simply add
these proposed methods to office importer velocity API instead (won't take
more than a couple of hours).
Although I would have to change DocumentName parameters to string parameters
in velocity API and convert those string parameters to DocumentName
instances when invoking corresponding components.
Also, I will create a small module document explaining the internals of
officeimporter module on
code.xwiki.org so that we can discuss whether we
want to improve the officeimporter module further.
Thanks.
- Asiri