libreoffice-writer

Accessibility-Tweak in LibreOffice: How to prevent accidentally selected text from getting replaced when typing?

瘦欲@ 提交于 2020-12-13 04:53:11
问题 I'm trying to make my 97 years old grandma's laptop(Ubuntu 20.04) more accessible for her. She often is frustrated because text that she has written in LibreOffice Writer vanishes. Disabling the touchpad and using an external mouse already helped a lot. But I suspect that she still accidentally selects text, when she tries to place the text cursor with her mouse(by dragging or double-clicking). When she continues typing the selected text is being overwritten. Because she needs to focus on the

Libreoffice API (UNO): need to change user's xTextField text

白昼怎懂夜的黑 提交于 2020-07-20 03:54:25
问题 Is there any proper way to change text in the user's created xTextField using C++ UNO? These fields names are com.sun.star.text.fieldmaster.User.[FIELD NAME] I tried this before, but it didn't help: Libreoffice API (UNO) : text and data from xTextField Also I've tried something like this but still didn't help: // current_field - xTextField I got before Reference<XText> xText = Reference<XText>(current_field, UNO_QUERY); if (!xText.is()) { qDebug() << "XText FROM xTextField IS NULL!"; return;

How is the Keyboard font automatically styled as keyboard-like keys for the letters in Alt, Shift, Ctrl, Esc, and Backspace?

倖福魔咒の 提交于 2019-12-11 19:26:45
问题 I was creating a quick-reference reminder card for how to soft-reboot a frozen Linux computer ( Alt + SysRq + r + e + i + s + u + b ) in LibreOffice v6.2.4.2. I chose the "Linux Biolinum Keyboard" font and started typing in individual letters. Examples: So far so good! When I went to add the Alt and SysRq keys to the beginning, I got a nice surprise: The letters "A", "l", "t", automatically changed to "Alt", styled in a single box just like the Alt key itself, rather than three individual

How do I check for broken internal links in Star Basic?

穿精又带淫゛_ 提交于 2019-12-10 14:42:52
问题 I am creating a Basic macro for LibreOffice Writer to check for broken internal links. In a nutshell: generate a list of all anchors loop through the document, finding internal hyperlinks if the internal hyperlink is not on the anchor list, open it for editing (and stop) My code has a few unsolved issues: (within fnBuildAnchorList ) How do we get the numbering for each heading? For example, if the first level 1 heading text is “Introduction”, the correct anchor is #1.Introduction|outline and