CPDFAction.h 1.2 KB

123456789101112131415161718192021222324252627282930
  1. //
  2. // CPDFAction.h
  3. // ComPDFKit
  4. //
  5. // Copyright © 2014-2022 PDF Technologies, Inc. All Rights Reserved.
  6. //
  7. // THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
  8. // AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE ComPDFKit LICENSE AGREEMENT.
  9. // UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
  10. // This notice may not be removed from this file.
  11. //
  12. #import <ComPDFKit/CPDFKitPlatform.h>
  13. /**
  14. * An action that is performed when, for example, a PDF annotation is activated or an outline item is clicked.
  15. *
  16. * @discussion A CPDFAction object represents an action associated with a PDF element, such as an annotation or a link, that the viewer application can perform. See the Adobe PDF Specification for more about actions and action types.
  17. * CPDFAction is an abstract superclass of the following concrete classes: CPDFGoToAction, CPDFURLAction, CPDFNamedAction, CPDFResetFormAction.
  18. */
  19. @interface CPDFAction : NSObject
  20. /**
  21. * Returns the type of the action.
  22. *
  23. * @discussion Type based on the Adobe PDF Specification (1.7), Table 8.48: Action types.
  24. */
  25. @property (nonatomic,readonly) NSInteger type;
  26. @end