hidden tables in LibreOffice?

Hi,

I am wondering if it is possible to make a hidden table in LibreOffice
Writer (I can make hidden characters but I'd like to make hidden tables)
... if not could that be made a reality?

[I use hidden text/information in my documents because I am a teacher and
in a test for example, the questions for students are not hidden and the
answers are hidden WITHIN the same document. That way I can hide the
answers and print a test for the students and unhide text and print an
answer key.]

Thank you.

Henry

I am wondering if it is possible to make a hidden table in LibreOffice Writer ...

I think not, but read on.

... (I can make hidden characters but I'd like to make hidden tables) ... if not could that be made a reality? [I use hidden text/information in my documents because I am a teacher and in a test for example, the questions for students are not hidden and the answers are hidden WITHIN the same document. That way I can hide the answers and print a test for the students and unhide text and print an answer key.]

What you *can* do - and I think serves your purpose perfectly - is to insert a section and put your table in the section. Sections can be hidden, and doing so hides all their contents, of course.

I trust this helps.

Brian Barker

Hi,

I am wondering if it is possible to make a hidden table in LibreOffice
Writer (I can make hidden characters but I'd like to make hidden tables)
... if not could that be made a reality?

It is possible to insert the table on a section (Insert → Section) and then hide the section. Sections accept any kind of contents and you can even have a section within a section.

It is also possible to set a condition to hide/unhide the section automatically using a variable: Set a variable (Insert → Field → More fields → Variable tab) named, for example, MyVariable and give it a value, for example 2. Now insert the frame and check the "hide" option, writing under "condition"

MyVariable==1

Here the section will be visible, but if you double click on the variable and change its value to 2, the section will hide immediately.

Regards,
Ricardo

hsikkema wrote

I am wondering if it is possible to make a hidden table in LibreOffice
Writer (I can make hidden characters but I'd like to make hidden tables)
... if not could that be made a reality?

[I use hidden text/information in my documents because I am a teacher and
in a test for example, the questions for students are not hidden and the
answers are hidden WITHIN the same document. That way I can hide the
answers and print a test for the students and unhide text and print an
answer key.]

Hidden tables -- no

But effect is trivial--set text color of the table to the fill color for
table cells, and print; i.e. set the fill to white and the text to white so
it is not obvious when printed b&w.

Set text color to a contrasting color to fill color and save it (or print)
for your key.

Thank you for the suggestion. I notice though that the hidden section does
not re-appear with the Print|LibreOfficeWrite dialogue when I uncheck/check
the "Print Hidden Text" So, is there a way to make the other hidden text
print along with the section (as you wrote about) with the use of the
variable?

Thank you for the suggestion. I notice though that the hidden section does
not re-appear with the Print|LibreOfficeWrite dialogue when I uncheck/check
the "Print Hidden Text" So, is there a way to make the other hidden text
print along with the section (as you wrote about) with the use of the
variable?

It is possible to conditionally hide a paragraph by inserting a special field.

NOTE: I do not have an English version at hand, so check the names :wink:

Let's say you already have a variable called MyVariable and you want to hide the text (and the sections) when its value is 1. On the paragraph you need to hide, go to Insert → Field → More fields → Functions → select Hidden paragraph and on Condition type

MyVariable==1

and insert.

NOTE: hidden paragraphs will still be visible unless you UNcheck View → Hidden paragraphs.

Regards,
Ricardo