PDF Clown
0.0.8

it.stefanochizzolini.clown.documents
Class DocumentActions

java.lang.Object
  extended by it.stefanochizzolini.clown.objects.PdfObjectWrapper<PdfDictionary>
      extended by it.stefanochizzolini.clown.documents.DocumentActions

public class DocumentActions
extends PdfObjectWrapper<PdfDictionary>

Document actions [PDF:1.6:8.5.2].

Since:
0.0.7
Version:
0.0.8
Author:
Stefano Chizzolini (http://www.stefanochizzolini.it)

Constructor Summary
DocumentActions(Document context)
           
DocumentActions(PdfDirectObject baseObject, PdfIndirectObject container)
           
 
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 it.stefanochizzolini.clown.objects.PdfObjectWrapper
delete, getBaseDataObject, getBaseObject, getContainer, getDocument, getFile, setBaseObject, setContainer, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentActions

public DocumentActions(Document context)

DocumentActions

public DocumentActions(PdfDirectObject baseObject,
                       PdfIndirectObject container)
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.

Specified by:
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()

PDF Clown
0.0.8

Project home page

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