Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.11

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: ucb ::

struct Rule
Description
describes a rule that can be applies to a number of objects.

A rule consists of a sequence of RuleTerms describing the objects to which the rule should be applied, the RuleAction which should be used on the matching objects, and a parameter.


Elements' Summary
Terms the rule terms describing the objects to which the rule should be applied.  
Parameter Some RuleActions require a parameter.  
Action the action to perform on the matching objects.  
Elements' Details
Terms
sequence< RuleTerm > Terms;
Description
the rule terms describing the objects to which the rule should be applied.
Parameter
string Parameter;
Description
Some RuleActions require a parameter.
Action Parameter
COPY, MOVE, LINK The URL to the destination folder.
FORWARD The email address of the recepient
All other actions n/a
Action
short Action;
Description
the action to perform on the matching objects.

The value can be one of the RuleAction constants.

Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.