mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-29 19:17:40 +00:00
RTFConsumer implements the protocol GSTextConsumer. New subclass
RTFDConsumer. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10723 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c692062b18
commit
48d393c79e
1 changed files with 9 additions and 6 deletions
|
@ -23,11 +23,16 @@
|
|||
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef _rtfConsumer_h_INCLUDE
|
||||
#define _rtfConsumer_h_INCLUDE
|
||||
|
||||
@interface RTFConsumer: NSObject
|
||||
#include <AppKit/GSTextConverter.h>
|
||||
|
||||
@class NSMutableDictionary;
|
||||
@class NSMutableArray;
|
||||
@class NSMutableAttributedString;
|
||||
|
||||
@interface RTFConsumer: NSObject <GSTextConsumer>
|
||||
{
|
||||
@public
|
||||
NSMutableDictionary *documentAttributes;
|
||||
|
@ -38,11 +43,9 @@
|
|||
int ignore;
|
||||
}
|
||||
|
||||
+ (NSAttributedString*) parseRTF: (NSData *)rtfData
|
||||
documentAttributes: (NSDictionary **)dict;
|
||||
+ (NSAttributedString*) parseRTFD: (NSFileWrapper *)rtfFile
|
||||
documentAttributes: (NSDictionary **)dict;
|
||||
@end
|
||||
|
||||
@interface RTFDConsumer: RTFConsumer
|
||||
@end
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue