Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| PDF Clown 0.1.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.pdfclown.documents
Class DocumentActions

    java.lang.Object
      org.pdfclown.objects.PdfObjectWrapper<PdfDictionary>
          org.pdfclown.documents.DocumentActions

All Implemented Interfaces:
  Cloneable, IPdfObjectWrapper

    @PDF(value=PDF14)
    public final class DocumentActions

extends PdfObjectWrapper<PdfDictionary>

Document actions [PDF:1.6:8.5.2].

Since:
  0.0.7
Version:
  0.1.2, 12/21/12
Author:
  Stefano Chizzolini (http://www.stefanochizzolini.it)

Constructor Summary
`DocumentActions(Document context)`

Method Summary
`DocumentActions` | `clone(Document context)` Gets a clone of the object, registered inside the given document context.
`Action` | `getAfterPrint()` Gets the action to be performed after printing the document.
`Action` | `getAfterSave()` Gets the action to be performed after saving the document.
`Action` | `getBeforePrint()` Gets the action to be performed before printing the document.
`Action` | `getBeforeSave()` Gets the action to be performed before saving the document.
`Action` | `getOnClose()` Gets the action to be performed before closing the document.
`PdfObjectWrapper<?>` | `getOnOpen()` Gets the destination to be displayed or the action to be performed after opening the document.
`void` | `setAfterPrint(Action value)`
`void` | `setAfterSave(Action value)`
`void` | `setBeforePrint(Action value)`
`void` | `setBeforeSave(Action value)`
`void` | `setOnClose(Action value)`
`void` | `setOnOpen(PdfObjectWrapper<?> value)`

Methods inherited from class org.pdfclown.objects.PdfObjectWrapper
`checkCompatibility, delete, equals, exists, getBaseDataObject, getBaseObject, getBaseObject, getContainer, getDataContainer, getDocument, getFile, getMetadata, retrieveName, retrieveNamedBaseObject, setBaseObject, setMetadata`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### DocumentActions

    public DocumentActions(Document context)

Method Detail

### clone

    public DocumentActions clone(Document context)

  Description copied from class: `PdfObjectWrapper`
  Gets a clone of the object, registered inside the given document context.

  Overrides:
    `clone` in class `PdfObjectWrapper<PdfDictionary>`
  Parameters:
    `context` - Which document the clone has to be registered in.

### getAfterPrint

    public Action getAfterPrint()

  Gets the action to be performed after printing the document.

### getAfterSave

    public Action getAfterSave()

  Gets the action to be performed after saving the document.

### getBeforePrint

    public Action getBeforePrint()

  Gets the action to be performed before printing the document.

### getBeforeSave

    public Action getBeforeSave()

  Gets the action to be performed before saving the document.

### getOnClose

    public Action getOnClose()

  Gets the action to be performed before closing the document.

### getOnOpen

    public PdfObjectWrapper<?> getOnOpen()

  Gets the destination to be displayed or the action to be performed after opening the document.

### setAfterPrint

    public void setAfterPrint(Action value)

  See Also:
    `getAfterPrint()`

### setAfterSave

    public void setAfterSave(Action value)

  See Also:
    `getAfterSave()`

### setBeforePrint

    public void setBeforePrint(Action value)

  See Also:
    `getBeforePrint()`

### setBeforeSave

    public void setBeforeSave(Action value)

  See Also:
    `getBeforeSave()`

### setOnClose

    public void setOnClose(Action value)

  See Also:
    `getOnClose()`

### setOnOpen

    public void setOnOpen(PdfObjectWrapper<?> value)

  See Also:
    `getOnOpen()`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| PDF Clown 0.1.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Project home page
Copyright © 2006-2013 Stefano Chizzolini. Some Rights Reserved.
This documentation is available under the terms of the GNU Free Documentation License.