1999-12-16 22:56:45 +00:00
|
|
|
|
/* rtfConsumer.h created by pingu on Fri 12-Nov-1999
|
|
|
|
|
|
|
|
|
|
Copyright (C) 1999 Free Software Foundation, Inc.
|
|
|
|
|
|
2007-10-29 21:16:17 +00:00
|
|
|
|
Author: Stefan B<EFBFBD>hringer (stefan.boehringer@uni-bochum.de)
|
1999-12-16 22:56:45 +00:00
|
|
|
|
Date: Dec 1999
|
|
|
|
|
|
|
|
|
|
This file is part of the GNUstep GUI Library.
|
|
|
|
|
|
|
|
|
|
This library is free software; you can redistribute it and/or
|
2007-10-29 21:16:17 +00:00
|
|
|
|
modify it under the terms of the GNU Lesser General Public
|
1999-12-16 22:56:45 +00:00
|
|
|
|
License as published by the Free Software Foundation; either
|
2008-06-10 04:01:49 +00:00
|
|
|
|
version 2 of the License, or (at your option) any later version.
|
1999-12-16 22:56:45 +00:00
|
|
|
|
|
|
|
|
|
This library is distributed in the hope that it will be useful,
|
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
2007-10-29 21:16:17 +00:00
|
|
|
|
Lesser General Public License for more details.
|
1999-12-16 22:56:45 +00:00
|
|
|
|
|
2007-10-29 21:16:17 +00:00
|
|
|
|
You should have received a copy of the GNU Lesser General Public
|
1999-12-16 22:56:45 +00:00
|
|
|
|
License along with this library; see the file COPYING.LIB.
|
2007-10-29 21:16:17 +00:00
|
|
|
|
If not, see <http://www.gnu.org/licenses/> or write to the
|
|
|
|
|
Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
|
|
|
|
Boston, MA 02110-1301, USA.
|
1999-12-16 22:56:45 +00:00
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef _rtfConsumer_h_INCLUDE
|
|
|
|
|
#define _rtfConsumer_h_INCLUDE
|
|
|
|
|
|
2003-07-31 23:52:10 +00:00
|
|
|
|
#include <GNUstepGUI/GSTextConverter.h>
|
2001-08-18 22:07:59 +00:00
|
|
|
|
|
|
|
|
|
@class NSMutableDictionary;
|
|
|
|
|
@class NSMutableArray;
|
|
|
|
|
@class NSMutableAttributedString;
|
|
|
|
|
|
|
|
|
|
@interface RTFConsumer: NSObject <GSTextConsumer>
|
2000-07-02 16:53:30 +00:00
|
|
|
|
{
|
|
|
|
|
@public
|
2010-02-19 23:53:54 +00:00
|
|
|
|
NSStringEncoding encoding;
|
2000-07-02 16:53:30 +00:00
|
|
|
|
NSMutableDictionary *documentAttributes;
|
|
|
|
|
NSMutableDictionary *fonts;
|
|
|
|
|
NSMutableArray *colours;
|
|
|
|
|
NSMutableArray *attrs;
|
|
|
|
|
NSMutableAttributedString *result;
|
2002-06-11 14:58:31 +00:00
|
|
|
|
Class _class;
|
2000-07-02 16:53:30 +00:00
|
|
|
|
int ignore;
|
|
|
|
|
}
|
|
|
|
|
|
2001-08-18 22:07:59 +00:00
|
|
|
|
@end
|
2000-07-02 16:53:30 +00:00
|
|
|
|
|
2001-08-18 22:07:59 +00:00
|
|
|
|
@interface RTFDConsumer: RTFConsumer
|
2006-05-11 21:03:21 +00:00
|
|
|
|
{
|
|
|
|
|
NSDictionary* files;
|
|
|
|
|
}
|
|
|
|
|
- (void) setFiles: (NSDictionary*) theFiles;
|
2000-07-02 16:53:30 +00:00
|
|
|
|
@end
|
2000-04-23 22:28:46 +00:00
|
|
|
|
|
1999-12-16 22:56:45 +00:00
|
|
|
|
#endif
|