aboutsummaryrefslogtreecommitdiff
path: root/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/API/PDBatesExpT.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/PDBatesExpT.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/PDBatesExpT.h')
-rw-r--r--Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/API/PDBatesExpT.h107
1 files changed, 107 insertions, 0 deletions
diff --git a/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/API/PDBatesExpT.h b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/API/PDBatesExpT.h
new file mode 100644
index 0000000..0b6512a
--- /dev/null
+++ b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/API/PDBatesExpT.h
@@ -0,0 +1,107 @@
+/*
+** PDBatesExpT.h
+** Copyright (C) 2004, Adobe Systems, Inc. All Rights Reserved.
+**
+** Types, macros, structures, etc. required to use the PD3D private HFT.
+*/
+
+#ifndef _H_PDBatesExpT
+#define _H_PDBatesExpT
+
+#include "CoreExpT.h"
+#include "ASExpT.h"
+#if !PLUGIN
+#include "ASEnv.h"
+#endif /* !PLUGIN */
+
+
+#if PRAGMA_STRUCT_ALIGN
+ #pragma options align=power
+#endif
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+* Parameters used for describing Bates Numbering.
+* As an example, Bates Numbering with <code>start=100 nDigits=6</code> would look like <code>000100, 000101, 000102, 000103...</code>.
+* @see PDDocAddBatesNumbering
+*/
+typedef struct _t_PDDocBatesNumberingParams {
+ /** The size of the data structure.
+ */
+ ASSize_t size;
+ /** The start number of the Bates Numbering (required).
+ */
+ ASInt64 start;
+ /** The number of digits of the Bates Numbering (required).
+ */
+ ASUns8 nDigits;
+ /** Bates Numbering prefix (optional).
+ */
+ ASText prefix;
+ /** Bates Numbering suffix (optional).
+ */
+ ASText suffix;
+ /** The original page index to which Bates Numbering was added(optional).
+ */
+ ASUns8 pageIndex;
+
+} PDDocBatesNumberingParamsRec, *PDDocBatesNumberingParams;
+
+/**
+ Parameters used for adding and describing Bates Numbering.
+ @see PDDocAddBatesNumbering
+*/
+typedef struct _t_PDDocLayoutParams {
+ /** The size of the data structure.
+ */
+ ASSize_t size;
+
+ /** The page range of the document to which Bates Numbering should be added.
+ */
+ PDPageRange targetRange;
+
+ /** The margin for placement of Bates.
+ */
+ ASFixedRect margins;
+
+ /** The horizontal alignment to be used when adding Bates Numbering to a page.
+ */
+ PDHorizAlign horizAlign;
+
+ /** The vertical alignment to be used when adding Bates Numbering to a page.
+ */
+ PDVertAlign vertAlign;
+
+ /** The color setting for adding Bates Numbering to a page.
+ */
+ PDColorValueRec color;
+
+ /** The font size for adding Bates Numbering to a page.
+ */
+ double fontSize;
+
+ /** The font name for adding Bates Numbering to a page.
+ */
+ ASAtom fontName;
+
+ /** The font type for adding Bates Numbering to a page.
+ */
+ ASAtom fontType;
+
+ /** Determines whether to draw an underline to Bates Numbering in a page (optional).
+ */
+ ASBool underline;
+} PDDocLayoutParamsRec, *PDDocLayoutParams;
+
+#ifdef __cplusplus
+}
+#endif
+
+#if PRAGMA_STRUCT_ALIGN
+ #pragma options align=reset
+#endif
+
+#endif /* _H_PDBatesExpT */