Bug 47746 - "Code folding" for Writer / section expand and collapse
Summary: "Code folding" for Writer / section expand and collapse
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: Other All
: medium enhancement
Assignee: Not Assigned
: 63352 96229 (view as bug list)
Depends on:
Reported: 2012-03-23 00:39 UTC by gleppert
Modified: 2018-03-18 08:55 UTC (History)
14 users (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description gleppert 2012-03-23 00:39:15 UTC
Microsoft will introduce a very neat feature in Word 15, which basically takes the idea of code folding from text editors to word processors. In long texts this can be extraordinarily helpful.

Please see here under section "Section expand and collapse": http://www.winsupersite.com/article/office/whats-coming-microsoft-word-15-142595
Comment 1 sasha.libreoffice 2012-06-18 03:43:10 UTC
Thanks for new idea.
Sorry, not found where to see on link. It is something like this Bug 38093 ?
Or completely different?
Comment 2 leighman 2012-10-03 10:13:44 UTC
Libreoffice should allow collapsing of sections .g. by toggling on the header.
Seems like this would fit well with improvements to the styling system.
Comment 3 Jared 2013-05-08 21:44:17 UTC
I have MS Office 2013 and have seen this feature.  I'll be happy to help if needed.
It "can" be a nice feature, if we're looking for parity between the two suites.
Comment 4 Owen Genat (retired) 2013-05-30 01:01:03 UTC
The link in the description is not as clear as it might be, which is understandable given it was looking toward a future product. Here is a clearer description of this feature:


A small triangular graphic indicator is set adjacent to headings to indicate collapse / expand functionality. That is all this feature does. This should make it clear that this is not same feature as indicated in bug #38093, which is more of an outline view / navigator facility i.e., that bug additionally deals with promotion / demotion and moving of headings and their related content.

In response to comment #3 please do not use the term "section" in relation to this type of feature. It has nothing to do with the Insert > Section... feature. What is being collapsed / expanded is a heading and all content that falls under this heading.

I am including this detail purely for information and clarity.
Comment 5 Owen Genat (retired) 2013-12-22 12:38:56 UTC
Added related Apache OO issue to See Also list. Version set to Inherited From OOo.
Comment 6 Owen Genat (retired) 2014-01-06 10:47:11 UTC
Setting version back from "Inherited From OOo" to what it was prior (for bugs marked enhancement), for QA tracking purposes. My mistake. Apologies.
Comment 7 Joel 2015-02-24 22:48:23 UTC
This would indeed be a very helpful feature for writing long documents! Is there any way to vote for this feature to be implemented other than subscribing to the CC list?
Comment 8 Owen Genat (retired) 2015-03-07 05:02:35 UTC
*** Bug 63352 has been marked as a duplicate of this bug. ***
Comment 9 Jean-Baptiste Faure 2016-01-10 15:47:27 UTC
*** Bug 96229 has been marked as a duplicate of this bug. ***
Comment 10 Murz 2016-04-14 07:08:07 UTC
Seems that we can do hide-show paragraphs at current Libreoffice version via macros: https://help.libreoffice.org/Writer/Hiding_Text 
Maybe we can write extension, that automate this process - creating checkbox and variable for current paragraph?
Comment 11 Paul 2018-02-22 21:50:31 UTC
This would be a tremendous feature for working on long documents, and for getting tangential material out of the way in any document. It doesn't seem it would be very hard to do, and I hope it can be done soon.
Comment 12 Franz 2018-02-25 04:31:19 UTC
This would be a very interesting feature for meeting minutes or invitations to trade fairs or conferences. Especially useful in a corporate environment.
I hope this gets worked on soon.