[Libreoffice-bugs] [Bug 47746] "Code folding" for Writer / Collapse or expand parts of a document

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Apr 27 18:35:56 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=47746

--- Comment #32 from Cougar Brenneman <cougar.b at gmail.com> ---
I'm glad that someone has made that video. It explains 1/2 of the reasons for
using outline views. Frankly, I've never made a video of my screen, and I don't
have time to figure that out, now. One of the earlier bug reports that
originated this discussion may have been mine. Frankly, I had given up trying
to explain this. That means that I default to using MS Word, rather than LO or
OO, though a passable outliner is also available in WPS Office.

In the videos demonstrating the collapsible sections in Word, there's a button
at the beginning of each line that is used to collapse or expand the section as
demonstrated in the videos. In the following, I symbolize that button with a
right-pointing bracket. (>)

> Heading 3: No title X
> Heading 3: No title Y
> Heading 3: No title Z

> Paragraph or Heading 4: Text underneath is collapsed A
> Paragraph or Heading 4: Text underneath is collapsed B
> Paragraph or Heading 4: Text underneath is collapsed C
> Paragraph or Heading 4: Text underneath is collapsed D
> Paragraph or Heading 4: Text underneath is collapsed E
> Paragraph or Heading 4: Text underneath is collapsed F
> Paragraph or Heading 4: Text underneath is collapsed G
> Paragraph or Heading 4: Text underneath is collapsed H

In Word, those buttons are draggable and droppable. In addition, paragraphs can
be collapsed to only display the first line.

Suppose I have brainstormed eight ideas or I have written a document of eight
paragraphs or eight sections in length. I've collapsed everything so that only
the above 11 lines are visible on my screen. (Most documents are more
complicated than this.)

None of the Heading 3's have any text in them. They are simply buttons with no
text.

Step 1: Click the button in front of A. Drag it and drop it under X.
Step 2: Click the button in front of B. Drag it and drop it under Y.
Step 3: Click the button in front of C. Drag it and drop it under X.
Step 4: Click the button in front of D. Drag it and drop it under Z.
Step 5: Click the button in front of E. Drag it and drop it under Y.
Step 6: Click the button in front of F. Drag it and drop it under Z.
Step 7: Click the button in front of G. Drag it and drop it under X.
Step 8: Click the button in front of H. Drag it and drop it under Z.

This produces the following pattern. Note that I have used the buttons to
rearrange the order of the subheadings or titles within the Heading 3's.
X contains: C, G, A
Y contains: B, E
Z contains: H, D, F

Step 9: Write a temporary descriptive title for each of the Heading 3's. 

Step 10: Collapse all of the Heading 3's. The only thing visible on screen will
be:
> X--with title
> Y--with title
> Z--with title

Step 11: Drag the button in front of Z above X and promote it to Heading 2.

Step 12: Drag the button in front of X below Y.

Step 13: Uncollapse everything. Now, the new order of the completely
reorganized document will be:

Z with temp title
   H
   D
   F
Y with temp title
   B
   E
X with temp title
   C
   G
   A

Step 14: Rewrite the headers and paragraphs to repair the flow of the document.

The benefits of this approach become far more visible the longer the document. 

A document containing several dozen headings and 150 paragraphs is equally easy
to organize at a vast savings of time and a final product that is superior to
anything that can be produced in any other way.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200427/4bb68698/attachment.htm>


More information about the Libreoffice-bugs mailing list