org.rococoa.cocoa.printcore
Interface PrintCoreLibrary.PMDataFormat

Enclosing interface:
PrintCoreLibrary

public static interface PrintCoreLibrary.PMDataFormat

PMDataFormat is used with PMPrintSettingsCreateWithDataRepresentation and
PMPageFormatCreateDataRepresentation to specify the format of the data representation created.
kPMDataFormatXMLDefault specifies a data format that is compatible with all Mac OS X versions. Data in
this format can be used with the PMUnflattenXXX routines present in all versions of Mac OS X prior to 10.5.
However, this data representation is much larger than the more modern data representations described below.
kPMDataFormatXMLMinimal is only compatible and usable with Mac OS X version 10.5 and later.
Data in this format can be only be reconsistuted into the equivalent printing manager object with
the appropriate PMXXXCreateWithDataRepresentation function. The data representation produced when
using kPMDataFormatXMLMinimal is approximately 3-5 times smaller than kPMDataFormatXMLDefault. This
format is a good choice when execution on versions of Mac OS X prior to 10.5 is not necessary and
an uncompressed XML representation of the data is needed.
kPMDataFormatXMLCompressed is only compatible and usable with Mac OS X version 10.5 and later.
Data in this format can be only be reconsistuted into the equivalent printing manager object with the
appropriate PMXXXCreateWithDataRepresentation function. The data representation produced when
using kPMDataFormatXMLCompressed is approximately 20 times smaller than kPMDataFormatXMLDefault.
This format is a good choice when execution on versions of Mac OS X prior to 10.5 is not necessary and
the minimum data size is important.
native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/PrintCore.framework/Headers/PMDefinitions.h:276
enum values


Field Summary
static int kPMDataFormatXMLCompressed
           
static int kPMDataFormatXMLDefault
           
static int kPMDataFormatXMLMinimal
           
 

Field Detail

kPMDataFormatXMLDefault

static final int kPMDataFormatXMLDefault
See Also:
Constant Field Values

kPMDataFormatXMLMinimal

static final int kPMDataFormatXMLMinimal
See Also:
Constant Field Values

kPMDataFormatXMLCompressed

static final int kPMDataFormatXMLCompressed
See Also:
Constant Field Values


Copyright © 2009. All Rights Reserved.