Working with Selections

When converting a whole document to or from any "Legacy Encoding", a character by character conversion is executed. This is done to reduce execution time and preserve any existing text formatting. (When converting on a paragraph to paragraph basis any existing text formatting is lost).

Converting a text selection is somewhat different to converting the whole document:

  1. The conversion is done on a paragraph to paragraph basis. This means if the selection spawns in more than one paragraph, each paragraph is converted as a whole in one step (making it easier to undo the conversion).
  2. Mixed selection handling has been vastly improved. When selecting a whole table, or normal text and a whole table, or text within a table cell, each element will be correctly converted, thanks to the help I got from forum.openoffice.org.
  3. When objects placeholders are selected, the selection is considered invalid. These are: images placeholders, text frames placeholders, shapes placeholders and OLE objects placeholders. When such selections are detected by the macros, a message informing the user will be displayed.

invalid-selection.jpg
Invalid selection message on Mac OS

In order to convert text found within images or text frames placeholders, one would just select the text itself and preform its conversion.

invalid-selection-msg.jpg
Invalid image or text frame selection message on Mac OS

  1. When Unicode to Beta Code is requested, and some text is selected, a dialog will appear which provides the possibility to alter Beta Code conversion options:

beta-selection.png
Beta Code to Unicode selection message on Windows 8.1

×

Info

If a table is truncated, then you can see all its content by scrolling it to the right and back.