From Apache OpenOffice Wiki
< Documentation | DevGuide
Once a synchronous job has finished its work, it returns its result using the any return value of the execute() method. An asynchronous jobs send back the result through the callback method
jobFinished() to its com.sun.star.task.XJobListener. The returned any parameter must contain a
sequence< com.sun.star.beans.NamedValue > with the following elements:
|Elements of the Job Return Value|
||boolean. Asks the job executor to disable a job from further execution. Note that this feature is only available if the next event is triggered by the job executor or the event broadcaster. If it comes, for example, from the dispatch framework using an URL with an |
||sequence< com.sun.star.beans.NamedValue >. Must contain a list of job specific data, which are written directly to the Arguments list into the job configuration. Note: Merging is not supported. The list must be complete and replaces all values in the configuration. The necessary data can be copied and adjusted from the JobConfig element of the execution arguments.|
||com.sun.star.frame.DispatchResultEvent. If a job is designed to be usable in the dispatch framework, this contains a struct, which is send to all interested dispatch result listeners.
Tip: This value should be omitted if Environment-EnvType is not "
|Content on this page is licensed under the Public Documentation License (PDL).|