Чем открыть RTF. Все, что нужно знать о формате RTF - Блог веб-программиста

Приложение MS Office известно практически всем пользователям компьютеров уже если не во всем мире, то в нашей стране точно. Такая популярность во многом связана с растущими потребностями современного мира в создании и обмене информацией. В любом современном государственном учреждении ежедневно создаются и отправляются тысячи документов, а потому возникает настойчивая потребность в программах, которые бы могли стандартизировать и упростить данный процесс.

Впрочем, в этой связи куда более интересен rtf-формат, который в большинстве случаев может позиционироваться как универсальное средство передачи информации. Кстати, а чем он так хорош? Почему бы не использовать doc?

Дело в том, что rtf-формат открыто поддерживается практически всеми операционными системами, а также может быть прочитан простейшими Для его использования нет необходимости в установке сложных, тяжелых и дорогих офисных пакетов. Большая часть приложений для работы с текстовыми данными поддерживает сохранение в этом стандарте.

Но даже не за это rtf-формат так любят пользователи. В отличие от вышеупомянутого doc, а также docx, odt и прочих подобных файлов, в нем может содержаться только текст. Неопытные пользователи могут решить, что и во всех вышеперечисленных разновидностях текстовых документов нет ничего другого, но это не так. Дело в том, что в том же любимом нашими отечественными пользователями офисном формате doc могут находиться макросы. По сути, это самые настоящие программы, которые могут быть использованы злоумышленниками в далеко не благих целях.

Именно на них приходится немалая часть заражений, происходящих в момент запуска скачанных из интернета текстовых документов. Используя же rtf-формат, вы фактически ничем не рискуете. Но есть у него и определенные недостатки, которые также нужно принимать во внимание, выполняя сохранение своей работы. К примеру, чтобы преобразовать rtf-формат в txt, все равно придется воспользоваться каким-либо офисным приложением. Но это особой проблемы не представляет.

К примеру, невозможно использовать для создания динамически связанных документов. Внедрение объектов в документ-приемник приводит к значительному увеличению размера последнего. В связи с этим иногда используется способ, при котором устанавливается только связь с исходником. При этом объект хотя и отображается в документе-приемнике, но не сохраняется в нем, так как внутри документа имеется лишь ссылка на исходный файл или объект. А потому не вставляйте особенно большие картинки в rtf-формат.

Кроме того, есть у него и определенные проблемы с форматированием. Так, не вздумайте сохранить важный документ или диплом в формат rtf. Чем открыть его, вы найдете всегда, вот только гарантии сохранения исходного вида вашего творения никто не даст. Кроме того, практически полностью отсутствует Проще говоря, если вы сохранили работу в старой версии программы, то в новом приложении она практически наверняка не откроется.

Надеяться на OpenSource продукты не стоит, так как на данный момент Microsoft (а именно эта компания является создателем формата), выложила в открытый доступ только первичные версии rtf.

RTF - формат, используемый для текстовых документов. Аббревиатура в его названии расшифровывается как Rich Text Format. Файлы RTF когда-то использовались для создания справки Windows, но были заменены документами Microsoft Compiled HTML, где используется расширение CHM.

Что находится в файлах RTF

Формат RTF отличается от обычного текстового документа (TXT) тем, что может содержать форматирование - жирный и наклонный текст, а также разнообразные шрифты и изображения любых размеров.

Файлы RTF полезны, потому что их поддержка есть во многих программах. Это значит, что вы можете создать RTF-файл в одной программе и в конкретной операционной системе (например, Mac OS), а затем открыть его же в Windows или Linux без потери форматирования.

Расширение RTF был впервые использовано в 1987 году, но в 2008 году корпорация Microsoft прекратила его поддержку. То, будет ли один редактор документов отображать RTF-файл так же, как второй - тот, в котором он был создан, зависит от того, какая версия формата используется.

Чем открыть RTF файл

Самый простой способ открыть RTF-файл в Windows - использовать WordPad , поскольку он входит в пакет стандартных программ. Альтернативными вариантами будут многие другие текстовые редакторы и текстовые процессоры - Notepad++, AbiWord, LibreOffice и OpenOffice .

