From The Document Foundation Wiki
Jump to: navigation, search

Creating and inserting the variable are done via Insert ▸ Fields ▸ Others ▸ Variables [tab]. Choose Set variable, give it a name (for example Hide) and a TRUE or FALSE value, and check invisible, then insert it into the document. A small gray rectangle will appear on the page to mark the field.