mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 15:40:47 +00:00
Renamed RTFProducer into RTFDProducer, with new subclass
RTFProducer. Both implement the protocol GSTextProducer. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10721 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
fa8999f56a
commit
1829333edf
1 changed files with 13 additions and 8 deletions
|
@ -25,9 +25,16 @@
|
||||||
If not, write to the Free Software Foundation,
|
If not, write to the Free Software Foundation,
|
||||||
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
#include <Foundation/Foundation.h>
|
|
||||||
|
|
||||||
@interface RTFProducer: NSObject
|
#include <AppKit/GSTextConverter.h>
|
||||||
|
|
||||||
|
@class NSAttributedString;
|
||||||
|
@class NSMutableDictionary;
|
||||||
|
@class NSColor;
|
||||||
|
@class NSFont;
|
||||||
|
@class NSMutableParagraphStyle;
|
||||||
|
|
||||||
|
@interface RTFDProducer: NSObject <GSTextProducer>
|
||||||
{
|
{
|
||||||
@public
|
@public
|
||||||
NSAttributedString *text;
|
NSAttributedString *text;
|
||||||
|
@ -43,10 +50,8 @@
|
||||||
*/
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
+ (NSData*) produceRTF: (NSAttributedString*) aText
|
@end
|
||||||
documentAttributes: (NSDictionary*)dict;
|
|
||||||
+ (NSFileWrapper*) produceRTFD: (NSAttributedString*) aText
|
@interface RTFProducer: RTFDProducer
|
||||||
documentAttributes: (NSDictionary*)dict;
|
// Subclass with no special interface
|
||||||
|
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue