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 13extern status_t convert_to_stxt(RTF::Header &header, BDataIO &target); 14extern status_t convert_to_plain_text(RTF::Header &header, BPositionIO &target); 15extern status_t convert_styled_text_to_rtf( 16 BPositionIO* source, BPositionIO* target); 17extern status_t convert_plain_text_to_rtf( 18 BPositionIO& source, BPositionIO& target); 19 20#endif /* CONVERT_H */ 21