Description: There is not Hidden text in Format or other categories, so it is impossible to hide text via keyboard shortcut. Actual Results: Cannot create a keyboard shortcut for "Hidden text" Expected Results: Any humble one in this not small Universe will be able to create a simple keyboard shortcut for "Hidden text", and so that a tiny part of this tremendous Universe will became invisible for a man, but not for the Almighty. Reproducible: Always User Profile Reset: No Additional Info: It should create a keyboard shortcut for "Hidden text". Just really simple, but working keyboard shortcut for changing this Universe.
What exactly do you mean by the "hide text" action? From what I understand, one needs to create a field to have either hidden text or paragraph, and associate it to a condition. I don't know of an command to simply "hide text" without using a condition. https://help.libreoffice.org/latest/en-US/text/swriter/guide/hidden_text.html In that sense, it's not a single-step action, and therefore is not suitable for a keyboard shortcut. There's already Ctrl + F2 to access the Fields dialog, in which such hidden fields can be created. Alternative would be to create a macro and associate a keyboard shortcut to it. Or am I misundestanding?
Dear Mr. Guillou, there is a attribute of text so called "hidden text" similar as say "bold" or "italic". I wanted to mark text hidden the same way as CTRL+B marks Bold text. I could not to do it because in Custumization there is not a category "hidden text". Is it clearer? Thank you anyway for you help. Sincerely JK
Ah, I see, thanks for clarifying! I assume we would need a new UNO command to expose this feature to the Customise dialog > Keyboard tab (and for addition to toolbar if wanted). See also request to add a UNO command for toggling the _visibility_ of such hidden character, in bug 107722.
Please consider using a character style where you set the attribute. You can customize a shortcut for it. Save the document as template and make it the default if you want it to persist over sessions. It still does not allow toggling the visibility but I assume bug 107722 asks for temporarily show the hidden text like non-printable characters, for example. Different topic. The question is whether this should work out of the box. To me it is just an attribute like many other and adding UNO commands to control everything per shortcut is somewhat over-engineering. Hiding text is not a very often used feature. Or am I wrong? Please describe your workflow.
Dear Sirs, Exactly, I think you are right. There should be a UNO command for switching or setting on/off visibility of simple text (not fields or paragraphs), and an option for this in the Customise dialog > Keyboard tab or Toolbar tab. If there is a command for bold so it should be no problem to copy it and modify it for hidden text or other attributes of text. I would not complicate it any more. My philosophy is to use mouse as little as possible. Keyboard shortcuts are hard to remember, but boost effectivity of writing a lot. As well as writing with all ten fingers. For Mr. Heiko Tietze: My workflow is very simple and of course it could by done by other means as comments or tracking changes. I go through text and there are part of it I want temporary hide - say personal infos, paragraphs that are particular for only some readers, so I hide them and CTRL-M unhides them. I think it is a useful feature. I appreciate it is a simple text attribute, nothing inserted in text as field or so. So thank you indeed for your afford! Sincerely jk PS. I have a couple of macros in Calc and Writer but I find programming in UNO objects and dispatcher extremly confusing and tricky. So it is good when macro recorder records as much UNO commands, so a not-skilled user (as I am) can only modify it a bit. That's why I appreciate simply UNO commands without many options and conditions.
We discussed the topic in the design meeting. The proposed character style might be a workaround but wouldn't be effective if the text has a CS applied, eg. Emphasis. Switching to "Hidden" CS overwrites the actual style - and duplicating every CS makes no sense too. So we propose to add the command and apply the hidden attribute as direct formatting.