00001 #include "nsISupports.idl" 00002 #include "tmozIScanInterpret.idl" 00003 #include "tmozIScanPageProcessor.idl" 00004 #include "tmozIScanOutput.idl" 00005 00012 [scriptable, uuid(601FE8BC-9818-4f0c-8555-A62B0C60DB75) ] 00013 interface tmozIScanFormat: nsISupports 00014 { 00020 const long SF_NONE = 0; 00021 const long SF_A3 = 1; 00022 const long SF_A4 = 2; 00023 const long SF_A5 = 3; 00024 const long SF_B3 = 4; 00025 const long SF_B4 = 5; 00026 const long SF_B5 = 6; 00027 const long SF_C3 = 7; 00028 const long SF_C4 = 8; 00029 const long SF_C5 = 9; 00030 const long SF_LETTER = 10; 00031 const long SF_USLEGAL = 11; 00032 00039 readonly attribute long id; 00040 00047 readonly attribute AString name; 00048 00052 readonly attribute long resolution; 00053 00060 readonly attribute long colourMode; 00061 00065 readonly attribute boolean feeder; 00066 00070 readonly attribute boolean duplex; 00071 00075 readonly attribute long width; 00076 00080 readonly attribute long height; 00081 00085 readonly attribute long offsetX; 00086 00090 readonly attribute long offsetY; 00091 00097 readonly attribute long paperFormat; 00098 00104 attribute AString defaultInterpretation; 00105 00110 attribute boolean editInterpretation; 00111 00115 readonly attribute tmozIScanPageProcessor pageProcessor; 00116 00120 readonly attribute tmozIScanOutput output; 00121 };