David Aspinall's OmniDocExtensions Bundle

Jeffrey A. Sickel Jeff_Sickel at sickel.com
Fri Jan 24 04:37:19 PST 1997


Here's a little extension to David's OmniDocExtensions bundle.  I probably shouldn't have renamed it since that could cause name space problems (unless Omni's got a safer bundle loader than most .. :), but it was easier to throw together a ripped off icon for PrintRIP.

Part of the reason I took a look into the source, was TjL's post of the bug while printing with frames.  Well, it's still there (the 3" one at least), but that is also a problem for any printing from OmniWeb (except the source view).

I also wanted to figure out the Preferences additions.  Well, that took longer than adding a category to OWFrameSetDocView to print the header, but at least I think I've got most of the API figured out.

So....
	What the Bundle still needs
	- a preference panel to set header format (date/no date, font, color ... )
	- footer support (put page numbers on the bottom ... )
	- should probably be done as a subclass rather than a category, then the
	  subclass could poseAs: the OmniDocView and then I could be 100% sure that
	  I am not overridding a method used by OmniDocView 
	- a dictionary file to avoind the error message that prints on the console
	- check the length of the URL to make sure it will fit between the page
	  number and the date

I've only taken care of adding a preliminary preference panel
	With the option to print the header or not (which overrides all other options).
	A date format field in the form of strftime (NSCalendarDate's calendarFormat).
	PrintRIP's Omni.dictionary with the current defaults set not to print.

A little more documentation on the Omni.dictionary format would be nice.  It took some digging to find the immediateLoad = YES.


[An attachment was originally included here] PrintRIP.omniweb NIHS
[An attachment was originally included here] PrintRIP, 3.3 Project source

Would anyone else find it useful to have a handle (http://www.handle.net/) protocol bundle? HTTP/1.1?

Regards,
jas
-------------- next part --------------
Skipped content of type multipart/mixed


More information about the OmniWeb-l mailing list