if( category == PrintQuality.class ){
return PrintQuality.NORMAL; // TODO not correct, only available when using a PrintServer instance?
}
if (category == RequestingUserName.class) {
try{
return new RequestingUserName( System.getProperty("user.name", ""), null);
} catch( SecurityException e ){
return new RequestingUserName( "", null);
}
}
if (category == SheetCollate.class){
return settings.get_Collate() ? SheetCollate.COLLATED : SheetCollate.UNCOLLATED;
}