//
//  NSAttributedString+MCAAdditions.h
//  MCApplication
//
//  Created by Alykhan Jetha on Thu Jun 12 2003.
//  Copyright (c) 2003 __MyCompanyName__. All rights reserved.
//

#import <AppKit/AppKit.h>


@interface NSAttributedString (MCAAdditions)

// ASSUMPTION: These are for one line
// ASSUMPTION: They only work in a flipped view!
- (NSRect)drawInRectangle:(NSRect)rectangle alignment:(NSTextAlignment)alignment verticallyCentered:(BOOL)verticallyCenter;
- (NSRect)rectForDrawingInRectangle:(NSRect)rectangle alignment:(NSTextAlignment)alignment verticallyCentered:(BOOL)verticallyCenter
					resultingString:(NSString **)string;


// Attribute Searching
- (NSRange)nextRangeWithAttributeName:(NSString *)aName value:(id)aValue startIndex:(unsigned)sIndex forward:(BOOL)forward;

@end
