xref: /haiku/src/add-ons/translators/rtf/convert.h (revision e711e6e42fd7ec3111ba9dc2324fa8efedd6674b)
1 /*
2  * Copyright 2004-2005, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef CONVERT_H
6 #define CONVERT_H
7 
8 #include <DataIO.h>
9 
10 #include "RTF.h"
11 
12 
13 extern status_t convert_to_stxt(RTF::Header &header, BDataIO &target);
14 extern status_t convert_to_plain_text(RTF::Header &header, BPositionIO &target);
15 extern status_t convert_styled_text_to_rtf(
16 	BPositionIO* source, BPositionIO* target);
17 extern status_t convert_plain_text_to_rtf(
18 	BPositionIO& source, BPositionIO& target);
19 
20 #endif	/* CONVERT_H */
21