Стоит понимать, что не каждая программа, где можно работать с RTF, будет считывать файлы «один в один». Это связано с тем, что в некоторых приложениях не поддерживаются новейшие спецификации формата RTF. Другие программы для открытия и редактирования RTF-файлов - Microsoft Word или Corel WordPerfect, однако они не предлагаются бесплатно. Приложение для конвертации RTF: Convertin.io .

Некоторые из этих редакторов RTF для Windows также работают с Linux и Mac. Пользователи Mac OS также могут скачать Apple TextEdit или Apple Pages для открытия файлов с таким расширением.

You"re here because you have a file that has a file extension ending in .rtf. Files with the file extension .rtf can only be launched by certain applications. It"s possible that .rtf files are data files rather than documents or media, which means they"re not meant to be viewed at all.

what is a .rtf file?

Files in the RTF extension are text documents that can be created, opened, viewed, edited or modified using popular word processing applications for both Mac and Microsoft Windows-based computers. Some of these word processing programs are Microsoft WordPad for Windows and Microsoft Word 2011 for Mac. RTF files provide users with wide cross compatibility support, which was the main objective for the development of the Rich Text Format technology, and these .rtf files can even be opened, viewed and used with database applications. The content of RTF files may include blocks of text with bold or italicized alphanumeric characters and symbols as well as a wide variety of typefaces. Images, tables or charts may also be embedded into these RTF files, and text documents saved in the .rtf extension have support for many font types and styling or formatting attributes. Some of these functionalities are no longer supported by Microsoft Word 2010, most likely because Microsoft decided to discontinue further development on the technology used for these RTF files.

how to open a .rtf file?

Launch a .rtf file, or any other file on your PC, by double-clicking it. If your file associations are set up correctly, the application that"s meant to open your .rtf file will open it. It"s possible you may need to download or purchase the correct application. It"s also possible that you have the correct application on your PC, but .rtf files aren"t yet associated with it. In this case, when you try to open a .rtf file, you can tell Windows which application is the correct one for that file. From then on, opening a .rtf file will open the correct application.

applications that open a .rtf file

Microsoft WordPad

Microsoft Word

Microsoft Word is a word processor program that is packed in the Microsoft Office Suite . It is developed by Microsoft Corporation, generating a .doc file extension when the file is saved. A document file format (.doc) is a text or binary file format for saving documents on a storage media, mainly for computer use, like typing text, charts, tables, page formatting, graphs, images and other documents whose content is created and edited. Contents of these documents are printable in any sizes and are capable to open in other devices provided that its operating system is able to read DOC files. This .doc file extension has become extensive de facto standard for office documents, but it is an owned format and is not always totally supported by other word processors. A variety of programs that is able to open this type of file, and different operating systems and have installed programs that can open a 1ST file are: Microsoft Word, Microsoft Notepad, Microsoft Word, IBM Lotus WordPro, and Corel WordPerfect.

Microsoft Notepad

Microsoft Notepad

Notepad is a basic text editor used to create plain documents. It is commonly used to view or edit text (.txt) files, and a simple tool for creating Web pages, and supports only the basic formatting in HTML documents. It also has a simple built-in logging function. Each time a file that initializes with .log is opened, the program inserts a text timestamp on the last line of the file. It accepts text from the Windows clipboard. This is helpful in stripping embedded font type and style codes from formatted text, such as when copying text from a Web page and pasting into an email message or other “What You See Is What You Get” text editor. The formatted text is temporarily pasted into Notepad, and then immediately copied again in stripped format to be pasted into the other program. Simple text editors like Notepad may be utilized to change text with markup, such as HTML. Early versions of Notepad offered only the most basic functions, such as finding text. Newer versions of Windows include an updated version of Notepad with a search and replace function (Ctrl + H), as well as Ctrl + F for search and similar keyboard shortcuts. It makes use of a built-in window class named edit. In older versions such as Windows 95, Windows 98, Windows Me and Windows 3.1, there is a 64k limit on the size of the file being edited, an operating system limit of the EDIT class.


Microsoft Works

Microsoft Works

