if (documents) [documents makeObjectsPerform:@selector(setOutputView:) withObject:[self outputView]];
}
- (void)saveAll:(id)sender {
(void)[YapDocument saveAllDocuments];
}
/**** PostScript output ****/
- (YapOutput *)outputView {
return outputView;
}
/* A dummy outlet (without an actual instance variable).
*/
- (void)setScrollView:(id)anObject {
#ifdef WIN32
[anObject setBorderType:NSBezelBorder];
#endif
}
/**** Info Panel related stuff ****/
- (void)showInfoPanel:(id)sender {
if (!infoPanel) {
if (![NSBundle loadNibNamed:@"Info" owner:self]) {
NSLog(@"Failed to load Info.nib");
NSBeep();
return;
}
[infoPanel center];
}
[infoPanel makeKeyAndOrderFront:nil];
}
/* Another dummy outlet (without an actual instance variable).
*/
- (void)setVersionField:(id)versionField {
extern char Yap_VERS_NUM[];
if (strlen(Yap_VERS_NUM) > 0) {
NSString *versionString = [NSString stringWithFormat:NSLocalizedString(@"Release 4 (v%s)", @"Version string. %s is replaced by the version number."), Yap_VERS_NUM];