aboutsummaryrefslogtreecommitdiff
path: root/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/API/TtsHFT.h
diff options
context:
space:
mode:
authorferbas <ferbas@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2010-01-13 09:41:29 +0000
committerferbas <ferbas@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2010-01-13 09:41:29 +0000
commit43d65dc03325bcce8561423b9607f7e114355f7d (patch)
tree7bef4e532a43f4e98ee16b012dca7499ab547e5b /Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/API/TtsHFT.h
parentf1288ff2082a3330b62b60ee80521c37576ff9cc (diff)
downloadpdf-as-3-43d65dc03325bcce8561423b9607f7e114355f7d.tar.gz
pdf-as-3-43d65dc03325bcce8561423b9607f7e114355f7d.tar.bz2
pdf-as-3-43d65dc03325bcce8561423b9607f7e114355f7d.zip
initial import
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@545 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/API/TtsHFT.h')
-rw-r--r--Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/API/TtsHFT.h108
1 files changed, 108 insertions, 0 deletions
diff --git a/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/API/TtsHFT.h b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/API/TtsHFT.h
new file mode 100644
index 0000000..65622bd
--- /dev/null
+++ b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/API/TtsHFT.h
@@ -0,0 +1,108 @@
+/*********************************************************************
+
+ ADOBE SYSTEMS INCORPORATED
+ Copyright (C) 1998-2006 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.
+
+ ---------------------------------------------------------------------
+
+ TTSHFT.h
+
+ - HFT definitions for Acrobat TTS procedures.
+
+ - The Acrobat Forms plug-in now provides a speech server API
+ implemented over SAPI (Windows Speech API) to deal with
+ text-to-speech conversion in accessibility for people with visual
+ and reading disabilities, and document vocalization issues in Acrobat.
+
+ It exports another HFT in parallel to its common AcroForms HFT. To
+ use the AcroTTS HFT, a plug-in must include the header file
+ TTSHFT.H, which includes AFTTS_SEL.H. Plug-ins must also import the
+ HFT using ASExtensionMgrGetHFT and assign the HFT returned by this
+ call to a plug-in-defined global variable named gAcroTTSHFT.
+
+ The easiest way to do this is to use the Init_AcroTTSHFT macro
+ defined in TTSHFT.h.
+
+*********************************************************************/
+
+#ifndef _H_TTSHFT
+#define _H_TTSHFT
+
+/*****************************************************************************
+ Selectors for all AcroForms TTS HFT functions.
+*****************************************************************************/
+#include "AFTTS_Sel.h"
+
+#if __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
+extern HFT gAcroTTSHFT;
+
+#if __cplusplus
+}
+#endif /* __cplusplus */
+
+/** Use this to initialize and make the TTS HFT functions available to your plug-in. */
+#define Init_AcroTTSHFT ASExtensionMgrGetHFT(ASAtomFromString(AcroTTSHFT_NAME), AcroTTSHFT_LATEST_VERSION)
+
+#define AFTTSEnd (*((AFTTSEnd_SELPROTO)(gAcroTTSHFT[AFTTSEnd_SEL])))
+
+#define AFTTSQueueTextData (*((AFTTSQueueTextData_SELPROTO)(gAcroTTSHFT[AFTTSQueueTextData_SEL])))
+
+#define AFTTSTalk (*((AFTTSTalk_SELPROTO)(gAcroTTSHFT[AFTTSTalk_SEL])))
+
+#define AFTTSQSound (*((AFTTSQSound_SELPROTO)(gAcroTTSHFT[AFTTSQSound_SEL])))
+
+#define AFTTSQTone (*((AFTTSQTone_SELPROTO)(gAcroTTSHFT[AFTTSQTone_SEL])))
+
+#define AFTTSQSilence (*((AFTTSQSilence_SELPROTO)(gAcroTTSHFT[AFTTSQSilence_SEL])))
+
+#define AFTTSResume (*((AFTTSResume_SELPROTO)(gAcroTTSHFT[AFTTSResume_SEL])))
+
+#define AFTTSPause (*((AFTTSPause_SELPROTO)(gAcroTTSHFT[AFTTSPause_SEL])))
+
+#define AFTTSStop (*((AFTTSStop_SELPROTO)(gAcroTTSHFT[AFTTSStop_SEL])))
+
+#define AFTTSReset (*((AFTTSReset_SELPROTO)(gAcroTTSHFT[AFTTSReset_SEL])))
+
+#define AFTTSGetVoiceName (*((AFTTSGetVoiceName_SELPROTO)(gAcroTTSHFT[AFTTSGetVoiceName_SEL])))
+
+#define AFTTSIsAvailable (*((AFTTSIsAvailable_SELPROTO)(gAcroTTSHFT[AFTTSIsAvailable_SEL])))
+
+#define AFTTSGetSpeaker (*((AFTTSGetSpeaker_SELPROTO)(gAcroTTSHFT[AFTTSGetSpeaker_SEL])))
+
+#define AFTTSGetPunctuations (*((AFTTSGetPunctuations_SELPROTO)(gAcroTTSHFT[AFTTSGetPunctuations_SEL])))
+
+#define AFTTSGetSpeechRate (*((AFTTSGetSpeechRate_SELPROTO)(gAcroTTSHFT[AFTTSGetSpeechRate_SEL])))
+
+#define AFTTSGetCharacterScale (*((AFTTSGetCharacterScale_SELPROTO)(gAcroTTSHFT[AFTTSGetCharacterScale_SEL])))
+
+#define AFTTSGetVolume (*((AFTTSGetVolume_SELPROTO)(gAcroTTSHFT[AFTTSGetVolume_SEL])))
+
+#define AFTTSGetPitch (*((AFTTSGetPitch_SELPROTO)(gAcroTTSHFT[AFTTSGetPitch_SEL])))
+
+#define AFTTSGetNumberOfVoices (*((AFTTSGetNumberOfVoices_SELPROTO)(gAcroTTSHFT[AFTTSGetNumberOfVoices_SEL])))
+
+#define AFTTSSetSpeaker (*((AFTTSSetSpeaker_SELPROTO)(gAcroTTSHFT[AFTTSSetSpeaker_SEL])))
+
+#define AFTTSSetPunctuations (*((AFTTSSetPunctuations_SELPROTO)(gAcroTTSHFT[AFTTSSetPunctuations_SEL])))
+
+#define AFTTSSetSpeechRate (*((AFTTSSetSpeechRate_SELPROTO)(gAcroTTSHFT[AFTTSSetSpeechRate_SEL])))
+
+#define AFTTSSetCharacterScale (*((AFTTSSetCharacterScale_SELPROTO)(gAcroTTSHFT[AFTTSSetCharacterScale_SEL])))
+
+#define AFTTSSetVolume (*((AFTTSSetVolume_SELPROTO)(gAcroTTSHFT[AFTTSSetVolume_SEL])))
+
+#define AFTTSSetPitch (*((AFTTSSetPitch_SELPROTO)(gAcroTTSHFT[AFTTSSetPitch_SEL])))
+
+#define AFTTSSetNotify (*((AFTTSSetNotify_SELPROTO)(gAcroTTSHFT[AFTTSSetNotify_SEL])))
+
+#endif