Ask Your Question

tab feature for text documents

asked 2019-03-24 20:53:52 +0200

kingcrown gravatar image

Hello, I'm writing a book, and it's long.

I'd like to know if there is a way to have tabs like on a web browser, on in a spreadsheet document like Microsoft excel or libreoffice spreadsheets where I can flip through each tabbed sheet for my separate chapters.

I've googled it and looked around and I don't even know if other text products have such a feature.

It seems practical enough to have such a feature exist since it already exists in spreadsheets, but I just can't seem to find a way to add something like that.

I need to quickly flip between each section, or chapter of my book without having to constantly scroll up and down throughout the book.

I could of course generate a new document for each chapter, but that seems ludicrous, is there anything that can serve my purpose as of now? thanks.

edit retag flag offensive close merge delete


Navigator (F5) allows to scroll instantly to any heading in your document.

Mike Kaganski gravatar imageMike Kaganski ( 2019-03-24 21:02:38 +0200 )edit

2 Answers

Sort by » oldest newest most voted

answered 2019-03-25 18:22:11 +0200

vsfoote gravatar image

No need for new disjointed documents for each chapter. Rather, review working with Master Documents--it allows complex manuscripts to be placed under common styling and indexing. It provides a tailored Navigator for working with subdocuments--and toggling to its "regular" document view in the Navigator.

edit flag offensive delete link more

answered 2019-03-24 22:06:03 +0200

Lupp gravatar image

updated 2019-03-24 22:27:15 +0200

What you are dreaming of may be an MDI interface. Sorry. You won't get it. See tfd#31481 e.g. (very old feature request).

If you need to have more than one Viewcontroller for a document, you need to create a second window for via >Window>New. That's surely not as handy as you would like it, but its usable. At least for a longer session the minute you may need to find an optimal arrangement for the windows should pay.

Simpler is to use only the Navigator, and if Headings aren't exactly what you want to jump to, to set Bookmarks.

Since I neither use much the Headings-option nor want to set bookmarks again and again - annd then to forget to delete the obsolete ones, I personally use the very primitive triple of one global variable and two Basic two-liners which are added to the Standard toolbar as sensitive text areas. See code below.

Global lastSavedSel

Sub rememberCurrentSelection(pEvent)
REM Parameter pEvent  (Value pEvent \ 4096 = pEvent SHR 11 unused so far.)
lastSavedSel = ThisComponent.CurrentSelection
End Sub

Sub selectAsRemembered(pEvent)
REM Parameter pEvent unused so far.
On Error Goto errorExit
End Sub

You can refine/enhance it, of course, but it works for me as it is because I only use it for one document per session..

edit flag offensive delete link more


Actually the enhancement for MDI is tdf#37134 - Tabbed UI: Document-per-tab (similar to Firefox, Opera, gedit) MDI

vsfoote gravatar imagevsfoote ( 2019-03-25 18:15:43 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2019-03-24 20:53:52 +0200

Seen: 40 times

Last updated: Mar 25