multivalent.std.adaptor.pdf

Class ContractualObligation

public class ContractualObligation extends Behavior

Enforce permissions (don't print, don't copy and paste, ...), which is hard and unnatural in Multivalent, but required by Adobe. See PDF Reference, page 77.

Version: $Revision: 1.3 $ $Date: 2003/06/01 07:01:01 $

Method Summary
voidbuildAfter(Document doc)
If encrypted and permissions set, observe root in order to enforce.
booleanclipboardAfter(StringBuffer sb, Node node)
Enforce copying/extraction restriction.
booleansemanticEventBefore(SemanticEvent se, String msg)
Enforce printing restriction.

Method Detail

buildAfter

public void buildAfter(Document doc)
If encrypted and permissions set, observe root in order to enforce.

clipboardAfter

public boolean clipboardAfter(StringBuffer sb, Node node)
Enforce copying/extraction restriction.

semanticEventBefore

public boolean semanticEventBefore(SemanticEvent se, String msg)
Enforce printing restriction.