We will be migrating from Ask to Discourse on the first week of August, read the details here

# How to create a drop down section in LibreOffice Writer?

Just as the question says; how do i create a drop down section in Libra Office Writer? Basically what I want is like those "Spoiler" type things you find in forums online. You know where it has the word "Spoiler" and if you click it, it'll show and hide text. Except I want to choose what the word is instead of "Spoiler".

I'm sure this kind of question has been sort of asked before but it's all responded with in code speak and I don't understand that sort of dialogue. I'm not into the whole coding thing and need to be guided on how to do this like an infant, or an idiot really. Because that's what I am, an idiot.

This is just for a long document with a lot of things that I could easily group together. I just want to click something and hide and show the majority of the content at my whim, because this would make the file so much easier to deal with than it's current state. I don't care about how it'll look printed off because I don't ever plan on printing this document off.

I've tried using sections (as in Insert>Section...) but it if i'm doing something wrong I can't figure out what. So any help would be appreciated.

Just for a bit of ease of reference when I was typing this up it has the "hide preview" and "show preview" thing. I want something that works like that. Thanks.

edit retag close merge delete

Have you tried structuring your document with Heading x paragraph styles? This structure is displayed in the Navigator panel, offering a reduced view of the whole thing. In the navigator, you can even shrink or develop the levels (effectively hiding or showing parts). To go to the part, you double click the heading in the Navigator.

( 2018-05-26 08:13:04 +0200 )edit

Sort by » oldest newest most voted

Idea number one

All hidden texts appear simultaneously

Do it this way (on the example of translation):

1. From the Lorem ipsum website, download and paste into the document without formatting the text of Cicero "de Finibus Bonorum et Malorum"
2. Copy H. Rackham's translation to clipboard.
3. Open Insert => Field => More Fields…
4. In the Fields window go to Functions tab and select Hidden text. Paste the contents of the clipboard into the Hidden text field (indicated by the red arrow), then click the Insert button and close the window.

Depending on toggling View => Field Names, hidden text will come and go.

Such switching is not very convenient, so it makes sense to add the appropriate button to the taskbar. For example, behind the print preview:

Open Tools => Customize…

1. In the Customize window, on the Toolbars tab, set the Target list (1) to Standard and in the Assigned Commands (2) field find and click Print Preview.
2. Open the Category list (3) and select View. Find the Field names button (4) there and move it to the Assigned Commands field (2) using the arrow (5).
3. By using the arrows (6) you can move the selected button up or down inside the field Assigned Commands (2)
4. When everything is set, confirm it with the OK button.

From now on, just click the inserted button on the toolbar to make the hidden text appear and disappear.

The best thanks for the answer is clicking on the picture so that it turns green

more