Microsoft Works is incorporated package software that was developed by Microsoft. It is less expensive, smaller, and has fewer features than Microsoft Office or other office suites. Its central functionality includes a word processor, a spreadsheet and a database management system. Newer versions have a calendar application and a dictionary while older versions included a terminal emulator. Files with WPS extension is utilized for output files of the Microsoft Works word processing application. These files are classified as text documents that can be created, saved, viewed and edited using the Microsoft Works program. Microsoft Word 2010, Microsoft Publisher 2010, Planamesa NeoOffice, and OxygenOffice Professional are some of the applications that are able to open and view the content of these WPS files. The contents of these WPS files can also be exported to other compatible word document formats. This promotes convenience and efficient document presentation, group collaboration and sharing between users of different systems and word processing applications; however, WPS document cannot be applied with macros and other formatting options available in Microsoft Word; so Microsoft discontinued support and development of the Microsoft Works application with its version 9 and the release of Microsoft Word 2010.

Notepad2

The Notepad2 application is a more advanced text editor for Windows developed by Florian Balmer. This program originated from the original built-in Microsoft Notepad which is why it is also effective and fast even when it is small. Notepad2 also has a lot of features such as syntax highlighting that allows a text or a source code to be displayed using different fonts and colors. This syntax highlighting feature of notepad2 allows users to write programming language easily and distinctly. This amazing function of Notepad2 is also owing to several other features it possess such as auto indentation, regular and expression-based find and replace feature, bracket matching, newline conversion, encoding conversion as well as multiple undo and redo features. These features make the function of the simple Notepad more advanced and it makes Notepad more interesting to use either to open files in

Аббревиатура RTF обозначает «Rich Text Format», то бишь, «формат обогащённого текста». Или, попросту говоря, оформленного: с разными начертаниями, шрифтами, размерами и цветом букв. Во многих случаях этот формат, предназначенный для документов, может стать избавлением от неприятностей, поэтому получить о нём представление необходимо всем, кто пользуется компьютерами. Как всегда, в процессе знакомства с данным явлением непременно уделим внимание вопросам практичности.

Немножко истории

Дело было в старину, в 1982-м году. В те далёкие времена, когда фирмы Microsoft и Adobe дружили. Им понадобилось придумать что-нибудь для новой программы - текстового процессора Word для MS DOS, выпуск которого был запланирован на 1893-й.

Недолго думая, взяли обычный текст и добавили к нему специальные тэги разметки (их нарекли управляющими символами). Мол, вот тут будет начинаться абзац, здесь текст следует отображать курсивом, там - полужирным, ну и так далее.

С тех пор много чего изменилось, но суть осталась прежней: RTF - это текстовые файлы, подобно документам HTML. Их можно открывать в текстовых редакторах вроде Блокнота в Windows и Gedit в Ubuntu, чтобы посмотреть на все те тэги, ежели возникнет желание.

Вскоре пути Microsoft и Adobe разошлись, но формат остался проприетарным. (Adobe решили использовать концепцию для другого языка разметки, PostScript, что позже привело к появлению PDF .) Ну а Microsoft выпустили последнюю спецификацию RTF в марте 2008-го. На неё и ориентируется современный электронно-цифровой мир.

Суть вкратце

Структура документа RTF довольно проста. В начале текстового блока указывается управляющий символ, перед которым ставится «\» (в смысле, черта, наклонённая влево). В частности, \b перед блоком полужирного шрифта, \i перед курсивом, \par перед абзацем.

Для обозначения самих блоков, поскольку нет закрывающих тэгов, применяются фигурные скобки {}. Следовательно, выделенное полужирным в исходном тексте выглядит вот так: {\b выделенное полужирным} , а курсивом - вот так: {\i привет, мир!} Ну а в самом начале указывается сам формат \rtf1:

{\rtf1 \par {\i Привет, мир!} Только что было приветствие курсивом. А теперь {/b немножко полужирного текста}. \par }

Это, конечно, очень простой пример. На самом деле через косые линии в ряд выстраивается изрядное количество всяких параметров: кодировка, язык и прочие данные. Что-нибудь вроде:

