multivalent.std.adaptor.pdf
Class ContractualObligation
java.lang.Object
multivalent.VObject
multivalent.Behavior
multivalent.std.adaptor.pdf.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 $
Methods inherited from class multivalent.Behavior |
buildBefore, checkRep, clipboardBefore, createUI, destroy, eventAfter, eventBefore, formatAfter, formatBefore, getBrowser, getDocument, getInstance, getInstance, getLayer, getLogger, getName, getPreference, getRoot, isEditable, paintAfter, paintBefore, putPreference, redo, restore, restoreChildren, save, semanticEventAfter, setName, toString, undo |
Methods inherited from class multivalent.VObject |
attrEntrySetIterator, attrKeysIterator, clearAttributes, getAttr, getAttr, getAttributes, getGlobal, getValue, hasAttributes, putAttr, removeAttr, setAttributes |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ContractualObligation
public ContractualObligation()
buildAfter
public void buildAfter(Document doc)
- If encrypted and permissions set, observe root in order to enforce.
- Overrides:
buildAfter
in class Behavior
semanticEventBefore
public boolean semanticEventBefore(SemanticEvent se,
java.lang.String msg)
- Enforce printing restriction.
- Overrides:
semanticEventBefore
in class Behavior
clipboardAfter
public boolean clipboardAfter(java.lang.StringBuffer sb,
Node node)
- Enforce copying/extraction restriction.
- Overrides:
clipboardAfter
in class Behavior