{"id":1192,"date":"2018-01-19T19:22:32","date_gmt":"2018-01-19T19:22:32","guid":{"rendered":"http:\/\/goofy-trucks.flywheelsites.com\/using-php-for-rtf\/"},"modified":"2018-01-19T19:24:36","modified_gmt":"2018-01-19T19:24:36","slug":"using-php-for-rtf","status":"publish","type":"post","link":"https:\/\/phpbuilder.com\/using-php-for-rtf\/","title":{"rendered":"Using PHP for RTF"},"content":{"rendered":"<div class=\"phpbuilder-content\">\n<div class=\"phpbuilder-meta\">\n<div class=\"\">By Sujith Nair<\/div>\n<div class=\"\">on May 22, 2002<\/div>\n<\/p><\/div>\n<div id=\"overflow-content\"><img loading=\"lazy\" decoding=\"async\" src=\"..\/account\/dbimagea188.html?id=118683\" class=\"articleAuthorImg\" alt=\"picture of Sujith Nair\" width=\"79\" height=\"100\" align=\"left\"\/><\/p>\n<div class=\"articlePara\">\nRecently, I had a brief stint with RTF (Rich Text Format)<br \/>\nfiles. I had to write an RTF file<br \/>\nand send an RTF file as attachment in mail. Initially it was a pain to understand the RTF<br \/>\nfile format. Its header<br \/>\npart was apparently the most confusing part. But when I had some<br \/>\nunderstanding of the header,<br \/>\nthe remaining task was not that difficult. Here, I am not going to<br \/>\nprovide you with codes for<br \/>\nwriting an RTF, but I&#8217;ll help you understand how this can be achieved.<br \/>\nOnce this is clear, you<br \/>\ncan write your own class to write an RTF, or for that matter convert a<br \/>\nfile to RTF.\n<\/div>\n<\/div>\n<p><\/p>\n<div style=\"float: left; padding:15px; color:#17AAF3\">\n<div style=\"background-color:#B6E5FC; font-size:16px; margin-top:1px; padding:1px 4px 1px 4px; color:#000; font-style:bold; float:left;\">1<\/div>\n<div style=\"float:left; font-size:16px; color:#FF7A22; padding:2px 2px 2px 2px; \">| <\/div>\n<div style=\"float:left; padding:2px 4px 2px 4px;\"><a class=\"pageNumber\" href=\"nair200205234658.html?page=2\">2<\/a> <\/div>\n<div style=\"float:left; font-size:16px; color:#FF7A22; padding:2px 2px 2px 2px; \">| <\/div>\n<div style=\"float:left; padding:2px 4px 2px 4px;\"><a class=\"pageNumber\" href=\"nair200205239ba9.html?page=3\">3<\/a> <\/div>\n<div style=\"float:left; font-size:16px; color:#FF7A22; padding:2px 2px 2px 2px; \">| <\/div>\n<div style=\"float:left; padding:2px 4px 2px 4px;\"><a class=\"pageNumber\" href=\"nair20020523fdb0.html?page=4\">4<\/a> <\/div>\n<div style=\"float:left; font-size:16px; color:#FF7A22; padding:2px 2px 2px 2px; \">| <\/div>\n<div style=\"float:left; padding:2px 4px 2px 4px;\"><a class=\"pageNumber\" href=\"nair20020523af4d.html?page=5\">5<\/a> <\/div>\n<div style=\"float:left; padding:2px;\"><a class=\"paginationPageLink\" href=\"nair200205234658.html?page=2\">Next Page \u00bb<\/a><\/div>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Recently, I had a brief stint with RTF (Rich Text Format) files. I had to write an RTF file and send an RTF file as attachment in mail. Initially it<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-1192","post","type-post","status-publish","format-standard","hentry","category-tutorials"],"_links":{"self":[{"href":"https:\/\/phpbuilder.com\/wp-json\/wp\/v2\/posts\/1192","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/phpbuilder.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/phpbuilder.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/phpbuilder.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/phpbuilder.com\/wp-json\/wp\/v2\/comments?post=1192"}],"version-history":[{"count":1,"href":"https:\/\/phpbuilder.com\/wp-json\/wp\/v2\/posts\/1192\/revisions"}],"predecessor-version":[{"id":3099,"href":"https:\/\/phpbuilder.com\/wp-json\/wp\/v2\/posts\/1192\/revisions\/3099"}],"wp:attachment":[{"href":"https:\/\/phpbuilder.com\/wp-json\/wp\/v2\/media?parent=1192"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/phpbuilder.com\/wp-json\/wp\/v2\/categories?post=1192"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/phpbuilder.com\/wp-json\/wp\/v2\/tags?post=1192"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}