{\rtf1\ansi\deff3\adeflang1025 {\fonttbl{\f0\froman\fprq2\fcharset0 Times New Roman;} \par {\i Привет, мир, ещё раз!} Как видите, абракадабры {/b предостаточно} даже в маленьком фрагменте. \par }

Особенно много управляющих символов любят вставлять мощные текстовые процессоры вроде того же Word или LibreOffice Writer, размечая всё слишком уж дотошно.

Кроме того, русские буквы заменяются обозначениями байтов - символов кодировки (в примерах ради наглядности замена не показана). Это делает исходный код совершенно непригодным для чтения и раздувает его непомерно.

Софт

Кроме упомянутых выше Microsoft Word и LibreOffice Writer, существует множество менее мощных программ, RTF-редакторов. Однако далеко не все из них пригодны для работы.

FocusWriter - пожалуй, самый лучший из нынешних свободных RTF-редакторов. Можно прикручивать словари для проверки орфографии, используемые в LibreOffice Writer. И в Windows, и в Ubuntu работает очень шустро, занимает мало места и системные ресурсы не пожирает. Оформление интерфейса меняется на разные вкусы.

Упрямо запоминает и пытается при старте загрузить последний открывавшийся документ - пожалуй, это всё же недостаток. Предназначен, в первую очередь, для писателей , работающих над одной книгой, а не над несколькими сразу. В соответствии с той же концепцией панель инструментов прячется до наведения указателя мыши, чтобы ничто от работы не отвлекало.

Зато такой интерфейс очень удобен на нетбуках и прочих устройствах с небольшим дисплеем. Писать статьи, письма и всякие заметки - одно удовольствие.

Зачем нужен RTF

Во-первых, текстовые файлы не заражаются вирусами, и в них невозможно запихнуть вредоносные макросы. Файлы *rtf совершенно безопасны, как и *txt. А вот *doc вполне способны преподнести неприятные сюрпризы.

Во-вторых, Rich Text Format понимают все современные текстовые процессоры и, конечно, RTF-редакторы во всех популярных операционных системах.

Ваш покорный слуга собственными глазами видел, как Word 2010 в Windows 7 наотрез отказался открывать *odt, изготовленный в LibreOffice. Сказал, мол, в файле содержится какая-то ошибка. Пришлось нести флэшку обратно на компьютер с Ubuntu (благо таковой находился в соседнем офисе) и конвертировать документ в RTF. После чего Word открыл файл без возражений.

Как с этим жить

Небольшие русскоязычные документы, страниц на десять-пятнадцать, можно сохранять в RTF смело. Места они займут немного, по современным меркам. А вот файлы *rtf с целыми романами раздуются неимоверно и при открытии потребуют изрядной нагрузки на процессор. Потому что буквы русского алфавита замещаются обозначениями байт кодировки, как сказано ранее.

Предположим, во время работы в Ubuntu вам нужно быстро сохранить небольшой текст, который потом понадобится открыть в Windows. Если вы создадите *txt в Gedit, то Блокнот, вполне вероятно, вместо букв покажет нечто инопланетное, не распознав кодировку автоматически.

Но если вы используете шустрый FocusWriter и изготовите *rtf, проблем не возникнет, всё отобразится нормально. Кодировка будет указана в исходном коде после \rtf1 .

Резюмируем

Итак, Rich Text Format (он же RTF) отличается универсальностью и потому пригоден для создания и открытия оформленных текстов в разных операционных системах. Однако его лучше использовать только для небольших русскоязычных документов. Для англоязычных (и прочих с латинскими буквами) проблемы раздувания файлов нет.

В жизни всякое бывает, и если вдруг понадобится открыть документы в пока ещё популярной Windows, то на этот случай важные файлы, которые вы в Ubuntu держите в *odt, можно продублировать в *rtf. Потому что на компьютерах с ОС от Microsoft нередко присутствует Word, а не LibreOffice Writer.

Предыдущие публикации:

Extensions are some of the files associated or which can be opened with the Microsoft WordPad. RTF files are text documents that can be created, opened, viewed, edited or changed using word processing applications for both Mac and Microsoft Windows-based computers, like Microsoft WordPad for Windows and Microsoft Word 2011 for Mac. It gives the users a wide cross compatibility support, which was the central objective for the improvement of the Rich Text Format technology, and these .rtf files can even be opened, viewed and used with database applications. The OpenBSD Unix platform is frequently utilized in computers running as Web servers of a secure network. OpenBSD files may be saved in directories of the OpenBSD system that were generated upon installation of the software applications. Files with the .openbsd extension can be opened by standard text editors, particularly well-known like Microsoft Notepad, and this text editor may also be utilized to create and edit OPENBSD files. Files with the .readme extension are text documents engaged to give users with beneficial information and specific details about certain applications installed in the system. These files can be opened, viewed and edited with a selection of text editors including Microsoft Notepad and Microsoft WordPad.

Microsoft Word

Microsoft Word is a word processor program that is packed in the Microsoft Office Suite . It is developed by Microsoft Corporation, generating a .doc file extension when the file is saved. A document file format (.doc) is a text or binary file format for saving documents on a storage media, mainly for computer use, like typing text, charts, tables, page formatting, graphs, images and other documents whose content is created and edited. Contents of these documents are printable in any sizes and are capable to open in other devices provided that its operating system is able to read DOC files. This .doc file extension has become extensive de facto standard for office documents, but it is an owned format and is not always totally supported by other word processors. A variety of programs that is able to open this type of file, and different operating systems and have installed programs that can open a 1ST file are: Microsoft Word, Microsoft Notepad, Microsoft Word, IBM Lotus WordPro, and Corel WordPerfect.

Microsoft Notepad

Microsoft Notepad

Notepad is a basic text editor used to create plain documents. It is commonly used to view or edit text (.txt) files, and a simple tool for creating Web pages, and supports only the basic formatting in HTML documents. It also has a simple built-in logging function. Each time a file that initializes with .log is opened, the program inserts a text timestamp on the last line of the file. It accepts text from the Windows clipboard. This is helpful in stripping embedded font type and style codes from formatted text, such as when copying text from a Web page and pasting into an email message or other “What You See Is What You Get” text editor. The formatted text is temporarily pasted into Notepad, and then immediately copied again in stripped format to be pasted into the other program. Simple text editors like Notepad may be utilized to change text with markup, such as HTML. Early versions of Notepad offered only the most basic functions, such as finding text. Newer versions of Windows include an updated version of Notepad with a search and replace function (Ctrl + H), as well as Ctrl + F for search and similar keyboard shortcuts. It makes use of a built-in window class named edit. In older versions such as Windows 95, Windows 98, Windows Me and Windows 3.1, there is a 64k limit on the size of the file being edited, an operating system limit of the EDIT class.


Microsoft Works

Microsoft Works

Microsoft Works is incorporated package software that was developed by Microsoft. It is less expensive, smaller, and has fewer features than Microsoft Office or other office suites. Its central functionality includes a word processor, a spreadsheet and a database management system. Newer versions have a calendar application and a dictionary while older versions included a terminal emulator. Files with WPS extension is utilized for output files of the Microsoft Works word processing application. These files are classified as text documents that can be created, saved, viewed and edited using the Microsoft Works program. Microsoft Word 2010, Microsoft Publisher 2010, Planamesa NeoOffice, and OxygenOffice Professional are some of the applications that are able to open and view the content of these WPS files. The contents of these WPS files can also be exported to other compatible word document formats. This promotes convenience and efficient document presentation, group collaboration and sharing between users of different systems and word processing applications; however, WPS document cannot be applied with macros and other formatting options available in Microsoft Word; so Microsoft discontinued support and development of the Microsoft Works application with its version 9 and the release of Microsoft Word 2010.

Notepad2

The Notepad2 application is a more advanced text editor for Windows developed by Florian Balmer. This program originated from the original built-in Microsoft Notepad which is why it is also effective and fast even when it is small. Notepad2 also has a lot of features such as syntax highlighting that allows a text or a source code to be displayed using different fonts and colors. This syntax highlighting feature of notepad2 allows users to write programming language easily and distinctly. This amazing function of Notepad2 is also owing to several other features it possess such as auto indentation, regular and expression-based find and replace feature, bracket matching, newline conversion, encoding conversion as well as multiple undo and redo features. These features make the function of the simple Notepad more advanced and it makes Notepad more interesting to use either to open files in .txt format or to write HTML codes. Notepad2 also supports many programming languages such as ASP, C++, Perl, Java, etc.