LibreOffice Logo LibreOffice Logo Extensions, Documentation and Templates repository

alt cycle case Alternative Cycle Case

Alternative Cycle Case command with more intuitive behavior

★ ★ ★ ★ ★
Extensions Writer
Download latest

latest release: 2024-08-22 05:46:13

Description

This extension adds a Format ► Text ► Cycle Case (Alt.) menu command in Writer and assigns it to the Shift+F3 shortcut. The new command is similar to the built-in Cycle Case command but with the following differences:

  • Selection is always respected. Before LO 7.4, the built-in command would sometimes modify the entire sentence or paragraph regardless of the current selection.
  • Without selection, always acts on the word containing or preceding the cursor. The built-in command may affect either the word containing the cursor or the entire sentence.
  • Skips redundant steps. The built-in command ignores the current state of the text and may apply, for example, ALL CAPS to a selection that is already in all caps.

This behavior should be more familiar to users coming from Microsoft Word.

WARNING: The macro supports noncontiguous selections using a hack because I could not get the UNO API to remember and restore a multi-range selection. It marks the selected text with a rarely used attribute (flashing characters), then searches for it to restore the selection after changing the text. If you use this attribute for other purposes, you may prefer to assign a shortcut to the AltCycleCase.Main.CycleCaseNoMultiselection macro rather than AltCycleCase.Main.CycleCase in order to disable this hack and support only contiguous selections.

Release Description Compatibility Operating Systems License Release notes Updated  
0.9.1 Automatically assign Shift+F3 when the extension is installed. 7.1 GPL Now installing the extension automatically assigns the Shift+F3 shortcut to the AltCycleCase.Main.CycleCase macro. Tested with LO versions from 7.1 to 24.8 under Windows 10 and 11. 2024-08-21 19:02:06 Download
Initial release GPL Initial release of the extension. Noncontiguous selection is supported using a hack with character attributes. Main functionality should already work well but the extension is tested only on LO 7.1 under Windows 10. Feedback is welcome. 2021-02-08 16:03:14 Download

Related Extensions

Punjabi Spellchecker Plus

Logo for Punjabi Spellchecker Plus

Extract mis-spelled words and suggest words from dictionary. 

04-2024

24

Not rated yet

Gujarati Spellchecker Plus

Logo for Gujarati Spellchecker Plus

Extract mis-spelled words and suggest words from dictionary. 

04-2024

44

Not rated yet

Tamil Spellchecker Plus

Logo for Tamil Spellchecker Plus

Extract mis-spelled words and suggest words from dictionary. 

04-2024

98

Not rated yet

Assamese Spellchecker Plus

Logo for Assamese Spellchecker Plus

Extract mis-spelled words and suggest words from dictionary. 

04-2024

64

Not rated yet

Nepali Spellchecker plus

Logo for Nepali Spellchecker plus

Extract mis-spelled words and suggest words from dictionary. 

04-2024

67

Not rated yet

Telugu Spellchecker plus

Logo for Telugu Spellchecker plus

Extract mis-spelled words and suggest words from dictionary. 

04-2024

70

Not rated yet

Feedback

★ ★ ★ ★ ★

Post your review

You cannot post reviews until you have logged in. Login Here.

Reviews

  • Plinio Hernández Oct 28, 2022, 10:09 PM (2 years ago)

    ★ ★ ★ ★ ★

    I had been looking for a solution like this for many years. Works fine on W10 and LO7.3 Thank you very much for your work. Your contribution is amazing!

  • Fulvio Bucci Oct 12, 2021, 6:23 PM (3 years ago)

    ★ ★ ★ ★ ★

    Installata su Linux.
    Estensione indispensabile per rendere funzionale la trasformazione maiuscolo/minuscolo.
    Do 5 stelle anche se la selezione non contigua non funziona, perché io non la utilizzo, mentre per il resto è perfetta.
    Macro assegnata alla classica combinazione Shift+F3, sostituendo l'assurda implementazione di default.

  • Filippo Giadrossi May 4, 2021, 10:01 PM (4 years ago)

    ★ ★ ★ ☆ ☆

    It does not work at all in MacOS X.
    It gives an error "BASIC runtime error.
    Property or method not found: getViewCursor."

    Anyway...thanks for your kind work :)

  • pibarnas Feb 18, 2021, 3:36 PM (4 years ago)

    ★ ★ ★ ★ ★

    I've had success at installing the extension in Windows 10 (LO 7.1) after cleaning my own configs (help>fix libreoffice>safe mode). Thank you once more! Your work is very appreciated!

    • MIhail Balabanov Feb 28, 2021, 12:17 PM (4 years ago)

      Hi, thanks for reporting this. I just found that the extension had somehow disappeared in my Win10/LO7.1 installation and when I tried to re-installed it, I had the same issue. Apparently, LO failed to create one of the temporary directories needed for deployment of the extension. Renaming my UNO packages cache folder (C:\Users\<my name>\AppData\Roaming\LibreOffice\4\user\uno_packages) fixed the problem and allowed the oxt to install correctly. I will try to investigate further when I have more time. Cheers!

  • pibarnas Feb 18, 2021, 2:42 AM (4 years ago)

    ★ ★ ★ ★ ★

    Great work!! Thank you very much! Worked as expected in linux (very well, I mean), but couldn't install in Windows (10/LO 7.1), for some reason. I found the otx extension downloaded, but when I click on it, a text box appeared saying it isn't found (an error). Will try with prior version, stable one.

RSS feed for reviews on this page | RSS feed for all reviews