From 43d65dc03325bcce8561423b9607f7e114355f7d Mon Sep 17 00:00:00 2001 From: ferbas Date: Wed, 13 Jan 2010 09:41:29 +0000 Subject: initial import git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@545 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c --- .../sources/import/API/PDBatesExpT.h | 107 +++++++++++++++++++++ 1 file changed, 107 insertions(+) create mode 100644 Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/API/PDBatesExpT.h (limited to 'Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/API/PDBatesExpT.h') 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 start=100 nDigits=6 would look like 000100, 000101, 000102, 000103.... +* @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 */ -- cgit v1.2.3