Adobe 65007312 Programming Guide - Page 56
Restriction, Service table entries, Allowed values, File formats
UPC - 883919154398
View all Adobe 65007312 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 56 highlights
CHAPTER 3: Creating Export and Publish Services Customizing the Export and Publishing Manager dialogs 56 A single toggle entry controls whether users can select measurement units: hidePrintResolution = Boolean When true, the options for sizing in the Image Sizing section are shown only in pixel units; all mention of print units such as inches, centimeters, and pixels-per-inch are hidden. Default is false. The rest of the service table entries that restrict existing functionality in the dialog come in positive and negative forms; that is, you can list the features to be included, or you can list the features to be excluded. For each such pair, you can provide only one of the entries, not both. If you provide neither, all default elements in that category appear. For example, you can choose which of the built-in sections to display in the dialog. If you use the positive form, you list the sections to be shown: showSections = { 'fileNaming', 'imageSettings' }, This causes the File Naming and Image Sizing sections to be visible, and hides all of the other built-in sections. If you use negative form, you list the sections to be hidden. For example, this hides the Export Location section, and shows all other built-in sections: hideSections = { 'exportLocation' }, These are the service-table entry pairs for each type of restriction: Restriction File formats Color spaces Service table entries allowFileFormats = { 'format'[, ...] }, disallowFileFormats = { 'format'[, ...] }, Allowed values These still-photo file formats are recognized: JPEG PSD TIFF DNG ORIGINAL Video file formats are determined elsewhere. allowColorSpaces = { 'colorspace'[, ...] }, These color spaces are disallowColorSpaces = { 'colorspace'[, ...] }, recognized: sRGB AdobeRGB ProPhotoRGB