mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-01 18:01:56 +00:00
Added ivars and PDF operations.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8106 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
9888e9b272
commit
5fe0ce983b
1 changed files with 40 additions and 2 deletions
|
@ -1,13 +1,16 @@
|
||||||
/*
|
/*
|
||||||
NSPrintOperation.h
|
NSPrintOperation.h
|
||||||
|
|
||||||
Controls operations generating EPS or PS print jobs.
|
Controls operations generating EPS, PDF or PS print jobs.
|
||||||
|
|
||||||
Copyright (C) 1996 Free Software Foundation, Inc.
|
Copyright (C) 1996 Free Software Foundation, Inc.
|
||||||
|
|
||||||
Author: Scott Christley <scottc@net-community.com>
|
Author: Scott Christley <scottc@net-community.com>
|
||||||
Date: 1996
|
Date: 1996
|
||||||
|
Author: Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
Date: November 2000
|
||||||
|
Updated to new specification
|
||||||
|
|
||||||
This file is part of the GNUstep GUI Library.
|
This file is part of the GNUstep GUI Library.
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or
|
This library is free software; you can redistribute it and/or
|
||||||
|
@ -51,6 +54,16 @@ typedef enum _NSPrintingPageOrder {
|
||||||
@interface NSPrintOperation : NSObject
|
@interface NSPrintOperation : NSObject
|
||||||
{
|
{
|
||||||
// Attributes
|
// Attributes
|
||||||
|
NSPrintInfo *_printInfo;
|
||||||
|
NSView *_view;
|
||||||
|
NSRect _rect;
|
||||||
|
NSMutableData *_data;
|
||||||
|
NSString *_path;
|
||||||
|
NSGraphicsContext *_context;
|
||||||
|
NSPrintPanel *_printPanel;
|
||||||
|
NSView *_accessoryView;
|
||||||
|
NSPrintingPageOrder _pageOrder;
|
||||||
|
BOOL _showPanels;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -67,9 +80,25 @@ typedef enum _NSPrintingPageOrder {
|
||||||
insideRect:(NSRect)rect
|
insideRect:(NSRect)rect
|
||||||
toPath:(NSString *)path
|
toPath:(NSString *)path
|
||||||
printInfo:(NSPrintInfo *)aPrintInfo;
|
printInfo:(NSPrintInfo *)aPrintInfo;
|
||||||
|
|
||||||
+ (NSPrintOperation *)printOperationWithView:(NSView *)aView;
|
+ (NSPrintOperation *)printOperationWithView:(NSView *)aView;
|
||||||
+ (NSPrintOperation *)printOperationWithView:(NSView *)aView
|
+ (NSPrintOperation *)printOperationWithView:(NSView *)aView
|
||||||
printInfo:(NSPrintInfo *)aPrintInfo;
|
printInfo:(NSPrintInfo *)aPrintInfo;
|
||||||
|
|
||||||
|
#ifndef STRICT_OPENSTEP
|
||||||
|
+ (NSPrintOperation *)PDFOperationWithView:(NSView *)aView
|
||||||
|
insideRect:(NSRect)rect
|
||||||
|
toData:(NSMutableData *)data;
|
||||||
|
+ (NSPrintOperation *)PDFOperationWithView:(NSView *)aView
|
||||||
|
insideRect:(NSRect)rect
|
||||||
|
toData:(NSMutableData *)data
|
||||||
|
printInfo:(NSPrintInfo*)aPrintInfo;
|
||||||
|
+ (NSPrintOperation *)PDFOperationWithView:(NSView *)aView
|
||||||
|
insideRect:(NSRect)rect
|
||||||
|
toPath:(NSString *)path
|
||||||
|
printInfo:(NSPrintInfo*)aPrintInfo;
|
||||||
|
#endif
|
||||||
|
|
||||||
- (id)initEPSOperationWithView:(NSView *)aView
|
- (id)initEPSOperationWithView:(NSView *)aView
|
||||||
insideRect:(NSRect)rect
|
insideRect:(NSRect)rect
|
||||||
toData:(NSMutableData *)data
|
toData:(NSMutableData *)data
|
||||||
|
@ -88,6 +117,10 @@ typedef enum _NSPrintingPageOrder {
|
||||||
//
|
//
|
||||||
- (BOOL)isEPSOperation;
|
- (BOOL)isEPSOperation;
|
||||||
|
|
||||||
|
#ifndef STRICT_OPENSTEP
|
||||||
|
- (BOOL)isCopyingOperation;
|
||||||
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
// Controlling the User Interface
|
// Controlling the User Interface
|
||||||
//
|
//
|
||||||
|
@ -96,6 +129,11 @@ typedef enum _NSPrintingPageOrder {
|
||||||
- (void)setPrintPanel:(NSPrintPanel *)panel;
|
- (void)setPrintPanel:(NSPrintPanel *)panel;
|
||||||
- (void)setShowPanels:(BOOL)flag;
|
- (void)setShowPanels:(BOOL)flag;
|
||||||
|
|
||||||
|
#ifndef STRICT_OPENSTEP
|
||||||
|
- (NSView *)accessoryView;
|
||||||
|
- (void)setAccessoryView:(NSView *)aView;
|
||||||
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
// Managing the DPS Context
|
// Managing the DPS Context
|
||||||
//
|
//
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue