diff --git a/apdfl18/CPlusPlus/APDFL18.0.4PlusP2z/aslayer_HFTServer.html b/apdfl18/CPlusPlus/APDFL18.0.4PlusP2z/aslayer_HFTServer.html deleted file mode 100644 index 018891ce..00000000 --- a/apdfl18/CPlusPlus/APDFL18.0.4PlusP2z/aslayer_HFTServer.html +++ /dev/null @@ -1,183 +0,0 @@ - - - -
- - - -typedef
struct
_t_HFTServer
*
HFTServer
;
-
-void
HFTServerDestroyProc(
HFTServer
hftServer
,
void
*
rock
);
-
-hftServer | IN/OUT The HFT server associated with this destroy proc.
- |
rock | IN/OUT User-supplied data that was passed in the call to HFTServerNew().
- |
void
HFTServerDestroy(
HFTServer
hftServer
);
-
-hftServer | IN/OUT The HFT server to destroy.
- |
HFTServer
HFTServerNew(
const
char
*
name
,
HFTServerProvideHFTProc
serverProc
,
HFTServerDestroyProc
destroyProc
,
void
*
clientData
);
-
-name | The new HFT server's name.
- |
serverProc | (Required) A user-supplied callback that provides an HFT when given a version number. This procedure is called by ASExtensionMgrGetHFT() when another plug-in imports the HFT.
- |
destroyProc | (Optional) A user-supplied callback that destroys the specified HFT (this generally means deallocating the memory associated with the HFT). This procedure is called by HFTDestroy().
- |
clientData | A pointer to user-supplied data to pass to the HFT server.
- |
#define FOUR_CHAR_CODE
(
x
)
(
x
)
-AC_Option_BlackPointCompensation = FOUR_CHAR_CODE ( 'kptc' ) | Controls whether to adjust for differences in black points when converting colors between color spaces. If enabled the full dynamic range of the source space is mapped into the full dynamic range of the destination space. If disabled, the dynamic range of the source space is simulated in the destination space (which can result in blocked or gray shadows) This option is ignored if the rendering intent for the transformation is AC_AbsColorimetric. Default is 0 (zero).
- |
AC_Option_Dither8 = FOUR_CHAR_CODE ( 'dth8' ) | Dither transformations to 8 bit color spaces. This may be ignored by optimized transforms. This option is used by AC_ApplyTransform. Default is 0 (zero).
- |
AC_OptionCode_MaxEnum = 0xFFFFFFFFL | - |
Compression_Default | Use the default for the output image type.
- |
Compression_NONE | Use no image compression. Valid for BMP, PNG and TIFF outputs only.
- |
Compression_FLATE | Deflate algorithm (PNG only). An open source standard widely used for creating zip files and with PDF.
- |
Compression_LZW | Lempel-Ziv-Welch, valid for TIFF output. A lossless algorithm, resulting files are larger but retain original quality.
- |
Compression_G3 | CCITT Group3 compression. Valid for TIFF, requires colorModel gray. A lossless algorithm for black and white images that efficiently compresses whitespace.
- |
Compression_G4 | CCITT Group4 compression. Valid for TIFF, requires colorModel gray. A lossless algorithm for black and white images based on G3.
- |
Compression_DCT | Discrete Cosine Transform. Lossy algorithm, valid for JPEG. Best when used with continuous tone (such as photographs).
- |
ExportType_Invalid | Used for error handeling
- |
ExportType_TIF | Tagged Image File Format
- |
ExportType_JPEG | Joint Photographic Experts Group
- |
ExportType_BMP | Microsoft Windows Bitmap
- |
ExportType_PNG | Portable Network Graphic
- |
ExportType_GIF | Graphics Interchange Format
- |
ExportType_MultiTIF | Multiple TIF's in a file
- |
FontRescan_Files = 1 | This will rescan just the fields defined in dirList, plus those added with PDFLAddFontDirectories.
- |
FontRescan_System = 2 | This will rescan the system directories.
- |
FontRescan_All = 3 | This, or an "or" of the previous two, will rescan both.
- |
PDFOptimizerRecompressNone = 0 | Used only when original image is not compressed
- |
PDFOptimizerRecompressSame | Compress using the same compression
- |
PDFOptimizerRecompressFlate | Compress image using Flate
- |
PDFOptimizerRecompressJpeg | Compress image using Jpeg
- |
PDFOptimizerRecompressJP2k | Compress image using JPEG2000
- |
PDFOptimizerRecompressJBig | Compress image using JBig2
- |
PDFOptimizerRecompressCCITTG4 | Compress image using CCITTG4
- |
PDFOptimizerRecompressCCITTG3 | Compress image using CCITTG3
- |
PDFOptimizerRecompressFlateJpeg | Compress using Flate and Jpeg
- |
- | - |
- | - |
- | - |
- | Default: false. Convert 8bpc grayscale images to 1bpc (B/W) images using a 45 degree line screen set for 106lpi at 600dpi.
- |
- | Default: 75. Quality of the image(0-100). Note this is only valid for JPEG Images.
- |
- | Default: 72. This value sets the image's DPI (Dots Per Inch), which will be used during the exporting process.
- |
- | Default: Default. Type of compression to be used in saving the image to a file. Note this is only valid for TIF Images.
- |
- | Default: 128. Threshold to use for determining which bits are white or black for Monochrome output(0-255). This is only valid for TIF Images using G3 or G4 compression and HalftoneGrayImages must be set to false.
- |
- | - |
- | - |
- | - |
- | Default: false. When set to false, if the image data is in RGB and there is a Mask present, they will be combined as RGBA + Alpha Channel output (32-bit). When set to true, if the image date is in RGB and there is a Mask present, they will not be combined and the output will be RGB (24-bit). This is only valid for an output image of type TIF and PNG.
- |
- | - |
- | - |
- | - |
- | - |
- | - |
- | - |
- | - |
AC_Error
ACGetOption(
AC_OptionCode
code
,
ASUns32
*
value
);
-
-code | AC_Option_BlackPointCompensation indicates whether the Acrobat Color Engine will carry out black point compensation when converting between colorspaces with different black points.
- |
value | AC_Option_BlackPointCompensation flag value to be retrieved (Filled by the method)
- |
AC_Error
ACSetOption(
AC_OptionCode
code
,
ASUns32
value
);
-
-The | option code.
- |
value | The flag value to be set.
- |
void
ASSetDefaultFileSys(
ASFileSys
fileSys
);
-
-fileSys | Alternate file system to be used
- |
ASBool
ConvertPDFToExcel(
ASPathName
inputPath
,
ASPathName
outputPath
,
ASFileSys
fileSys
);
-
-inputPath | The input path of the PDF document.
- |
outputPath | The output path of the Office document.
- |
fileSys | The File System in use.
- |
ASBool
ConvertPDFToPowerPoint(
ASPathName
inputPath
,
ASPathName
outputPath
,
ASFileSys
fileSys
);
-
-inputPath | The input path of the PDF document.
- |
outputPath | The output path of the Office document.
- |
fileSys | The File System in use.
- |
ASBool
ConvertPDFToWord(
ASPathName
inputPath
,
ASPathName
outputPath
,
ASFileSys
fileSys
);
-
-inputPath | The input path of the PDF document.
- |
outputPath | The output path of the Office document.
- |
fileSys | The File System in use.
- |
PDEImage
DLColorConvertPDEImage(
PDDoc
*
document
,
PDEImage
image
,
AC_ProfileCode
code
,
AC_RenderIntent
intent
,
ASBool
embed
);
-
-document | - |
image | The PDEImage in a PDF document that will be converted.
- |
code | The code of the target profile for the conversion.
- |
intent | The rendering intent of used to convert the image.
- |
embed | - |
PDEImage
DLCreatePDEImageFromFile(
PDDoc
outDoc
,
ASPathName
imageInputPath
,
ASFileSys
fileSys
);
-
-outDoc | The output PDF document object.
- |
imageInputPath | The input path of the image.
- |
fileSys | The File System in use.
- |
PDEImage
DLCreateResampledPDEImage(
PDEImage
image
,
DLPDEImageExportParams
*
exportParams
,
ASInt32
resolution
);
-
-image | The PDEImage in a PDF document.
- |
exportParams | A pointer to the DLPDEImageExportParams structure used by the PDEImage. During the function call, ExportDPI is updated to using the new resolution.
- |
resolution | The new resolution as a 32 bit integer value.
- |
ASBool
DLEnableLicensedBehavior(
const
char
*
keyVal
,
const
char
*
additionalInfo
);
-void
DLExportPDEImage(
PDEImage
image
,
ASPathName
outputPath
,
DLImageExportType
exporttype
,
DLPDEImageExportParams
exportParams
);
-
-image | The PDEImage in a PDF document.
- |
outputPath | The output path of the image.
- |
exporttype | The exported image format (TIFF, JPEG, BMP, PNG, GIF).
- |
exportParams | The DLPDEImageExportParams structure.
- |
DLImageCompression
DLPDEImageGetCompression(
const
PDEImage
image
);
-
-image | The PDEImage in a PDF document.
- |
DLPDEImageExportParams
DLPDEImageGetExportParams(
);
-
-ASDouble
DLPDEImageGetHeight(
const
PDEImage
image
);
-
-image | The PDEImage in a PDF document.
- |
const
char
*
DLPDEImageGetIntent(
const
PDEImage
inputImage
);
-
-image | The PDEImage in a PDF document.
- |
PDEImage
*
DLPDEImageGetSoftMask(
const
PDEImage
image
);
-
-image | The PDEImage in a PDF document.
- |
ASDouble
DLPDEImageGetWidth(
const
PDEImage
image
);
-
-image | The PDEImage in a PDF document.
- |
void
DLPDEImageRotate(
PDEImage
image
,
ASDouble
theta
);
-
-image | The PDEImage in a PDF document.
- |
theta | The rotation angle (degrees).
- |
void
DLPDEImageScale(
PDEImage
image
,
ASDouble
sx
,
ASDouble
sy
);
-
-image | The PDEImage in a PDF document.
- |
sx | X scaling factor.
- |
sy | Y scaling factor.
- |
void
DLPDEImageSetIntent(
PDEImage
inputImage
,
const
char
*
renderIntent
);
-
-image | The PDEImage in a PDF document.
- |
renderIntent | A pointer to the string representation of an ASAtom value that will be used to set the image's intent data.
- |
void
DLPDEImageSetSoftMask(
PDEImage
image
,
PDEImage
*
softMask
);
-
-image | The PDEImage in a PDF document.
- |
softMask | The pointer to the PDEImage's soft mask, that will be applied to the PDEImage, or a null pointer which will delete the current soft mask.
- |
void
DLPDEImageTranslate(
PDEImage
image
,
ASDouble
tx
,
ASDouble
ty
);
-
-image | The PDEImage in a PDF document.
- |
tx | X translation distance.
- |
ty | Y translation distance.
- |
This call allows Adobe PDF Library to rescan for fonts without re-initializing. This will allow an operating Library process to detect and update new font directories and resources after startup, without requiring a restart and re-initialization.
-
This will add one or more directories, and the fonts within them, to the set of all directories containing fonts (those specified in the DirList string arrays of resource locations).
-
This call should be followed by a call to PDFLRescanFontDirectories after all new font directories have been loaded.
ASBool
PDFLAddFontDirectories(
ASInt32
pathCount
,
ASPathName
*
paths
);
-
-pathCount | Number of new paths to be added.
- |
paths | Paths to new resource locations to be added.
- |
ASInt32
PDFLReinit(
void
);
-This call allows Adobe PDF Library to rescan for fonts without re-initializing. This will allow an operating Library process to detect and update new font directories and resources after startup, without requiring a restart and re-initialization.
-
This call can, depending on flag settings, force a rescan of font resource areas defined in your dirList array, a rescan of those residing in the System folder, or both. To add new font resources to your dirList array, use the PDFLAddFontDirectories call.
ASBool
PDFLRescanFontDirectories(
FontRescanFlags
flags
);
-
-flags | Flags controlling rescan process.
- |
Finds all regular expression (regex) matches for the given page range.
-
Only words within or partially within the page's crop box (see PDPageGetCropBox()) are included. Words outside the crop box are skipped.
-
There can be only one match list in existence at a time; clients must release the previous match list, using PDDocTextFinderReleaseMatchList(), before creating a new one.
Available only on Windows, Mac, and Linux platforms
PDDocTextFinderMatchList
PDDocTextFinderAcquireMatchList(
PDDocTextFinder
mObj
,
PDDoc
pdDoc
,
ASInt32
beginPageNumber
,
ASInt32
endPageNumber
,
const
char
*
regexstr
);
-
-mObj | IN (Required) The document text finder used to acquire the match list.
- |
pdDoc | IN (Required) The document to search for matches.
- |
beginPageNumber | IN (Required) The beginning page number from which to search. The first page is
-0 , not 1 as designated in Acrobat. Pass PDAllPages (see PDExpT.h) to sequentially process all pages in the document. |
endPageNumber | IN (Required) The end page number from which to search to. If beginPageNumber is set to PDAllPages, this parameter is ignored.
- |
regexStr | IN (Required) Regular expression to use for search.
- |
- | - |
PDDocTextFinder
PDDocTextFinderCreate(
PDWordFinderConfig
wfConfig
);
-
-wfConfig | IN (Required) The word finder configuration to be used to extract the words.
- |
void
PDDocTextFinderDestroy(
PDDocTextFinder
mObj
);
-
-mObj | IN (Required) The document text finder to destroy.
- |
void
PDDocTextFinderReleaseMatchList(
PDDocTextFinder
mObj
);
-
-mObj | IN (Required) A document text finder object.
- |
Gets an image's Color Value.
-
This call is valid only for a PDEImage which is an Image Mask
void
PDEImageGetColorValue(
IN
PDEImage
image
,
IN
PDEColorValueP
color
);
-
-image | IN/OUT The image whose data is obtained.
- |
colorValue | IN/OUT The image data.
- |
Note: The image returned must be released when no longer needed.
-PDEImage
PDEImageRemoveIndexedColor(
PDEImage
image
);
-
-image | The Indexed image
-inP . |
void
GetFormsExtensionVersionNumber(
FormsExtensionVersion
version
);
-
-version | OUT- Structure that holds the version number sub-components.
- |
ASBool
IsFormsExtensionSupported(
void
);
-
-void
PDDocConvertXFAFieldsToAcroFormFields(
PDDoc
doc
,
ASUns32
*
pagesConverted
);
-
-doc | IN/OUT The PDF document object.
- |
pagesConverted | OUT The number of output pages created in the converted document.
- |
ASBool
PDDocExportAcroFormsData(
PDDoc
doc
,
ASFileSys
fileSys
,
ASPathName
pathName
,
AcroFormExportType
acroFormExportType
);
-
-doc | IN The PDF document object.
- |
fileSys | - |
pathName | OUT The path on disk of the file the AcroForms data is exported to.
- |
acroFormExportType | IN The format type the AcroForm data should be exported to. The supported types are XFDF, FDF, and XML.
- |
ASBool
PDDocExportXFAFormsData(
PDDoc
doc
,
ASFileSys
fileSys
,
ASPathName
pathName
,
XFAFormExportType
exportType
);
-
-doc | IN The PDF document object.
- |
fileSys | - |
pathName | OUT The path on disk of the file the XFA form data is exported to.
- |
exportType | IN The format type the XFA data should be exported to. The supported types are XDP, XML, and XFD.
- |
void
PDDocFlattenAcroFormFields(
PDDoc
doc
);
-
-IN/OUT | doc The PDF document object.
- |
void
PDDocFlattenNonFormAnnotations(
PDDoc
doc
);
-
-doc | IN/OUT The PDF document object.
- |
void
PDDocFlattenXFAFields(
PDDoc
doc
,
ASUns32
*
pagesOutput
);
-
-doc | IN/OUT The PDF document object.
- |
OUT | pagesOutput The number of output pages created in the flattened document.
- |
void
PDDocFlattenXFAFieldsAsIfPrinted(
PDDoc
doc
,
ASUns32
*
pagesOutput
);
-
-doc | IN/OUT The PDF document object.
- |
pagesOutput | OUT The number of output pages created in the flattened document.
- |
void
PDDocGetFormsType(
PDDoc
doc
,
PDDocFormsType
*
formsType
);
-
-doc | IN The PDF document object.
- |
formsType | OUT The type of forms the document contains.
- |
ASBool
PDDocImportAcroFormsData(
PDDoc
doc
,
ASFileSys
fileSys
,
ASPathName
pathName
,
AcroFormImportType
acroFormImportType
);
-
-doc | IN/OUT The PDF document object.
- |
fileSys | - |
pathName | IN The path on disk of the AcroFormsdata file to be imported.
- |
acroFormImportType | IN The format type the data type should be imported to. The supported types are XFDF, FDF, and XML.
- |
ASBool
PDDocImportXFAFormsData(
PDDoc
doc
,
ASFileSys
fileSys
,
ASPathName
pathName
);
-
-doc | IN/OUT The PDF document object.
- |
fileSys | - |
pathName | IN The path on disk of the XFA form data file to be imported. The supported types are XDP, XML, and XFD.
- |
ASBool
PDDocIsDynamicXFA(
PDDoc
doc
);
-
-doc | IN The PDF document object.
- |
ASBool
PDDocIsStaticXFA(
PDDoc
doc
);
-
-doc | IN The PDF document object.
- |
PDEColorSpace
PDEImageFlateAcquireColorSpace(
IN
PDEImageFlate
imgFlate
);
-
-imgFlate | IN/OUT An object of type PDEImageFlate.
- |
NULL
. void
PDEImageFlateGetAttrs(
IN
PDEImageFlate
imgFlate
,
OUT
PDEImageFlateAttrsP
attrsP
,
IN
ASUns32
attrsSize
);
-
-imgFlate | IN/OUT A flate image resource object.
- |
attrsP | IN/OUT (Filled by the method) A pointer to a PDEImageFlateAttrs structure containing the attributes of the flate image.
- |
attrsSize | IN/OUT The size of the
-attrsP buffer in bytes. |
- | - |
void
PDEImageFlateGetCosObj(
IN
PDEImageFlate
pdeImageFlate
,
OUT
CosObj
*
cosObjP
);
-
-pdeImageFlate | IN/OUT The flate image whose Cos object is obtained.
- |
cosObjP | IN/OUT (Filled by the method) The Cos object for the image.
- |
- | - |
Gets a data stream for a flate compressed image, PDEImageFlate object.
-
The caller must dispose of the returned ASStm by calling ASStmClose().
ASStm
PDEImageFlateGetDataStm(
IN
PDEImageFlate
imgFlate
,
IN
ASUns32
flags
);
-
-imgFlate | IN/OUT The flate image whose data stream is obtained.
- |
flags | IN/OUT PDEImageDataFlags flags. If the kPDEImageEncodedData flag is set, data is returned in encoded form. Otherwise, data is decoded.
- |
binaryOK
and 'emit
TrueType
as
Type
42'
. It is meant for use in the PDFontStreamPS() method. PDFontDownloadContext
PDFontDownloadContextCreate(
PDPrintClient
client
);
-
-client | The client record to pass to PDDocPrintPages().
- |
void
PDFontDownloadContextDestroy(
PDFontDownloadContext
context
);
-
-context | IN/OUT The context to destroy.
- |
typedef
PDSMCRefRec
*
PDSMCRef
;
-typedef
struct
_t_PDSMCRef
*
PDSMCRef
;
-
-Note: If the PDSMCRef is associated with a PDSMC, it will be set as invalid and ignored on subsequent processing.
-void
PDSMCRefDestroy(
IN
PDSMCRef
ref
);
-
-ref | The marked content reference to destroy.
- |
Unknown
- | - |