A profile for optimizing. It includes a profile name and the associated Optimize Settings.
| name | data type | type | namespace | min/max occurs | description |
|---|---|---|---|---|---|
| profileName | string | element | 0/1 | The name of the optimize settings profile. | |
| clearSignature | boolean | element | 1/1 | True if signatures will be cleared during optimization. | |
| discardAltImages | boolean | element | 1/1 | True if alternate images will be discarded during optimization. | |
| discardAnnotations | boolean | element | 1/1 | True if annotations will be discarded during optimization. | |
| discardBookmarks | boolean | element | 1/1 | True if bookmarks will be discarded during optimization. | |
| discardDocumentInfo | boolean | element | 1/1 | True if document info will be discarded during optimization. | |
| discardFileAttachments | boolean | element | 1/1 | True if file attachments will be discarded during optimization. | |
| discardFormFields | boolean | element | 1/1 | True if form fields will be discarded during optimization. | |
| discardJSActions | boolean | element | 1/1 | True if JavaScript actions will be discarded during optimization. | |
| discardLinks | boolean | element | 1/1 | True if links will be discarded during optimization. | |
| discardPageThumbnails | boolean | element | 1/1 | True if page thumbnails will be discarded during optimization. | |
| discardUnusedResources | boolean | element | 1/1 | True if unused resources will be discarded during optimization. | |
| discardXMPMetadata | boolean | element | 1/1 | True if XMP Metadata will be discarded during optimization. | |
| flateUncompressedStreams | boolean | element | 1/1 | True if uncompressed streams will be compressed during optimization. | |
| flattenAnnotations | boolean | element | 1/1 | True if annotations will be flattened during optimization. | |
| flattenFormFields | boolean | element | 1/1 | True if fields will be flattened during optimization. | |
| linearize | boolean | element | 1/1 | True if the document will be linearized during optimization. | |
| mergeDuplicateFonts | boolean | element | 1/1 | True if duplicate fonts will be merged during optimization. | |
| mergeDuplicateImages | boolean | element | 1/1 | True if duplicate images will be merged during optimization. | |
| compressObjectsIntoStreams | boolean | element | 1/1 | True if objects will be compressed into object streams during optimization. | |
| colorImageHandler | ImageHandler | element | 0/1 | The image handler to be used for color images. | |
| grayImageHandler | ImageHandler | element | 0/1 | The image handler to be used for gray images. | |
| bwImageHandler | ImageHandler | element | 0/1 | The image handler to be used for black and white images. |
Example
<OptimizeProfile>
<profileName>...</profileName>
<clearSignature>...</clearSignature>
<discardAltImages>...</discardAltImages>
<discardAnnotations>...</discardAnnotations>
<discardBookmarks>...</discardBookmarks>
<discardDocumentInfo>...</discardDocumentInfo>
<discardFileAttachments>...</discardFileAttachments>
<discardFormFields>...</discardFormFields>
<discardJSActions>...</discardJSActions>
<discardLinks>...</discardLinks>
<discardPageThumbnails>...</discardPageThumbnails>
<discardUnusedResources>...</discardUnusedResources>
<discardXMPMetadata>...</discardXMPMetadata>
<flateUncompressedStreams>...</flateUncompressedStreams>
<flattenAnnotations>...</flattenAnnotations>
<flattenFormFields>...</flattenFormFields>
<linearize>...</linearize>
<mergeDuplicateFonts>...</mergeDuplicateFonts>
<mergeDuplicateImages>...</mergeDuplicateImages>
<compressObjectsIntoStreams>...</compressObjectsIntoStreams>
<colorImageHandler>
<compression>...</compression>
<colorSpace>...</colorSpace>
<dpi>...</dpi>
<jpegQuality>...</jpegQuality>
</colorImageHandler>
<grayImageHandler>
<compression>...</compression>
<colorSpace>...</colorSpace>
<dpi>...</dpi>
<jpegQuality>...</jpegQuality>
</grayImageHandler>
<bwImageHandler>
<compression>...</compression>
<colorSpace>...</colorSpace>
<dpi>...</dpi>
<jpegQuality>...</jpegQuality>
</bwImageHandler>
</OptimizeProfile>