michael@0: /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #include "nsISupports.idl" michael@0: michael@0: %{ C++ michael@0: #include "windows.h" michael@0: %} michael@0: michael@0: /** michael@0: * Native types michael@0: */ michael@0: [ptr] native nsDevMode(DEVMODEW); michael@0: michael@0: /** michael@0: * Simplified PrintSettings for Windows interface michael@0: */ michael@0: [scriptable, uuid(f13b225d-473e-4372-b11f-b6dff9fe0c5b)] michael@0: michael@0: interface nsIPrintSettingsWin : nsISupports michael@0: { michael@0: /** michael@0: * Data Members michael@0: * michael@0: * Each of these data members make a copy michael@0: * of the contents. If you get the value, michael@0: * you own the memory. michael@0: * michael@0: * The following three pieces of data are needed michael@0: * to create a DC for printing. These are typcially michael@0: * gotten via the PrintDLG call ro can be obtained michael@0: * via the "m_pd" data member of the CPrintDialog michael@0: * in MFC. michael@0: */ michael@0: [noscript] attribute wstring deviceName; michael@0: [noscript] attribute wstring driverName; michael@0: michael@0: [noscript] attribute nsDevMode devMode; michael@0: michael@0: };