aboutsummaryrefslogtreecommitdiff
path: root/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK
diff options
context:
space:
mode:
Diffstat (limited to 'Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK')
-rw-r--r--Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/ASDataStream.h112
-rw-r--r--Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/ASDebug.h105
-rw-r--r--Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/ASFunctionLogger.h67
-rw-r--r--Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/ASHelp.h212
-rw-r--r--Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/ASLib.h78
-rw-r--r--Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/ASNameSpace.h117
-rw-r--r--Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/ASTypes.h277
-rw-r--r--Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/ASZStringSuite.h153
-rw-r--r--Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/AVCmdDefs.h736
-rw-r--r--Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/DebugWindowHFT.h46
-rw-r--r--Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/IASPoint.hpp2
-rw-r--r--Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/IASRect.hpp2
-rw-r--r--Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/IASTypes.hpp2
-rw-r--r--Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/IASfixed.hpp2
-rw-r--r--Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/MacPIHeaders.h30
-rw-r--r--Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/PIHeaders++.pch54
-rw-r--r--Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/PIHeaders.h109
-rw-r--r--Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/SimpleUnicode.h71
-rw-r--r--Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/StAcroResourceContext.h25
-rw-r--r--Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/UnicodeAPI.h171
-rw-r--r--Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/UnixPIHeaders.h30
-rw-r--r--Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/WinPIHeaders.h27
-rw-r--r--Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/wxInit.cpp52
-rw-r--r--Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/wxInit.h39
24 files changed, 2519 insertions, 0 deletions
diff --git a/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/ASDataStream.h b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/ASDataStream.h
new file mode 100644
index 0000000..1e004c8
--- /dev/null
+++ b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/ASDataStream.h
@@ -0,0 +1,112 @@
+#ifndef __ASDataStream__
+#define __ASDataStream__
+
+/*
+ * Name: ASDataStream.h
+ * $Revision: 6 $
+ * Author:
+ * Date:
+ * Purpose: Adobe AS 2.0 Data Filter Suite.
+ *
+ * Copyright (c) 1986-1998,2002 Adobe Systems Incorporated, All Rights Reserved.
+ *
+ */
+
+
+/*******************************************************************************
+ **
+ ** Imports
+ **
+ **/
+
+#ifndef __ASTypes__
+#include "ASTypes.h"
+#endif
+
+#ifndef __ASNameSpace__
+#include "ASNameSpace.h"
+#endif
+
+#ifndef __SPFiles__
+#include "SPFiles.h"
+#endif
+
+#ifndef __SPPlugins__
+#include "SPPlugs.h"
+#endif
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifndef UNIX_ENV
+#pragma PRAGMA_ALIGN_BEGIN
+#pragma PRAGMA_IMPORT_BEGIN
+#elif defined(HPUX) && defined(__HP_aCC)
+HPUX_Pragma (PRAGMA_ALIGN_BEGIN)
+#else
+_Pragma (PRAGMA_ALIGN_BEGIN)
+#endif
+
+
+/*******************************************************************************
+ **
+ ** Constants
+ **
+ **/
+
+#define kASDataStreamSuite "AS Data Filter Suite"
+#define kASDataStreamSuiteVersion 2
+
+
+#define kASDataStreamErr 'DFER'
+
+
+/*******************************************************************************
+ **
+ ** Types
+ **
+ **/
+
+#ifndef ASDataStreamRef
+typedef struct t_ASDataStream *ASDataStreamRef;
+#endif
+
+/*******************************************************************************
+ **
+ ** Suite
+ **
+ **/
+
+typedef struct {
+
+ ASAPI ASErr (*LinkDataStream) ( ASDataStreamRef prev, ASDataStreamRef next );
+ ASAPI ASErr (*UnlinkDataStream) ( ASDataStreamRef next, ASDataStreamRef *prev );
+ ASAPI ASErr (*ReadDataStream) ( ASDataStreamRef filter, char *store, long *count );
+ ASAPI ASErr (*WriteDataStream) ( ASDataStreamRef filter, char *store, long *count );
+ ASAPI ASErr (*SeekDataStream) ( ASDataStreamRef filter, long *count );
+ ASAPI ASErr (*MarkDataStream) ( ASDataStreamRef filter, long *count );
+ ASAPI ASErr (*NewFileDataStream) ( SPPlatformFileSpecification *spec, char *mode, long creator, long type, ASDataStreamRef *filter );
+ ASAPI ASErr (*NewBufferDataStream) ( long size, ASDataStreamRef *filter );
+ ASAPI ASErr (*NewHexdecDataStream) ( char *state, long shift, ASDataStreamRef *filter );
+ ASAPI ASErr (*NewBlockDataStream) ( void *address, long size, ASDataStreamRef *filter );
+ ASAPI ASErr (*NewResourceDataStream) ( SPPluginRef plugin, long type, long id, char *name, ASDataStreamRef *filter);
+
+} ASDataStreamSuite;
+
+
+#ifndef UNIX_ENV
+#pragma PRAGMA_IMPORT_END
+#pragma PRAGMA_ALIGN_END
+#elif defined(HPUX) && defined(__HP_aCC)
+HPUX_Pragma (PRAGMA_ALIGN_END)
+#else
+_Pragma (PRAGMA_ALIGN_END)
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+
+#endif
diff --git a/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/ASDebug.h b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/ASDebug.h
new file mode 100644
index 0000000..86aafb5
--- /dev/null
+++ b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/ASDebug.h
@@ -0,0 +1,105 @@
+/***********************************************************************/
+/* */
+/* ASDebug.h */
+/* */
+/* Copyright 1999 Adobe Systems Incorporated. */
+/* All Rights Reserved. */
+/* */
+/* Patents Pending */
+/* */
+/* NOTICE: All information contained herein is the property of Adobe */
+/* Systems Incorporated. Many of the intellectual and technical */
+/* concepts contained herein are proprietary to Adobe, are protected */
+/* as trade secrets, and are made available only to Adobe licensees */
+/* for their internal use. Any reproduction or dissemination of this */
+/* software is strictly forbidden unless prior written permission is */
+/* obtained from Adobe. */
+/* */
+/* Started by Eric Scouten, 06/14/1999 */
+/* */
+/***********************************************************************/
+
+
+#ifndef __ASDebug__
+#define __ASDebug__
+
+ // ASAPI
+#include "ASTypes.h"
+
+
+#pragma PRAGMA_ALIGN_BEGIN
+#pragma PRAGMA_IMPORT_BEGIN
+
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+
+// -----------------------------------------------------------------------------
+
+// ASDebugAction enum defines what to do when an exception or assertion happens.
+
+typedef enum {
+ kASDebugAction_Nothing = 0,
+ kASDebugAction_Alert = 1,
+ kASDebugAction_LowLevelDebugger = 2,
+ kASDebugAction_SourceDebugger = 3,
+ kASDebugAction_Log = 4,
+ kASDebugAction_DummyAction = 0xFFFFFFFF
+} ASDebugAction;
+
+
+// =============================================================================
+// * ASDebugSuite
+// =============================================================================
+
+#define kASDebugSuite "AS Debug Suite"
+#define kASDebugSuiteVersion1 1
+
+// -----------------------------------------------------------------------------
+
+typedef struct
+{
+
+ // debugging traps
+
+ void ASAPI (*RaiseSignal)(const char* inMessage, const char* inPlugin,
+ const char* inFile, ASUInt32 inLineNumber);
+
+ void ASAPI (*AboutToThrow)(const char* inMessage, const char* inPlugin,
+ const char* inFile, ASUInt32 inLineNumber);
+
+ // debugging log
+
+ void ASAPI (*LogMessage)(const char* inMessage);
+ void ASAPI (*IndentLog)();
+ void ASAPI (*UnindentLog)();
+
+ // debugging behavior control
+
+ ASDebugAction ASAPI (*GetSignalAction)();
+ void ASAPI (*SetSignalAction)(ASDebugAction inSignalAction);
+
+ ASDebugAction ASAPI (*GetThrowAction)();
+ void ASAPI (*SetThrowAction)(ASDebugAction inThrowAction);
+
+ // debugging message dialog
+
+ void ASAPI (*ShowDebugAlert)(const char* inHeading, const char* inMessage,
+ const char* inPlugin, const char* inFile, ASUInt32 inLineNumber);
+
+} ASDebugSuite1;
+
+
+// -----------------------------------------------------------------------------
+
+#pragma PRAGMA_IMPORT_END
+#pragma PRAGMA_ALIGN_END
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
diff --git a/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/ASFunctionLogger.h b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/ASFunctionLogger.h
new file mode 100644
index 0000000..3eccb71
--- /dev/null
+++ b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/ASFunctionLogger.h
@@ -0,0 +1,67 @@
+/***********************************************************************/
+/* */
+/* ASFunctionLogger.h */
+/* */
+/* Copyright 1999 Adobe Systems Incorporated. */
+/* All Rights Reserved. */
+/* */
+/* Patents Pending */
+/* */
+/* NOTICE: All information contained herein is the property of Adobe */
+/* Systems Incorporated. Many of the intellectual and technical */
+/* concepts contained herein are proprietary to Adobe, are protected */
+/* as trade secrets, and are made available only to Adobe licensees */
+/* for their internal use. Any reproduction or dissemination of this */
+/* software is strictly forbidden unless prior written permission is */
+/* obtained from Adobe. */
+/* */
+/* Started by Eric Scouten, 08/02/1999 */
+/* */
+/***********************************************************************/
+
+#ifndef __ASFunctionLogger__
+#define __ASFunctionLogger__
+
+ // ASAPI
+#include "ASTypes.h"
+
+
+#pragma PRAGMA_ALIGN_BEGIN
+#pragma PRAGMA_IMPORT_BEGIN
+
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+
+// =============================================================================
+// * ASFunctionLoggerSuite
+// =============================================================================
+
+#define kASFunctionLoggerSuite "AS Function Logger Suite"
+#define kASFunctionLoggerSuiteVersion1 1
+
+// -----------------------------------------------------------------------------
+
+typedef struct
+{
+
+ void ASAPI (*EnterFunction)(const char* inSuiteName, const char* inFunctionName);
+ void ASAPI (*ExitFunction)(const char* inSuiteName, const char* inFunctionName);
+ void ASAPI (*FunctionParameter)(const char* inParamName, const char* inParamValue);
+
+} ASFunctionLoggerSuite1;
+
+
+// -----------------------------------------------------------------------------
+
+#pragma PRAGMA_IMPORT_END
+#pragma PRAGMA_ALIGN_END
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
diff --git a/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/ASHelp.h b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/ASHelp.h
new file mode 100644
index 0000000..df90719
--- /dev/null
+++ b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/ASHelp.h
@@ -0,0 +1,212 @@
+#ifndef __ASHelp__
+#define __ASHelp__
+
+/*
+ * Name: ASHelp.h
+ * $Revision: 3 $
+ * Author: Rob Sargent
+ * Date: 2/15/97
+ * Purpose: AS Help suite
+ *
+ * Copyright (c) 1986-1997 Adobe Systems Incorporated, All Rights Reserved.
+ *
+ */
+
+
+/*
+ * Includes
+ */
+
+#include "ASTypes.h"
+#include "SPFiles.h"
+#include "SPPlugs.h"
+
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#pragma PRAGMA_ALIGN_BEGIN
+#pragma PRAGMA_IMPORT_BEGIN
+
+
+
+/*******************************************************************************
+ **
+ ** Constants
+ **
+ **/
+#define kASHelpSuite "AS Help Suite"
+#define kASHelpSuiteVersion1 1
+#define kASHelpSuiteVersion kASHelpSuiteVersion1
+#define kASHelpVersion kASHelpSuiteVersion1
+#define kASHelpSuiteVersion2 2
+
+#define kHelpInfoVersion 1L
+
+
+#define kHelpError '!Hlp'
+
+
+#define kHelpMenuType 'Menu'
+#define kHelpDialogType 'Dlog'
+#define kHelpToolType 'Tool'
+#define kHelpPaletteMenuType 'PMnu'
+#define kHelpEndType 0L
+
+
+#define kNoHelpID 0L
+
+#define kHelpFileStrIDProperty 'HlpS'
+#define kHelpNativeStrIndex 1
+
+
+/*******************************************************************************
+ **
+ ** Types
+ **
+ **/
+
+// WARNING: The size of these types
+// must match the resources
+typedef ASUInt32 ASHelpType;
+typedef ASInt32 ASHelpKey; // can be an integer or a pooled string pointer
+
+typedef ASInt32 ASHelpID;
+
+
+// WinHelp/QuickHelp Commands
+typedef enum
+{
+ /* #if(WINVER >= 0x0400) */
+ kASHelpCmd_CONTEXTMENU = 0x000a,
+ kASHelpCmd_FINDER = 0x000b,
+ kASHelpCmd_WM_HELP = 0x000c,
+ kASHelpCmd_SETPOPUP_POS = 0x000d,
+
+ kASHelpCmd_TCARD = 0x8000,
+ kASHelpCmd_TCARD_DATA = 0x0010,
+ kASHelpCmd_TCARD_OTHER_CALLER = 0x0011,
+ /* #endif // WINVER >= 0x0400 */
+
+ kASHelpCmd_CONTEXT = 0x0001L, /* Display topic in ulTopic */
+ kASHelpCmd_QUIT = 0x0002L, /* Terminate help */
+ kASHelpCmd_CONTENTS = 0x0003L, /* NOTE: HELP_INDEX = HELP_CONTENTS in Windows.h */
+ kASHelpCmd_HELPONHELP = 0x0004L, /* Display help on using help */
+ kASHelpCmd_SETCONTENTS = 0x0005L, /* NOTE: HELP_SETINDEX = HELP_SETCONTENTS */
+ kASHelpCmd_CONTEXTPOPUP = 0x0008L,
+ kASHelpCmd_FORCEFILE = 0x0009L,
+ kASHelpCmd_KEY = 0x0101L, /* Display topic for keyword in offabData */
+ kASHelpCmd_COMMAND = 0x0102L,
+ kASHelpCmd_PARTIALKEY = 0x0105L,
+ kASHelpCmd_MULTIKEY = 0x0201L,
+ kASHelpCmd_SETWINPOS = 0x0203L
+} ASHelpCommand;
+
+
+typedef struct ASHelpInitInfo
+{
+ ASInt32 version;
+ ASWindowRef appWindow;
+ SPPluginRef appPluginRef;
+ ASInt16 helpFolderNameStrID;
+ ASInt16 appHelpFileNameStrID;
+ ASInt16 helpFolderNameStrIndex;
+ ASInt16 appHelpFileNameStrIndex;
+} ASHelpInitInfo;
+
+
+typedef struct PIHelpFileDesc
+{
+ long fVersion;
+ long fFileNameStrID;
+} PIHelpFileDesc;
+
+
+ /*******************************************************************************
+ **
+ ** Suite
+ **
+ **/
+
+typedef struct t_ASHelpSuite1
+{
+ ASAPI ASErr (*Init) (ASHelpInitInfo *info);
+ ASAPI ASErr (*Quit) (void);
+
+ ASAPI ASErr (*SetContextHelpMode) (ASBoolean helpMode);
+ ASAPI ASBoolean (*InContextHelpMode) (void);
+
+ ASAPI ASErr (*Help) (ASWindowRef asWinRef, SPPlatformFileSpecification *spFile,
+ ASHelpCommand asHelpCommand, ASUInt32 dwData);
+ // spFile == NULL uses the App's help file
+
+ ASAPI ASErr (*HelpContents) (SPPluginRef pluginRef);
+ ASAPI ASErr (*SearchHelp) (SPPluginRef pluginRef);
+ ASAPI ASErr (*HowToUseHelp) (SPPluginRef pluginRef);
+ ASAPI ASErr (*ContextHelp) (SPPluginRef pluginRef, ASHelpID helpID);
+
+ ASAPI ASErr (*GetHelpID) (SPPluginRef pluginRef, ASHelpType helpType,
+ ASHelpKey key1, ASHelpKey key2, ASHelpID *helpID);
+
+ ASAPI ASErr (*TypedHelp) (SPPluginRef pluginRef, ASHelpType helpType, ASHelpKey key1, ASHelpKey key2);
+
+ ASAPI ASErr (*MenuHelp) (SPPluginRef pluginRef, ASHelpKey commandID);
+
+ ASAPI ASErr (*DialogHelp) (SPPluginRef pluginRef, ASHelpKey dialogID, ASHelpKey itemID);
+ // itemID == 0 means whole dialog
+
+ ASAPI ASErr (*PaletteMenuHelp) (SPPluginRef pluginRef, ASHelpKey dialogID, ASHelpKey menuItem );
+
+ ASAPI ASErr (*ToolHelp) (SPPluginRef pluginRef, ASHelpKey toolName );
+ // toolName should be a pooled string pointer cast to ASHelpKey
+
+} ASHelpSuite1;
+
+typedef ASHelpSuite1 ASHelpSuite; //For historical reasons.
+
+typedef struct t_ASHelpSuite2
+{
+ ASAPI ASErr (*Init) (ASHelpInitInfo *info);
+ ASAPI ASErr (*Quit) (void);
+
+ ASAPI ASErr (*SetContextHelpMode) (ASBoolean helpMode);
+ ASAPI ASBoolean (*InContextHelpMode) (void);
+
+ ASAPI ASErr (*Help) (ASWindowRef asWinRef, SPPlatformFileSpecification *spFile,
+ ASHelpCommand asHelpCommand, ASUInt32 dwData);
+ // spFile == NULL uses the App's help file
+
+ ASAPI ASErr (*HelpContents) (SPPluginRef pluginRef);
+ ASAPI ASErr (*SearchHelp) (SPPluginRef pluginRef);
+ ASAPI ASErr (*HowToUseHelp) (SPPluginRef pluginRef);
+ ASAPI ASErr (*ContextHelp) (SPPluginRef pluginRef, ASHelpID helpID);
+
+ ASAPI ASErr (*GetHelpID) (SPPluginRef pluginRef, ASHelpType helpType,
+ ASHelpKey key1, ASHelpKey key2, ASHelpID *helpID);
+
+ ASAPI ASErr (*TypedHelp) (SPPluginRef pluginRef, ASHelpType helpType, ASHelpKey key1, ASHelpKey key2);
+
+ ASAPI ASErr (*MenuHelp) (SPPluginRef pluginRef, ASHelpKey commandID);
+
+ ASAPI ASErr (*DialogHelp) (SPPluginRef pluginRef, ASHelpKey dialogID, ASHelpKey itemID);
+ // itemID == 0 means whole dialog
+
+ ASAPI ASErr (*PaletteMenuHelp) (SPPluginRef pluginRef, ASHelpKey dialogID, ASHelpKey menuItem );
+
+ ASAPI ASErr (*ToolHelp) (SPPluginRef pluginRef, ASHelpKey toolName );
+ // toolName should be a pooled string pointer cast to ASHelpKey
+
+ ASAPI ASErr (*ContextHelpQRC) (SPPluginRef pluginRef, ASHelpID helpID);
+
+} ASHelpSuite2;
+
+#pragma PRAGMA_IMPORT_END
+#pragma PRAGMA_ALIGN_END
+
+#ifdef __cplusplus
+}
+#endif
+
+
+#endif
diff --git a/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/ASLib.h b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/ASLib.h
new file mode 100644
index 0000000..906895f
--- /dev/null
+++ b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/ASLib.h
@@ -0,0 +1,78 @@
+
+#ifndef _ASLIB_H_
+#define _ASLIB_H_
+
+/*
+ * Name: ASTypes.h
+ * $Revision: 7 $
+ * Author:
+ * Date: 10/8/96
+ * Purpose: Adobe Standard Functions (from stdio, stlib, etc.).
+ *
+ * Copyright (c) 1986-1996 Adobe Systems Incorporated, All Rights Reserved.
+ *
+ */
+
+/*
+ * Includes
+ */
+
+#include <stdlib.h>
+
+#include "ASTypes.h"
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+#pragma PRAGMA_ALIGN_BEGIN
+#pragma PRAGMA_IMPORT_BEGIN
+
+/*
+ * Constants
+ */
+
+#define kASLibSuite "AS Lib Suite"
+#define kASLibSuiteVersion 1
+#define kASLibVersion kASLibSuiteVersion
+
+typedef struct
+{
+ // functions from stdio.h
+ ASCAPI int (*sprintf) (char *, const char *, ...);
+
+ // functions from stdlib.h
+
+ // functions from string.h
+
+ ASAPI char * (*strchr) (const char *, int);
+ ASAPI void * (*memcpy) (void *, const void *, size_t);
+ ASAPI int (*memcmp) (const void *, const void *, size_t);
+ ASAPI void * (*memset) (void *, int, size_t);
+ ASAPI void * (*memmove) (void *, const void *, size_t);
+ ASAPI char * (*strcpy) (char *, const char *);
+ ASAPI char * (*strcat) (char *, const char *);
+ ASAPI int (*strcmp) (const char *, const char *);
+ ASAPI size_t (*strlen) (const char *);
+ ASAPI char * (*strncat) (char *, const char *, size_t);
+ ASAPI int (*strncmp) (const char *, const char *, size_t);
+ ASAPI char * (*strncpy) (char *, const char *, size_t);
+ ASAPI char * (*strrchr) (const char *, int);
+ ASAPI char * (*strstr) (const char *, const char *);
+
+ // functions that "should" be in one of the above (:-)
+
+ ASAPI char * (*strsubst)(char *pszStr, int iMaxLen, const char *pszSearch, const char *pszReplace);
+
+} ASLibSuite;
+
+#pragma PRAGMA_IMPORT_END
+#pragma PRAGMA_ALIGN_END
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif // _ASLIB_H_
+
diff --git a/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/ASNameSpace.h b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/ASNameSpace.h
new file mode 100644
index 0000000..cb9bebf
--- /dev/null
+++ b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/ASNameSpace.h
@@ -0,0 +1,117 @@
+#ifndef __ASNameSpace__
+#define __ASNameSpace__
+
+/*
+ * Name: ASNameSpace.h
+ * $Revision: 4 $
+ * Author:
+ * Date:
+ * Purpose: AS Name Space Suite (from Adobe Illustrator).
+ *
+ * Copyright (c) 1986-1996 Adobe Systems Incorporated, All Rights Reserved.
+ *
+ */
+
+
+/*******************************************************************************
+ **
+ ** Imports
+ **
+ **/
+
+#ifndef __ASTypes__
+#include "ASTypes.h"
+#endif
+
+#ifndef __PlatformPragma__
+#include "PlatformPragma.h"
+#endif
+
+#ifndef __SPStrings__
+#include "SPStrngs.h"
+#endif
+
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifndef UNIX_ENV
+#pragma PRAGMA_ALIGN_BEGIN
+#pragma PRAGMA_IMPORT_BEGIN
+#elif defined(HPUX) && defined(__HP_aCC)
+HPUX_Pragma (PRAGMA_ALIGN_BEGIN)
+#else
+_Pragma (PRAGMA_ALIGN_BEGIN)
+#endif
+
+
+/*******************************************************************************
+ **
+ ** Constants
+ **
+ **/
+
+#define kASNameSpaceSuite "AS Name Space Suite"
+#define kASNameSpaceSuiteVersion 2
+#define kASNameSpaceVersion kASNameSpaceSuiteVersion
+
+#define kASNameSpaceErr 'NAME'
+
+
+/*******************************************************************************
+ **
+ ** Types
+ **
+ **/
+
+typedef struct _t_ASNameSpace *ASNameSpaceRef;
+typedef struct t_ASDataStream *ASDataStreamRef;
+
+#if __BUILD_PLUGIN__
+#define kNSMaxNameLength (100)
+#define kNSMaxPathLength ((kNSMaxNameLength + 1) * 5)
+#define kNSPathSeparator '/'
+#endif
+
+
+/*******************************************************************************
+ **
+ ** Suite
+ **
+ **/
+
+typedef struct {
+
+ ASErr (*AllocateNameSpace) ( SPStringPoolRef pool, ASNameSpaceRef *space );
+ ASErr (*DisposeNameSpace) ( ASNameSpaceRef space );
+
+ ASErr (*SetValue) ( ASNameSpaceRef space, char *path, char *type, ... );
+ ASErr (*GetValue) ( ASNameSpaceRef space, char *path, char *type, ... );
+
+ ASErr (*GetType) ( ASNameSpaceRef space, char *path, char **type );
+ ASErr (*GetChangeCount) ( ASNameSpaceRef space, char *path, long *count );
+ ASErr (*RemoveValue) ( ASNameSpaceRef space, char *path );
+ ASErr (*CountPaths) ( ASNameSpaceRef space, char *path, long *count );
+ ASErr (*GetNthPath) ( ASNameSpaceRef space, char *path, long n, char *nthPath );
+
+ ASErr (*ParseValue) ( ASNameSpaceRef space, char *path, ASDataStreamRef filter );
+ ASErr (*FlushValue) ( ASNameSpaceRef space, char *path, ASDataStreamRef filter );
+
+} ASNameSpaceSuite;
+
+
+#ifndef UNIX_ENV
+#pragma PRAGMA_IMPORT_END
+#pragma PRAGMA_ALIGN_END
+#elif defined(HPUX) && defined(__HP_aCC)
+HPUX_Pragma (PRAGMA_ALIGN_END)
+#else
+_Pragma (PRAGMA_ALIGN_END)
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
diff --git a/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/ASTypes.h b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/ASTypes.h
new file mode 100644
index 0000000..35f6119
--- /dev/null
+++ b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/ASTypes.h
@@ -0,0 +1,277 @@
+/* ASTypes.h file for Plug-ins ONLY
+*/
+
+#ifndef _ASTYPES_H_
+#define _ASTYPES_H_
+
+#include "Environ.h"
+
+#if PLUGIN
+
+#include "ASExpT.h"
+#include "CoreExpT.h"
+
+#endif
+
+
+
+#if PRAGMA_STRUCT_ALIGN
+ #pragma options align=mac68k
+#elif PRAGMA_STRUCT_PACKPUSH
+ #pragma pack(push, 2)
+#elif PRAGMA_STRUCT_PACK
+ #pragma pack(2)
+#endif
+
+/* WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
+**
+** The following definitions are ONLY to be used when accessing ADM -
+** DO NOT USE THEM FOR ANY OTHER PURPOSE!!!!!!
+**
+** ADM is only available in the Mac and Windows Viewer - it is not available in the Reader or in
+** any configuration on UNIX.
+**
+** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
+*/
+
+/* ---- Begin new types for ADM ---- */
+
+#ifdef MAC_ENV
+#define PRAGMA_ALIGN_BEGIN options align=mac68k
+#define PRAGMA_ALIGN_END options align=reset
+#define PRAGMA_IMPORT_BEGIN import on
+#define PRAGMA_IMPORT_END import off
+#endif
+
+#ifdef WIN_ENV
+#define PRAGMA_ALIGN_BEGIN pack(push, 4)
+#define PRAGMA_ALIGN_END pack(pop)
+#define PRAGMA_IMPORT_BEGIN
+#define PRAGMA_IMPORT_END
+#endif
+
+/*
+ * Constants
+ */
+
+/* true and false */
+
+#ifndef __cplusplus
+
+#ifndef true
+#define true 1
+#endif
+
+#ifndef false
+#define false 0
+#endif
+
+#endif /* __cplusplus */
+
+#ifndef TRUE
+#define TRUE true
+#endif
+
+#ifndef FALSE
+#define FALSE false
+#endif
+
+/* error codes */
+#define kNoErr 0
+#define kOutOfMemoryErr '!MEM'
+#define kBadParameterErr 'PARM'
+#define kNotImplementedErr '!IMP'
+#define kCantHappenErr 'CANT'
+
+#ifndef NULL
+
+#ifdef MAC_ENV
+#if !defined(__cplusplus) && (defined(__SC__) || defined(THINK_C))
+#define NULL ((void *) 0)
+#else
+#define NULL 0
+#endif
+#endif
+
+#ifdef WIN_ENV
+#ifdef __cplusplus
+#define NULL 0
+#else
+#define NULL ((void *)0)
+#endif
+#endif
+
+#ifdef UNIX_ENV
+#ifdef __cplusplus
+#define NULL 0
+#else
+#define NULL ((void *)0)
+#endif
+#endif
+
+#endif
+
+/* dhearst 8/11/99 - we now specifically prefer NULL, so nil
+** is obsolete. We no longer provide it, but can't enforce this
+** policy because platform headers often provide nil.
+**#ifndef nil
+**#define nil NULL
+**#endif
+*/
+
+
+/* AMPAPI Adobe Standard Plugin API calling convention. */
+
+#ifndef AMPAPI
+#ifdef MAC_ENV
+#define ASAPI
+#endif
+#ifdef WIN_ENV
+#define ASAPI
+#endif
+#ifdef UNIX_ENV
+#define ASAPI
+#endif
+#endif
+
+/* C calling convention for those places that need it.
+** This doesn't really do anything, but is more for
+** an explicity declaration when it matters.
+*/
+#define ASCAPI
+
+
+/*
+ * Types
+ */
+
+/* Integer Types */
+
+typedef unsigned char ASUInt8;
+typedef unsigned short ASUInt16;
+typedef unsigned long ASUInt32;
+
+typedef long ASErr;
+
+/* Storage Types */
+
+#if !UNIX_ENV
+typedef unsigned char ASByte;
+#endif
+typedef ASByte *ASBytePtr;
+
+/* Unicode Types */
+typedef ASUTF16Val ASUnicode;
+
+/* Pointer Types */
+
+typedef void *ASPtr, **ASHandle;
+
+/* Fixed and Real Types - These are already defined in ASExpT.h*/
+
+
+/* Platform Structures */
+
+#ifdef MAC_ENV
+
+
+/* ASBoolean is the same a Macintosh Boolean. */
+typedef unsigned char ASBoolean;
+
+/* ASPortRef is the same as a Macintosh GrafPtr. */
+typedef struct OpaqueGrafPtr *ASPortRef;
+
+/* ASWindowRef is the same as a Macintosh WindowPtr. */
+typedef struct OpaqueWindowPtr *ASWindowRef;
+
+/* ASRect is the same size and layout as a Macintosh Rect. */
+typedef struct _t_ASRect {
+ short top, left, bottom, right;
+} ASRect;
+
+/* ASPoint is the same size and layout as a Macintosh Point. */
+typedef struct _t_ASPoint {
+ short v, h;
+} ASPoint;
+
+#endif /* MAC_ENV */
+
+
+#ifdef WIN_ENV
+
+/* ASBoolean is the same a Windows BOOL. */
+typedef int ASBoolean;
+
+/* ASPortRef is the same as a Windows HDC. */
+typedef void * ASPortRef;
+
+/* ASWindowRef is the same as a Windows HWND. */
+typedef void * ASWindowRef;
+
+/* ASRect is the same size and layout as a Windows RECT. */
+typedef struct _t_ASRect {
+ long left, top, right, bottom;
+} ASRect;
+
+/* ASPoint is the same size and layout as a Windows POINT. */
+typedef struct _t_ASPoint {
+ long h, v;
+} ASPoint;
+
+#endif /* WIN_ENV */
+
+
+#ifdef UNIX_ENV
+
+/* ASBoolean is the same as gboolean. */
+typedef int ASBoolean;
+
+/* ASRect is not the same size and layout as a GdkRectangle, 'cos that is { left, top, width, height }. */
+typedef struct _t_ASRect {
+ int left, top, right, bottom;
+} ASRect;
+
+/* ASPoint is the same size and layout as a GdkPoint. */
+typedef struct _t_ASPoint {
+ int h, v;
+} ASPoint;
+
+#endif /* UNIX_ENV */
+
+/* ASRGBColor is the same as a Macintosh RGBColor on Macintosh and Windows. */
+typedef struct _t_ASRGBColor {
+ unsigned short red, green, blue;
+} ASRGBColor;
+
+
+/* AIEvent is the same as a Macintosh EventRecord on Macintosh and Windows. */
+typedef struct _t_ASEvent {
+ unsigned short what;
+ unsigned long message;
+ unsigned long when;
+ ASPoint where;
+ unsigned short modifiers;
+} ASEvent;
+
+/* This is a generic reference to a resource/plugin file. If not otherwise stated,
+** it is assumed to be equivalent to an SPPluginRef (see "SPPlugs.h")
+*/
+typedef struct ASAccess *ASAccessRef;
+
+/* ---- End new types for ADM ---- */
+
+/* The above ADM definitions are ONLY to be used when accessing ADM -
+** DO NOT USE THEM FOR ANY OTHER PURPOSE!!!!!!
+**
+** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
+*/
+
+#if PRAGMA_STRUCT_ALIGN
+ #pragma options align=reset
+#elif PRAGMA_STRUCT_PACKPUSH
+ #pragma pack(pop)
+#elif PRAGMA_STRUCT_PACK
+ #pragma pack()
+#endif
+
+#endif /* _ASTYPES_H_ */
diff --git a/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/ASZStringSuite.h b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/ASZStringSuite.h
new file mode 100644
index 0000000..a401f57
--- /dev/null
+++ b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/ASZStringSuite.h
@@ -0,0 +1,153 @@
+/*
+ * Name:
+ * ASZStringSuite.h
+ *
+ * Copyright 1986-1998,2003 Adobe Systems Incorporated.
+ * All Rights Reserved.
+ *
+ * Purpose:
+ * ZString handling suite.
+ *
+ * Distribution:
+ * PUBLIC
+ *
+ * Version history:
+ * 1.0.0 1/26/1996 DL First version.
+ * Created by Dave Lazarony.
+ */
+
+#ifndef _ASZSTRING_H_
+#define _ASZSTRING_H_
+
+#include "ASTypes.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/*
+ * Constants
+ */
+
+#define kASZStringSuite "AS ZString Suite"
+#define kASZStringDictionarySuite "AS ZString Dictionary Suite"
+
+
+#define kASUnknownErr 'UNK '
+#define kASBufferTooSmallErr 'BUFF'
+#define kASMemoryErr 'MEM '
+
+/*
+ * Types
+ */
+
+// aja 4.5.98 moved this into PIActions.h to accommodate SuspendHistory
+#ifndef ASZString_defined
+#define ASZString_defined
+struct ASZByteRun;
+typedef struct ASZByteRun *ASZString;
+#endif
+
+// FIX_ME (jreid 98.12.14) -- ASUnicode is now defined in ASTypes.h, so I'm
+// commenting this out for now. The definition is ASTypes.h is slightly different
+// (unsigned instead of signed).
+//typedef short ASUnicode;
+
+/*
+ * ZString Suite
+ */
+
+/******************************************************************************/
+
+#define kASZStringSuiteVersion1 1
+
+typedef struct ASZStringSuite
+{
+
+ ASErr ASAPI(*MakeFromUnicode)( ASUnicode *src, size_t byteCount, ASZString *newZString );
+ ASErr ASAPI(*MakeFromCString)( const char *src, size_t byteCount, ASZString *newZString );
+ ASErr ASAPI(*MakeFromPascalString)( const unsigned char *src, size_t byteCount,
+ ASZString *newZString );
+
+ ASErr ASAPI (*MakeRomanizationOfInteger)( ASInt32 value, ASZString *newZString );
+ ASErr ASAPI (*MakeRomanizationOfFixed)( ASInt32 value, ASInt16 places, ASBoolean trim,
+ ASBoolean isSigned, ASZString *newZString);
+ ASErr ASAPI (*MakeRomanizationOfDouble)( double value, ASZString *newZString );
+ ASZString ASAPI (*GetEmpty)();
+
+ ASErr ASAPI (*Copy)( ASZString source, ASZString *copy);
+ ASErr ASAPI (*Replace)( ASZString zstr, ASUInt32 index, ASZString replacement);
+ ASErr ASAPI (*TrimEllipsis)( ASZString zstr );
+ ASErr ASAPI (*TrimSpaces)( ASZString zstr );
+ ASErr ASAPI (*RemoveAccelerators)( ASZString zstr );
+
+ /* These functions support reference counting of ASZStrings. When the
+ * ASZString is created its reference count is one. When the reference
+ * count goes to zero, the ASZString referred to is deleted.
+ */
+ ASErr ASAPI (*AddRef)( ASZString zstr);
+ ASErr ASAPI (*Release)( ASZString zstr );
+
+
+
+ ASBoolean ASAPI (*IsAllWhiteSpace)( ASZString zstr );
+ ASBoolean ASAPI (*IsEmpty)( ASZString zstr );
+
+ ASBoolean ASAPI (*WillReplace)( ASZString zstr, ASUInt32 index );
+
+ ASUInt32 ASAPI (*LengthAsUnicodeCString)( ASZString zstr );
+ ASErr ASAPI (*AsUnicodeCString)( ASZString zstr, ASUnicode *str, ASUInt32 strSize,
+ ASBoolean checkStrSize );
+
+ ASUInt32 ASAPI (*LengthAsCString)( ASZString zstr );
+ ASErr ASAPI (*AsCString)( ASZString zstr, char *str, ASUInt32 strSize,
+ ASBoolean checkStrSize );
+
+ ASUInt32 ASAPI (*LengthAsPascalString)( ASZString zstr );
+ ASErr ASAPI (*AsPascalString)( ASZString zstr, char *str, ASUInt32 strBufferSize,
+ ASBoolean checkBufferSize );
+
+} ASZStringSuite1;
+
+
+
+/******************************************************************************/
+
+#define kASZStringDictionarySuiteVersion1 1
+
+typedef struct
+{
+ /* This functions set up the ZString tag-value pairs dictionary. The
+ * dictionary is scoped by the SPPluginRef to reduce naming conflicts
+ * between plug-ins.
+ */
+ ASErr ASAPI (*DictionaryAddTags)( SPPluginRef context, const char *tags );
+ ASErr ASAPI (*DictionaryAddTagsRsrc)( SPPluginRef context, ASUInt32 rsrcType, ASInt16 rsrcID );
+ ASErr ASAPI (*MakeFromTag)( SPPluginRef context, const char *tag, ASZString *newZString );
+
+} ASZStringDictionarySuite1;
+
+#define kASZStringDictionarySuiteVersion2 2
+
+typedef struct
+{
+ /* This functions set up the ZString tag-value pairs dictionary. The
+ * dictionary is scoped by the SPPluginRef to reduce naming conflicts
+ * between plug-ins.
+ */
+ ASErr ASAPI (*DictionaryAddTags)( SPPluginRef context, const char *tags );
+ ASErr ASAPI (*DictionaryAddTagsRsrc)( SPPluginRef context, ASUInt32 rsrcType, ASInt16 rsrcID );
+ ASErr ASAPI (*MakeFromTag)( SPPluginRef context, const char *tag, ASZString *newZString );
+
+ ASBoolean ASAPI (*DictionaryExists)( SPPluginRef context );
+ ASErr ASAPI (*DictionaryAddTagsLength)( SPPluginRef context, const char *tags,long length);
+
+} ASZStringDictionarySuite2;
+
+
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _ASZSTRING_H_ */
diff --git a/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/AVCmdDefs.h b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/AVCmdDefs.h
new file mode 100644
index 0000000..fe098dc
--- /dev/null
+++ b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/AVCmdDefs.h
@@ -0,0 +1,736 @@
+/*********************************************************************
+
+ ADOBE SYSTEMS INCORPORATED
+ Copyright (C) 2000-2003 Adobe Systems Incorporated
+ All rights reserved.
+
+ NOTICE: Adobe permits you to use, modify, and distribute this file
+ in accordance with the terms of the Adobe license agreement
+ accompanying it. If you have received this file from a source other
+ than Adobe, then your use, modification, or distribution of it
+ requires the prior written permission of Adobe.
+
+*********************************************************************/
+
+/**
+ AVCmdDefs.h
+
+ - Defines the AVCommand names, parameters, etc. to allow developers
+ to drive the built-in AVCommands.
+
+ - Built-in commands are organized into groups:
+ - Comments Command Group
+ - Document Command Group
+ - JavaScript Command Group
+ - Page Command Group
+ - PDF Consultant Command Group
+*/
+
+/**
+ For all commands
+
+ kAVCommandUIPolicy
+*/
+#define kAVCommandUIPolicy "UIPolicy"
+
+/*-----------------------------------
+ Comments Command Group
+-------------------------------------*/
+
+/**
+ Registered Names - Comments Group
+
+ kAVCommandGroupComments
+ kAVCommandDeleteAllComments
+ kAVCommandSummarizeComments
+*/
+#define kAVCommandGroupComments "Comments"
+#define kAVCommandDeleteAllComments "DeleteAll"
+#define kAVCommandSummarizeComments "Summarize"
+
+/**
+ Parameters for Summarize Comments
+
+ kCommentsCmdKeySortBy: ASInt32
+ kCommentsCmdKeyOutputPath: ASPathName
+ kCommentsCmdKeySaveWithOriginal: ASBool
+ If true, the command writes the file to the path specified by
+ the OutputPath parameter.
+*/
+#define kCommentsCmdKeySortBy "SortBy"
+#define kCommentsCmdKeyOutputPath "OutputPath"
+#define kCommentsCmdKeySaveWithOriginal "SaveInOriginalDir"
+
+/**
+ Enumeration for the "SortBy" parameter
+
+ kAVSortByPage
+ kAVSortByAuthor
+ kAVSortByModDate
+ kAVSortByType
+*/
+enum {
+ kAVSortByPage = 1,
+ kAVSortByAuthor = 3,
+ kAVSortByModDate,
+ kAVSortByType
+};
+
+enum {
+ kAVFontSizeSmall = 1,
+ kAVFontSizeMedium = 2,
+ kAVFontSizeLarge = 3
+};
+
+/*-------------------------------------------------------
+ Document Group
+-------------------------------------------------------*/
+
+/**
+ Shared Command Parameters
+
+ kDocCmdKeyLeaveAsIs: ASCab
+ All values that are to be left untouched. If cabinet is not
+ present, or a key is not present, it is assumed to be a valid
+ value in the cab.
+*/
+#define kDocCmdKeyLeaveAsIs "LeaveAsIs"
+
+/**
+ Registered Names - Document Group
+
+ kAVCommandGroupDocument
+ kAVCommandAccessibilityCheck
+ If keypages is selected page and AVDoc is NULL, the first page is processed.
+ kAVCommandDocumentSummary
+ kAVCommandEmbedAllThumbs
+ No dialog shown
+ kAVCommandExtractAsJpeg
+ kAVCommandExtractAsPng
+ kAVCommandExtractAsTiff
+ kAVCommandPrint
+ If UIPolicy is Interactive, the standard print dialog is displayed;
+ otherwise the default print settings are used.
+ kAVCommandRemovedEmbeddedThumbs
+ No dialog shown
+ kAVCommandSecurity
+ kAVCommandSetOpenOptions
+ kAVCommandAddHeadFoot
+ kAVCommandFlattenOCGs
+ kAVCommandMakeAccessible
+*/
+#define kAVCommandGroupDocument "Document"
+#define kAVCommandAccessibilityCheck "AccessibilityCheck"
+#define kAVCommandDocumentSummary "GeneralInfo"
+#define kAVCommandEmbedAllThumbs "CreateAllThumbs"
+#define kAVCommandExtractAsJpeg "ExtractAsJpeg"
+#define kAVCommandExtractAsPng "ExtractAsPng"
+#define kAVCommandExtractAsTiff "ExtractAsTiff"
+#define kAVCommandPrint "Print"
+#define kAVCommandRemovedEmbeddedThumbs "DeleteAllThumbs"
+#define kAVCommandSecurity "DocSecurity"
+#define kAVCommandSetOpenOptions "OpenInfo"
+#define kAVCommandAddHeadFoot "HeadFootCmd"
+#define kAVCommandFlattenOCGs "FlattenOCGs"
+#define kAVCommandMakeAccessible "MakeAccessible"
+
+/**
+ HeadFootCmd parameters
+
+ kHeadFootCmdHeadFootCab
+ kHeadFootCmdHeadFootCmdCab
+ kHeadFootCmdHeadCab
+ kHeadFootCmdFootCab
+ kHeadFootCmdDefCharSet
+ kHeadFootCmdDefFontName
+ kHeadFootCmdEven
+ kHeadFootCmdOdd
+ kHeadFootCmdStart
+ kHeadFootCmdEnd
+ kHeadFootCmdLeftMargin
+ kHeadFootCmdRightMargin
+ kHeadFootCmdTopMargin
+ kHeadFootCmdBottommargin
+ kHeadFootCmdMakeOptional
+ kHeadFootCmdLeftCab
+ kHeadFootCmdCenterCab
+ kHeadFootCmdRightCab
+*/
+#define kHeadFootCmdHeadFootCab "HeadFoot"
+#define kHeadFootCmdHeadFootCmdCab "HeadFootCmd"
+#define kHeadFootCmdHeadCab "HEADER"
+#define kHeadFootCmdFootCab "FOOTER"
+#define kHeadFootCmdDefCharSet "DefaultFontCharset"
+#define kHeadFootCmdDefFontName "DefaultFontName"
+#define kHeadFootCmdEven "Even"
+#define kHeadFootCmdOdd "Odd"
+#define kHeadFootCmdStart "START"
+#define kHeadFootCmdEnd "END"
+#define kHeadFootCmdLeftMargin "LeftMargin"
+#define kHeadFootCmdRightMargin "RightMargin"
+#define kHeadFootCmdTopMargin "TopMargin"
+#define kHeadFootCmdBottommargin "BottomMargin"
+#define kHeadFootCmdMakeOptional "MAKE_OPTIONAL"
+#define kHeadFootCmdLeftCab "HeadFoot:Left"
+#define kHeadFootCmdCenterCab "HeadFoot:Center"
+#define kHeadFootCmdRightCab "HeadFoot:Right"
+
+/**
+ Accessibility Check Parameters
+
+ kAccCheckCmdKeyCreateLog: ASBool - default is true
+ kAccCheckCmdKeyPathText: ASText
+ Log file destination. If FileSys is NULL, the log file is
+ written to the destination directory. If PathText is not
+ specified, the log is written to the same directory as the
+ source document. If FileSys is supplied, the file is
+ opened through that file system; otherwise the default is
+ used.
+ kAccCheckCmdKeyCreateComments: ASBool - default is flase
+ kAccCheckCmdKeyAlternateText: kASValueBool - default is true
+ kAccCheckCmdKeyLanguageSpecified: kASValueBool - default is true
+ kAccCheckCmdKeyCharEncodings: kASValueBool - default is true
+ kAccCheckCmdKeyFieldDescriptions: kASValueBool - default is true
+ kAccCheckCmdKeyCheckStructure: kASValueBool - default is true
+ kAccCheckCmdKeyPages: kASValueInteger
+ Default is all pages. If keypages is selected page and avdoc
+ is NULL, the first page is processed.
+ kAccCheckCmdKeyFromPage: kASValueInteger - default is 0
+ kAccCheckCmdKeyToPage: kASValueInteger - default is 0
+ kAccCheckCmdKeyInBatch: kASValueBool
+ kAccCheckCmdKeyHints
+*/
+#define kAccCheckCmdKeyCreateLog "OutputOurLog"
+#define kAccCheckCmdKeyPathText "ChosenPathText"
+#define kAccCheckCmdKeyCreateComments "AttachAnnots"
+#define kAccCheckCmdKeyAlternateText "AltText"
+#define kAccCheckCmdKeyLanguageSpecified "LangSpec"
+#define kAccCheckCmdKeyCharEncodings "CharEnc"
+#define kAccCheckCmdKeyFieldDescriptions "FieldNames"
+#define kAccCheckCmdKeyCheckStructure "CheckStruct"
+#define kAccCheckCmdKeyPages "Pages"
+#define kAccCheckCmdKeyFromPage "FromPage"
+#define kAccCheckCmdKeyToPage "ToPage"
+#define kAccCheckCmdKeyInBatch "IsBatch"
+#define kAccCheckCmdKeyHints "Hints"
+
+/**
+ Enumeration for the "Pages" parameter: kASValueInteger
+
+ kAccCheckAllPages
+ kAccCheckCurrentPage
+ kAccCheckSelectedPages
+*/
+enum {
+ kAccCheckAllPages,
+ kAccCheckCurrentPage,
+ kAccCheckSelectedPages
+};
+
+/**
+ Document Summary Parameters.
+
+ kDocInfoCmdKeyTitle: ASText
+ kDocInfoCmdKeySubject: ASText
+ kDocInfoCmdKeyAuthor: ASText
+ kDocInfoCmdKeyKeywords: ASText
+ kDocInfoCmdKeyBinding: ASText
+*/
+#define kDocInfoCmdKeyTitle "Title"
+#define kDocInfoCmdKeySubject "Subject"
+#define kDocInfoCmdKeyAuthor "Author"
+#define kDocInfoCmdKeyKeywords "Keywords"
+#define kDocInfoCmdKeyBinding "Binding"
+
+/**
+ Shared Image Extraction Parameters.
+
+ kExtractImgCmdKeyResolution: kASValueInteger
+ kExtractImgCmdKeyColorSpace: kASValueInteger
+ kExtractImgCmdKeyConvFormat: kASValueInteger
+ Set to the format that you are exporting to.
+ kExtractImgCmdKeyConfigured: kASValueBool
+ Must be set to true to mark the command parameters as being in a valid state.
+ kExtractImgCmdKeyOverwriteFiles: kASValueBool - default is true
+ Whether files are overwritten. Default is true. If set to false, and output
+ file is found to exist, alert is show if in batch; otherwise the user is
+ given the option to overwrite.
+ kExtractImgCmdKeyInBatch: kASValueBool - default is true
+ Used to control the format of the settings dialog. true gets the dest folder
+ info.
+ kExtractImgCmdKeyDestDirectory: kASValuePathName
+ Must be passed, or command returns an error. Default is the
+ kAVSCUser/kAVSFDocuments folder
+*/
+#define kExtractImgCmdKeyResolution "Resolution"
+#define kExtractImgCmdKeyColorSpace "ColorSpace"
+#define kExtractImgCmdKeyConvFormat "ConversionFormat"
+#define kExtractImgCmdKeyConfigured "Configured"
+#define kExtractImgCmdKeyOverwriteFiles "Overwrite"
+#define kExtractImgCmdKeyInBatch "Batch"
+#define kExtractImgCmdKeyDestDirectory "DestDirectory"
+
+/**
+ Image Extraction Parameters - Format Specific.
+
+ kExtractJpegCmdKeyCompression: kASValueInteger
+ kExtractJpegCmdKeyFormat: kASValueInteger
+ kExtractPngCmdKeyInterlace: kASValueInteger
+ kExtractPngCmdKeyFilter: kASValueInteger
+ kExtractTiffCmdKeyMonoCompression: kASValueInteger
+ kExtractTiffCmdKeyColorCompression: kASValueInteger
+*/
+#define kExtractJpegCmdKeyCompression "Compression"
+#define kExtractJpegCmdKeyFormat "Format"
+#define kExtractPngCmdKeyInterlace "Interlace"
+#define kExtractPngCmdKeyFilter "Filter"
+#define kExtractTiffCmdKeyMonoCompression "MonoCompression"
+#define kExtractTiffCmdKeyColorCompression "ColorCompression"
+
+/**
+ Enumeration for "ConversionFormat" parameter: kASValueInteger
+
+ kImgConversionFormatTiff
+ kImgConversionFormatJpeg
+ kImgConversionFormatPng
+
+ Default is appropriate value—JPEG, TIFF, PNG
+*/
+enum {
+ kImgConversionFormatTiff = 1,
+ kImgConversionFormatJpeg,
+ kImgConversionFormatPng,
+};
+
+/**
+ Enumeration for "Resolution" parameter: kASValueInteger
+
+ kImgResolutionAuto = -1 - default
+ kImgResolution72 = 72
+ kImgResolution96 = 96
+ kImgResolution150 = 150
+ kImgResolution300 = 300
+ kImgResolution600 = 600
+*/
+enum {
+ kImgResolutionAuto = -1,
+ kImgResolution72 = 72,
+ kImgResolution96 = 96,
+ kImgResolution150 = 150,
+ kImgResolution300 = 300,
+ kImgResolution600 = 600
+};
+
+/**
+ Enumeration for "ColorSpace" parameter: kASValueInteger
+
+ kColorSpaceAuto - default
+ kColorSpaceRGB
+ kColorSpaceGrayscale
+ kColorSpaceMonochrome
+*/
+enum {
+ kColorSpaceAuto = 1,
+ kColorSpaceRGB,
+ kColorSpaceGrayscale,
+ kColorSpaceMonochrome
+};
+
+/**
+ Enumeration for Tiff
+ "MonoCompression" and
+ "ColorCompression" parameters: kASValueInteger
+
+ kTiffCompressionNone
+ kTiffCompressionCCITT_G3
+ kTiffCompressionCCITT_G4 - default for mono
+ kTiffCompressionLzw - default for color
+ kTiffCompressionZip
+ kTiffCompressionJpegLow
+ kTiffCompressionJpegMediumLow
+ kTiffCompressionJpegMedium
+ kTiffCompressionJpegMediumHigh
+ kTiffCompressionJpegHigh
+*/
+enum {
+ kTiffCompressionNone = 1,
+ kTiffCompressionCCITT_G3,
+ kTiffCompressionCCITT_G4,
+ kTiffCompressionLzw,
+ kTiffCompressionZip,
+ kTiffCompressionJpegLow,
+ kTiffCompressionJpegMediumLow,
+ kTiffCompressionJpegMedium,
+ kTiffCompressionJpegMediumHigh,
+ kTiffCompressionJpegHigh
+};
+
+/**
+ Enumeration for Jpeg "Compression" parameter: kASValueInteger
+
+ kJpegCompressionLow
+ kJpegCompressionMediumLow
+ kJpegCompressionMedium - default
+ kJpegCompressionMediumHigh
+ kJpegCompressionHigh
+*/
+enum {
+ kJpegCompressionLow = 1,
+ kJpegCompressionMediumLow,
+ kJpegCompressionMedium,
+ kJpegCompressionMediumHigh,
+ kJpegCompressionHigh
+};
+
+/**
+ Enumeration for Jpeg "Format" parameter: ASValueInteger
+
+ kJpegFormatBaseline - default
+ kJpegFormatOptimized
+ kJpegFormatProgressive3
+ kJpegFormatProgressive4
+ kJpegFormatProgressive5
+*/
+enum {
+ kJpegFormatBaseline = 1,
+ kJpegFormatOptimized,
+ kJpegFormatProgressive3,
+ kJpegFormatProgressive4,
+ kJpegFormatProgressive5
+};
+
+/**
+ Enumeration for Png "Interlace" parameter: kASValueInteger
+
+ kPngInterlaceNone - default
+ kPngInterlaceAdam7
+*/
+enum {
+ kPngInterlaceNone = 1,
+ kPngInterlaceAdam7
+};
+
+/**
+ Enumeration for Png "Filter" parameter: kASValueInteger
+
+ kPngFilterNone
+ kPngFilterSub
+ kPngFilterUp
+ kPngFilterAverage
+ kPngFilterPaeth
+ kPngFilterAdaptive - default
+*/
+enum {
+ kPngFilterNone = 1,
+ kPngFilterSub,
+ kPngFilterUp,
+ kPngFilterAverage,
+ kPngFilterPaeth,
+ kPngFilterAdaptive
+};
+
+/**
+ Security Parameters
+
+ kDocSecurityCmdKeyHandler: kASValueAtom - default is ASAtomNull
+ kDocSecurityCmdKeySettings: kASValueCab
+*/
+#define kDocSecurityCmdKeyHandler "CryptHandler"
+#define kDocSecurityCmdKeySettings "SecuritySettings"
+
+/**
+ Set Open Options Parameters
+
+ kOpenOptionsCmdKeyPageNum: kASValueText
+ kOpenOptionsCmdKeyMagnification: kASValueText
+ For example, "100%" : Open action
+ kOpenOptionsCmdKeyPageLayout: kASValueInteger
+ For example, PDLayoutSinglePage
+ kOpenOptionsCmdKeyPageMode: kASValueInteger
+ For example, PDUseThumbs
+ kOpenOptionsCmdKeyFullScreen: kASValueBool
+ kOpenOptionsCmdKeyHideToolbar: kASValueBool
+ kOpenOptionsCmdKeyHideMenubar: kASValueBool
+ kOpenOptionsCmdKeyHideWindowUI: kASValueBool
+ kOpenOptionsCmdKeyFitWindow: kASValueBool
+ kOpenOptionsCmdKeyCenterWindow: kASValueBool
+ kOpenOptionsCmdKeyDisplayDocTitle: kASValueBool
+*/
+#define kOpenOptionsCmdKeyPageNum "PageNum"
+#define kOpenOptionsCmdKeyMagnification "Magnification"
+#define kOpenOptionsCmdKeyPageLayout "PageLayout"
+#define kOpenOptionsCmdKeyPageMode "PageMode"
+#define kOpenOptionsCmdKeyFullScreen "FullScreen"
+#define kOpenOptionsCmdKeyHideToolbar "HideToolbar"
+#define kOpenOptionsCmdKeyHideMenubar "HideMenubar"
+#define kOpenOptionsCmdKeyHideWindowUI "HideWindowUI"
+#define kOpenOptionsCmdKeyFitWindow "FitWindow"
+#define kOpenOptionsCmdKeyCenterWindow "CenterWindow"
+#define kOpenOptionsCmdKeyDisplayDocTitle "DisplayDocTitle"
+
+/*-------------------------------------------------------
+ JavaScript Command Group
+-------------------------------------------------------*/
+
+/**
+ Registered Names - JavaScript
+
+ kAVCommandGroupJavaScript
+ kAVCommandExecuteJavaScript
+*/
+#define kAVCommandGroupJavaScript "JavaScript"
+#define kAVCommandExecuteJavaScript "JavaScript"
+
+/**
+ Execute JavaScript Parameters
+
+ kExecJavaScriptCode: kASValueText
+ kExecJavaScriptName: kASValueText (Not currently used)
+*/
+#define kExecJavaScriptCode "ScriptCode"
+#define kExecJavaScriptName "ScriptName"
+
+/*-------------------------------------------------------
+ Page Command Group
+-------------------------------------------------------*/
+
+/**
+ Registered Names - Page
+
+ kAVCommandGroupPage
+ kAVCommandCropPages
+ kAVCommandDeletePages
+ kPageCmdKeyEvenOdd not supported.
+ kPageCmdKeyGroup default is kAVPagesFromTo.
+ kAVPagesSelected must be combined with an AVDoc.
+ kAVCommandInsertPages
+ kAVCommandNumberPages
+ kAVCommandRotatePages
+*/
+#define kAVCommandGroupPage "Page"
+#define kAVCommandCropPages "CropPages"
+#define kAVCommandDeletePages "DeletePages"
+#define kAVCommandInsertPages "InsertPages"
+#define kAVCommandNumberPages "NumberPages"
+#define kAVCommandRotatePages "RotatePages"
+
+/**
+ Common Page Parameters.
+
+ kPageCmdKeyGroup: kASValueInteger
+ kPageCmdKeyEvenOdd: kASValueInteger
+ kPageCmdKeyFrom: kASValueText
+ kPageCmdKeyTo: kASValueText
+*/
+#define kPageCmdKeyGroup "Group"
+#define kPageCmdKeyEvenOdd "EvenOdd"
+#define kPageCmdKeyFrom "From"
+#define kPageCmdKeyTo "To"
+
+/**
+ Enumeration for "Group" parameter: kASValueInteger
+
+ kAVPagesAll
+ kAVPagesSelected
+ kAVPagesFromTo
+*/
+enum {
+ kAVPagesAll,
+ kAVPagesSelected,
+ kAVPagesFromTo
+};
+
+/**
+ Enumeration for "EvenOdd" parameter: kASValueInteger
+
+ kAVPagesEvenOdd
+ kAVPagesEven
+ kAVPagesOdd
+*/
+enum {
+ kAVPagesEvenOdd,
+ kAVPagesEven,
+ kAVPagesOdd
+};
+
+/**
+ Crop Pages Parameters.
+
+ - kPageCmdKeyGroup default is kAVPagesAll.
+ - kPageCmdKeyEvenOdd default is kAVPagesEvenOdd.
+ - If cropping to bounding box, the dimension params are ignored.
+
+ kCropPagesCmdKeyCropType: kASValueInteger
+ kCropPagesCmdKeyLeft: kASValueDouble - Default is 0.0
+ kCropPagesCmdKeyRight: kASValueDouble - Default is 0.0
+ kCropPagesCmdKeyTop: kASValueDouble - Default is 0.0
+ kCropPagesCmdKeyBottom: kASValueDouble - Default is 0.0
+*/
+#define kCropPagesCmdKeyCropType "CropType"
+#define kCropPagesCmdKeyLeft = "Left";
+#define kCropPagesCmdKeyRight = "Right";
+#define kCropPagesCmdKeyTop = "Top";
+#define kCropPagesCmdKeyBottom = "Bottom";
+
+/**
+ Enumeration for "CropType" parameter: kASValueInteger
+
+ kAVCropCustom - default
+ kAVCropToBoundingBox
+*/
+enum {
+ kAVCropCustom,
+ kAVCropToBoundingBox,
+};
+
+/**
+ Insert Pages Parameters.
+
+ kInsertPagesCmdKeyInsertBefore: kASValueBool
+ Default is false, meaning insert after.
+ kInsertPagesCmdKeyPosition: kASValueInteger
+ kInsertPagesCmdKeyPageString: kASValueText
+ kInsertPagesCmdKeySrcFileName: kASValueText
+ kInsertPagesCmdKeySourcePathNames: kASValueCab
+*/
+#define kInsertPagesCmdKeyInsertBefore "InsertBefore"
+#define kInsertPagesCmdKeyPosition "Position"
+#define kInsertPagesCmdKeyPageString "PageString"
+#define kInsertPagesCmdKeySrcFileName "SrcFileName"
+#define kInsertPagesCmdKeySourcePathNames "SourcePathNames"
+
+/**
+ Enumeration for "InsertBefore" parameter: kASValueInteger
+
+ kAVPosRelativeToFirst
+ kAVPosRelativeToLast
+ kAVPosRelativeToPage - default
+*/
+enum {
+ kAVPosRelativeToFirst = 1,
+ kAVPosRelativeToLast,
+ kAVPosRelativeToPage
+};
+
+/**
+ Number Pages Parameters.
+
+ - kPageCmdKeyGroup: Default is kAVPagesAll.
+ - kPageCmdKeyEvenOdd: Default is kAVPagesEvenOdd.
+
+ kNumberPagesCmdKeyStyle: kASValueInteger
+ kNumberPagesCmdKeyStart: kASValueInteger - default is 1
+ kNumberPagesCmdKeyMergePrevious: kASValueBool - default is false
+ kNumberPagesCmdKeyPrefix: kASValueString - default is ""
+*/
+#define kNumberPagesCmdKeyStyle "Style"
+#define kNumberPagesCmdKeyStart "Start"
+#define kNumberPagesCmdKeyMergePrevious "MergePrevious"
+#define kNumberPagesCmdKeyPrefix "Prefix"
+
+/**
+ Enumeration for "Style" parameter.
+
+ kPageLabelStyleNone - default
+ kPageLabelStyleDecimal
+ kPageLabelStyleRomanLower
+ kPageLabelStyleRomanUpper
+ kPageLabelStyleAlphaLower
+ kPageLabelStyleAlphaUpper
+*/
+enum {
+ kPageLabelStyleNone = 1,
+ kPageLabelStyleDecimal,
+ kPageLabelStyleRomanLower,
+ kPageLabelStyleRomanUpper,
+ kPageLabelStyleAlphaLower,
+ kPageLabelStyleAlphaUpper
+};
+
+/**
+ Rotate Pages Parameters.
+
+ - kPageCmdKeyGroup default is kAVPagesAll.
+ - kPageCmdKeyEvenOdd default is kAVPagesEvenOdd.
+
+ kRotatePagesCmdKeyDegrees: kASValueInteger - default is pdRotate90
+ kRotatePagesCmdKeyAction: kASValueInteger
+*/
+#define kRotatePagesCmdKeyDegrees "Degrees"
+#define kRotatePagesCmdKeyAction "Action"
+
+/**
+ Enumeration for "Action" parameter: kASValueInteger
+
+ kAVRotateLandscapePages
+ kAVRotatePortraitPages
+ kAVRotateEveryPage - default
+*/
+enum {
+ kAVRotateLandscapePages,
+ kAVRotatePortraitPages,
+ kAVRotateEveryPage
+};
+
+/*-------------------------------------------------------
+ PDF Consultant Command Group
+-------------------------------------------------------*/
+
+/**
+ Registered Names - Comments Group.
+
+ kAVCommandGroupConsultant "PDF Consultant"
+ kAVCommandAuditSpace
+ Entirely interactive
+ kAVCommandDetectAndRemove "VirusCheck"
+ kAVCommandOptimizeSpace "SpaceReductionAgent"
+*/
+#define kAVCommandGroupConsultant "PDF Consultant"
+#define kAVCommandAuditSpace "SpaceAuditAgent"
+#define kAVCommandDetectAndRemove "VirusCheck"
+#define kAVCommandOptimizeSpace "SpaceReductionAgent"
+
+/**
+ OptimizeSpace Parameters.
+
+ kOptSpaceCmdKeyRemoveBmarks: kASValueBool - default is true
+ kOptSpaceCmdKeyRemoveLinks: kASValueBool - default is true
+ kOptSpaceCmdKeyRemoveDests: kASValueBool - default is true
+ kOptSpaceCmdKeyDestConversionType: kASValueInteger
+*/
+#define kOptSpaceCmdKeyRemoveBmarks "KillBrokenBookmarks"
+#define kOptSpaceCmdKeyRemoveLinks "KillBrokenLinkAnnots"
+#define kOptSpaceCmdKeyRemoveDests "KillUnusedNamedDests"
+#define kOptSpaceCmdKeyDestConversionType "ConversionType"
+
+/**
+ Enumeration for "ConversionType" parameter: kASValueInteger
+
+ kOptSpaceRemoveUnused - default
+ kOptSpaceConvertIfSpaceSaved
+ kOptSpaceConvertAll
+*/
+enum {
+ kOptSpaceRemoveUnused,
+ kOptSpaceConvertIfSpaceSaved,
+ kOptSpaceConvertAll
+};
+
+/**
+ DetectAndRemove Parameters
+
+ kVirusCheckCmdKeyOptions: kASValueCab - default is stuff
+ kVirusCheckCmdKeyNumOptions: kASValueInteger - default is 5
+ kVirusCheckCmdKeyRemove: kASValueBool - default is false
+*/
+#define kVirusCheckCmdKeyOptions "SelectedOptions"
+#define kVirusCheckCmdKeyNumOptions "NumOptions"
+#define kVirusCheckCmdKeyRemove "ShouldRepair"
+#define kVirusCheckCmdKeyJavaScript "idcJavaScript"
+#define kVirusCheckCmdKeyAltImage "idcAltImage"
+#define kVirusCheckCmdKeyFileEmbed "idcFileEmbed"
+#define kVirusCheckCmdKeyAllAnnots "idcAllAnnots"
+#define kVirusCheckCmdKeyExternalRefs "idcExternalRefs"
+#define kVirusCheckCmdKeyMultiMedia "idcMultiMedia"
+#define kVirusCheckCmdKeyFormActions "idcForm"
+
diff --git a/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/DebugWindowHFT.h b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/DebugWindowHFT.h
new file mode 100644
index 0000000..7e24849
--- /dev/null
+++ b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/DebugWindowHFT.h
@@ -0,0 +1,46 @@
+/*********************************************************************
+
+ ADOBE SYSTEMS INCORPORATED
+ Copyright (C) 1994-2003 Adobe Systems Incorporated
+ All rights reserved.
+
+ NOTICE: Adobe permits you to use, modify, and distribute this file
+ in accordance with the terms of the Adobe license agreement
+ accompanying it. If you have received this file from a source other
+ than Adobe, then your use, modification, or distribution of it
+ requires the prior written permission of Adobe.
+
+ ---------------------------------------------------------------------
+
+ DebugWindow.h
+
+ - Catalog of functions exported by the SnippetRunner plug-in.
+
+*********************************************************************/
+
+#ifndef _H_DEBUGWINDOWHFT
+#define _H_DEBUGWINDOWHFT
+
+enum
+{
+ DebugWindowBAD_SELECTOR,
+ DebugEmitStringSEL,
+ DebugWindowNUMSELECTORSPlusOne
+};
+
+extern HFT gDebugWindowHFT;
+
+#define DebugWindowNUMSELECTORS (DebugWindowNUMSELECTORSPlusOne - 1)
+
+#define DebugWindowHFT_NAME "ADBE:DebugWindow"
+#define DebugWindowHFT_LATEST_VERSION (0x00000002)
+#define InitDebugWindowHFT ASExtensionMgrGetHFT (ASAtomFromString(DebugWindowHFT_NAME), DebugWindowHFT_LATEST_VERSION)
+
+/* DebugEmitString
+** Emits a string to the CommonInterface window.
+** Strings with %% at start are treated as unicode (UCS-16)
+*/
+typedef ACCBPROTO1 void (ACCBPROTO2 *DebugEmitStringSELPROTO)(const char *msg);
+#define DebugEmitString (*((DebugEmitStringSELPROTO)(gDebugWindowHFT[DebugEmitStringSEL])))
+
+#endif
diff --git a/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/IASPoint.hpp b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/IASPoint.hpp
new file mode 100644
index 0000000..31620fc
--- /dev/null
+++ b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/IASPoint.hpp
@@ -0,0 +1,2 @@
+// This has been renamed
+#include "IADMPoint.hpp"
diff --git a/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/IASRect.hpp b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/IASRect.hpp
new file mode 100644
index 0000000..09cac03
--- /dev/null
+++ b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/IASRect.hpp
@@ -0,0 +1,2 @@
+// This has been renamed
+#include "IADMRect.hpp"
diff --git a/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/IASTypes.hpp b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/IASTypes.hpp
new file mode 100644
index 0000000..2b414cb
--- /dev/null
+++ b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/IASTypes.hpp
@@ -0,0 +1,2 @@
+// This has been renamed
+#include "IADMTypes.hpp"
diff --git a/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/IASfixed.hpp b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/IASfixed.hpp
new file mode 100644
index 0000000..23ba29f
--- /dev/null
+++ b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/IASfixed.hpp
@@ -0,0 +1,2 @@
+// This has been renamed
+#include "IADMFixed.hpp"
diff --git a/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/MacPIHeaders.h b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/MacPIHeaders.h
new file mode 100644
index 0000000..c44949c
--- /dev/null
+++ b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/MacPIHeaders.h
@@ -0,0 +1,30 @@
+/*********************************************************************
+
+ ADOBE SYSTEMS INCORPORATED
+ Copyright (C) 1994-2003 Adobe Systems Incorporated
+ All rights reserved.
+
+ NOTICE: Adobe permits you to use, modify, and distribute this file
+ in accordance with the terms of the Adobe license agreement
+ accompanying it. If you have received this file from a source other
+ than Adobe, then your use, modification, or distribution of it
+ requires the prior written permission of Adobe.
+
+ ---------------------------------------------------------------------
+
+ MacPIHeaders.h
+
+ - Macintosh specific includes and defines here.
+
+*********************************************************************/
+
+#include "PIPrefix.h"
+
+#include <stdlib.h>
+#include <string.h>
+
+#define MAC_ENV 1
+#define _NEWLINE "\r"
+
+
+
diff --git a/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/PIHeaders++.pch b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/PIHeaders++.pch
new file mode 100644
index 0000000..dd06461
--- /dev/null
+++ b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/PIHeaders++.pch
@@ -0,0 +1,54 @@
+/*********************************************************************
+
+ ADOBE SYSTEMS INCORPORATED
+ Copyright (C) 1996-2008 Adobe Systems Incorporated
+ All rights reserved.
+
+ NOTICE: Adobe permits you to use, modify, and distribute this file
+ in accordance with the terms of the Adobe license agreement
+ accompanying it. If you have received this file from a source other
+ than Adobe, then your use, modification, or distribution of it
+ requires the prior written permission of Adobe.
+
+ ---------------------------------------------------------------------
+
+ PIHeaders.pch
+
+ - .pch header file for Acrobat Plug-ins SDK.
+
+
+//*****************************************************************/
+
+#if !defined(REZ)
+
+#include <Carbon/Carbon.h>
+#include <ApplicationServices/ApplicationServices.h>
+#include <CoreFoundation/CoreFoundation.h>
+#include <CoreServices/CoreServices.h>
+
+#define TARGET_API_MAC_OS8 0 /* use MacOS 8 resource calls */
+#define TARGET_API_MAC_CARBON 1 /* use Carbon MacOS */
+#define Platform_Carbon 1 /* use Carbon MacOS */
+#define _MSL_USING_MW_C_HEADERS 1
+
+#define SAFE_MIUTILS 1 /* use safe string manipulation functions */
+#define ACRO_SDK_LEVEL 0x00090000 /* SDK version 9 */
+
+#ifndef READER_PLUGIN
+ #define PI_ACROCOLOR_VERSION AcroColorHFT_VERSION_6
+#endif
+
+#include "PIHeaders.c"
+
+#endif
+
+
+#pragma precompile_target "AcrobatPIHeadersPCH++"
+
+#define PLATFORM "MacPlatform.h"
+#define PRODUCT "Plugin.h"
+#include "Environ.h"
+#include "PIHeaders.h"
+
+#undef PRAGMA_IMPORT
+#define PRAGMA_IMPORT 1
diff --git a/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/PIHeaders.h b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/PIHeaders.h
new file mode 100644
index 0000000..6bcfddf
--- /dev/null
+++ b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/PIHeaders.h
@@ -0,0 +1,109 @@
+/*********************************************************************
+
+ ADOBE SYSTEMS INCORPORATED
+ Copyright (C) 2000-2003 Adobe Systems Incorporated
+ All rights reserved.
+
+ NOTICE: Adobe permits you to use, modify, and distribute this file
+ in accordance with the terms of the Adobe license agreement
+ accompanying it. If you have received this file from a source other
+ than Adobe, then your use, modification, or distribution of it
+ requires the prior written permission of Adobe.
+
+ ---------------------------------------------------------------------
+
+ PIHeaders.h
+
+ - A general include file for Acrobat Headers. This file is included
+ in the Macintosh precompiled header file "PIHeaders.pch".
+
+*********************************************************************/
+#ifndef _H_PIHEADERS
+#define _H_PIHEADERS
+
+#define NEW_PDFEDIT_HFTS 1
+#define NEW_PDSEDIT_HFTS 1
+#define PDMETADATA_HFT 1
+
+#ifdef WIN_PLATFORM
+#include "WinPIHeaders.h"
+#endif
+#ifdef MAC_PLATFORM
+#include "MacPIHeaders.h"
+#include "SafeResources.h"
+#endif
+#ifdef UNIX_PLATFORM
+#include "UnixPIHeaders.h"
+#endif
+
+/* Pointer-integer conversion */
+/* if the size of a pointer is not 32 bits,
+ * then ASIntPtrSize is defined (in Environ.h) */
+#ifdef ASIntPtrSize
+#define ASPtrToInt32(_p) ((ASInt32)(ASIntPtrSize)(_p))
+#define ASInt32ToPtr(_i) ((void*)(ASIntPtrSize)(_i))
+#else
+#define ASIntPtrSize ASInt32
+#define ASPtrToInt32(_p) ((ASInt32)(_p))
+#define ASInt32ToPtr(_i) ((void*)(_i))
+#endif
+
+#define ASPtrToInt(_p) ((ASIntPtrSize)(_p))
+#define ASPtrToBool(_p) ((ASBool)ASPtrToInt(_p))
+/* *********************** */
+
+#include "PIExcept.h"
+#include "Environ.h"
+#if PLUGIN
+#include "ASExpT.h"
+#include "CoreExpT.h"
+#endif
+#include "AcroColorCalls.h"
+#include "ASCalls.h"
+#include "ASExtraCalls.h"
+#include "AVCalls.h"
+#include "CorCalls.h"
+#include "CosCalls.h"
+#include "DigSigHFT.h"
+#include "FormsHFT.h"
+#include "PagePDECntCalls.h"
+#include "PDCalls.h"
+#include "PDMetadataCalls.h"
+#include "PDSReadCalls.h"
+#include "PDSWriteCalls.h"
+#include "PERCalls.h"
+#include "PEWCalls.h"
+#include "PSFCalls.h"
+#include "SpellerHFT.h"
+#include "SrchHFT.h"
+#ifndef UNIX_PLATFORM
+#include "TtsHFT.h"
+#endif
+#include "WLHFT.h"
+#ifndef UNIX_PLATFORM
+#include "CatHFT.h"
+#endif
+#include "ConsHFT.h"
+
+
+// Acrobat 6.0 Headers
+#include "AcroColorCalls.h"
+#include "ASKey.h"
+#include "CAVAlert.h"
+#include "PSFCalls.h"
+#include "PubSecHFT.h"
+
+#ifdef WIN_PLATFORM
+#include "WinCalls.h"
+#endif
+#ifdef MAC_PLATFORM
+#include "MacCalls.h"
+#endif
+
+
+
+#ifdef UNIX_PLATFORM
+#include "UnixCalls.h"
+#endif
+
+#endif
diff --git a/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/SimpleUnicode.h b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/SimpleUnicode.h
new file mode 100644
index 0000000..3fd6ad7
--- /dev/null
+++ b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/SimpleUnicode.h
@@ -0,0 +1,71 @@
+/***********************************************************************/
+/* */
+/* Copyright 1990-1998 Adobe Systems Incorporated. */
+/* All Rights Reserved. */
+/* */
+/* Patents Pending */
+/* */
+/* NOTICE: All information contained herein is the property of Adobe */
+/* Systems Incorporated. Many of the intellectual and technical */
+/* concepts contained herein are proprietary to Adobe, are protected */
+/* as trade secrets, and are made available only to Adobe licensees */
+/* for their internal use. Any reproduction or dissemination of this */
+/* software is strictly forbidden unless prior written permission is */
+/* obtained from Adobe. */
+/* */
+/* PostScript and Display PostScript are trademarks of Adobe Systems */
+/* Incorporated or its subsidiaries and may be registered in certain */
+/* jurisdictions. */
+/* */
+/***********************************************************************/
+
+/*
+ * Name: SimpleUnicode.h
+ * Purpose: SweetPea interfaces for SimpleUnicode suites.
+ * Author: Jon Reid
+ * Created: December 7, 1998
+ */
+
+#ifndef __SimpleUnicode__
+#define __SimpleUnicode__
+
+
+#ifndef __UnicodeAPI__
+#include "UnicodeAPI.h"
+#endif
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+/*
+ Ordinarily when writing a Unicode conversion suite, you should define
+ the encoding(s) it recognizes, but the SimpleUnicode functions ignore
+ the encoding argument. The Mac version assumes you want the script
+ corresponding to the application font; the Win version assumes you
+ want ANSI 1252 (Windows Latin-1).
+*/
+
+
+/*
+ * SimpleUnicode Suite
+ */
+
+#define kSimpleUnicodeSuite "SimpleUnicode Suite"
+#define kSimpleUnicodeSuiteVersion 1
+
+typedef struct SimpleUnicodeSuite
+{
+ ToUnicodeSizeProc ToUnicodeSize;
+ ConvertToUnicodeProc ConvertToUnicode;
+ FromUnicodeSizeProc FromUnicodeSize;
+ ConvertFromUnicodeProc ConvertFromUnicode;
+} SimpleUnicodeSuite;
+
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __SimpleUnicode__ */
diff --git a/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/StAcroResourceContext.h b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/StAcroResourceContext.h
new file mode 100644
index 0000000..92a0afb
--- /dev/null
+++ b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/StAcroResourceContext.h
@@ -0,0 +1,25 @@
+/*********************************************************************
+
+ ADOBE SYSTEMS INCORPORATED
+ Copyright (C) 2000-2003 Adobe Systems Incorporated
+ All rights reserved.
+
+ NOTICE: Adobe permits you to use, modify, and distribute this file
+ in accordance with the terms of the Adobe license agreement
+ accompanying it. If you have received this file from a source other
+ than Adobe, then your use, modification, or distribution of it
+ requires the prior written permission of Adobe.
+
+ ---------------------------------------------------------------------
+
+ StAcroResourceContext.h
+
+*********************************************************************/
+#ifndef _H_StAcroResourceContext
+#define _H_StAcroResourceContext
+
+/* This file is deprecated */
+
+#include "SafeResources.h"
+
+#endif /* _H_StAcroResourceContext */ \ No newline at end of file
diff --git a/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/UnicodeAPI.h b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/UnicodeAPI.h
new file mode 100644
index 0000000..ad5c683
--- /dev/null
+++ b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/UnicodeAPI.h
@@ -0,0 +1,171 @@
+/***********************************************************************/
+/* */
+/* Copyright 1990-1998 Adobe Systems Incorporated. */
+/* All Rights Reserved. */
+/* */
+/* Patents Pending */
+/* */
+/* NOTICE: All information contained herein is the property of Adobe */
+/* Systems Incorporated. Many of the intellectual and technical */
+/* concepts contained herein are proprietary to Adobe, are protected */
+/* as trade secrets, and are made available only to Adobe licensees */
+/* for their internal use. Any reproduction or dissemination of this */
+/* software is strictly forbidden unless prior written permission is */
+/* obtained from Adobe. */
+/* */
+/* PostScript and Display PostScript are trademarks of Adobe Systems */
+/* Incorporated or its subsidiaries and may be registered in certain */
+/* jurisdictions. */
+/* */
+/***********************************************************************/
+
+/*
+ * Name: UnicodeAPI.h
+ * Purpose: Unicode conversion engine API.
+ * Author: Jon Reid
+ * Created: December 7, 1998
+ */
+
+#ifndef __UnicodeAPI__
+#define __UnicodeAPI__
+
+
+#ifndef __ASTypes__
+#include "ASTypes.h"
+#endif
+
+#include <stddef.h> // Define size_t.
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+/*
+ ZStrings are represented internally as unterminated Unicode strings.
+ A conversion engine handles conversions between Unicode and local
+ encodings. Different clients can provide different conversion engines
+ according to their needs.
+
+ Each conversion engine can represent encodings in different ways. To
+ pass different representations through the same C-based API, we use
+ "poor man's run-time type identification." The following data structure
+ identifies the type:
+*/
+
+typedef struct EncodingInfo
+{
+ long typeID;
+} EncodingInfo;
+
+/*
+ The typeID is an arbitrary value that identifies the actual
+ representation. To use "poor man's inheritance," EncodingInfo must be
+ the first element of the actual data structure. Here is an example of
+ a simple representation of a Mac script:
+
+ struct MacScript
+ {
+ EncodingInfo type; // Set type.typeID to 'MacS'
+ short script;
+ };
+
+ A pointer to an actual representation is cast to an EncodingInfo* for
+ use in one of the following functions:
+*/
+
+// Return size of buffer needed to convert multi-byte string to Unicode
+// string without terminating null character.
+typedef ASAPI ASErr
+(*ToUnicodeSizeProc)(
+ const ASByte* source, // Multi-byte string.
+ ASUInt32 sourceLength, // Number of bytes to convert.
+ ASUInt32* bufferSize,
+ EncodingInfo* encodingInfo
+ );
+
+// Convert multi-byte string to Unicode, up to destBufferSize characters.
+// Do not add terminating null character.
+typedef ASAPI ASErr
+(*ConvertToUnicodeProc)(
+ const ASByte* source, // Multi-byte string.
+ ASUInt32 sourceLength, // Number of bytes to convert.
+ ASUnicode* destination,
+ ASUInt32 destBufferSize, // Size of destination buffer.
+ EncodingInfo* encodingInfo
+ );
+
+// Return size of buffer needed to convert from Unicode. Be sure to include
+// extra byte for terminating null character or Pascal length.
+typedef ASAPI ASErr
+(*FromUnicodeSizeProc)(
+ const ASUnicode* source, // Unterminated Unicode string.
+ ASUInt32 sourceLength, // Number of characters to convert.
+ ASUInt32* bufferSize,
+ EncodingInfo* encodingInfo
+ );
+
+// Convert Unicode to multi-byte string, up to destBufferSize-1 bytes.
+// Do *not* add a terminating null character, because this routine is used
+// for both C and Pascal strings.
+typedef ASAPI ASErr
+(*ConvertFromUnicodeProc)(
+ const ASUnicode* source, // Unterminated Unicode string.
+ ASUInt32 sourceLength, // Number of characters to convert.
+ ASByte* destination,
+ ASUInt32 destBufferSize, // Size of destination buffer.
+ ASUInt32* convertedLength, // Number of converted bytes (without null).
+ EncodingInfo* encodingInfo
+ );
+
+/*
+ These functions must be registered as callbacks with the ZString
+ plug-in. If the Unicode conversion engine is packaged as a plug-in,
+ make sure it cannot be unloaded so that its callbacks are always
+ available.
+
+ The conversion engine takes the encodingInfo and casts it back to a
+ pointer to the data structure associated with the particular typeID.
+ If it does not recognize the typeID, it should return kUnknownEncodingType.
+*/
+
+#define kUnknownEncodingType 'UETp'
+
+
+/*
+ The Unicode conversion engine may modify the contents of the data
+ structure passed in encodingInfo. This allows the conversion engine to
+ pass back more than just an error value and the converted string; it
+ can more fully describe the conversion results, such as whether
+ fallback representations were used for characters that do not have
+ precise representations in the local encoding. One could also ask that
+ a Unicode string be converted to an encoding that best represents the
+ string, and the conversion engine would pass back the encoding it chose.
+
+ The byte-order of the Unicode data (big-endian / little-endian) is the
+ platform's native order, unless specified otherwise in encodingInfo.
+
+ If a conversion routine detects that the buffer is not large enough to
+ hold the result of a conversion, it should convert as much as it can
+ and then return an error value of kBufferTooSmallErr.
+*/
+
+#define kBufferTooSmallErr 'BUFF'
+
+
+/*
+ The following function is registered separately from the other callbacks:
+*/
+
+// Compare two Unicode strings, analogous to strcmp except that the strings
+// are not null-terminated.
+typedef ASAPI int
+(*UnicodeCompareProc)( const ASUnicode* str1, ASUInt32 len1,
+ const ASUnicode* str2, ASUInt32 len2 );
+
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif // __UnicodeAPI__
diff --git a/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/UnixPIHeaders.h b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/UnixPIHeaders.h
new file mode 100644
index 0000000..8b6eaab
--- /dev/null
+++ b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/UnixPIHeaders.h
@@ -0,0 +1,30 @@
+/**********************************************************************
+
+ ADOBE SYSTEMS INCORPORATED
+ Copyright (C) 2000-2005 Adobe Systems Incorporated
+ All rights reserved.
+
+ NOTICE: Adobe permits you to use, modify, and distribute this file
+ in accordance with the terms of the Adobe license agreement
+ accompanying it. If you have received this file from a source other
+ than Adobe, then your use, modification, or distribution of it
+ requires the prior written permission of Adobe.
+
+ -------------------------------------------------------------------
+
+ UnixPIHeaders.h
+
+ - Unix specific includes and defines here
+
+***********************************************************************/
+
+#ifndef UNIXPIHEADERS_H
+#define UNIXPIHEADERS_H
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
+
+#endif
+
diff --git a/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/WinPIHeaders.h b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/WinPIHeaders.h
new file mode 100644
index 0000000..244f361
--- /dev/null
+++ b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/WinPIHeaders.h
@@ -0,0 +1,27 @@
+/*********************************************************************
+
+ ADOBE SYSTEMS INCORPORATED
+ Copyright (C) 2000-2003 Adobe Systems Incorporated
+ All rights reserved.
+
+ NOTICE: Adobe permits you to use, modify, and distribute this file
+ in accordance with the terms of the Adobe license agreement
+ accompanying it. If you have received this file from a source other
+ than Adobe, then your use, modification, or distribution of it
+ requires the prior written permission of Adobe.
+
+ ---------------------------------------------------------------------
+
+ WinPIHeaders.h
+
+ - Windows specific includes and defines here
+
+*********************************************************************/
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
+
+#define _NEWLINE "\n"
+
diff --git a/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/wxInit.cpp b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/wxInit.cpp
new file mode 100644
index 0000000..b7ae374
--- /dev/null
+++ b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/wxInit.cpp
@@ -0,0 +1,52 @@
+/*********************************************************************
+
+ ADOBE SYSTEMS INCORPORATED
+ Copyright (C) 2008 Adobe Systems Incorporated
+ All rights reserved.
+
+ NOTICE: Adobe permits you to use, modify, and distribute this file
+ in accordance with the terms of the Adobe license agreement
+ accompanying it. If you have received this file from a source other
+ than Adobe, then your use, modification, or distribution of it
+ requires the prior written permission of Adobe.
+
+ ---------------------------------------------------------------------
+
+ wxInit.cpp
+
+ - Initialization code for wxWidgets.
+
+*********************************************************************/
+#include "wx/app.h"
+#include "wxInit.h"
+#include "PIMain.h"
+
+IMPLEMENT_APP_NO_MAIN(PluginApp)
+
+wxPoint offscreenPoint(-5000,-5000);
+
+bool PluginApp::OnInit()
+{
+ return true;
+}
+
+
+BEGIN_EVENT_TABLE(PluginApp, wxApp)
+ END_EVENT_TABLE()
+
+AcrobatFrame::AcrobatFrame() : wxFrame(NULL, -1, "", offscreenPoint)
+{
+#ifdef WIN_PLATFORM
+ HWND oldHWnd = (HWND)GetHandle();
+ SetHWND((WXHWND)gHWND);
+ if(oldHWnd)
+ ::DestroyWindow(oldHWnd);
+#endif
+}
+
+
+BEGIN_EVENT_TABLE(AcrobatFrame, wxFrame)
+ END_EVENT_TABLE()
+
+
+
diff --git a/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/wxInit.h b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/wxInit.h
new file mode 100644
index 0000000..0a016aa
--- /dev/null
+++ b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/SDK/wxInit.h
@@ -0,0 +1,39 @@
+#ifndef __WXINIT__
+#define __WXINIT__
+
+#include "wx/init.h"
+#include "wx/app.h"
+#include "wx/frame.h"
+#ifdef MAC_PLATFORM
+#include "wx/cocoa/ObjcPose.h"
+#endif
+
+// Define a new application type
+class PluginApp: public wxApp
+{
+public:
+ bool OnInit();
+ DECLARE_EVENT_TABLE()
+};
+
+class AcrobatFrame : public wxFrame
+{
+ public:
+ AcrobatFrame();
+ private:
+ DECLARE_EVENT_TABLE()
+};
+#ifdef MAC_PLATFORM
+//without this, Acrobat crashes, I think based on deleting something it shouldn't
+class myPoseAsInitializer : public wxPoseAsInitializer
+{
+public:
+ myPoseAsInitializer()
+ {
+ m_next = NULL;
+ }
+};
+#endif
+extern AcrobatFrame* mainFrame;
+
+#endif \ No newline at end of file