]> git.saurik.com Git - wxWidgets.git/blame - include/wx/mac/carbon/private/print.h
Added the ability to use built-in bullet styles, currently standard/circle or standar...
[wxWidgets.git] / include / wx / mac / carbon / private / print.h
CommitLineData
52479aef 1/////////////////////////////////////////////////////////////////////////////
1c4e8f38 2// Name: wx/mac/carbon/private/print.h
52479aef
SC
3// Purpose: private implementation for printing on MacOS
4// Author: Stefan Csomor
5// Modified by:
6// Created: 03/02/99
1c4e8f38 7// RCS-ID: $Id$
52479aef 8// Copyright: (c) Stefan Csomor
65571936 9// Licence: wxWindows licence
52479aef
SC
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_MAC_PRIVATE_PRINT_H_
13#define _WX_MAC_PRIVATE_PRINT_H_
14
15#include "wx/cmndata.h"
dc7ccb9c 16#include "wx/print.h"
52479aef
SC
17#include "wx/mac/private.h"
18
19#if TARGET_CARBON && !defined(__DARWIN__)
20# include <PMApplication.h>
21#endif
22
23#ifndef __DARWIN__
24# include "Printing.h"
25#endif
26
52479aef
SC
27#if !PM_USE_SESSION_APIS
28#error "only Carbon Printing Session API is supported"
29#endif
52479aef 30
e0d14de1 31class WXDLLEXPORT wxMacCarbonPrintData : public wxPrintNativeDataBase
52479aef
SC
32{
33public :
34 wxMacCarbonPrintData() ;
dc7ccb9c
SC
35 virtual ~wxMacCarbonPrintData() ;
36
37 virtual bool TransferTo( wxPrintData &data );
38 virtual bool TransferFrom( const wxPrintData &data );
39
e0d14de1
VZ
40 virtual bool IsOk() const ;
41
52479aef
SC
42 virtual void TransferFrom( wxPageSetupDialogData * ) ;
43 virtual void TransferTo( wxPageSetupDialogData * ) ;
e0d14de1 44
52479aef
SC
45 virtual void TransferFrom( wxPrintDialogData * ) ;
46 virtual void TransferTo( wxPrintDialogData * ) ;
52479aef
SC
47private :
48 virtual void ValidateOrCreate() ;
49public :
e0d14de1 50 PMPrintSession m_macPrintSession ;
52479aef
SC
51 PMPageFormat m_macPageFormat ;
52 PMPrintSettings m_macPrintSettings ;
dc7ccb9c
SC
53private:
54 DECLARE_DYNAMIC_CLASS(wxMacCarbonPrintData)
52479aef
SC
55} ;
56
e0d14de1 57#endif // _WX_MAC_PRIVATE_PRINT_H_