Writer: Is there show/hide function like HTML5`s <details> tag?

asked 2018-07-30 08:28:16 +0200

H. G. gravatar image

I want to be able to click on a word (or phrase) and show a paragraph, and then click on it again to hide the paragraph.

If I was coding a webpage in HTML5 I could use the <details> and <summary> tags something like:

<details>
 <summary>Show/Hide the paragraph.</summary>
 <p>The Paragraph.</p>
 </details>

Which should show/hide the paragraph containing the phrase "The Paragraph." every time the phrase "Show/Hide the paragraph." is clicked.

Is there a way to acheive a similar sort of effect in a Writer Document?

edit retag flag offensive close merge delete

Comments

1

IMHO HTML and document processing do not target the same purpose. HTML aims at providing interactive information, whereas document processing intends to format text to be printed (non interactive reading), even if more and more usage is screen-oriented. You may find some equivalent with conditional formatting but with less convenience.

The feature is present in the navigator (develop/shrink outline) but not in main text.

ajlittoz gravatar imageajlittoz ( 2018-07-30 09:37:46 +0200 )edit