|
This chapter introduces you to filters, shows you how to use filters on an open document, and explains some of the primary filters you will likely find useful. (For detailed explanations see the notes attached to each filter in TextSpresso.)
All TextSpresso filters can be applied to either an entire document or to a selected portion of the document text. If no text is selected then TextSpresso assumes you want to filter the entire document. If a subset of the document text is selected, then only that subset is filtered. Unselected text remains untouched.
TextSpresso filters (with the exception of the Break Text filter) are multi-threaded. This means that you can perform other tasks, including filtering other documents, while a filter is running. You can also pause, resume, and stop a running filter. Of course most filters finish in a fraction of a second, but the multi-threading and control features are very useful when applying complex filters to large documents or when batch processing a series of files.
All TextSpresso filters are listed under the Filter menu. The menu is arranged into 4 subsections. The first section contains filter editing commands. These are covered in the chapter Editing Filters.
The second section contains the filter control commands Pause Filter and Stop Filtering. These commands are only available if a filter is running on the front document.
The third section lists favorite filters. A filter is listed here for rapid access if it is marked as a favorite. You will learn how to mark your favorite filters in a later chapter.
Finally, the fourth section contains a listing of all available filters. The filters are organized into submenus by category.
Applying Filters: To apply a filter to the front document, do the following:
The filter is applied to the document. For most filters and documents the results will be immediately available. The text will simply be transformed without wait and you can continue to work with your document.
If, however, you are applying a complex filter to a large document the filter will be threaded and the document window will display the text "Processing...". During the filter you cannot see the document text or perform any actions on it. You can, however, open other documents and work in them.
Controlling Filters: The document statistic fields at the top of the document window will mark the progress of the filter, displaying the name of the filter being applied and the percent completed. You can control the filter by doing the following:
Applying Filters: The Filter Palette is a floating palette that allows you to quickly access and apply filters to your text. To apply a filter using the Filter Palette, do one of the following:
Counting With Filters: You can also use filters to count the number of occurrences of a particular string or pattern. To count the number of occurrences found by a filter using the Filter Palette, do the following:
TextSpresso includes several 'main' MultiFilters for performing common tasks such as cleaning up Internet text or preparing a text file for publishing. Most users will find these main 'do all' filters to be sufficient for all their needs. Because TextSpresso allows the user to create and edit their own filters, users may tweak the following filters to exactly fit their needs.